skysight-inc/HackerNews huggingface dataset:
This is my hash included in the best hash testing library out there "SMHasher3" maintained by Frank T Wojcik: https://gitlab.com/fwojcik/smhasher3 This test lib has many improvements over SMHasher 1 & 2, listed on the previous link. Results are: https://gitlab.com/fwojcik/smhasher3/-/blob/main/results/REA...

Rainbow is the fastest 128-bit hash, and the fastest 256-bit hash (non-crypto). The 8th fastest 64-bit hash (by family, or 9th fastest overall, and 13-th fatest overall if you include 32-bit hashes). The advantage of rainbow is its easily scalable output size (64, 128 and 256), its high quality (passes all the tests), and its utter simplicity: it is under 140 source lines of code, easily readable

The random constants are primes that were selected based on their avalanche quality under a multiply modulo operation. This part of the development was interesting different primes had very distinctly different avalanche qualities. The highest quality primes caused good avalanche (~ 50% bit flip probability) across the widest possible set of bits, on average. These are quite rare. A lot of large primes only avalanche across a narrow range of bits, even in a 128-bit space. The search program took a couple of days to discover all these primes running on a 2020s era MBP. Primes are chosen because they give a complete residue set under the modulus, ensuring a long cycle length at least regarding the nominal test operation.

The rest of the hash was developed by trial and error using my intuition on developing hashes arising from long experience of doing so, and using SMHasher3 to evaluate the results, by iterating to improve and re-testing, over a period of a couple of weeks in the holidays a few years ago. I started making hash functions in my teens as a fun hobby.

There's also a fun little wasm powered dashboard you can play with, here: https://dosaygo-research.github.io/rain/
sane defaults is always the goal. The only problem is people can't seem to agree on what behaviour is "sane".
Because they are just better for the actual rare issue.

Consider for example out of memory. "proper" error handling via return values would mean everything that allocates memory has to have an error return path and everything that calls anything that has that somewhere in the chain needs to still propagate that error. Essentially every function call now has a branch after it. If done explicitly, that's a lot of code nobody wants to write and, more importantly, that nobody ever actually tests. If done automatically, that's still just a metric shitload of branches which wastes branch predictor entries, it wastes cache size, etc...

Exceptions, meanwhile, are typically free unless actually thrown. So for the truly 0.001% situation, like the aforementioned out of memory, they are perfect. You also get stack traces for free which greatly aid in debugging.

Also typically you either handle errors pretty close to where the occur, or relatively high up at a more macro level. Exceptions lets your "middle" layer be significantly less branch-y & verbose for situations where it's a more macro-level error handling strategy.

The alternative approach, like what Rust does, is to just say that rare errors like that are unrecoverable and hard-crash when encountered. That's certainly a choice you could make, but it's pretty heavy-handed for the language itself to mandate that. Which is then why Rust also provides std::catch_unwind, but with notes that it doesn't necessarily work because people can have chosen to compile with panic set to hard-abort period. It's pretty much a big mess.
Well, you seem to have your head screwed on right, but here's my big disconnect: I get that you don't trust what Elon says, he's been wildly optimistic and sometimes misleading. But what does that have to do with objective reality? Would the moon landing had been less impressive if NASA had promised to land on Mars? I don't get why we have to anchor what we find impressive on what Elon promises or predicts. To me that's irrelevant.

As for the most advanced AI driving system, yes you could argue Waymo is more advanced, it's certainly more complex. By most advanced I mean that it's fully end to end, and this is a very new development in AI and robotics (which I work with). It's actually a much simpler architecture than other systems. But as we've seen repeatedly, what tends to win is simple models with a ton of compute and data.

