MurphyA/hacker-news huggingface dataset:
by JumpCrisscross | 2025-07-22 18:44:56+00:00
“Tesla Diner welcomes those who don't own Tesla vehicles and is willing to charge cars manufactured by anyone whose ports are compatible with Tesla's charging cables. No EV means no parking in the diner's lot, though - gas-guzzlers will need to use street parking or a nearby garage, according to Tesla's FAQ page for the diner.”

Honestly, this is a good look.

It’s messaging EV superiority, something we’ve lacked under this administration. But it isn’t being a dick by prioritising Teslas.

It’s a playful, low-stakes branding move. I’d have added minor servicing options, à la the Apple Store, or maybe more accurately the IKEA cafeteria, but I’m not sure this move per se deserves the heat.
by LoganDark | 2025-07-22 18:44:59+00:00
Taking ketamine sucks. I actually tried with the nasal sprays before and I literally threw the spray bottle in the garbage because of how miserable that was. I didn't even get a meaningful experience out of it, but I burned the ever living fuck out of my throat from how bitter the stuff was. I heard IM injection works far better, but it's probably gonna take a long time for me to work up the courage for that.

(Also, I have DID so I experience other personalities all the time!)
by arianvanp | 2025-07-22 18:45:07+00:00
They could've contributed SLSA attestations support to nix instead. There's a few people working on bringing SLSA build provenance to nix(pkgs) including me. But limited time and resources unfortunately. Would love to see Google contribute to nix in this space :)

E.g.:

https://talks.nixcon.org/nixcon-2024/talk/AS373H/

https://GitHub.com/arianvp/nix-attest
by __MatrixMan__ | 2025-07-22 18:45:30+00:00
Yes. I'm so tired of hearing: "we have to use this software because our boss bought it, except it doesn't actually help us in any way".

People who need help with software should hire software engineers, not buy a product built by software engineers. That way the engineers can gather domain expertise since their co-workers are specialists in that domain, and also the domain experts can gather software expertise in the same way. What we're doing creates needless complexity, silos, and fragility on both sides.
by zahlman | 2025-07-22 18:45:43+00:00
Beyond that, the needed name to download from PyPI doesn't necessarily have anything at all to do with the name used for an `import` statement. And a given PyPI download may satisfy multiple `import` statements. And it can even be possible to require a download from PyPI that doesn't install any importable code (it may legally be a meta-package that runs one-shot configuration code when "built from source").
by kentonv | 2025-07-22 18:46:00+00:00
This is a style issue. Different people can have different definitions and cultures around TODOs.

My codebases tend to use TODO exactly as described here. A TODO is really just a comment documenting the implementation -- specifically, documenting something that is missing, but could be useful. It doesn't mean it actually needs to be done.

IMO it doesn't make sense to use comments in the codebase itself as an actual task list, because priorities are constantly changing. Things that seemed important when you wrote the code may turn out not to be, and things that you didn't think of when writing turn out to be needed. Are you constantly submitting PRs just to update the TODO comments to reflect current thinking? I mean, sure, I guess you could do that, but I think it makes more sense to maintain that list in a bug tracker or even just a text document that can be updated with less overhead.
by rickydroll | 2025-07-22 18:46:22+00:00
Syncing files is only one of its capabilities. It is best suited for use between two individuals/organizations that need to transfer files between themselves more than a few times. Its main advantage for me is that it doesn't require a central storage system, such as Dropbox, to hold the files. It's just you and me and a rendezvous server.

In a previous life, I used Syncthing to transfer terabytes of files from the company I worked for to a third-party printer. It was delightfully reliable, and easy to set up.

If it's a one-off, yeah, you're right that it's not wonderful. I've used Magic Wormhole successfully for that use case.
by opo | 2025-07-22 18:46:46+00:00
I have always thought the lesson here is to be careful when insulting those with a great deal of power over you. Pope Urban VIII was originally a patron and supporter of Galileo:

