skysight-inc/HackerNews huggingface dataset:
> According to Argonne National Lab, between 2010 and the end of 2021, the US had bought more than 2.1 million plug-in vehicles, including 1.3 million battery EVs. That sounds like a very impressive number, but bear in mind that's out of a total national vehicle pool of nearly 276 million cars and trucks

That seems pretty straight forward. It's not that EVs aren't helping reduce carbon emissions, it's that they still make up a tiny fraction of the overall travel miles in the US.
Anyone who wants to watch Prime Video content and doesn't use other Amazon services. You can't pay for Prime Video separately.
I'll chime in here that Merkle trees are best used to tell you if something changed in the historical records. Certificate Transparency (CT) provides you with an easy to verify way to generate a single identifier that tells you the current state of a set of information. You can then incrementally add onto it while checking that none of the past information was changed during that addition. This is a pretty similar concept (and motivation) to Git.

Where this becomes interesting is that someone can just change the past data, then go through and update all the subsequent additions to come up with a the new final value. CT handles this by having multiple other entities check that the CT root values are not changing over time. Git handles this by allowing for similar mechanisms - if you believe Linus he memorizes the root hash of his local repo before bed each night. A post-it note would work just about as well for the Linus/Git case, but I am getting off topic.

I don't see value in proof of work because it assumes that any system would have more entities (where each entity has some amount of computing power..) watching than there is computing power attempting to rewrite it. That doesn't really scale up across most industries use cases. A set of say, mortgage companies, could just exchange data in a merkle tree format and raise an alarm if it looks like the values changed from the prior root. This is very fast and cheap to compute and doesn't require proof of work calculations.
I have the sense that migrating to any hermetic, cacheable build system will be more effort than migrating from one to another: once a project is “safe” to have everything run in sandboxes, the mechanisms for setting up those sandboxes is less important. For example, once one system has accurate dependency information, that can be used as a base for setting up the second system (and presumably this info can be exported for machine-assisted migration).

Of course, the details of each system differ enough that I imagine it’s not trivial.
Bit hacks are but a tangent to performance optimization, of course.
In light of Uvalde, I'm betting a lot of Texas police departments are less likely to give armed active shooters the benefit of the doubt. Uvalde was a different kind of cowardice. Those were police who would rather keep themselves safe than children.
stop tilting at windmills,

the question is whether or not the government can force you to pay for a __PRIVATE__ service just for __EXISTING__ within the borders of the US.

There is __NO PRECEDENT__ for this. The closest you can get are things like car insurance where you're required to carry insurance in order to drive on US roads. You can choose not to drive, you cannot choose to "not exist".

That puts this into an entirely different category. The fact that it originally got rationalized as a tax opens a whole different can of worms. Good luck refusing to pay taxes.
Facebook has ~40,000 employees last I checked. That's... not really surprising, even if it's a coincidence.
What kinds of hard problems?

Probably the vast majority of problems where Oracle is the right solution are problems where Oracle is already in use. That's actually a large market. It's unlikely that new, greenfield solutions have Oracle as the best choice.

But, let's say in 15 years -- people have some hideous brownfield AWS legacy application -- is it worth it to rip and replace an existing block of working infrastructure just because there's some new hawtness?
I think car mechanics are the perfect analogy. Most of the ones I know have rather boring daily drivers because they value reliability and don’t always want to be tinkering. They do have very interesting project vehicles though.

You’re quite condescending and smug. Maybe you should try to understand why other people might have different priorities than you instead of being judgmental, seeking to understand is generally a good skill.
It's not common anywhere. If anything, it's quite new and generally a rich man's thing.

Poor people generally avoid discussing issues in public and then discuss them with family.

