MurphyA/hacker-news huggingface dataset:
by edent | 2025-07-25 15:42:03+00:00
The full URl to the original page.

You aren't responsible if things go offline. No more than if a publisher stops reprinting books and the library copies all get eaten by rats.

A reader can assess the URl for trustworthiness (is it scam.biz or legitimate_news.com) look at the path to hazard a guess at the metadata and contents, and - finally - look it up in an archive.
by quesera | 2025-07-25 15:42:13+00:00
Modern webservers are very, very fast on modern CPUs. I hear Google has some CPU infrastructure?

I don't know if GCP has a free tier like AWS does, but 10kQPS is likely within the capability of a free EC2 instance running nginx with a static redirect map. Maybe splurge for the one with a full GB of RAM? No problem.
by morkalork | 2025-07-25 15:42:19+00:00
Then they shouldn't have offered it as a free service in the first place. It's like that discussion about how Google in all its 2-ton ADHD gorilla glory will enter an industry, offer a (near) free service or product, decimate all competition, then decide its not worth it and shutdown. Leaving a desolate crater behind of ruined businesses, angry and abandoned users.
by andy99 | 2025-07-25 15:43:11+00:00
The worst part is that they forced her to gate-check this bag that would have fit in the overhead. I have seen them get really aggressive with this recently, including watching a gate agent approach an old couple who needed pre-boarding assistance and lie to them that their standard roller bag wouldn't fit on the plane and would need to be gate checked.

There was an article recently about Ryanair employees getting commissions when they force someone to check their carry-on, I suspect AC is doing the same thing.
by taylodl | 2025-07-25 15:43:13+00:00
Have you asked an LLM? Copilot made the following recommendations:

Python - AI/ML development

Typescript - Web-based LLM apps

Rust - High-performance inference

Clojure - Functional orchestration

Julia - Scientific AI

It's a bit surprising to see Clojure in this list, but I would say everything else is the usual suspects.
by shadowgovt | 2025-07-25 15:43:34+00:00
I'll have to look more closely at scoped threads. What I'm referring to is that compared to the relatively simple syntax of declaring scopes for arguments to functions and return values to functions, the syntax when threads get involved is (to take an example from the Rust Book, Chapter 21):

pub fn spawn<F, T>(f: F) -> JoinHandle<T> where F: FnOnce() -> T, F: Send + 'static, T: Send + 'static,

... yikes. This is getting into "As easy to read as a C++ template" territory.
by AnotherGoodName | 2025-07-25 15:44:02+00:00
There's probably some ticketing person that to this day are scratching their heads wondering where their scanner went after briefly placing it down on a baggage cart in the chaos of an airport.

This thread is really clutching at straws. This bag literally didn't make it through transit, which means the whole "they made it weigh the same to avoid flagging in transit" seem pretty stupid doesn't it? It was lost in transit and returned much later. Exactly what happens when a bag splits open and is put aside in the backroom.
by vimy | 2025-07-25 15:44:14+00:00
The US is in fact increasing support right now. Trump lost his patience with Putin.

You also underestimate the Chinese support. The war would have been over in 2023 if it wasn't for China.

> The discovery of a Russian decoy drone made up entirely of Chinese parts is another indication of the growing wartime relationship between Moscow and Beijing. ... Beyond components, China appears to have provided Russia with at least some complete weapons systems. In May, we reported that Russia was using a new Chinese laser system to shoot down Ukrainian drones. https://www.twz.com/news-features/new-russian-drone-made-com...
by strangecasts | 2025-07-25 15:44:38+00:00
Video game opponents are absolutely AI in the "good old fashioned AI" (GOFAI) sense - they have very clearly defined objectives and action spaces, and algorithms like A* pathfinding [1] and Goal Oriented Action Planning [2] which perform planning over a space of possible sequences of actions to achieve a specific goal. The Game AI Pro [3] articles online give a good picture of the kind of implementation decisions which go into game AI.

The problem is that a lot of the time, bruteforce search can beat the snot out of any human player, but the real game design objective isn't "beat the player", it's "give the player enough of a challenge to make beating the AI fun".