>...Indeed, although Galileo states in the preface of his book that the character is named after a famous Aristotelian philosopher (Simplicius in Latin, Simplicio in Italian), the name "Simplicio" in Italian also had the connotation of "simpleton."[55] Authors Langford and Stillman Drake asserted that Simplicio was modeled on philosophers Lodovico delle Colombe and Cesare Cremonini. Pope Urban demanded that his own arguments be included in the book, which resulted in Galileo putting them in the mouth of Simplicio. Some months after the book's publication, Pope Urban VIII banned its sale and had its text submitted for examination by a special commission

https://en.wikipedia.org/wiki/Galileo_affair
by atoav | 2025-07-22 18:47:02+00:00
Good observation, legibilty is not the same as readability. Hyperlegible fonts are used in places where it is crucial that the readers can identify the correct characters and/or short words – even if the readability suffers slightly.

Readable fonts are for longer form texts where the flow of reading is more important than correctly identfying individual characters.

Both have valid use cases and there are fonts who mange to do both pretty well.
by giancarlostoro | 2025-07-22 18:47:49+00:00
I respect anyone who uses the tools they made, and actually I didn't even know this tool existed, and will be trying it out after work, so it at least brought some attention to your tool!

I think we're going to see more people being accused of using AI because of word choice. The way I read your message outside of the one word you chose to use, it read like a genuine opinion of yours.
by xp84 | 2025-07-22 18:47:50+00:00
Try it yourself.

Here is a 640x640 gif: https://cdn-icons-gif.flaticon.com/6172/6172533.gif

That tab is using 4-5% CPU on my M1 Pro, and I also have a "GPU process" in my task manager, which is showing about 8% in the "CPU" column when it's onscreen. So, no, using a 64x64 GIF (1/100th the area of my example) you'd need to do this animation would absolutely not use any significant CPU or GPU. Which is why those worked very effectively to animate small icons with zero lag on the potato computers we had in 2000.
by dabedee | 2025-07-22 18:48:10+00:00
Instead of arguing about tab management and rendering performance, we should be asking what does a healthy browser ecosystem look like in five years? Do we want 95% of users on browsers controlled by advertising companies (Google), hardware manufacturers optimizing for their own services (Apple), or cloud providers with obvious conflicts of interest (Microsoft)? Firefox's technical quirks are fixable. The uncomfortable reality is that true browser independence might require something Mozilla has consistently failed to achieve: sustainable revenue that doesn't depend on surveillance capitalism. Until that happens, we're choosing between degrees of corporate control, not between freedom and captivity.
by CraigJPerry | 2025-07-22 18:48:14+00:00
>> Let’s face it, Safari between Mac and iPhone is a sublime experience.

I daily drive safari and firefox has a far better sync experience. Safari will randomly delay syncing, i've never had that with firefox. I regularly quickly search something on a tab on phone to be picked up later at my desk. It's not a reliable sync process.

Bookmark management? Firefox wins as soon as you want to do something a bit custom because you have so many bookmarks.

Dev tools? You guessed it.

Safari is still better on battery life though.
by stonogo | 2025-07-22 18:48:38+00:00
Friction shifters suck really bad, if you ride your bike more than once a month. Having to feel out the right shift point, adjusting front derailleur trim, remembering where you are in the gearing so you can avoid cross-chaining, having things shift slightly differently as your cable stretches over time, all of it sucked. I know the retrogrouch nostalgia goggles are an entire market sector in cycling, but 100% of the time people who spend a lot of time on bicycles prefer electronic shifting in practice. I'm old enough to have had friction shifters on my downtube, and I'm not going back.
by ddingus | 2025-07-22 18:48:38+00:00
My earlier comment was a mess!

I like the idea of this piece. My trouble with it boils down to getting concurrent and parallel wrong, or mangled somewhat.

Concurrent happens when multiple tasks are happening together. This can be task switching on a single processor, or it can mean they run together on a multiprocessor, or multi core processor.

Secondly, given a sufficiently fast single processor, there is no meaningful difference in concurrency.

Parallel is like concurrent in that multiple tasks are being processed, executed at the same time. What makes parallel different from concurrent is all the tasks are essentially the same, with each of them working on data intended for them to process. Secondly, parallel processing happens on multiprocessors. That is compute systems having multiple cores, each running the task on data made available to a given instance of the task.

