skysight-inc/HackerNews huggingface dataset:
Sorry for being late to the game, but we have an as-open-as-it-can-be tool to compare petrol, gas, battery, and fuel cell cars, both today and in the future, available here:

http://carculator.psi.ch/

The Python library which does the calculations is here:

https://pypi.org/project/carculator/

One nice thing about our tool is that it calculates life cycle emissions including projected changes in the electricity grid of the region you live in. Of course, these are uncertain, but most other academic analysis just use the current grid mix.

It's important to realize that, even with the advances in electric vehicles, while they are better than combustion cars, they are far from zero-emission. Lifetime emissions for an electric car could still be 200 g CO2/km, split almost evenly between the electricity supply and everything else. Depending on usage, which of course has wide spatial variation, just road construction and maintenance itself could be 20 g CO2/km (this number is valid for Switzerland, which has very high utilization rates).

I think most people who are have seriously investigated the current system and possible future developments in the next 10 to 20 years have come to the conclusion that a lot of the change has to be in consumer behaviour - clean tech is not clean enough, or can't be scaled up enough in the current economic and political climate, to reach any reasonable climate goal.
That logic works both ways.
It would be possible if you have a huge well-connected grid, spanning thousands of kilometers, with low costs of sending energy over long distances and small energy loss (ideally, spanning multiple timezones, or connecting sunny regions and windy regions with the less renewable-friendly ones).

There has been some research into this topic, but we're not there yet. First, the connectedness of e.g. EU grid is not that high. Second, it's a very political subject in a way (everyone wants to be energy independent on its own, without needing to import too much). Finally, IMO Europe is not that big to be sustainable on its own regardless of weather (which is often similar on large part of continent).
I haven't seen any discussion on GraalVM AOT and licenses. What does it mean for the classpath exception and LGPL libraries?
I think this is an incorrect view of the problem. It isn't so much the perceived access to technology but rather theoretical familiarity of required concepts. For example a librarian or literary scholar would have a much greater understanding of computer science concepts, even without access to technology, than many children who tap a touch screen all day.
OpenJDK only does overflow checking in a tiny number of cases.
Could you tell us why CPython still doesn't have JIT? What's so hard about it (on Python)?
No matter how many (20 year old) examples you might find,
asking to deweaponize the police is still an extremely dumb thing to do.
The original impetus seems to have been for the now defunct green threading concurrency approach: https://github.com/rust-lang/rust/pull/13158/files

One of the post hoc rationales that seems to have cropped up is as you mentioned. But that logic only makes sense if you expect platform-specific code to be rare. I doubt that's the case: from my limited experience there seems to be quite a lot of Rust code written specifically for the Unix environment. Rust is a "systems" language after all; writing platform-specific applications, not simply platform-specific modules or wrappers, is to be expected.

It's a legitimate glitch in Rust. It happens. I don't understand the urge for people to defend Rust here. It violates well accepted norms in the world of systems programming--don't f'up the global environment without being asked. Indeed, part of the reason green threading failed was because it required too much magic interposed between the application and the native platform environment. Rust wasn't trying to go the route of Go.
That's the tradeoff at play here. Think of it like debugging a python program, it might fail hours after you start it but if it does fail it's failed for a reason (uncaught overflows can be very very not good)
Can you give some examples instead of repeating yourself?
Microsoft Windows 10 WSL2 to have GUI app support, automatic Linux Kernel update
D has checkedint which does this cleanly in a template
Oops, you're right! I forgot Java arithmetic wraps, offering (rarely used) methods for overflow-checked arithmetic. [0]