But far more frequently violence and alcohol are the default "therapy".
Having to push the entire class to learn instead of just the self motivated is a bureaucratic decision. Everyone is paying 80,000$ to be there, it would be problematic for many reasons to ignore those that seem uninterested. For pre-college education, minimum student performance is usually the strongest metric tied to funding. I don't think the current schooling system is set to let everyone find things they will care about learning and not cheating in. It's not realistic to expect no one to want to cheat. Even the brightest student can feel insecure enough in their ability, feel pressured to cheat if they believe those around them will cheat, or just want to get that little bit more ahead of the competition. Cheating is not strictly tied to honesty.
I'm not sure I buy this argument. People still need to learn that 2+2=4, derivative of sine is cosine and similarly simple things in non-STEM fields. Sure these questions can be answered by ChatGPT trivially, but it doesn't mean they don't need to be taught.
Oh, you're right. My objection was based on my own misinterpretation of "pockets" as referring to time periods and/or specific architectural knowledge rather than to particular locations.
And here is the fixed version, I hope.

zeroOneEdges = x & (x ^ (x >> 1)) // This must be a signed arithmetic shift.
rightmostZeroOneEdge = zeroOneEdges & -zeroOneEdges
toggleMask = rightmostZeroOneEdge | (rightmostZeroOneEdge << 1)

rightmostOne = x & -x
shiftMask = rightmostZeroOneEdge - 1;
onesToShift = x & shiftMask
shiftedOnes = onesToShift / rightmostOne // This must be an unsigned division.

x = ((x & ~shiftMask) ^ toggleMask) | shiftedOnes

Now it wraps around without a conditional expression but just as the one from the library will divide by zero if called with zero, so either do not do this or add a check for zero and return zero in that case. It works for all ones.

My first attempt was on the right track but also missing a step. Not only must the rightmost 01 edge be turned into 10 but also all the ones to the right of the 01 edge must be shifted back to the right, i.e. <rest>01<ones><zeros> must become <rest>10<zeros><ones>. This shift is done with the division and it is important that it is an unsigned division. It is also important that the 01 edge detection shift is a signed arithmetic shift.

The algorithm from the library and my solution are quite similar and they might actually be identical with the one from the library being more optimized and shorter. I would not be surprised if the one from the library actually also works in principle but the implementation got a tiny detail about the signedness of one of the operations wrong, because that will result in the described issues, i.e. not working properly once the sign bit gets involved, either for all ones or during the wrap around.

EDIT: I had a close look at the algorithm from the library and it is indeed broken - in order to work as intended, the shift in ones = (ones >> 2) / smallest would have to sometimes perform a logical shift and sometimes an arithmetical shift depending on the circumstances. This should be fixable.

EDIT: Combining the ideas from both, this is my current best solution that handles everything including the wrap around properly, besides zero.

rightmostOne = x & -x
zeroOneEdges = x & (x ^ (x >> 1)) // This must be a signed arithmetic shift.
rightmostZeroOneEdge = zeroOneEdges & -zeroOneEdges
shiftedOnes = (x & (rightmostZeroOneEdge - 1)) / rightmostOne // This must be an unsigned division.

x = (x + rightmostOne) | shiftedOnes
They very likely hired an external firm to write their PDF export, and the person implementing it was just trying to finish the contract on time and to spec.

The overhead of maintaining a properly secured PKI key and implementing signing of generated PDFs with it is nonzero.

Banks aren't always rotten and soulless, they are cold and lazy machines that do the bare minimum that their customers ask.

This project is great, let's spread awareness that PDFs _can_ keep an internal digital signature and maybe someday their customers will demand it.
> our friends who don’t RTFA

I opened the article (on a phone) and no fewer than 3 separate popovers appeared over the content. “Hey! This is our cookie policy” “Happy holidays! We have a special subscription price!” And something else that was covered by the first two before I had a chance to read it.

Thankyou for summarising. I noped right out of there out of disgust.
It was quite disappointing to learn that these are purpose written for the contest with the explicit goal of being terrible.

I wished for more context on more of these sentences (like what is the book about, and how old was the author writing this in earnest)