Concurrency is a superset of parallel in that all the things that differentiate parallel processing satisfy the requirements needed to call a given compute exercise a concurrent one.

However, concurrency meets other requirements beyond those needed to label ancompute exercise as parallel processing.

I prefer and use the older term, multiprocessor and multiprocessing because "core" can be confusing. In this context they are essentially the same.

I also use the term "sequential compute" to refer to single threaded, single core, non multiprocessing units capable of one threadnof execution.

Asynchrony is a great addition to the topic!

After reading it all again, I submit that Asynchrony is a subset of concurrency, just like parallel is, and it is important enough to warrant an addition to the lexicon, just as parallel is.

However, one matter remains unclear to me as of my writing this:

Does this statement remain true for Asynchrony as it does currently for concurrent, which contains parallel as a specific case?

-->Given a sufficiently fast unprocessed, capable of sequential compute only, a single core, single threaded CPU, there is nobeffectiv3 difference between concurrency done via task switching and concurrency done with multiprocessing.

Is that true for Asynchrony?

I believe it is, and if so, I believe my comment here has a a lot more value than my earlier one.

Great discussion, and Asynchrony is added to my computing lexicon.
by deepsun | 2025-07-22 18:48:55+00:00
Just wrap it in a container with fixed height and "overflow: hidden".

Now the layout engine knows that it doesn't need to recalculate positions of elements outside that wrapper, and it's much faster.

By the way, the same trick was speeding up large <table> rendering back in the day. As long as you know the size of your rows or columns ahead of time, which kinda defeats the purpose of <table>.
by cogman10 | 2025-07-22 18:49:02+00:00
The layout of this diner is so weird and with both close spaces and limited seating while having a pretty huge footprint and a parking lot for 80->300 people. Not to mention the fact that a large portion of it's capacity is outdoors on the top level.

The video showed the diner with (as I counted) around 30 or 40 people in it.

I have to wonder, like, WTF is going on with the giant amount of reserved center space on that diner? It looks like they allocated like 10% of the space for actual eaters and 90% for everything from fridges to bathrooms to kitchens. Do they really need all that space for those things?
by honorable_coder | 2025-07-22 18:49:21+00:00
a proxy means you offload observability, filtering, caching rules, global rate limiters to a specialized piece of software - pushing this in application code means you _cannot_ do things centrally and it doesn't scale as more copies of your application code get deployed. You can bounce a single proxy server neatly vs. updating a fleet of your application server just to monkey patch some proxy functionality.
by kingosam | 2025-07-22 18:49:31+00:00
If I recall signatures.required is disabled in main firefox for security reasons. You need Firefox Nightly or Firefox Dev edition to use it. Anyway I changed to chrome for my plugin.

Edit: found some info about it

> Setting xpinstall.signatures.required to false will not work on the Beta or Release versions of Firefox on Mac or Windows. Doing so has no effect. On Linux, depending on your distribution, the setting may be respected and does work on some distributions of the release version of Firefox.

https://superuser.com/questions/1432789/all-of-my-firefox-ad...
by pixl97 | 2025-07-22 18:49:45+00:00
Also

>This discovery provides a clearer picture of this red supergiant’s life and future death. Betelgeuse and its companion star were likely born at the same time. However, the companion star will have a shortened lifespan as strong tidal forces will cause it to spiral into Betelgeuse and meet its demise, which scientists estimate will occur within the next 10,000 years.

It's unfortunate our flesh lasts but a blink of cosmic time. That would be something to witness.
by mike_hearn | 2025-07-22 18:49:58+00:00
> If you believe in climate change and encounter a situation where a group of scientists were proven to have falsified data in a paper on climate change, it really isn't enough information to change your belief in climate change, because the evidence of climate change is much larger than any single paper.

Although your wider point is sound that specific example should undermine your belief quite significantly if you're a rational person.

1. It's a group of scientists and their work was reviewed, so they are probably all dishonest.

2. They did it because they expected it to work.