I was right about .Net though. Assuming a checked context, .Net (and C#) throw on overflow, rather than wrapping. [1]

[0] https://docs.oracle.com/en/java/javase/11/docs/api/java.base...

[1] https://docs.microsoft.com/en-us/dotnet/csharp/language-refe...
They aren’t literally implemented as floating point in most cases. That’d be crazy! If the number fits in an integer then a sensible implementation uses an integer.
A nice example of the power of GreenSock's DrawSVGPlugin
I've had a theory for years now that it is the opposite: eg that gravity is a second tier effect at shorter distance of normal matter consolidating in order to seek breaking through black holes into dark matter. So some form of entanglement as two universe membranes collide (aka the big bang) means "real matter" in this universe was but is no longer dark matter (this would only work in a dual universe system instead of a multiverse system I posit) but due to all matter entering via a single membrane collision point it is all some form of entangled (quantum or otherwise), so in this theory black holes aren't the dark matter, but the gateway for normal matter to become dark matter, transitioning back to the other universe. In this theory, dark matter would then be concentrated in the areas of our universe with sparse amounts of normal matter, a theoretically testable hypothesis at some point in the future.

I'm no physicist, theory was developed while doing Einstein inspired imagination visualization/simulation of the big bang. I know it's probably so wrong in so many ways it's not worth a normal physicist to respond to, just thought I'd share.

If I were correct, which I'm probably not, it would mean there are no "primordial black holes" that existed since the moment of the big bang, but rather as time went on the black holes were created and increase in number (also being part of what causes this universe to expand)
Future programming historians may indeed look back on Ken Thompson as the Thomas Midgley of the software world, having plagued us more than once with costly and dangerous mistakes: null pointers, C, and the abhorrent POSIX API.
Wow.

I don't want this in release mode.

Please tell me that this overflow checking is turned off by default.
Let's Encrypt postpone the ISRG Root transition
I suppose it has to do with the Schwarzschild radius of such a black hole being really small, I guess it would be something like 10^-8m according to https://en.wikipedia.org/wiki/Schwarzschild_radius which means almost nothing would fall inside its event horizon, and it probably would not collide with anything.

However, the gravitational pull of an asteroid would not be negligible, so I guess it would have a big impact pulling things towards it.
Then use Rust.
A better title would be: Basing your self-worth on financial success can lead to loneliness.

According to the study co-author Lora Park:

"When people base their self-worth on financial success, they experience feelings of pressure and a lack of autonomy, which are associated with negative social outcomes"
Since you seem to know a thing or two about this: what's your take on fTPM? Is it better/worse than a separate TPM module?
Atari Fan #1 paper mag is out
Yeah, it is 2020 but we wanted it to be a paper like in `90s ;)
I think unless you own the entire machine almost all microarchitecture level benchmarking is playing with fire because of all the things you've mentioned. Even if you use perf_event to get as low as the OS allows you to account for things that'll slow you down there's still overhead associated with that AFAIK

Also, code disassembly is a fairly awful way of assessing performance unless you mean for the purposes of the article
In theory, BPA on receipts is banned in the EU since January: https://echa.europa.eu/en/-/bisphenol-s-has-replaced-bisphen...

But many places still give BPA based receipts, and many have switched to BPS instead.
For the NSA it does. :-)
Yeah, particularly for a developer oriented product. GitHub readme is essentially a landing page and should be treated the same way, not assuming any foreknowledge for the reader.
"The too early is easily fixed"

You can not just stick some new engines to a plane and elongate the body. This needs more investments and certification. Less costly than a new plane but still costs.

"What really doomed it was the proliferation of small airports "

It is hard to predict the future. Just as an example:
Many small EU airports may close due to new EU regulation and limited subsidiaries. Many of the small airports create heavy losses that are financed by taxes. This may come to an end. Also, Europe is thinking to revive the TEE trains (Trans Europe Express).

The bottom line: things can change.
How is their battery technology not a moat? I don't think any other company is capable of producing batteries as cheap and energy dense as Tesla's
> which doesn't seem to be the case here.

That's the thing about subtle errors. They never seem to be the case, even when they are the case. Remember the superluminal neutrino claim a few years back? There are endless ways an experiment can go awry and present misleading results.

Here, there's going to be a very large background (of neutrons and photons) from the process they are using. I wonder if they didn't handle background subtraction quite right.
A public repository of malware samples, papers and source code
SSE code 6 times slower without VZEROUPPER on Skylake (2016)
Cunningham's Law strikes again!

You're right of course. Please see my response to tom_mellior.
That's rich, considering the "mob" is only asking for the same rights you and I have.

It sounds like you've made up your mind on this issue (or, more likely, had it made up for you as a child), so we'll probably have to agree to disagree.
Nope, and I use linux too. If you do want a driver for linux, logiops is great: https://github.com/PixlOne/logiops
Anyone found a link to the document?

edit: Ah, the first emanuscripta link worked: https://www.e-manuscripta.ch/zut/content/pageview/2856521
https://en.wikipedia.org/wiki/FIPS_140-2#Level_2

It definitely does when there is no attempt made at protecting against it. L2 means "tamper evidence", you need L3 for things to start to be designed to prevent it from being "basic".

SGX is L3, you'll be hard pressed to find a TPM that does better than L2.

Phrasing it another way: Even if you don't have the skills/equipment to do it. How much do you think it costs to get someone to do it for you? How reproducible is that process? Why are we assuming it's hard?
I don’t think they are in a sense, as far as I know they have no plans of removing it.

That being said, using it once and then saying never again is kind of, not good. I’ve been on Reddit for almost a decade and while using the new design for the first time or even the first week was, painful I’ve fully embraced it now and can’t stand the old one.

I don’t find it painfully slow at all. In fact I find it faster overall when taking New features into account.
So it is cheaper but also scientifically useless because of that?
@dang Can we have a (2016) in the title please.

That's when I added them to perl's add operator. Being about 10% faster than manual checking the high bits. gcc added them about one year later.
Russian supersonic airliner by 2022?

https://www.airlineratings.com/news/russian-supersonic-airli...

Not sure it makes economic sense but good for dick comparisons :-)
> The base image being used in these environments supports lots of common languages but I'm more excited about each repository defining their own development environment via docker container images and .devcontainer files for specifying extensions and settings.

Is that something that could run without GitHub / Codespaces?
So, this is for new vehicles only. What will stop people just hanging on to their existing ICE cars for longer years?
Sanger will never forgive Wikipedia for getting along just fine without him.
Social Media companies are new slavery marketplaces
From the article you linked to:

"For process metal piping at pressures up to 7,000 psi (48 MPa), high-purity stainless steel piping with a maximum hardness of 80 HRB is preferred.

Composite pipes are assessed like:

carbon fiber structure with fiberglass overlay
perfluoroalkoxy (PFA, MFA)
polytetrafluoroethylene (PTFE)
fluorinated ethylene propylene (FEP)
carbon-fiber-reinforced polymers (FRP)"

All of these are expensive options compared to battery electric technology, which leverages widespread infrastructure (think electric power lines!), as well as rapidly decling costs (see Tesla's Battery Day announcement on 9/22/2020).
From my experience only, Discord was the successor to softwares like Teamspeak and Ventrillo for gamers, built as a social tech experiment. It also always had a FUN component to it, so it incentives creativity and people not taking stuff too serious. Children/teen seem to like it a lot.
Gitlab 13.4 released with Vault for CI variables
i use the sidebar all the time to look at different language articles.

some are quite understandable, and some i can google translate.

for a multilingual person, that bar is indispensable..
But without interacting they have no means to shed the energy they gain when attracted to other matter, so they won't clump like normal matter.
You could think that it's somewhat illegal to do, but apparently it's not.

What specifically is illegal about this? If it's not and you think this should be illegal, how would you write the law that would make this illegal?
That's great and all, but it's fighting symptoms, not the underlying problem.

The underlying problem isn't cows emitting methane, the problem is too many people indoctrinated with the idea of eating all the animals, all the time. The amount of land, energy and ressources in general spent on producing way too many animals for eating is unreasonable.
http://carculator.psi.ch/start
"Simple" doesn't work and fails with an error "We have not been able to detect the country to run the analysis for. Please wait a few seconds and try again."

"Intermediate" doesn't work and directs me to http://carculator.psi.ch/tool/ which gives a 404

Just thought you might want to know
Show HN: Cloud-based technology platform for retirement plan administration
Fall Guys: who knew MMO gaming could be so accessible?
Can you list a few specific apps instead of repeating yourself for the third time?
They're not. Some of these are just cheap plastics. Just line a steel pipe with these chemicals and you're good.
Notion did similar. The guys moved to Japan and worked from there. Though Japan doesn't have a lower cost of living.

https://www.figma.com/blog/design-on-a-deadline-how-notion-p...
You're trying to say that Google should be generous to people using their service to commit criminal offences?

You can disagree with the law, but it's pretty clear he's breaking it.

https://www.copyright.gov/title17/92chap5.html

> 506. Criminal offenses6

> (a) Criminal Infringement.—

> (1) In general.—Any person who willfully infringes a copyright shall be punished as provided under section 2319 of title 18, if the infringement was committed—

> (A) for purposes of commercial advantage or private financial gain;
Unfortunately for me, I can't access simple analysis since the site can't figure out what country I'm in (no permissions were even asked for), and when I click on the intermediate analysis, the link doesn't seem to be valid. Only the advanced seems available to me. It would be great to not have to make an account as well.
The Fungal Evangelist Who Would Save the Bees
Discord was heavily marketed towards the gaming community that was split between Skype, Teamspeak, Mumble and maybe some others that I don't remember. All of them had some flaws while Discord just worked.
> Meanwhile in 2020 Java programs still suck ass to use

Isn't that due to memory usage, rather than speed?
Interesting, looking forward reading it. I recently bought "Inside The Python Virtual Machine" (see https://leanpub.com/insidethepythonvirtualmachine) which is also recommendable.
Could life exist deep underground on Mars?
Most people in the Dune universe are literally vassals of feudal lords. By removing advanced machines, they instead have warped, specialised human beings in the machine's functions: mentats, suk doctors, navigators, etc. They are servants, human cogs in the system. It's dystopian.
Why should CPython have a JIT?

A good JIT is hard to write, and harder to retrofit. It usually increases startup times, attack surface, and code complexity. Besides, Python already has a handful of JIT-based implementations, and I don't see how adding the reference implementation (which out to be simple!) to that list really improves anything.
My takeaway from your comment and my experience is that CSS is a mess of a technology. Oh well.
Most math programs wouldn’t through students (unless they choose) into heavy duty analysis without a proof based prep course.
Could you expand on;

> Hydrogen cannot just be put in a normal tank, it dissipates through Hydrogen bonds which is a quantum mechanical effect.

This goes against my understanding of a hydrogen bond.
An insight into digitisation: digitising a damaged book
Tutorial: Build a Markdown Text Editor
Angular Jira Clone Tutorial: Build a markdown text editor
A380s are much more comfortable to fly in, even in Economy: there's more space around, cabin air is better (thanks to higher humidity). They're also much quieter and apparently less likely to suffer turbulence. In Business/First (depending on the carrier), they came with private suites, on-board shower, and a bar. Also, I believe the 4-engine design is still considered safer, just less fuel efficient. Such a beautiful piece of engineering gets discontinued at the time something like the 737 Max, which should have never been built, is on its way to be reapproved. This is a sad day for airline passengers.
What's the process to come up with the number for the right amount of animal eating?
Gravity in Curved Spacetime Yields Quantum Mechanics in Flat Spacetime
I can answer the first question but not the second.

The Schwarzschild radius of Vesta is 396.1 nm [0]; which means it a black hole with that mass would intersect 6.281 cm^3 [1] of material if it went through the center of the Earth.

I have no idea why it might look like a cosmic ray. The surface gravity would be absolutely insane, so I would naïvely expect something like this look like an earthquake. [2]

[0] http://www.wolframalpha.com/input/?i=event%20Horizon%20radiu...

[1] http://www.wolframalpha.com/input/?i=%28396.1nm%29%5E2%20%2A...

[2] http://www.wolframalpha.com/input/?i=gravity%202.67%C3%9710%...
Includes airplanes, which I hear have a terrible carbon footprint.

I guess if you optimize for avoiding a specific form of harm you can succeed. But if you want to avoid all harm it seems a very narrow tightrope.
Not obvious at all, there is the AMP format which could be automated but that's totally different format from Web stories.
There's a difference between a subsidy and kicking who's already down.

I was questioning the need for a government mandate in 2035 by pointing out that electric cars are soon to be viable without subsidies so if the market's gonna go that way anyway what's the point of the mandate?
There's nothing inconsistent with a form of matter which only interacts through gravity (plenty of matter does not interact with e.g. electromagnetism), especially if you weaken the statement to a form of matter which we can only currently detect through the gravitation effects it seems to have.
Article in this case, hence the new paragraph. I used to routinely do for Java... with -XX:+PrintAssembly to ensure certain bound checks were eliminated by enforcing the index fell within the lattice [0-array.length). A simple test that always succeeded improved zip compression by 15% for instance.

Not going in details but verifying results of microbenchmarks with assembly is quite useful - of course usually limited to very hot spots. Of course about owning the hardware and doing on bare metal with fixed freq (core/uncore) + set voltage(s). Removing as many variables as possible is important just as knowing what to test and how it gets affected by the hardware.
Regular users won't have a 4k display, or they would have detected the problem in testing. If you have unusual requirements such as a very high ppi display, you can set a minimum font size in your client browser, just as the web was intended to be used since the beginning.

The original idea of the web as a publishing medium was that visualization could be determined by the needs and preferences of the final user, and thankfully the technology still allows for it.
It is shocking that 85% of matter is missing from our base model. Hope this solve it.
The great thing about adopting a more plant-based diet is that you don’t have to go 100% plant-based to still make a difference.

90% plant-based gives you 90% of the benefit.

As long as people are on a path to reducing animal product consumption, we might just be OK.
Wild, probably inaccurate speculation warning: It wouldn't entirely surprise me. AMD claims RDNA2 is 50% faster per watt than RDNA. They've apparently fitted the the thing with two 8 pin power connectors which suggests a minimum TDP of 300W (much less and it would presumably have 8+6 pin connectors).

Edit: I have made a bad assumption here: actually for instance the Titan RTX is rated at 280W and has two 8 pin connectors.

The 5700XT is rated at 225W. The RTX 3080 founders edition, according to techpowerup benchmarks is almost exactly twice the speed of the 5700 XT on average. At a TDP of 300W the 6900 XT would also be expected to be exactly twice as fast as the 5700 XT (1.5*300/225=2), which would put it on par with the RTX 3080. But that's the minimum. It could theoretically be anywhere up to 375W - although practically there is actually going to be a limit of maybe 350W or so.

Then there is the big caveat that watts don't actually translate linearly into performance in many cases. But I assume here that the 6900XT is actually well within its stated design envelope that fits within the stated efficiency target and not some hastily overclocked beast.

Obviously this is all massively simplified and abstracted, and depends on marketing numbers that may or may not hold water in reality, or may mean something different to how I've interpreted them.
Ah yes, the sport with the largest carbon footprint per minute of practice.
Reducing mallocs for fun
I don't see any stats saying VSCode has won "everything that isn't enterprise Java", that's clearly wrong as it's not really used for .NET stuff and most C++ for gaming is still classical Visual Studio. And JB IDEs have a lot of traction for any language they support outside of Java too.

GitHub Codespaces isn't a revenue model for the IDE. It is a separate product that requires a separate team, so it'd have to be charging a lot of money indeed and get a lot of users to fund two products for the price of one. It also looks like a rather basic featureset - if it takes off as a product it is not very hard to integrate into its competitors or build a similar system.
I truly can't imagine someone donating a large sum in the US and not reporting it on their taxes. The tax preference for donations in America is the primary driver of large individual donations.
> Hydrogen fuel cell vehicles are supposedly meant to be powered by electrolysis

Yes, that's what people imagine is happening when talking hydrogen powdered cars. But I believe that electrolysis is so inefficient that it's not a realistic option for producing hydrogen on an industrial scale. This leaves us with breaking down hydrocarbons, hardly a "green" option.