In Civ's case, it might be theoretically optimal play for the computer to capitalize on rushing players with warriors before they have a chance to establish defenses, but it is also a great recipe for players to angrily request refunds after the tenth consecutive round of being crushed by Gandhi in turn 5. A lot of game AI development time goes into tweaking action probabilities or giving the player advantages to counteract the AI advantage - the reluctance to build military units you saw could have been the result of such a tweak.

As for why LLMs typically aren't applied as game opponents:

* They are quite compute intense, which is tricky when players expect at most 16 ms latency per frame (for 60 FPS), and get ornery if they have to wait more than a few seconds, but also do not like having always-online requirements imposed by cloud compute (or subscription costs to fund running LLMs for every player)

* The bridge between tokens and actions also means it's hard to tweak probabilities directly - while A* can let you specify that a certain path should be taken approx. 20% of the time, implementing this in an agent-LLM approach means you have to actively select and weight token probabilities during the beam search, which is a bit of a hassle, to put it mildly

* The issues with long-term coherence in LLMs, famously demonstrated by Vending-Bench [4], makes reliability and debugging harder

[1] https://en.wikipedia.org/wiki/A*_search_algorithm

[2] https://www.gamedeveloper.com/design/building-the-ai-of-f-e-...

[3] https://www.gameaipro.com/

[4] https://arxiv.org/abs/2502.15840
by theamk | 2025-07-25 15:44:42+00:00
this brings memories - university, first Unix exposure, Sun Ray terminals, "tcsh" as default shell, and me doing "find / -name ..." a lot.

I always wanted to ignore all errors form this (there was a lot of "permission denied"), but tcsh just didn't have a simple ability to do so. This taught me a valuable lesson about some software just being better than other. And to this day, I keep wondering you would people choose to use csh/tcsh voluntarily.
by bigbuppo | 2025-07-25 15:44:55+00:00
It can, but nobody would do that as it would be cheaper to use a DB-25 connector and not use all the pins. If they went for the cursed true DB-9 they would need to meet the minimum order quantity for a special order, pay for the manufacturer's tooling, and any required certifications. If you needed the spacing between pins for some reason you would probably just specify the use of crimp-and-insert.

That being said, the DE-0 is real, but it can't hurt you.
by sophacles | 2025-07-25 15:45:20+00:00
>Rust is objectively harder to write than Go (or any other GC-language) because it exposes more concerns for the programmer to take care of.

comparing apples to apples: Once you get a tiny bit of experience, almost all of that goes away. The common patterns and idioms in the language allow you to write whole programs without ever thinking about lifetimes or memory allocation or anything else different from the gc language case.

comparing apples to oranges: you do need to worry about those things when writing tricky memory management code that you couldn't even get from most gc lanuages... yeah then you have to worry about the things since it's a case where those things are the point.

> You could argue Rust still has an advantage in that it prevents bugs that in Go you're free to write, but then what you're claiming is that this compensates for the extra work you have to do upfront in Rust.

I have evidence in the form of multiple services and programs running in prod under heavy use for years without having to revist the code to deal with bugs. Meanwhile the stuff written in go has to be touched a lot to deal with bugs. The extra couple of weeks upfront to do it in rust is mitigated after the first incident with the go code. The effort proves worthwhile after the second incident.

Also tangentially related: the cost of an incident in the form of lost business, refunds, etc is usually far higher than the cost of a couple developer weeks.

>because an experienced Go developer probably has internalized how to avoid those bugs and the cost of preventing them can be nearly negligible

Some of them yes. But this is literally the same argument I'm making about rust experience meaning that you don't spend all that much extra effort up-front. Like I said, I'm about equally productive in go, python or rust.

> I think that's why most people seem to agree Rust is probably only advantageous where the cost of data races in production is higher than the cognitive cost (which translates into increased effort) on the programmer.

I think people who say this haven't gotten much experience in rust. In my experience they spent a week trying to learn rust and decided to stop and compare it to their years of other languages and paradigms.
by slightwinder | 2025-07-25 15:45:57+00:00
> Regarding need: strong disagree. I want to be able to re-read a book, to open it in any an ebook reader on my desktop to search / copy from it, etc. I want to re-watch good movies any time.