3. If they expected it to work it's likely that they did it before and got away with it, or saw others getting away with it, or both.

4. If there's a culture of people falsifying data and getting away with it, that means there's very likely to be more than one paper with falsified data. Possibly many such papers. After all, the authors have probably authored papers previously and those are all now in doubt too, even if fraud can't be trivially proven in every case.

5. Scientists often take data found in papers at face value. That's why so many claims are only found to not replicate years or decades after they were published. Scientists also build on each other's data. Therefore, there are likely to not only be undetected fraudulent papers, but also many papers that aren't directly fraudulent but build on them without the problem being detected.

6. Therefore, it's likely the evidence base is not as robust as previously believed.

7. Therefore, your belief in the likelihood of their claims being true should be lowered.

In reality how much you should update your belief will depend on things like how the fraud was discovered, whether there were any penalties, and whether the scientists showed contrition. If the fraud was discovered by people outside of the field, nothing happened to the miscreants and the scientists didn't care that they got caught, the amount you should update your belief should be much larger than if they were swiftly detected by robust systems, punished severely and showed genuine regret afterwards.
by Timwi | 2025-07-22 18:50:12+00:00
Yeah sorry, but I think you massively misread that take. It's not about conformity. It's about keeping yourself liked so that people will voluntarily interact with you. You can no longer get away with being a narcissistic arsehole.

I'm not sure I agree that's gonna happen, I'm just trying to paraphrase what I think the GP meant.
by MITSardine | 2025-07-22 18:50:17+00:00
So, the CRAY-2 built in 1985 was rated at 1.9 GFLOPS. The M2 the author uses seems to be benchmarked at around 6GFLOPs per core [1]. So this 6% of the author's CPU (assuming charitably this is a single core) corresponds to about 20% of the mid 80's peak supercomputer capacity.

People were already using those computers for applications that go slightly beyond animating 5 x 3 green little bars up and down at the time...

I understand dev time cost > CPU time cost (for the company that hires the developpers anyways) but aren't things getting a little out of hand?

Even without comparing to an 80's supercomputer, what if someone with a 15 years old laptop tries to use their app? What will those 6% CPU on the dev's shiny M2 MBP become?

[1] https://boinc.bakerlab.org/rosetta/cpu_list.php
by brookst | 2025-07-22 18:50:59+00:00
> Either prosecute copyright infringement or don't

This is the absolute core of the issue. Technical people see law as code, where context can be disregarded and all that matters is specifying the outputs for a given set of inputs.

But law doesn’t work that way, and it should not work that way. Context matters, and it needs to.

If you go down the road of “the law is the law and billion dollar companies working on product should be treated the same as individual consumers”, it follows that individuals should do SEC filings (“either require 10q’s or don’t!”), and surgeons should be jailed (“either prosecute cutting people with knives or don’t!”).

There is a lot to dislike about AI companies, and while I believe that training models is transformative, I don’t believe that maintaining libraries of pirated content is OK just because it’s an ingredient to training.

But insisting that individual piracy to enjoy entertainment without paying must be treated exactly the same as datasets for model training is the absolute weakest possible argument here. The law is not that reductive.
by mattigames | 2025-07-22 18:51:03+00:00
I know it's not the most tasteful thing to speak about right now but Sharon and Ozzy have been vocal about their full support for euthanasia, Sharon watched her dad suffer with Alzheimer and it defined her views in the matter. So given this news plus their las gig being just weeks ago I assume it's likely what happened, or at least something that is arguably the same (e g. stopping life sustaining devices, not necessarily taking anything)

Last stop for the crazy train, see you on the other side!
by District5524 | 2025-07-22 18:51:41+00:00
Although there is a part on the use of AI in the legal market, but it is neither comprehensive, nor informative. A much better view of the law-specific state of the art models is available at https://www.vals.ai/vlair (although registration is needed to access the report). That benchmark in the report clearly shows that there is not much added value or moat in the custom training of Harvey (costing supposedly ~5M$), while a Llama-based model can achieve quite similar performance. Of course, no benchmark is perfect but it is still more informative than this blogpost, plus all the linked websites of the "legal" products linked that fail to give you the slightest idea of how they work. Besides claiming to be be disruptive...
by alex_suzuki | 2025-07-22 18:51:59+00:00
You could have a look at the ISO spec on QR Codes to get the authoritative source on what kind of processing required.