As for V13.2, it won't be perfect, but it's also not the final version. It's approaching feature complete, and we've seen it handle snow covered roads at the very least. Rain hasn't really been a problem for recent versions. In my view, weather is mostly a matter of data collection at this point.
Fare-free transit is not an environmental policy. It doesn't reduce driving
A very important point. The Onion was going to give $100,000 more to the other creditors than any other bid. That sounds like the better deal. I can't imagine being owed money and having the judge tell me that I'm being forced to get less money in the interest of fairness.
You know, I've watched basically every video of his for several years now (as well as going back in the archives for some of his older stuff), and I think this is the first time I've ever encountered his name.
That's pure speculation on your part. My stance is common sense: if it doesn't work, don't do it.
Huh, really? I feel like I see Elixir folks sing the praises of beam pretty regularly. Specifically the OTP supervisor stuff for fault-resistant server deployments. I haven’t looked specifically for that though recently so maybe people are taking it for granted?
In fact universities love Physics departments. They usually can justify multi-million dollar expenditures and grants that keep the university research afloat.
That sounds like a perfectly usable Internet connection but tons of reasons one might choose to move out of the Bay Area. There are various good reasons to live there (including some that have nothing to do with employment) but the idea that you must in tech is misguided.
I'm going to be a bit contrarian and say that drinking that awful liquid the evening before the procedure is 100x worse than not doing it with anesthesia. I did my colonoscopy without any anesthesia, and while it's not very pleasant, it's not painful, it's just a very weird sensation.
The Embedded Buddy System
> So the fact that when it comes to suicidal ideation we are less prone to say "this is a disease which circumvents the brain's normal processes that create the imperative urge to survive, leaving one suicidal", and we just go "wouldn't it be nice if they could end their life peacefully without consequences" is bizzare.

Those aren't conflicting beliefs. I think everyone would agree that suicidal ideation is a result of some form of abnormal state of mind, it doesn't need to be restated, but the fact is that we don't have cures. What if they've already received psychiatric care and they're still suicidal?

I agree that we should provide people with the best care that we can in order to treat the root cause but ultimately it's up to them to decide what they want to do with their own life, whether it be treatment or ending it in a humane way.
So for the space debris argument, is humanity just not supposed to have satellites? Like should we phase out the entire concept? Do we expect to solve the issue somehow and then open up space?

Are some satellites okay and it's just a value judgment of the clear worth of one more satellite against the unquantifiable risk of possible downside?
The slain CEO was a Democrat, like many of his peers. Again, it's not about political party. Red vs Blue partisan theatre is a tool used by the united ruling class to divide the exploited classes.
What combinations can be assumed to be legible? I think if a terminal user has their colors configured so that some of the 8 ASCII colors aren’t legible on their background, that’s on them, with the exception of white and black.

It seems like the only way to satisfy your ask is to not use color at all.
Well that was a fascinating diversion. This is bonkers!

https://norsam.com/products/buddhist-nano-film/
That TODO was committed on 2022-02-16 and wasn't fixed until 2024-09-2. That is... a long time for something that critical.
A name is a name, RCU is a similarly terrible name, but it stuck and it is immediately recognizable. the kernel (and related articles on LWN) simply popularized the algo; I have no doubt that it was in use well before linux, but that's how I learned it.
Wait. Macbook pro's are thin and light.
I kind of love the idea of reducing the tech, and bringing everything back to the basics, and searching for improvements on the core stuff like the pump. Hope you succeed. I'm in the market for an espresso machine, probably not an untested (at scale), but in a year or 2 when you've worked out all the kinks in production and you have reviews... i could see myself looking at this as an option.
And yet I did not state this, and it seems you're rounding my position to an easier one to dismiss.

I don't reject non-scientific scholarship. But I see the focus in some disciplines a little like twinkies and soda: a bit of them can be fine and maybe even be good in some circumstances (brings joy; maybe as a recovery item for some diabetic conditions). But my feeling is that some of these disciplines have indexed a bit too much on twinkie and soda.
Anthony Burgess wrote that learning Malay, where semantics trumped syntax, made a considerable difference to his understanding of language.
Bad incentives lead to bad science.

The authors are from a Seattle non-profit called Toxic Free Future (https://toxicfreefuture.org/mission/https://toxicfreefuture....)

Had the mistake been made in the other direction, making the significance of their finding very small, would they have double checked their math? You bet they would have.
Conversely, Great Filter.
> Considering that a lot of innocent people are murdered by the state via jury and trial in the US the distinction isn't very clear imo.

~211 people were killed via trial sentence in the US in the last 10 years [0]. Presumably some of them weren't innocent. In the same time period (conservatively) 8500 were killed by law enforcement outside of the legal process [1].

Both are problematic, but calling <20 people/year (out of a third of a billion people) "a lot" is missing the forest for the tiny sprig of moss.

[0] https://deathpenaltyinfo.org/database/executions?year=2024&y...

[1] https://en.wikipedia.org/wiki/Lists_of_killings_by_law_enfor...
When my doctor recommended mine, she said that they could do screening but if they found anything, they would have to do a colonoscopy and then it wouldn’t just be covered as screening (since it was an incident rather than preventive at that point). She said it was better just to get the colonoscopy due to health insurer rules.
It didn't show up on my credit score at all.

I also wasn't too concerned about that because

(a) I believe medical debts don't affect credit scores for a long time.

(b) I believe medical debts are required to have complete erasure from a credit report if cleared so if I actually needed my credit score to buy a house or whatever I could take the $5K hit to restore the credit score at that time.

(c) I sent them a formal letter disputing the debt, which I assumed means they can't just take it to the credit agency, they'd have to go to court with me first. (Again IANAL, I don't know how accurate this is.) In any case I was mentally prepared to spend $10K on lawyers and court and give them a absolute hell of a time than pay $5K to pay for healthcare I shouldn't need to pay for. I made it VERY CLEAR to the debt collectors that I was ready to pay for lawyers.

(d) For the forseeable future I don't think I need my credit score for anything. I don't plan to borrow money.
Woot makes keyboards that can detect the position of every key. It'd be neat to see that used to control a cursor, with variable speed depending on how pressed down the button is.
Any keyboard with an undo button?
Impressumspflicht only applies for commercial interests. If you are a company informing or even selling something, if you are an influencer making money of yourself, or even if you just have ads on your Pokemon-fanpage, then it counts as commercial interest.

But I don't see any direct monetary value on this site at the moment. There is not even a reputation-gain, as there is no personal information. So Impressumspflicht would not apply.
You can't really "optimize" that every function call now has a branch after it to check for an error. That's a design choice Zig made at the cost of performance, which is not inherently bad. After all, lots of languages intentionally sacrifice performance for some other benefit. But those types of choices are not things you can just waive a magic wand at later to hope it goes away.
the article cites a study that says: "5% of practitioners reported anesthesia times greater in total than what would be expected across university, community, and specialty hospitals. Furthermore, it was found that the greatest differences in expected anesthesia times were in specialty hospitals compared with university hospitals.8 However, the authors have stressed that their findings should not be interpreted to indicate fraud because fraud involves intent, which could not be determined. Because this study was a retrospective study, the authors could not rule out the alternative but unlikely explanation that the practitioners could be rounding down. The reason for caution by the authors is that the CMS has differentiated fraud from abuse by emphasizing that fraud is intentional, whereas abuse is the result of poor medical practices.2 This differentiation is important because sometimes the rounding in digits ending in 0 or 5 minutes in anesthesia time is part of the organization culture of operating rooms in which rounding is performed systematically by the operation room circulating nurse along with the anesthesia practitioner. Sun et al8 recognized this issue as being related to institutional factors, which was one of the reasons they performed a 2-step regression analysis; long anomalous times were not sufficient to establish inappropriate discretion.8"

So Anthem based on the article it might be overpaying for at worst 5% of the operations BUT the big but is that in some hospitals it is routine to round digits. So paying less workers for some rounding operations? It doesn't look as bad to me. It might be because of reasons, or might be due to media backslash.

I think it's safe to assume we definitely need more research into healthcare companies rules after healthcare companies ceo related killing
I think it's sprinkled all over this thread.

Social science can tell you why, absolutely. But then can't replicate it.
This is inline with entry level setups. My setup costs this much.

The thing is the expectations for these machines are sky-high. They're built like tanks, last forever, are servicable, and generally very high quality.
Yes, I have no idea how, in 2024, internet service is not considered a basic utility like power and water, and regulated as such.

My parents paid ~ $65 / mo for 6mb dsl for ages. They had constant outages, and ATT always stonewalled the repairs. Talking to the repair guy, he admitted that ATT basically hated supporting that DSL, and wished all their rural customers would go elsewhere. He even told them that if they canceled, ATT would not offer internet service to them again, they'd just decommission the service down their street.

They're now on starlink, despite being only a 1/4 mile outside of city limits, it's the best option they have.
It's Time to Break Up Big Medicine
https://archive.today/DfzZo
Oops indeed. I like using FIXME for such to make it stand out it's a deficiency that should be fixed asap (usually before merging the change altogether) compared to TODOs that are improvements that can be implemented in a more leisurely fashion.
Not to mention that we happily do extrajudicial assassinations outside of our borders, and the news falls all over themselves to celebrate them.

Everybody knows that plenty excuses a murder, we live in murderous states and in murderous times. The question is whether this murder is excusable, and one's opinion on it is probably dependent on whether one wishes they had that guy's job. Most people wouldn't do it for any price, but plenty would.
You are absolutely correct. Matt Levine wrote about this topic in his newsletter the other day. Well worth subscribing if corporate/legal shenanigans interest you.
Yeah, it's a weird critique.

The author acknowledges early on that `Random.secure` is there to provide randomness where it needs to be secure, but then spends the entire article fretting over how the other source of randomness isn't. But it's not supposed to be!

Applications have plenty of reason for cheap, stable, or otherwise controlled forms of randomness and shouldn't have to pay the penalty for -- or face the reproducibility limitations of -- secure randonmness when that's not what they need. It's both useful and traditional for standard libraries to either include both forms, or to leave the secure form for other libraries to contribute.

If an application uses the wrong supply of randomness for their needs, that's an application error. And if developers writing security-sensitive code don't know to think anticipate this distinction and avoid the error, then that sounds like there was a project management error in assigning them such a sensitive task.
Very few tech reviewers have anything other than experience. Nilay Patel trained as a lawyer. He can’t code, can’t engineer, isn’t an industrial designer etc. it’s one reason why tech reviews are so obsessed with keyboards. For most reviewers keyboard feel is one of the few areas they have real expertise in.

MKBHD is absolutely as qualified as 99% of his peers.
>The rural broadband subsidies would work much better if they were not available to large ISPs.

This. When you go on to the FCC website and look for good high speed internet, outside of major cities it's almost always available through some coop. The government should be supporting this, but it's not 'by the people, for the people' anymore, it's 'by the corporations, for the corporations'
> ... PRId32, PRIu32, PRIx32, etc... macros shall be used from inttypes.h.

Those are superseded by %w64d %w32x etc. in C23.

(One of the most practically DX-improving changes in it.)
Bypass paywalls is taken down from GitHub (and Firefox addons registry)
> then the operating system will return an EOF when you press Ctrl-D on an empty line.

This is akshully not correct. Control-D makes the read(2) return with the data currently in the input buffer. If there's no data in the buffer, that results in a 0-length read, which is how EOF is signaled.

Try this: run cat, type foo, press control-D. "foo" will be echoed, without any newline.
"A key congressional committee asked insurance giant Cigna on Tuesday to provide corporate documents so that lawmakers can examine the company’s practice of denying health care claims without ever opening a patient file."

https://www.propublica.org/article/cigna-health-insurance-de...
> "proper" error handling via return values would mean everything that allocates memory has to have an error return path and everything that calls anything that has that somewhere in the chain needs to still propagate that error.

That seems like a win to me for the aforementioned "readable" criteria—failures should be enumerated. But I can see how that would be annoying to write.

I'm also of the opinion that if handling out of memory is a serious consideration for your process, you should consider using your own allocator that doesn't fire an exception. This is how rust handles it, for instance. And on top of this I'm a little confused because exceptions are mostly disallowed from embedded codebases, which is the primary place where you would likely run out of memory and want to actually handle it.
yeah APOB is what drove my doctor to give me a prescription for statin
What news do you currently read? Tech Crunch? Verge?
Look at the error rates they are testing. A 0.1% exception rate, which is certainly something that'd be "rare", starts to happen an awful lot when you have a program that's using 128 cores, and 5th generation Epyc can push 384 threads in a single socket now.
I don't understand AT&Ts strategy here. I assume the vast majority of AT&Ts network is overhead, and it is not expensive in the scheme of things to run PON fibre on the poles.

They are effectively giving away ~50% of their footprint to competitors, forever to avoid a one time capex cost.

Obviously there is going to be a portion of their network which is completely uneconomic to serve (requiring huge fibre runs for a handful of customers). But I do not think that is 50% of their userbase. Just checking a handful of 10-20k pop towns in some states they 'cover' and no FTTH is available.
All I want is Python without indentation...

0dc MyTextBox Frame

1df s __init__ parent

2fc l "super().__init__" parent

2va s master parent

2fc s configure bg=$BG

2vf s this_text_box Text $TEXT_PROP

2fc s this_text_box.pack $TEXT_PACK

2vf s words_var StringVar

2fc s words_var.set '"0 | 1"'

https://nopaste.net/shy.sh

https://nopaste.net/shy-editor.shy

source shy.sh ; bash shy-editor.shy | python3
It's reasonable that satellites should mitigate the impact on astronomy as much as possible. But it's not reasonable that we should seriously constrain the use of satellites because some astronomers using land-based optical telescopes are inconvenienced.
Society != a small but influential wealthy minority

Framing it as unchangeable "reality" is intellectually dishonest.
This is weird, since it reads as a critique of the insecure random number generator in a language that has a secure random number generator. What does it mean for the insecure random number generator to be insecure? That's the point: it's the one you use when security doesn't matter, because you need speed or determinism.
The pad was fixed prior to the second test launch with the addition of a water deluge system.

The clean water act issue involved a dispute between Texas and the EPA about which kind of Texas permit SpaceX needed for a potable (drinkable) water deluge at the pad. Texas regulators told SpaceX what they needed to do for permitting, SpaceX did it, and then the EPA came back and made them file different paperwork and pay a fine. My understanding is that the EPA did not require any changes to the deluge system, just different paperwork.

SpaceX concluded that paying the fine was faster than fighting the EPA.

SpaceX's version of events:

https://twitter.com/SpaceX/status/1823080774012481862
Here's my semi-cooncrete mechanism. Seniors seem to love Medicare...

Every year for 10 years, reduce the age of eligibility by 1 year. At N+10, it will cover 55+.

For the next 10 years, reduce the age of eligibility by 2 years per year. At N+20, it will cover 35+.

You can also set up Medicaid to cover all children in a similar way (after all, most children have no income, so should qualify if judged on personal income rather than family income). Set a date and if you're born after that date, you get medicaid until you're 20.

At year N+20, there will be a 15 year gap for young people. Which is hopefully time enough for them to earn enough social security credits to qualify for Medicare.

And yes, medicare and medicaid taxes would have to go up. But private healthcare premiums should go down.

Rolling it out over 20 years allows for adjustments to be made as things go along. Criteria based on years is for simplicity... A better method would be increasing eligible population by 1% the first year, 1.1% the second, and so on until you're done.

If people really don't want to just pay for it socialized. Just make it possible to self pay for medicare at more ages; this is something that seniors without enough social security credits can already do. Again modulating the eligible age over time to allow for a transition without overwelming the system.