https://lithub.com/this-years-very-worst-opening-sentence-is...
It’s legal in C.
German here. We do have a public healthcare system. That we can opt out of and go private. The trade-off is it being increasingly hard to get back into the public one, especially as people get older and thus more "expensive".

Insurances (including fire service or roadside assistance) has to be payed. You cannot just opt back into it once you need it. If parent is right and they had chances to opt into fire service but decided not to, you cannot just bill them for a single instance. Otherwise they're behavior would be reward, and everyone else had incentive to do the same.
I don't blame you a bit, you've got to make the scope of your writing relevant to the audience and the moment... just more surprised that Sails seemed to have its moment and then disappear just as quickly, especially given the chat in a thread like this one on HN where there are apparently many people curious if not outright looking for a full-stack js framework.

I attempted to start a (personal, but with commercial aims) project using Nuxt about three weeks ago, as I'd had good experiences with it in the past. It's not been at all fun - whereas with Nuxt2 it felt like I could get up and working quickly, it's been weeks worth of playing whack-a-mole fixing errors. Settled back to Vue3 and got up and running in a few hours.

Sveltekit certainly looks interesting. I've tried to get excited about React / Nextjs in the past, but while the concept feels solid, I guess I've always felt like Vue was a better implementation of the concept.
This is much more than I would have guessed!

Considering how recent ~any level of EV mass manufacturing is v.s. the total stock and new purchases of ICE cars, a material dent seems rather impressive?

Why we always gotta be so cynical ¯\_(ツ)_/¯
the dilution level is presumably not the same, so I’m nitpicking, but technically it could be like with omeopathy [1], where the initial substance can be so diluted it is guaranteed that there is no trace of it at the molecular level in the final preparation.

[1] https://en.m.wikipedia.org/wiki/Evidence_and_efficacy_of_hom...
As a Packers fan living in California, the NFL thing particularly bothers me. It is impossible for me to legally stream all the games. The only option to watch every Sunday game is NFL Sunday Ticket, which has a streaming option but it's not available for my address—They force you to buy DirecTV satellite if it's available in your area.

Contrast that with the NBA, where for a surprisingly reasonable $15 a month I can stream every game on YouTube TV.

Apparently DirecTV's exclusive NFL contract is expiring, so I'm hoping next season will come with new streaming options.
Hot takes after developing databases for 3 years
The most frustrating part of this whole password sharing crackdown is that Netflix already charges for the number of simultaneous streams per account. Basic gets 1, standard gets 2, premium gets 4. And you pay a whopping $20/mo for that added privilege. Now suddenly the $20 isn't enough, and you must also prove the blood relation of people using the 4 streams that you are already paying for.
Not a single identity but a very well defined set, a household, I believe. So if you know you are not part of that allowed set (and you do know) that is still obtaining a service by deception, IMHO.

The way it is defined, fraud is quite an extensive offence under British law if you start carefully looking at what people do.
Seriously. 0.3% percent of new cars in 10 years are electric or partially electric and drove gas usage down by 0.5%? Seems like a victory.
I asked ChatGPT to tell me of examples were more likely from a large language model or for a student. It failed miserably on the job. Like I asked it to write a short paragraph on Shakespeare and then asked it to determine if the paragraph came from it. It said that the paragraph (that it generated 3 prompts before) was written by a student!
By having someone write the optimization passes to detect these :)
Lets say we are training ChatGPT2, would you let it use ChatGPT for solving things? Do you think it would learn better if it had to learn itself without relying on ChatGPT?

We learn by doing. Relying on smart tools puts you in a local optima, it is hard for you to improve over those tools, but people who don't rely on tools continue improving and then start using the tools later.
It's an additional component. It adds extra weight that you're always lugging around. Engine, pipes, pump etc.

And it's weird that it is allowed in Europe, as it has more emissions than a normal engine.