That's your demand, not everyone's demand. And it seems are also indirectly assuming here that this is impossible without self-hosting, which also is not necessarily true.

The problem, is, we don't know. Self-hosting is like backups, it's working for a situation which might or might not happen; it's annoying, and it can save your ass, but most of the time you will never know if it ever will save your ass, until it actually happens. And until that point, it's just annoying. So we usually don't know if we really want to re-read a specific book and whether it has been become unavailable for us. We simply don't know that, until it happens.

> I certainly don't want to lose my photos or any media I produce because of some corporate policy or quota, or politics.

True, but that's why you should have backups. You don't need to manage a whole infrastructure for all your stuff, when you can also just make regularly backups. Of course, to be fair, most people don't even make backups, or know how to manage them well. But I would say those people can't (or should?) self-host their infrastructure anyway, they would probably blow their own data up in one way or another and lose them anyway.

> I only buy what can be de-DRM'd and if it can't be, I return it immediately.

See, that's your stance, most people don't give an f** about this. They want things now, and don't care for some uncertain future.

> but it's not that hard if you're just a bit technical.

Which most people are not. But it's not about the technical ability, self-hosting is mainly a problem of time, money and habit. Yes, many people can get it done if they invest into it, but they don't, many can't. And that won't ever change.
by HAL3000 | 2025-07-25 15:46:03+00:00
> So your definition of memory safety includes some notion of "plausible" and "realistic"? Neither https://www.memorysafety.org/docs/memory-safety/ nor Wikipedia have such a qualification in their definition. It would help if you could just spell out your definition in full, rather than having us guess.

This is a strawman argument, you're arguing semantics here. You're a smart person, so you know exactly what he means. The perception created by your article is that people shouldn't use Go because it's not memory-safe. But the average developer hearing "not memory-safe" thinks of C/C++ level issues, with RCEs everywhere.

Unless you can show a realistic way this could be exploited for RCE in actual programs, you're just making noise. Further down the thread, you admit yourself that you're in a PLT research bubble and it shows.
by PaulHoule | 2025-07-25 15:46:22+00:00
I made thermal prints (receipt printer) of concept art from Pokémon Sun and Moon for the Nintendo 3DS and Switch, like this one

https://safebooru.org/index.php?page=post&s=view&id=1821741

and found they did really well because the art was designed to look good on bad screens and poor viewing conditions. I think of it in terms of Ansel Adam's Zone theory in that the ideal image is (1) legible if you quantize it to 11 tones of grey (looks OK printed in the newspaper), but (2) has meaningful detail in most or all of those zones.

I'm kinda disappointed that the Nintendo 3DS version didn't use the stereo effects but they would have had to decided if her hair forms a sheet or a cone.
by philipallstar | 2025-07-25 15:46:29+00:00
> I have little doubt that if Lina Khan was still heading up the US Federal Trade Commission that this is something she’d be looking into; it’s such a clear example of the abuses she used to take on. But now that a Trump crony is in that position instead, tech companies can get away with ripping off and lying to their customers, as Microsoft just did to me and millions of others.

Next paragraph:

> Microsoft got off comparatively easy in recent years, as regulators and competition authorities went after the other major tech giants with much more vigor.
Show HN: Configurable parser from binary message to JSON (and viceversa)
by maxmosca | 2025-07-25 15:46:57+00:00
I developed it because I was tired of writing custom binary parsers for network protocols and wanted to create an easy-to-use tool directly from format experts without the need for developer support - while ensuring adequate performance. Ideal for centralising message encoding/decoding operations in different formats.

GitHub: https://github.com/gitubo/bixit

What binary formats do you deal with regularly? Would something like this be useful?
by glenstein | 2025-07-25 15:46:58+00:00
Might as well use Brave at that point if I'm tying my fate to Chromium, though I appreciate your confirmation that there's no non-Chromium option to prioritize over Firefox on Android.