Alternatively (and what I would recommend), is grab a library that is dedicated to QR Code reading (I‘ve used Quirc, for example) and just read the code.

Typically you threshold an image to get a binary representation (1: black, 0: white). Then you detect the finder patterns by looking for 1-1-3-1-1 runs of black/white. Once you have a bunch of finder patterns localized, you form triplets and decode the binary matrix that they span.
by zargon | 2025-07-22 18:52:19+00:00
> The sensor library that everyone relies on, lm_sensors, is semi-abandoned and didn't recognize sensors on my relatively popular, 7 year old ATX motherboard

This is mainly because the companies that make the “super io” controller chips (ITE and others) are deluded and think that they have some sort of cutting edge tech and their chip documentation must be super secret.

Years ago there was someone at a mobo manufacturer who would leak the datasheets, but they left or got found out, and there hasn’t really been a source for that info since.
by xp84 | 2025-07-22 18:52:44+00:00
I think it's funny that you think sites can't be attractive unless they include many megabytes of complex JS and CSS on every page. Craigslist lasted and was dominant a whole extra generation of the Web until Facebook Marketplace unseated it without even bothering with colors and certainly no animations. And FBM didn't win on clever animations and React UI complexity, it just won based on the fact that it was easier to detect Nigerian scammers since you can see when the buyer's FB account was created and a few other cues. Users don't care how clever your programmatic animations are. They hate how slow your site is. Look how much Jira sucks now. It's more sluggish on an M4 Pro than it was on my Core i5 in 2013 because of how much frontend bloat they've added in the meantime.
by mywittyname | 2025-07-22 18:53:03+00:00
Given that Parkinson's is a disease in which the neurons in the brain stop producing dopamine, it's just as possible that his drug use was treating his condition, not worsening it.

From what I can tell, Parkinson's doesn't have a direct, established environmental cause. Just some candidates which may increase risk.

Note: I'm not an MD or have any background in medicine.
by cjbgkagh | 2025-07-22 18:53:07+00:00
I think many places roll their own. QR codes have a finder pattern of alternating black and white with relative spacing of 1-1-3-1-1 for any line that goes through the center of it. This has a low false positive rate so this step is the most important for performance. Since orientation doesn’t change the pattern horizontal scans are sufficient, once the center, scale, and rotation has been found the rest is fairly straight forward. There isn’t really a good reason why this set up couldn’t be rotation invariant, the processing power required is pretty low.
by OptionOfT | 2025-07-22 18:54:01+00:00
You don't even need to use the `with` operator to get into an inconsistent state:

using System; // same behavior with // public sealed class Inner public struct Inner { public int Value { get; set; } } // same behavior with // public sealed record class Outer(Inner Inner) public record struct Outer(Inner Inner) { public bool Even { get; } = (Inner.Value & 1) == 0; } class Program { public static void Main(string[] args) { var inner = new Inner { Value = 42 }; var outer = new Outer(inner); inner.Value = 43; Console.WriteLine("{0} is {1}", inner.Value, outer.Even); } }

Would you expect Even to be updated here?
by nobody9999 | 2025-07-22 18:54:10+00:00
>Maybe this will force sites to stop wasting bandwidth and stem the bloat. You should not need a gigabit connection (which I do not even have in all of my home LAN) to browse the Internet.

Nope. You don't. But why should I have to pay Google/AWS/Azure/Cloudflare/Digital Ocean/etc./etc./etc. to host my small business/vanity/family chat/photo sharing site, or YouTube to host my barbecue sauce unboxing videos, when symmetrical (okay, 300 up/down would likely be plenty for most of that, but once there's fiber, Gb/sec seems good to me)?

I have no interest in propping up huge companies with hosting fees because other huge companies have no competition.

All that said, I get your point. But my use case is not your use case. Do you get mine?

Edit: Clarified prose.