https://www.sciencedaily.com/releases/2021/09/210909123913.h...
Declaration of human rights was about the right to have your house burn down? You always learn some new made up crazy thing on the internet!
For most of vegan and animal rights activist history, the focus has been on morals: explaining and showing the horrors we inflict on animals in the name of meat and dairy. Then at some point it became, primarily, an environmental issue, closely tied with reducing carbon footprints and emissions etc.

Reducing animal suffering, by any means, is great, and this method has worked somewhat, but my concern is the lack of ethical consideration. Those who speak out against animal cruelty seem to have been pushed aside so as not to spook the normies.
"This" as in finding the next combination. Gosper's trick does.
EVs have also been targeting a very specific segment of the market, which is not the most gas guzzling segment. Once EVs really move into the big SUV, pickup truck, delivery vehicle, and 18-wheeler segments, the gasoline consumption reduction will be much more significant compared to the % of vehicles on the road that are electric.
If my understanding of ActivityPub is correct, it's B.
Limiting Handbrake threads to prevent throttling on M2 MacBook Air
You don't think it has any impact? Even on the margins? I think it's basically expected that musicians will give up some day and join the working world, in part because it's so hard to make a living in. If it's harder to make a living -> more people give up -> less music. If it's easier -> fewer people give up -> more music.
Sometimes taking something and preserving it is not a bad thing. Anyone recall https://en.wikipedia.org/wiki/Buddhas_of_Bamiyan?

I'm pretty sure thousand or 10 of thousand of Egyptian artifacts were looted, probably quite often by Egyptians.

Take at look at many regions of the African continent. When ethnic groups or even groups they perceived themselves different would wipe out tribes or societies, artifacts were taken or destroyed.
I hope you’re right!
> The European Central Bank has arguably failed its mandate of keeping price stability within the eurozone when some countries have more than 20% inflation.

It's not that simple. They could rise interest rates more but Italy and Greece would probably default on its debt, which would make euro a lot more unstable than keeping 20% inflation rate in three very small eastern european countries which corresponds to 3.6% of the whole EU population. Current inflation in euro zone is ~10%.
As far as I can tell, the thesis of this article amounts to ‘cryonics is a weird idea, but what's even more weird is believing in the future.’

If you put aside the overt scorn, it's actually a fairly interesting article, and surprisingly upbeat at that.
Unparliamentary Language
> It's kind of annoying that they will stop in several weeks when there's no project changes.

Can't you configure a GHA which commits nonsense every month?
The answer depends on whether you believe in homeopathy.
I for one welcome our new Orbeez overlords.
I think those are potentially legitimate issues, but they're very different than "bad gamer actors will use this to penalize those they don't like."

I don't play this game or know how they handle this, but in lots of games there are different player pools with different levels of competition. If you want to explore the engine and be creative, good on you, but you also should not be teamed up with people who are looking for a hardcore competitive gaming experience.

That also seems like a mostly orthogonal problem to encouraging good behavior like being nice and trying to win and discouraging antisocial behavior like insulting your fellow players or shooting your own teammates to be a troll.
I know what you are saying, but personally I've kinda reached a point where I would trade compensation for quality of life. I'm not convinced the quality of life in the US overall (despite there theoretically being more money to be made) is the better tradeoff. I think in terms of health care, the social safety net, transportation, etc, IE: the physical and social infrastructure.
You get an EV, you get solar panels - you are the grid.
No, our CLI is connecting to our backend service which then connects to our database. The backend is not ready to be used by the public as it's not super user-friendly and not well-documented; however, this is a great idea and would increase the use case for Infisical
I assume you mean passes raw data received from TCP/IP through?

RFC2217 lets you change the port settings (for instance baud rate, parity, bit count...), control flow control lines or breaks directly, inspect modem and line state and more.
Yes, this is a real thing that will happen. However, this is no different than a popular website like, say, HN, linking to someone's hack project and giving it the hug of death. This stuff happens, and if any operational element boils down to someone's hobby then you'll see some issues. That doesn't mean Mastodon is inherently flawed any more than web pages being inherently flawed.

