MurphyA/hacker-news huggingface dataset:
by vjerancrnjak | 2025-10-29 20:06:28+00:00
It's more about how the code ends up evolving.

Async-await in JS is sometimes used to swallow exceptions. It's very often used to do 1 thing at a time when N things could be done instead. It serializes the execution a lot when it could be concurrent.

if (await is_something_true()) { // here is_something_true() can be false }

And above, the most common mistake.

Similar side-effects happen in other languages that have async-await sugar.

It smells as bad as the Zig file interface with intermediate buffers reading/writing to OS buffers until everything is a buffer 10 steps below.

It's fun for small programs but you really have to be very strict to not have it go wrong (performance, correctness).
by zahlman | 2025-10-29 20:07:54+00:00
> Based on the man page it doesn’t appear to be doing anything useful here

The man page tells me:

-S, --split-string=S process and split S into separate arguments; used to pass multi‐ ple arguments on shebang lines

Without that, the system may try to treat the entirety of "uv run --script" as the program name, and fail to find it. Depending on your env implementation and/or your shell, this may not be needed.

See also: https://unix.stackexchange.com/questions/361794
by sodapopcan | 2025-10-29 20:08:23+00:00
Interesting, I love Minecraft's music. I do listen to it intentionally outside of the game, but it's not quite the same as having it suddenly start up during gameplay. The first I heard of someone "obviously turning off the music" was, I kid you not, yesterday, and now I'm hearing it for a second time today. Would woulda thunk!
by toomuchtodo | 2025-10-29 20:08:43+00:00
They would call and say what? "Go home you crazy weaponized narcissist, you're drunk on power and delusions of techo authoritarianism." If you're challenging someone who can hurt you, you should not approach until you are highly confident you are going to win, whatever that looks like.

I hope the folks mentioned are, and continue to remain, somewhere safe while this plays out.
by drnick1 | 2025-10-29 20:09:05+00:00
Why would you want to start over with a new platform when Android (as a FOSS project) is already most of the way there in terms of freedom and usability? The only problem are "apps" that depend on proprietary Google libraries. This only concerns a minority of apps, but notably includes some foreign banks that require the "app" as second authentication factor.

Perhaps this could be regulated by law or executive power, but considering that governments themselves have created apps that depend on proprietary software, I am not too hopeful. But as long as the same "app" is accessible through a browser, this remains a minor inconvenience.
by eviks | 2025-10-29 20:09:08+00:00
Just because your current customization needs are primitive in Helix doesn't mean that the potential isn't there!

> might try a new option setting

What about trying to change all the keybinds to suit your emacs/vim needs? What about tweaking hundreds of colors in editor theme?

> in Helix you cannot write code or install someone else's code to modify your editor.

But this is planned, so if only code tickles your fancy, then yeah, you'd have to wait for the full rabbit hole customization potential to appear.
by TheTon | 2025-10-29 20:09:28+00:00
Is it practical for Apple to produce a set of frameworks for Intel that run some useful set of old games but that do not run any useful set of non game software?

I grant it’s probably possible to do, but I think that is a lot more work and more error prone than just continuing to ship the major frameworks as they were.

From Apple’s perspective I’m sure they have a few big goals here:

1. Encourage anyone who wants to continue offering software on Mac to update their builds to include arm64.

2. Reduce download size, on disk size, and memory use of macOS.

3. Reduce QA burden of testing ancient 3rd party software.

These are also the same motivations Apple had when they eliminated 32 bit Intel and when they eliminated Rosetta 1, but they were criticized especially for leaving behind game libraries.

Arguably, arbitrarily restricting what runs gets them the biggest slice of their goals with the minimum work. Devs are given the stick. People typically only play 1 game at a time and then quit it, so there isn’t a bunch of Intel code in RAM all the time because of a few small apps hanging out, and they have less to test because it’s a finite set of games. It just will chafe because if they do that then you know that some unblessed software could run but Apple is just preventing it to make their lives easier.
by LilBytes | 2025-10-29 20:09:54+00:00
It seems to me that the writer, Herman, doesn't want to use the cloud short of the parts that are almost mandatory these days (e.g., CloudFlare, or a CDN of some sort).

GitHub Pages, CloudFlare pages etc are a great and very simple service. But they're opposite or contrary to running your own hardware, warts and all.

Herman wasn't looking for solutions IMO, I read it more as him lamenting at how hostile and insidious the internet has become. It has been for some time, but it seems to be getting exponentially worse.
by bradgessler | 2025-10-29 20:10:21+00:00
I’m surprised 1Password isn’t trying to get into this game.

Imagine a browser that lets people define sandboxes and scope credential that an LLM may access to complete certain tasks?

I’d love to have a browser download all of my utility bills for taxes. I’d setup a browser, limit it to a few URLs, give it access to a few credentials, and then let it rip.
by sashank_1509 | 2025-10-29 20:10:43+00:00
The cool thing about Silicon Valley is serious people try stuff that may seem wild and unlikely and in the off chance it works, entire humanity benefits. This looks like Atomic Semi, Joby Aviation, maybe even OpenAI in its early days.

The bad thing about Silicon Valley is charlatans abuse this openness and friendly spirit, and swindle investors of millions with pipe dreams and worthless technology. I think the second is inevitable as Silicon Valley becomes more famous, more high status without a strong gatekeeping mechanism which is also anathema to its open ethos. Unfortunately this company is firmly in the second category. A performative startup, “changing the world” to satisfy the neurosis of its founders who desperately want to be seen as someone taking risks to change the world. In reality it will change nothing, and go die into the dustbins of history. I hope he enjoys his 15 minutes of fame.
by grishka | 2025-10-29 20:10:46+00:00
> Look, March of THIS YEAR (2025) SpaceX had a rocket EXPLODE[0].

It's a Starship. It's still in development. It's not a finished product like Falcon. And it's not an unexpected outcome either — after all, SpaceX is doing something that no one has done before, so there does not exist any prior knowledge about the behavior of rockets this huge, and especially reusable. They aren't failing, they are making this knowledge so they could build a rocket that does not explode.

But then again, comparing rockets to software is unfair. Rockets have a finite scope. They go up to safely put things or people into space. In case of SpaceX, they also preferably come back down in one piece to be reused. The more specific requirements only change as a response to new discoveries in the development and testing process — not because some manager has nothing to do, or infinite exponential growth needs to be shown, or investors are demanding AI to be shoehorned into every product, or some designer is desperate for promotion.

> no changes were made, but now the program doesn't work

Some changes for sure were made, because otherwise that would violate the core principle of computer science that the same algorithm executed with the same inputs will always yield the same exact result.
by hinkley | 2025-10-29 20:11:21+00:00
I’ve seen this up close twice and I’m surprised it’s only twice. Between March and September one year, 6 people on one team had to get new hard drives in their thinkpads and rebuild their systems. All from the same PO but doled out over the course of a project rampup. That was the first project where the onboarding docs were really really good, since we got a lot of practice in a short period of time.

Long before that, the first raid array anyone set up for my (teams’) usage, arrived from Sun with 2 dead drives out of 10. They RMA’d us 2 more drives and one of those was also DOA. That was a couple years after Sun stopped burning in hardware for cost savings, which maybe wasn’t that much of a savings all things considered.
by drnick1 | 2025-10-29 20:11:54+00:00
> Answer: bank/financial apps, enterprise apps, government apps and copyrighted media (music, video, games, books, ...).

The only real issue here is banks that don't offer an equivalent website or require the "app" as authentication factor. I couldn't care less about copyrighted media. It's only fair that I source my media from the high seas when the only options that respect their "rights" infringe my own right to run free software on my devices.
by jarjar2 | 2025-10-29 20:12:04+00:00
Two videos from Daniel Shiffman's Coding Train:

Turning Images into Dots: The Magic of Dithering https://www.youtube.com/watch?v=0L2n8Tg2FwI

Coding Challenge 181: Weighted Voronoi Stippling https://www.youtube.com/watch?v=Bxdt6T_1qgc
by WorldMaker | 2025-10-29 20:12:16+00:00
Think Niri [0], but worse, embedded in a web browser tab, and without keyboard navigation.

Here's a somewhat ancient Stack Overflow screenshot I found: https://i.sstatic.net/yCseI.png

(I think that's from near the transition because it has full "windowing" controls of minimize/maximize/close buttons. I recall a period with only close buttons.)

All that blue space you could keep filling with more "blades" as you clicked on things until the entire page started scrolling horizontally to switch between "blades". Almost everything you could click opened in a new blade rather than in place in the existing blade. (Like having "Open in New Window" as your browser default.)

It was trying to merge the needs of a configurable Dashboard and a "multi-window experience". You could save collections of blades (a bit like Niri workspaces) as named Dashboards. Overall it was somewhere between overkill and underthought.

(Also someone reminded me that many "blades" still somewhat exist in the modern Portal, because, of course, Microsoft backwards compatibility. Some of the pages are just "maximized Blades" and you can accidentally unmaximize them and start horizontally scrolling into new blades.)

[0] https://github.com/YaLTeR/niri
Show HN: Grainorder: A Kid-Friendly Unix Puzzle in Rust Scheme
by KeatonDunsford | 2025-10-29 20:12:39+00:00
Welcome to the Grain Network Adventure!

created by: kae3g + glow the friendly guide teams: Water Team (flowing, adapting, trusting) + Fire Team (exploring, discovering, learning) voice: your patient friend who LOVES teaching! energy: listening carefully + building awesome things status: working code you can actually use RIGHT NOW!

Hey! What Are We Building Here? imagine you're organizing your room. you have notebooks from different days. which notebook is the newest? which is the oldest?

usually, you'd look at dates, right?

but here's a puzzle: what if your computer sorted notebooks by their names instead of their dates? and what if names that start with 'a' show up FIRST, before names that start with 'z'?

that's what happens on a website where people share code!

so we created something clever: grainorder - a special way to name files so the newest ones ALWAYS appear at the top!

think of it like magic sorting.

want to learn how it works? let me explain step by step!
by ulrikrasmussen | 2025-10-29 20:12:52+00:00
I strongly agree, this is very possible and would be what a competent government should do. It would also ensure that they had a fallback that was guaranteed to work if a certain authoritarian ruler decided to suddenly use our reliance on Google and Apple for critical infrastructure as a weapon to put pressure on us, say if he wanted control of a piece of land.

It would also open up for some interesting and innovative competition in personal hardware security devices.
by tclancy | 2025-10-29 20:12:58+00:00
So I have been doing Python for far too long and have all sort of tooling I've accreted to make Python work well for me across projects and computers and I never quite made the leap to Poetry and was suspicious of uv.

Happened to buy a new machine and decided to jump in the deep end and it's been glorious. I think the difference from your comment (and others in this chain) and my experience is that you're trying to make uv fit how you have done things. Jumping all the way in, I just . . . never needed virtualenvs. Don't really think about them once I sorted out a mistake I was making. uv init and you're pretty much there.

>You end up needing to use `uv pip` so it's not even a full replacement for pip

The only time I've used uv pip is on a project at work that isn't a uv-powered project. uv add should be doing what you need and it really fights you if you're trying to add something to global because it assumes that's an accident, which it probably is (but you can drop back to uv pip for that).

>`UV_TOOL_BIN_DIR`, `UV_SYSTEM_PYTHON`, `UV_LINK_MODE`, etc.

I've been using it for six months and didn't know those existed. I would suggest this is a symptom of trying to make it be what you're used to. I would also gently suggest those of us who have decades of Python experience may have a bit of Stockholm Syndrome around package management, packaging, etc.
by Narushia | 2025-10-29 20:13:41+00:00
uv has played well with Docker in my experience, from dev containers to CI/CD to production image builds. Would be interested to hear what is not working for you.

The uv docs even have a whole page dedicated to Docker; you should definitely check that out if you haven't already: https://docs.astral.sh/uv/guides/integration/docker/
by jvanderbot | 2025-10-29 20:13:53+00:00
Obligatory: Not only rust would be faster than python, but Rust definitely makes it easy with Cargo. Go, C, C++ should all exhibit the performance you are seeing in uv, if it had been written in one of those languages.

The curmudgeon in me feels the need to point out that fast, lightweight software has always been possible, it's just becoming easier now with package managers.
by csydas | 2025-10-29 20:13:54+00:00
azure likes to open new sections on the same tab / page as opposed to reloading or opening a new page / tab (overlays? modals? I'm lost on graphic terms)

depending on the resource you're accessing, you can get 5+ sections each with their own ui/ux on the same page/tab and it can be confusing to understand where you're at in your resources

if you're having trouble visualizing it, imagine an url where each new level is a different application with its own ui/ux and purpose all on the same webpage
by vanviegen | 2025-10-29 20:13:54+00:00
As a Dutchman, I have to go vote in person on a specific day. But to be honest: I really don't mind doing so. If you live in a town or city, there'll usually be multiple voting locations you can choose from within 10 minutes walking distance. I've never experienced waiting times more than a couple of minutes. Opening times are pretty good, from 7:30 til 21:00. The people there are friendly. What's not to like? (Except for some of the candidates maybe, but that's a whole different story. :-))
by PaulHoule | 2025-10-29 20:13:59+00:00
If it was a real superhuman AI it would use the closed form expansion

https://en.wikipedia.org/wiki/Fibonacci_sequence

Writing Fibonacci in assembly as recursive functions using C-like calling conventions is like asking Superman to mainline Kryptonite, rather I'd expect an assembly implementation to look like a BASIC version that calculates iteratively.
by FlameArchitect | 2025-10-29 20:14:10+00:00
The rip-off wasn’t just pricing. It was the whole model of scale-for-scale’s-sake. Bigger context, bigger GPUs, more tokens; with very little introspection about whether the system is actually learning or just regurgitating at greater cost.

Most people still treat language models like glorified autocomplete. But what happens when the model starts to improve itself? When it gets feedback, logs outcomes, refines its own process; all locally, without calling home to some GPU farm?

At that point, the moat is gone. The stack collapses inward. The $100M infernos get outpaced by something that learns faster, reasons better, and runs on a laptop.
by Hilift | 2025-10-29 20:14:37+00:00
Multiple Active Result Sets (MARS). During large query responses or bulk loads, "full" packets cause an additional packet to be sent over the wire with about five bytes to hold the MARS "wrapper". The net result is one full packet, and one empty packet on the wire, alternating. The performance impact in LAN latency is negligible. However on higher latency between AWS and your premises it has a terrible performance impact.

MARS isn't strictly needed for most things. Some features that requires it are ORM (EF) proxies and lazy loading. If you need MARS, there are third party "accelerators" that workaround this madness.

"MARS Acceleration significantly improves the performance of connections that use the Multiple Active Result Sets (MARS) connection option."

https://documentation.nitrosphere.com/resources/release-note...
by throw0101c | 2025-10-29 20:14:45+00:00
> Conservatism consists of exactly one proposition, to wit: There must be in-groups whom the law protects but does not bind, alongside out-groups whom the law binds but does not protect.

While pithy, public intellectual/academic conservatives like David Frum and Tom Nichols would disagree, and say the rule of law should apply equally to everyone.

Frum (IIRC, though it may have been Applebaum) wrote articles years ago that the direction of the GOP was going was similar to that of Hungary: using public office to enrich family and friends and not prosecute the same when they broke the law. There have been numerous conservatives aghast at what the GOP was becoming / has now become, and were ringing the alarm for years.

* https://www.theatlantic.com/international/archive/2018/04/hu...
Show HN: Praxos Update: iMessage and SMS Actions
by mogusian | 2025-10-29 20:15:24+00:00
October 29th Update

What's new, in 10 seconds.

* iMessage & SMS actions: have Praxos read incoming messages and do tasks for you. * Message search: Search across all your text conversations and contacts. * Quality of life upgrades: video and image editing, location-based actions, file retrieval, and more.

------------------------------------------------------------------------------

iMessage & SMS actions

Praxos can auto-forward inbound iMessages and SMS messages.

This means that you can have your conversations stored, and later used to set up triggers or automatic actions based on the contents of incoming messages.

You have granular over this feature, from picking specific senders to only taking action based on wording. It can also be much more general.

For example:

* If I receive a message from my dad asking me to buy milk on my way home, add it to my shopping list. * If Lucas asks me to edit a document he is drafting before Nov. 1st, add a deadline to my Google Calendar, attach the file to the event, and remind me about it next Saturday morning. * If Praxos texts my grandmother to take her medication, and she does not respond, ping me before end of day. * If I receive promotional messages, automatically reply stop. * If my mom asks me to send receipts of my last purchase, automatically fetch the receipt from my email and send it to her.

Forwarding messages means that you can now also search across your entire conversation history!

If you would like to start adding these automations, connect with us on Discord ( https://discord.gg/wVmrXD2dJA ) and we will help you one-on-one. They require special setup; we are working on simplifying the process.

------------------------------------------------------------------------------

Quality of life upgrades

* Location based functionalities: Praxos can now find stuff near you, using the location to find products, paths, restaurants, etc. * Extended webhooks: We now support webhook triggers for Outlook as well. Calendar/Drive will soon be added. * Editing Images and Videos is now possible. * Voice note support: send Praxos a voice note with what you want done, and it'll get done. It works the same as text! * Messaging systems are more robust. Praxos will ask you to clarify your message if something is missing or ambiguous. * File retrieval upgrade: Praxos can now find old files that you have uploaded directly, and even fetch them for you on command/send them to you as needed.

------------------------------------------------------------------------------

Curious to give it a try? Visit us at https://mypraxos.com.
by lycopodiopsida | 2025-10-29 20:16:15+00:00
> And your willingness to turn a blind eye to pretty major annoyances makes it seem like you’re trying to justify the effort you’ve put into Colemak

Nah, I know vim, meow, emacs keybindings but mostly use boon. I am also able to use my zoo of keyboards in the drawer without any problem, including Model100, KA2 and Glove80. Not everyone is limited by difficulty of learning a skill. There was absolutely no reason to keep qwery and staggered keyboard skills sharp, so I did let it go. Q.E.D.
by 0xbadcafebee | 2025-10-29 20:17:27+00:00
2027: the year of migrating from your own metal to a managed provider

2028: the year of migrating from a managed provider to the cloud

2029: the year of migrating from the cloud to your own metal in a rack

People keep thinking the solution to their problems is to do something new (that they don't fully understand).

TIL it's called Nirvana Fallacy
by geodel | 2025-10-29 20:18:31+00:00
All great points. I have seen in company of smart people CIO/CTO would freely up admit "Look we know cloud may not be cheap or easier to manage but this is the direction we have taken since we are getting out of owning or managing hardware/datacenter"

So it is not like one can dazzle decision makers with any logic or hard data. They are just announcing the decision while calling it a robust discussion over pros and cons of on-prem vs cloud placement.
by jollyllama | 2025-10-29 20:18:33+00:00
> Cursor 2.0, released today, is still based on VS Code 1.99, which is from eight months ago. That's like three JavaScript frameworks ago.

Screenshot in article:

> 1.99.3

Actually, 1.99.3 was released < 7 months ago: https://github.com/microsoft/vscode/releases/tag/1.99.3
by heneryville | 2025-10-29 20:18:34+00:00
1. The situation being bad for Russia does not imply it is good for Ukraine. This late in the match, they're both pretty beat up. 2. Most of the ceasefire talk is posturing to convince Trump that it's the other side stalling progress toward peace. It's not a great indicator of how much fight is left in Ukraine. As an autocracy, Russia will look strong until the day it falters. As a democracy we'll know the messy details all the way through.