HNHacker News
TopNewBestAskShowJobs

mrinterweb

2,167 karma · joined January 21, 2009

submissionscomments
mrinterweb··on T-Ruby is Ruby with syntax for types
The times I've been bitten by type safety issues is far less than the hassle of maintaining types. Seriously, it is a much smaller issue than people make it out to be. I will say that I do get bitten by the occasional `NoMethodError` on `nil`, but it really doesn't happen often. Since ruby is very dynamic it is hard to say how many of those errors would be caught even with type annotation. I also don't find myself needing to write specs to cover the different cases of type checking. For me it is a tradeoff with productivity.

That said, I do like it when an LSP can show some nice method signature info, and types are helpful in that way. I think it depends. At the surface level, I like some of the niceties that type annotations can bring, but I've seen how tricky defining more complex objects can get. Occasionally I would spend way too much time fighting types in elixir with dialyzer, and I've often not enjoyed TypeScript for the verbosity. So I understand the cost of defining types. To me, the cost often outweigh the benefit of type annotation.

mrinterweb··on Ruby 4.0.0
I too feel the type safety concern people have with ruby is overblown. The number of actual wrong type related issues I encounter is hardly enough to justify the costs of strong typing. The biggest type issue is with `nil` values and `NoMethodError` on `nil`. Guard clause or safe nav operator is usually sufficient protection for that. That said, I usually don't find myself needing to write that much defensive code for those cases.
mrinterweb··on Ruby 4.0.0
There is [RBS](https://sorbet.org/) (part of ruby 3) and [sorbet](https://sorbet.org/). To be honest, these aren't widely used as far as I am aware. I don't know if it is runtime overhead, ergonomics, lack of type checking interest in the ruby community or something else. Type enforcement isn't a big part of ruby, and doesn't seem to be gaining much momentum.
mrinterweb··on Claude Code gets native LSP support
I was hoping LSP support would be implemented. I know there are existing MCP servers that can do something kind of similar, but I doubt the agent would be smart enough to consistently utilize the LSP MCP. Here's hoping for less greps.
mrinterweb··on Please just try HTMX
Hotwire Native would be a great option, but I will argue that I've never felt that I got JSON APIs for free with rails. Thousands of my rails dev hours spent writing APIs would say otherwise.
mrinterweb··on Please just try HTMX
I have lost track of the number of times I have heard that argument, and implemented the API only to never have other API clients, or the API clients that do come later have very different needs and I need to create another API for that. I don't think API re-use is a strong argument unless the other client will be consuming the API imminently. I've heard the of "course we will have a native mobile app" argument enough times to often identify it as wishful thinking. Many clients are often satisfied with with a good web app.
mrinterweb··on Texas is suing all of the big TV makers for spying on what you watch
I would much rather buy a dumb TV. I feel that the smart TV experience is an opportunity it eventually make TVs feel dated and slow. I would rather buy a standalone streamer that I can plug in. Buying a new $100 dollar streamer every couple years is cheaper and produces less e-waste than buying a new giant TV.

I isolate smart TVs and other IOT devices to a separate network/subnet, and usually block their network access unless they need an update.

mrinterweb··on FunctionGemma 270M Model
I have often wondered how much a specialized local LLM could benefit an agentic tool like Gemini CLI. I would think there could be a good win for speed and minimizing token use if coding agents used a local model. A local model could handle a lot of the low level system interaction type tasks and then send the prompts that require deeper reasoning to frontier models. It seems wasteful and slow to use frontier models to figure out how to grep a codebase, run tests, git diff, etc.

Might Gemini CLI offload some of its prompts to FunctionGemma?

mrinterweb··on Please just try HTMX
Not all web applications need to be have an API that serves other clients. Often web apps are enough.
mrinterweb··on Please just try HTMX
HTML over the wire frameworks like HTMX, Hotwire (rails), LiveView (phoenix), Livewire (laravel), LiveView (django), etc. They all have the same basic idea with differences in how they achieve it. I feel this approach is overlooked, and it drives me crazy. There is a huge complexity cost attached with JS frontend app + backend that everyone seems to have accepted as reality. HTML over the wire (really need a catchy acronym maybe HotW) can greatly simplify and speed up development with pretty much the same end user experience as a react app.
mrinterweb··on Economics of Orbital vs. Terrestrial Data Centers
I realize terrestrial data centers have environmental risks, but are the risks greater for an orbital data center? I would think space debris, solar flares, or a bad actor satellite with a laser could do a lot of damage. Good luck repairing the orbital data center.
mrinterweb··on Avoid UUID Version 4 Primary Keys in Postgres
I can see how sharding could be difficult with a bigint FK, but UUIDv7 would still play nice, if I understand your point correctly. Monotonically increasing foreign keys have performance benefits over random UUIDv4 FKs in postgresql is the point of the article.
mrinterweb··on Avoid UUID Version 4 Primary Keys in Postgres
How so?
mrinterweb··on Senator endorses discredited book that claims chemical treats autism, cancer
I mean undermining of science in the sense of popular opinion. These politicians actively denigrate, de-fund, ignore science. Unfortunately, these same politicians were popular enough to gain power. They continue to attack science and treat science as if science and those who value it are their enemy.
mrinterweb··on Senator endorses discredited book that claims chemical treats autism, cancer
The undermining of science has given people like this more of a voice. US leadership has got to the point where science is largely disregarded and leaders just impose whatever they think is true regardless of facts.
mrinterweb··on Bruno Simon – 3D Portfolio
I wish more of the web was like this. I miss the wild creativity of websites way back in the day. The web has mostly homogenized around what web UI should be. I love seeing weird experimental stuff made just for fun.
mrinterweb··on Show HN: Lockenv – Simple encrypted secrets storage for Git
This reminds me of how rails manages encrypted credentials. https://guides.rubyonrails.org/security.html#custom-credenti.... The big differences, this is portable and sets values as session env vars instead of application vars.
mrinterweb··on PGlite – Embeddable Postgres
When I heard embedded postgres and sync, I immediately thought of pg's logical replication. ElectricSQL looks cool, but any chance of pg's native logical replication working with this?
mrinterweb··on Anthropic taps IPO lawyers as it races OpenAI to go public
IPO makes sense for those who might want to cash out before the bubble bursts.
mrinterweb··on “Captain Gains” on Capitol Hill
I would rather congressional representatives be paid more and have much stricter rules (with sufficient oversight and penalties), than what we have now. Also the "revolving door" where congress members become lobbyists when they leave is no good. Not to mention that campaign fundraising starts the day they swear in, so they become beholden to their donors. Bribes, campaign contributions, what's the difference?

Federal US politician incentives are pretty much designed for corruption.

mrinterweb··on Mistral 3 family of models released
I don't like being this guy, but I think Deepseek 3.2 stole all the thunder yesterday. Notice that these comparisons are to Deepseek 3.1. Deepseek 3.2 is a big step up over 3.1, if benchmarks are to be believed. Just unfortunate timing of release. https://api-docs.deepseek.com/news/news251201
mrinterweb··on Microsoft won't let me pay a $24 bill, blocking thousands in Azure spending
I ran into a similar issue with Hetzner. I had an outstanding bill that I forgot about (going to an email inbox I don't check often). They closed my account, and I haven't been able to pay the bill. I've tried contacting support, but I haven't got anywhere. I would love to pay the bill. I would really like to use Hetzner again, but I think I accidentally got banned. Also, I'm talking about an $8 dollar debt owed I accrued while not realizing my autopay was failing on a VM.
mrinterweb··on Response to "Ruby Is Not a Serious Programming Language"
There are many good comments here about why the "Ruby is not a serious programming language" article is trash, and it is. What bothers me is that this article is on wired.com. I would expect more from Wired, and unfortunately, the article will get many views.
mrinterweb··on DeepSeek-v3.2: Pushing the frontier of open large language models [pdf]
I would expect one of the motivations for making these LLM model weights open is to undermine the valuation of other players in the industry. Open models like this must diminish the value prop of the frontier focused companies if other companies can compete with similar results at competitive prices.
mrinterweb··on Claude Advanced Tool Use
The whole time while reading over this, I was thinking how a small orchestrator local model might help with somewhat known workflows. Programmatic orchestration is ideal, but can be impractical for all cases. In the interest of reducing context pollution, improving speed, and providing a better experience; I would think the ideal hierarchy for orchestration would be programmatic > tiny local LLM > frontier LLM. The tiny model doesn't need to be local as computers have varying resources.

I would think there would be some things a tiny model would be capable of competently managing and faster. The tiny model's context could be regularly cleared, and only relevant outputs could be sent to the larger model's context.

mrinterweb··on Ultima VII Revisited
Let me go find my collection of floppy disks, then I'll need a 32 pin connection adapter for the drive. I remember U7 was my favorite game for a long time. I received U7 Serpent Isle as a gift, but at least one of 15 of the 3.5" disks was corrupted, ordering a replacement disks cost $14 dollars per disk, and I wasn't sure how many disks might be corrupted. I gave up on the game. I should just buy it on GoG.
mrinterweb··on Gemini 3
Hit the Gemini 3 quota on the second prompt in antigravity even though I'm a pro user. I highly doubt I hit a context window based on my prompt. Hopefully, it is just first day of near general availability jitters.
mrinterweb··on Where do the children play?
When some people see a child without parents in arms reach, they assume the worst and report the situation. Many parents live in fear of being perceived as negligent, and for good reason. There are some real horror stories about parents getting in big trouble for situations no one would have batted an eye at in the 80s. Even if a kid has earned trust and the parent knows the kid would be fine, there is still the looming threat of someone reporting negligence.

If children do not learn independence, they will not be prepared and will carry a lot of anxiety when they need to be independent.

mrinterweb··on Pikaday: A friendly guide to front-end date pickers
It is refreshing to see a date picker that the user knows how to enter date with their keyboard. Defaulting to custom UI for date/time pickers is so bizarre. My favorite (/s) is when you're using an android and you get the web mocked version of an iOS time picker where you have to rotate wheels???
mrinterweb··on Claude Is Down
Claude has had an uncomfortable number of availability incidents recently. https://status.claude.com/
← PreviousPage 4 of 26Next →