Sounds like I'll stick with Firefox and consider it to be the primary non-Chromium recommendation for 74% of the world's smartphone users who aren't on Apple.
by Const-me | 2025-07-25 15:47:02+00:00
LEB128 is slow and there’s no way around that. I don’t know why so many data formats are using that codec.

The good variable integer encoding is the one used in MKV format: https://www.rfc-editor.org/rfc/rfc8794.html#name-variable-si... The compression win i.e. encoded size is equal to LEB128, however both encoding and decoding are way more efficient.

The encoder is a few fast instructions for all numbers no matter large or small: bit scan reverse (or leading zero count) to find count of bits required to store the input number, division by 7 rounding up to compute count of bytes (modern compiler reliably optimize into integer multiplication and bit shifts), bitwise shift + OR to set the VINT_MARKER bit, then byte swap to store in big endian format.

The decoder is equally efficient: compare first byte with 0 to detect numbers longer than 8 bytes (very rarely happens), bit scan reverse of either first or second byte to find encoded length, byte swap to load the big-endian format, then reset the most significant bit in the integer to get rid of the VINT_MARKER.
by deelowe | 2025-07-25 15:47:18+00:00
What does any of that have to do with your stance that carrying with a safety on is just as effective? When root causing problems, it's important to compartmentalize. Whether or not someone should carry a firearm is completely orthogonal. Especially in this instance where clearly it makes sense for military security forces protecting nuclear facilities to carry.

Data has shown that if you have a need to carry a firearm on your person, it is prudent to carry with one in the chamber and the safety off. For this reason, firearm manufacturers have been using this as a design criteria. It's not impossible to design safe firearms which meet this criteria. See Gaston Glock.

Back on topic, the Sig P320 was designed to not have a safety. The military version has one, but that's only because military requirements hardly ever change. The P320 and it's military counterpart, the M17, are designed to be carried loaded with no safety. The fact that they randomly go off when doing this is not a failure of the operator or some systemic societal problem. It's a failure of Sig to meet design requirements.

Stop victim blaming.
by spankibalt | 2025-07-25 15:47:36+00:00
> "As you're working with the OEM, I hope you'll consider a model which will come with either an IPS screen or is compatible with a 3rd party IPS replacement."

Ahaha, don't get your hopes up, friend. The possibility of an adequate, degoogled Android with picky requirements as GOS on good, ultramobile hardware (matte DCI-P3 IPS, 3.5 mm audio, USB-C 3.2 or better, dedicated, ideally quick-access mSD card slot, IP68 rating, good cameras, EMR pen compatibility, changeable battery, non-plastic case) is virtually nil. That would essentially be a modern hybrid between a Samsung XCover Pro 6 and one of the older Samsung Note phones, e. g. the Note 9. Days long gone... :(
by kelseyfrog | 2025-07-25 15:47:51+00:00
So it's not really about the wording itself, it's more that the phrase "biological man" is standing in for something you're not quite saying directly?

It kinda feels like you're using the term to push a specific idea, but you don't want to say that idea out loud. Which is fair, I guess. People do that all the time. It's just that, when asked to explain, it all starts to sound a little wobbly, like the logic doesn't hold up under even basic questions.

It's interesting though. Like, if the phrase only makes sense when nobody asks what it means, is it actually meaningful? Or is it just a way to say something without really owning it?
by andrewmcwatters | 2025-07-25 15:48:12+00:00
Considering depending on your work you don't have much of a choice, uh, yeah. But MSI for years has put out some really powerful, albeit ugly Windows machines. I've recently been trying to get away from Macs and just use WSL over Windows 11, and luckily I haven't been missing too much.

Unfortunately, I do need to occasionally use Sketch for design work, or various small utilities for observing UI metrics in AppKit apps, like Digital Color Meter, or Accessibility Inspector, since the software I write targets Macs.
Recovering Files Through Screenshots
by ccnvms | 2025-07-25 15:48:15+00:00
This is a small story of how we managed to recover a whole database from a completely internet disconnected remote vm which I could only access through noVNC.

Basically I had a service setup on a particular bad provider's VPS, and the other day, out of nowhere, they decided that said VPS would no longer have internet access.

They refused to give any type of support besides "Search a guide online on how to retrieve files from noVNC or reset machine". As you may know, noVNC does not support any type of file sharing, and the specific instance did not even have clipboard sharing enabled.

So now here's the environment: 1. No internet 2. No clipboard/file sharing 3. No hopes

I call up my old friend we're gonna call K. It was his birthday so make sure to wish him a happy birthday even though a bit late.

K with his big brain remembers that I had vs2022 installed on this windows VPS, so he gets his lil fingers going and types out a small program that would take a file and convert it into a bitmap.

Now big boy takes screenshots of these bitmaps and decodes them on his PC, verifying file hashes.

Miracle happens, archive unzips perfectly and we get our beloved DB.

I got 50 bucks in KFC to K as a gift.

Thanks K.
by mym1990 | 2025-07-25 15:48:19+00:00
This seems more of a process problem than a tooling problem. Without specs on what the feature was, I would be inclined to say you manager had a lapse in his "smartness", there was a lot of miscommunication on what was happening, or you are being overly critical over something that "wasted 30 minutes of your time". Additionally, this seems like a crapshoot work environment...there seems to be resentment for the manager using AI to build a feature that had bugs/didn't work...whereas ideally you two sit down and talk it out and see how it could be managed better next time?
by jimbo808 | 2025-07-25 15:48:19+00:00
Most people won't produce the kinds of quality articles, publications, data that would express negative or even neutral/measured opinions on topics such a race, gender, sexuality, etc. Even if your intention is good, the reputational risk is not worth it. The result is simply that there is far more training data that contains the kinds of ideas and information that people call woke, because that content is generally not risky or harmful to publish.
by Fripplebubby | 2025-07-25 15:49:00+00:00
Maybe I am blinded by my own use case, but I find the caching pricing and strategy (since different providers use a different implementation of caching as well as different pricing) to be a major factor rather than just the "raw" per token cost, and that is missing here, as well as on the Simon Willison site [1]. Do most people just not care / not use caching that much that it matters?

[1] https://llm-prices.com/
by sha16 | 2025-07-25 15:49:08+00:00
I was using Python's Pelican static site generator for some time until I wanted to further customize the template fragments of a theme. Started running into issues and even helped fix a bug with the build command. Eventually I couldn't be bothered and wrote my own static site, except with Nextjs instead of plain HTML. Didn't take long and I don't have to mess around with awkward jinja templates anymore.
by x187463 | 2025-07-25 15:49:10+00:00
All of the terminal effects I display over at: https://chrisbuilds.github.io/terminaltexteffects/showroom/ were recorded using asciinema and converted to gif use AGG. https://github.com/asciinema/agg

The workflow only takes a few seconds. The .cast file is output to a folder, AGG reads the .cast and creates a gif. AGG has arguments to automatically set the row/column widths and strip inactive time.

I could not find any other solution that produced high quality gifs. Asciinema is awesome.
by aleph_minus_one | 2025-07-25 15:49:10+00:00
> But language is for communication, and the most correct language is that which communicates best.

This seems to be biased in US-American culture. In Germany, people are in my observation much more prone to analyze words and sentences (often by their origins), and many people wouldn't accept a "wrong" way to express things to be correct.

Just to give one example (which also works in English): "[die] Alternative" (the alternative): this word comes from Latin "alter, altera, alterum" (the other). This means, that there exists only one other. So educated people love to point out that talking of multiple "Alternativen" [alternatives] is wrong; by the word origin there can only exist one alternative (the other one). If more than one "alternatives" exist, so, to be precise, you likely want to use a different word.
by dodomodo | 2025-07-25 15:49:15+00:00
You have to understand that I don't really care about the internals of my DE. The same of true for 95% of Linux users and 99.999% of general computer users, so when I see a huge amount of effort goes into basically seemingly pointless refactoring, instead of tackling issues that are actually important to users, it is disappointing to me. I just installed KDE Manjaro and guess what? It stills uses X, and no one has an answer to what benefit Wayland has for me.