What will happen is the same thing that happened to web servers and email servers. Businesses will pop up to run your instance for you.
> A contractor posts some of these photos to a private Facebook group used by
other contractors on the project.

That's where it went wrong. Everything else seems reasonable for a
visual AI training project, well signalled to the participating users
and the data securely communicated.

Thereafter, the data was mismanaged.

There is clearly no such things as a "private" Facebook group. So
called "contractors" [1] using a disservice like Facebook to
communicate beggars belief.

[1] people with the unremarkable skill of being able to spot ordinary
household objects and label them - so someone probably had the bright
idea of creating a CAPTCHA "Find all the women on toilets".
> Epic was explicitly marketing to 10+

Translated to english this means they were marketing to 6-14 year olds.
Off-topic, but why do we still use nm to refer to things? I assume everyone on here is already aware that it's purely a marketing term, but we still use it.
Between the COVID learning gap and this transitory period when education has to adapt to AI cheating, there's going to be a few rough years of kids falling behind.
This is difficult because lots of tools don't let developers choose their data layouts. For example you cannot declare an array of structs in Java.
Use a systemd timer instead. On a SBC at home or a free VPS.
That "news" article could have easily spun it the other way and said EVs have double the influence on gas usage.
How are sites detecting and banning once-an-hour users? Yes, if you want to spider an entire website continuously, you could get IP banned, but if you're making 24 (or even 96) requests a day to visit one site and check some data, your traffic is indistinguishable from baseline.
I've been in something like that at the time, but not sure exactly if this, running G-Loc, or something else called Afterburner. I remember having seen Afterburner several years later in Germany, with similar 360° setup.

In Zandvoort, NL. Stoned OFC :-)
Public Speaking for Engineers
Sure, I also find AI and all other devices that we already had(calculators, programming languages, simulators etc) very useful for learning. Incorporating the latest and greatest tools into education works well.
Many newer EVs in the US are big SUVs (Kia EV6, Hyundai Ioniq) and Amazon is rolling out its new fleet of Rivian delivery trucks. Agreed, once more SUVs and gas guzzler equivalents have EV options it'll make a bigger impact. When my partner and I were choosing an EV, we had a hard time choosing a non-Tesla non-SUV model. (We weren't opposed to the Tesla for Musk reasons, simply that it was a capital cost we weren't willing to spend for the amount of driving we do.)

LA recently bought its first electric firefighting apparatus! [1] is a marketing video talking about it.

[1]: https://www.youtube.com/watch?v=3AafguE0KZk
That is amazing! So basically you trick the bacteria into exiting their spore/dormant phase before you hit them again with another boil.

It seems risky because if you ever let the spores divide at all then you introduce further variation and a selection process into the mix, which could be disastrous.

But that reminds me of the "shock and kill" strategy used to get HIV out of its latent state before killing the virions: https://clinicalinfo.hiv.gov/en/glossary/shock-and-kill-stra...

And I guess this effect is also why chemotherapy drugs work best on fast-growing tumors.
cheapest would have to be running it on the computer you made this post from .. assuming its always on and the delta to your power bill is negligible. as others have suggested if you have an RPi or some other low power SBC laying around, that would be ideal.

i'm sure the major cloud providers have cheap / free tiers for this kind of work, but quite frankly i've been burned by run away pricing tiers too many times to ever consider using cloud again for a personal project .. so unless this is getting funded by a client try to host your own.
It becomes relevant during a divorce, or a capital gain or loss that has expenses related to the basis. Sometimes it's to your advantage not to have the documentation, but those situations are often zero-sum, so the other party will go the extra mile to find whatever is missing.
As someone that had stadia and a good enough connection for it, the technology was honestly really impressive.

The problem for me was that it was yet another platform. I already have many games I'd like to keep playing, I don't want to buy another copy that can only be used on stadia. I don't want to buy anything on stadia and then only be able to stream it while I still have a gaming pc.