Hacker Newsnew | past | comments | ask | show | jobs | submit | mikexstudios's commentslogin

Kind of along these lines but for C++: https://docs.carbon-lang.dev/


Isn't all C also valid C++? So this would apply?


No: https://en.wikipedia.org/wiki/Compatibility_of_C_and_C%2B%2B

There's the small stuff like "class" is a keyword in C++ so not a valid variable name.

There's the fact that C has continued to evolve so there are new C features that haven't made it into C++ yet (VLAs).

There's stuff that has been implemented differently in both in mostly compatible but sometimes observably different ways (e.g. the types of character and boolean literals)


Interesting I Wonder why I thought that then


Thanks for the mention! I heard about Carbon years ago but I'm happy this time I could dig it further for insights now.

It's pretty fun to think about "Carbon to C++ is Kotlin to Java". One very important takeaway from all the discussions here is that, I cannot ship a language right to the target (small) community, as it's impossible to control how people decide to use this language. Which means, I have to focus much on how to improve the experience of application writing. Carbon would definitely be one of the inspiration.

Oh yeah, and I don't need to handle seemless integration with templates, I'm lucky.



Later down the page, Wolfram issues a challenge: "It’s been years now, and I’d really like to see SMP run again. So here’s a challenge. This is the source for a C program encrypted like the SMP source code..."

Just wanted to call this out in case anyone wanted to try decrypting it :).


How were the sensors? (e.g., SpO2?)


https://mediabiasfactcheck.com/swiss-policy-research/ for analysis.

It's a strange site where they mix both facts and misinformation.



Search the title and click through to the article. Seems to work for me.



let's not be so quick to be so harsh. Remember the glee WolfAlpha provides us with their interactive visualizations https://www.youtube.com/watch?v=Slop2Vi8cKE


Bing also seems to give something sensible.


WA thinks the distance is 0.9843 AU...


That's actually correct at the time of this post :)

AU is an average distance from Earth to the Sun. Since Earth's orbit is elliptical, it will be closer than 1AU at certain times of year, and further than 1AU at other times in the year.


That's because it is. The Earth's orbit is elliptical, varying between 0.983 and 1.017 AU at its minor and major axes.


That is probably the current distance. 1 AU is the mean distance.


https://en.wikipedia.org/wiki/Astronomical_unit:

”Originally conceived as the average of Earth's aphelion and perihelion”

https://www.britannica.com/science/astronomical-unit:

”a unit of length effectively equal to the average, or mean, distance between Earth and the Sun”

I wondered whether the two are equal. A bit to my surprise, they are (http://www.farmingdale.edu/faculty/sheldon-gordon/RecentArti...)

(If we take into account that earth moves faster near its perihelion, I think that will break down)

And, nitpick, nowadays, the AU apparently is exactly 149,597,870,700 meters.


The distance between the sun and the earth is not constant, whereas the AU is.


Mirror Sci-Hub


is it legal?


Sadly not


No, that's standard boilerplate these days in papers. You have to "sell" the science a bit to reviewers and connect your work to the broader picture. Those in the field usually ignore statements like this.


When I was a research assistant in college I was encouraged for one of my presentations to emphasize safe hydrogen storage as a vehicle fuel source, when really the research was all about how minuscule amounts of hydrogen change the electrical/optical properties of thin metallic films (and desorption was on the order of days). Selling it as a building block for safer hydrogen storage was necessary to get people engaged.


Yup! I published a paper on organoselenium chemistry and was asked to add commentary about potential "anti-cancer" properties.

Sure my work could be extended in that direction, but I had done zero work to pursue it.


Even in Nature?


This paper is in Scientific Reports, which is published by Nature but is not regarded as a top-tier journal. It has an impact factor of 5.5 vs. 41 of Nature.

But I would say that "selling the science" occurs more often for high-profile journals because the authors need to convince the reviewers that the paper has a significant impact. Papers in more field-specific journals tend to write conservatively.


Oh you're right, I didn't notice that. Thanks for pointing that out.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: