skysight-inc/HackerNews huggingface dataset:
That caught my attention. Retrying failed tasks isn’t easy. There are all kinds of corner cases that pop up one by one. If you have some nice way to handle the common failure modes ("text me" or "retry every ten minutes" or "retry 5 times, then give up" or "keep retrying, but with exponential backoff") then that’s something I’d love to use.

(Wiring together 40+ preemptible TPUs was a nice crucible for learning about all of these. And much like a crucible, it was as painful as it sounds. Hatchet would’ve been nice.)

Thanks for making this!
> Our food shouldn't contain allergens

You can pry my gluten-laden, peanut-oil containing, dairy-filled pizza from my cold dead hands!

(The problem isn't allergens, many of which are delicious. The problem is not correctly labeling allergens - I think that's the point you wanted to make at least!)
> why some States today (e.g. Washington) do not recognize or accept any Federal IDs, like passports, only State IDs.

So, note to self: do not move back to the US from overseas to these states or they won't believe I am American.
When I say smuggling here, I mean crossing a border illegally, avoiding customs.
Yes, this is pretty much a conspiracy theory. There is little to add because you did not say anything substantial, but I also believe you cannot leave statements like these without a comment.
Honestly, I hope Ron Wyden (I think his name is, US politician) takes this up - he has previously done excellent work calling companies to be accountable for such invasive and insecure practices
The point I'm trying to make is that far more vulnerable vehicles ply American roads, so the safety aspect is kind of questionable.
> The stack traces when something goes wrong are inscrutable under recursion.

Hmm. This is a real issue, for the simple case. If tail recursion is not optimized correctly then you end up with a bunch of stack frames, wasted memory...

I propose partially this is a tooling issue, not a fundamental problem with recursion. For tail recursion the frames could be optimized away and a virtual counter employed.

For more complex cases, I'd argue it matters less. Saving on stack frames is still preferable, however this can be acheived with judicious use of inlining. But the looping construct is worse here, as you cannot see prior invocations of the loop, and so have generally no idea of program execution without resorting to log tracing, while even the inlined recusion will provide some idea of the previous execution path.
I'm surprised there aren't lots of PhD students doing modern trials on these. "I was the person disproved a widely available drug" seems like it would be a great thing to have on an academic resume. From the outside, it also seems like this would be relatively easy research since the drugs are widely available, safe, and treat common symptoms.
The tenth amendment would be a good place to start. As others have out throughout this thread, the Constitution has a whitelist of powers allowed to the federal government. All other powers are outside it's purview.
Thank you, it's really cool!
I started something similar, but way less sophisticated. Basically i implemented a n-Body solver in Julia, compiled it to Webassembly and did the drawing with canvas, like you. This motivated me to work on it again.

> The issue with ksp is that you first need to figure out the rocket design before you start on orbital mechanics

Come on, it's not rocket science.
Amazing animation (and idea) indeed, as someone who loves using the terminal and sometimes - only sometimes - like to see something new like this.
Spacex gave me a factory tour when I was applying so I have an anecdote in direct counter
The Volts podcast dove into this recently (with transcript): https://www.volts.wtf/p/new-yorks-congestion-pricing-fiasco
LXC vs. Docker: Which One Should You Use?
It's a regressive nearly flax tax amounting to a taking from the residents of lower Manhattan. If they wanted to reduce congestion all they would have to do is make the free street parking NYC residents only. Many cities do that. An issue with this was it was clearly not about congestion except in name it was MTA can't build anything without spending multiples of the next most expensive transit system. The singular goal was to hit an arbitrary number. And if traffic dropped leaving revenue below rhe goal the costs would have been hiked. This was a hammer when they needed a scapel.
The light ones are those dreamt up by overzealous marketers, the darker ones by middle managers.
But that’s sulfur.

One gram per kilo for sesame is not hard.
> "The radioactive dose makes the horn poisonous for humans"

https://www.bbc.co.uk/newsround/articles/cd16yjp0062o
You're asking for citations when your whole premise is based on a wet potato getting stuck in a smooth plastic pipe. And then the potato being a durable enough seal to create a bomb. That's goofy as hell.
Kinda logical as Rstudio really lacks a lot niceties from more robust code editors.

I am wishing them the best but I would be shocked if it drags me out of my ESS Emacs corner.
Fair enough, I guess it's a pretty non-linear system!
No, you are not. The complexity of a React app is pure madness.

The bloat in the ecosystem of (mostly) abandoned packages is unparalleled. With the bloat comes the need to tree-shake, bundle, compiling, things that are not needed in modern web development but takes a good amount of the dev cognitive load when developing a React app.

There are great alternatives nowadays that don't come with the bad recent decisions of React: Solid, Lit, even vue or svelte.
I mean that doesn't make a difference though? You wouldn't want a separate traditional bakery with a separate traditional baker for every combination of allergens either
I have a strict CSP with report-URI on my blog, but all the reports I get are from obscure browser extensions injecting CSS and JS into my pages.
AI Increases Lie Accusations, Changing How We Trust and Detect Deception
Apple's "Longevity, by Design" argues its scale affects its repair polices
Nit: Things above helium are called metals. Helium is not.

Another nit: Astronomy, not astrology.
Good take as usual from Doctorow. His main arguments:

- Automated content takedown systems (e.g YouTube Content ID) fail to recognize fair use cases, such as academic discussions about copyright, and can be abused by bad actors to censor legitimate content.

- Intermediary liability frameworks (e.g. notice-and-takedown systems and proposed "filternets") disproportionately favor large corporations and can stifle free speech and creativity.

- Removing safe harbor protections (e.g. Section 230) could further entrench big tech monopolies and make it harder for everyday internet users to share content online.
Have computer mice ever caused cancer or isnthat hyperbole
im one sentence in and it's already 110% obvious this is GPT
One Photographer's Quest to Document McDonald's in More Than 50 Countries
FDA needs to stop pursuing useless things like this and bab the use of glyphosate as a dessicant. There's plenty of other safety concerns in the American food system. This ain't it
What record air conditioner sales reveal about India heatwave
The difference is that private insurers have an actual incentive against this happening but when the scheme is state-funded you have to rely on the people's sense of duty which we know is not particularly strong in many cases.
Still, it's capabilities are extended by the WiFi dev board

https://blog.anthares101.com/how-to-setup-the-flipper-zero-f...
Khosla-backed Marble offers affordable group therapy for teens
Lol I saw your tweet
An additional reference:

> 'The radioactive material would "render the horn useless... essentially poisonous for human consumption" added Nithaya Chetty, professor and dean of science at [the University of the Witwatersrand]'

https://phys.org/news/2024-06-radioactive-rhino-horns-curb-p...
OCaml[1] and Scala[2] have had this too.

[1] https://batsov.com/articles/2024/01/16/learning-ocaml-verify...

[2] https://www.scala-lang.org/api/current/scala/annotation/tail...
I had one of these but it would pinch nerves in my legs so my legs would go numb after awhile. I switched to a stressless recliner and never looked back.
That's essentially the point.

It's meant to be challenged in court in hopes that that the current Supreme Court will make some subjectively favorable "clarification" about what the Establishment Clause, etc says and provide a green light to more/other policies even if it strikes down this one.

It does seem like a pretty crude attempt at that, likely frustrating to those who would have preferred to see a more sophisticated challenge raised, but that's what it is.
> But the combination of git-cliff and conventional commits can save a lot of time for the initial draft.

Does it though? What would happen if we instead directed our discipline into updating the changelog manually on each PR?

Does having git cliff as the middleman provide much value if I have to enforce highly specific logging practices in the PR anyway?
Overregulation is also a cost that can only be bared by large companies, it's contributed to the shrinking number of family farms and small businesses.
How have I never heard that?

Knuth continues to retroactively impress me!
To be fair.

They said teach the Bible NOT Christianity.

We should most definitely teach the Bible in its historical context starting with:

- the genocide of indigenous peoples particularly the California Genocide from 1846-1873

- slavery and corporate interests (160?-1865)

- manifest destiny

- lynching in a Christian country (1860-1950)

- the bombing of Hiroshima and Nagasaki

- civil rights movement (1950-1968)

- the Catholic Church sex abuse scandals

- Christian Zionism, corporate interests and apartheid in the Middle East
Personally, I semi-regularly encounter instances where this rule must be ignored else I achieve an infinite re-render loop. Other times, it can be ignored, like when you use a stable value in the body of the memo or effect, like state setters from `useState`.

In practice this leads to ignoring the rule, disabling the rule with a comment (and potentially forgetting to add vital dependencies when the function is updated), or adding a bunch of unnecessary noise to the dep array.
1. Pickling is, as already mentioned by a cocommenter, slow. Do not use it.

2. Do not use loops, use itertools. (Python 3.12 got a nice 'batched' function, btw.)

3. Preallocate memory, where possible.

4. multiprocessing.shared_memory may help.

5. Something like cython may help.

6. Combination of multiprocessing with asyncio (or multithreading) may help.

7. memmap file access might help.

You see, you have a lot of options before you need to learn another language.
I mean, if you live forever and cannot die by any means, your odds of getting stuck somewhere approaches 100% (fall in a pit, landslide, fall overboard on a boat, stuck in the sun, lost in space, etc).

I imagine it is the same for data. The longer it is available, the more likelihood of it getting out of the company.
ChatGPT is hallucinating fake links to its news partners' biggest investigations
It's what happens when you have an election. It's why Biden did https://www.politico.com/news/2024/06/04/biden-border-close-...

If you steal enough of the other guy's issues you win.
"x is worth more than gold" means the price per unit of weight of x is greater than that of gold.

What are you trying to achieve by arguing that a common turn of phrase doesn't mean what everyone else thinks it means?
I'm all for rendering the Sacklers paupers. Whether that money is given to surviving victims or piled up and burned matters less.
AI Goes to Hollywood: A deep dive on the potential effect of AI on Film-making
Nothing catches my attention right now. Besides, my backlog should keep me entertained for years.
Minsky Moment was building up before 2020. Instabilities were growing in shadow banking fueled by the low interest rates before 2020, but COVID-19 rolled it back. A tiny recession and supply shock, followed by inflation provides a hard reset.

We are now at the safest stage, hedged finance.

- Credit environment is not loose.

- Investors are not taking too much debt.

- Fed is fighting inflation, not fueling growth.

Stock markets are booming but only in limited sectors. Most of the growth–with few exceptions–is backed by returns.
> This post focuses on one cluster that had 4,092 H100 GPUs spread across 511 computers, with eight GPUs to a computer

Am I right in understanding, that's over $100 Million worth of GPUs?

I wonder what/when/if any of this will be within the realms of an enthusiast with a gaming-pc budget.
Such as the taste of crayons?
Back in the late 80s in college a guy in my dorm made a combustion gun. We were watching him shooting spuds from the dorm lawn into the air not caring where it landed. Later that evening he was arrested because one spud gave the parent of a visiting student and orbital fracture 300 yards away and her eyeball literally fell out. Since he was doing it in front of the whole dorm the police had no trouble finding him. He lasted only two weeks in college no idea what happened after he was arrested. Be smart if you make one of these things they are super dangerous.
I can type out hideous code.
I have a reverse proxy that is in front of all my services (caddy) which uses a wildcard cert to avoid this very concern.
> https://crt.sh...

I like.

I picked up a client with a bunch of web brands and well, you know.
> Code with so much dependency injection and general SOLID that you have to bounce all over the place to understand a very simple action.

I find that happens when people get religious about patterns and methodology; without understanding the "why", the language, and how a computer works.

Case in point: I once worked on a C# project that used a port of Spring for dependency injection: Ultimately, it was near impossible to know when something was constructed, and what was calling what. There were classes that couldn't call themselves through "this" because of certain weird dependency injection features used.

Later, I decided to use dependency injection as a design pattern: Instead of a complicated DI framework, there was just a few files of code. It was very easy for newcomers to understand. It was also easy to swap in mock objects, and easy to swap dependencies based on the target platform. It was also easy to see when a dependency was constructed; because it wasn't hidden behind a giant framework.
Kensington slimblade trackball. Very configurable ( though on Linux you'll need to write some config files ) and very attractive. Has been very OK ergonomically.
Some projects make it work, see the ratatui.rs example in another comment.
If you use a wildcard cert, then only "*.domain.net" is recorded in the logs, not the actual hostnames you're using.
I'm curious, in London did they cut the fares for subways when they implemented the tolls?

The one thing that has been bothering me about NYC congestion toll is I figured there was be a cut in the fares for subways and rail to entice more riders. But I don't see that mentioned; just for capital projects it seems.
Huawei Gives Up Android
Substack Has Failed Indian Creators
Ah, that was quite an embarrasing error on my part, thanks.
Are you a native Chinese speaker?

I've noticed Chinese are very loose with their puns, and it helps that there is a lot of regional dialect variation in pronunciation.

For example a common one is 520 (wu er ling) being used for "wo ai ni" (I love you)

So I wouldn't put it past them to consider the two words as "similar"
if the li-ion is kept < 4.25v that should be no issue. I don't know why overcharging is even considered a thing (100% should be 4.22v or so for a standard li-ion cells). You can keep all tool batteries at around 4.2v (fully charged), and nothing happens - they don't degrade.

What actually kill batteries is overcharging (which has to be done on purpose in the electronics) and heat, having internals over 60C is where the real issue is.

I think phones are the 1st ones that started overcharging just to ensure lower life expectancy of the device... and of course much better autonomy during the 1st impressions.
Former IT employee accessed data of over 1M US patients
I believe this line of thought was one of the drivers of the original separation of church and state premise.
Unlike in other cities, Uber/Lyft in NYC are regulated like taxis and limos. NYC has been paying a congestion surcharge on each ride since 2019, which was set to go up as part of the new congestion pricing program.
Don't know why you are downvoted (Stockholm syndrome, sunken cost fallacy?), but JSX is a bizarre hack, and there are many less hacky alternatives, like template literal based HTM, function based hyperscript and even const e = createElement.
The Ford Maverick seems like it would really nicely fill the niche?

My college actually used a few Kei trucks for the maintenance people years ago. I assume they could get them new(ish?) because they weren't used on road. They always seemed perfect for the job, and I have seen them around in other roles like that, but I only recently saw one on-road. I get the appeal, but I'd take a Maverick over one every time.
React is the premier frontend framework because it is easy to learn, scales ad infinitum, and has reached a critical mass where the library support is second to none.

Anyone advising juniors against learning React is shooting them in both feet, not least because of the demand for React developers.
Completely irrelevant. Lack of a legal religion test does not mean that people can't choose candidates or make policy on the basis of religion. This is just like how protection from political discrimination doesn't prevent people from voting on candidates based on their party affiliation. It just means that states can't have a no democrat/republican criteria for office.
Also I could be wrong here but I think Central Park was also closed off to normal traffic. I rode an e-bike there last year and it was so much fun.
> a whole paragraph on the cognitive load of an extra compilation step... IMO you don't even come CLOSE to explaining why this trade off is worth it

You're missing the whole context about how React is a library with a huge enterprise sponsor (Meta) who uses it to build some of the biggest web frontends in the world (Facebook etc.) where most of their engineering talent, like most enterprises, will trend to be juniors in order to save money.

Juniors will not naively get the dependency array for useMemo correct, period. With enough juniors banging away on enough PRs, especially if PRs are not reviewed by the most senior talent to save time, this becomes a problem at scale. The need to introduce extra compilation steps, especially when a codebase the size of Facebook already has (I'm sure) distributed build caching, is more or less immaterial compared to the savings of getting more PRs to be correct when first raised for review.
In practice, the opposite is true.

https://www.propublica.org/article/we-asked-prosecutors-if-h...

Investigations are a cost-center. Government can staff investigators; private insurers just factor the fraud into next year's premium hike.

> To put that record in context, take a look at the state’s Medicaid program, which covers about 13 million low-income people. During fiscal 2017 and 2018, the program’s fraud unit filed criminal charges against 321 fraudulent medical providers. It garnered 65 civil settlements and judgments and recovered more than $93 million, according to the state attorney general’s office.

> A rigorous search for civil lawsuits filed by private health insurers over fraud in California turned up just one case in 2017 and 2018. Experts said insurers rarely sue over fraud because of the high cost of litigation.

> I tracked down a dozen or so investigators who once worked for insurers, and they all said the same thing: Insurers don’t police fraud as much as they could because it hurts the bottom line.
Uber/Lyft drivers in NYC need special plates (that start with a "T"). The commission that regulates them can simply restrict how many plates it issues/renews.
I really wish there was a tunnel between jersey and Brooklyn. Every option sucks for that. You either end up stuck in traffic in Staten Island, manhattan, or queens.
Ah that explains it, thanks.

I guess we can watch now how bakeries invent a “plausible” need to add sesame. Previously they admitted the true reason why they added sesame and got in trouble so to speak. So now they’ll fund some research or publish some article somewhere indicating sesame makes the bread taste better and point to that as the reason.
>> deeply unconstitutional

> It is not this, where does the constitution enshrine anything for a foreign power operating on American soil?

By default, TikTok users have a First Amendment right to use a communication platform controlled by a foreign power. National security can override such a right, but the federal government hasn't declassified it's evidence of TikTok's supposed national security threat.
Given the opportunity to demonstrate that they can solve problems: improving the transit system for millions of New Yorkers - especially poorer and disabled riders, take steps to improve the environment, AND make it easier for who want or need to drive to drive in lower Manhattan; Democrats chose to make a power-grab and throw it all away.

It's absolutely disgusting. Yes the MTA is a mess, yes this money could have been spent more efficiently by a better run organization, and I'm sure the plan wasn't perfect; but to see Dems very publicly go out of their way to show they can't solve problems if doing so upsets a handful of rich people is somewhere between disheartening and enraging.
In 2019 it split down the middle in NY state voters:

https://scri.siena.edu/2019/03/18/2-3-of-voters-say-amazon-c...

More recently

https://nymag.com/intelligencer/article/poll-congestion-pric...

they found 23% of people opposed the decision to suspend, and about 45% of voters supported it and that support was not very different for D's, R's and I's.
I like speedscope.app for viewing flamegraphs. It is more interactive than traditional SVG flamegraphs, and what is relevant here is a "sandwich" view - basically a sorted list of all functions, you see what function was spent the most time in, click on it and see all calling stack traces like a mini flamegraph, filtered and centered on this function. Speedscope supports several popular trace formats, really useful.
Behind in what? Amsterdam is 800k people vs 8.3 million in NYC which is close to half of the population of the entire Netherlands
Toll optimization aside, there’s often a huge backup of the BQE or in Staten Island that makes the tunnel the next best option. I’ve faced that scenario probably 1/3 of the time trying to visit family in PA/NJ from Brooklyn.
If this is New york, and we’re talking alot using manhattan to get somewhere, your car isn’t beating the train unless someone throws themselves in the track
>A survey of world religion, including the great texts, as an adjunct to social studies seems reasonable to me.

That very clearly isn't the goal or agenda behind what's happening in Oklahoma, however. And even if it were, the subject would be too complex and nuanced to teach to fifth graders, which is why most such courses are available at higher levels and as electives, and they don't exclusively focus on Christian doctrine.
Walking pad so you can walk while you work. Helps minimize negative health impact of working too much.