HNHacker News
TopNewBestAskShowJobs

djha-skin

5,305 karma · joined March 1, 2017

https://about.djhaskin.com/
submissionscomments
djha-skin··on Search all text in New York City
The word search for "fart" shows the tool's limits. No entry I saw actually said the word fart, but was listed as doing so -- "fart nawor" (hearts around the world irl), the penny farting (the penny farthing irl), etc.
djha-skin··on Claude Opus 4.1
Opus 4(.1) is so expensive[1]. Even Sonnet[2] costs me $5 per hour (basically) using OpenRouter + Codename Goose[3]. The crazy thing is Sonnet 3.5 costs the same thing[4] right now. Gemini Flash is more reasonable[5], but always seems to make the wrong decisions in the end, spinning in circles. OpenAI is better, but still falls short of Claude's performance. Claude also gives back 400's from its API if you CTRL-C in the middle though, so that's annoying.

Economics is important. Best bang for the buck seems to be OpenAI ChatGPT 4.1 mini[6]. Does a decent job, doesn't flood my context window with useless tokens like Claude does, API works every time. Gets me out of bad spots. Can get confused, but I've been able to muddle through with it.

1: https://openrouter.ai/anthropic/claude-opus-4.1

2: https://openrouter.ai/anthropic/claude-sonnet-4

3: https://block.github.io/goose/

4: https://openrouter.ai/anthropic/claude-3.5-sonnet

5: https://openrouter.ai/google/gemini-2.5-flash

6: https://openrouter.ai/openai/gpt-4.1-mini

djha-skin··on Vet is a safety net for the risky curl | bash pattern
I love articles like these that show me new tools instead of showing me new AI tricks. This is the kind of thing I'm in on Hacker News for. I missed the 2010s because people were writing tools for other people. Nowadays it's all about how can I get AI to write it for me poorly.
djha-skin··on XMLUI
In 2010 I was working for a student computer support shop. We had web developers building our own ticketing system. In those days, I was told that everything in the UI was just tables. It was the only way they could get enough control on UI elements before div tags became widely spread.
djha-skin··on XMLUI
I don't agree. Rather than breaking down, abstractions in UI have stabilized and centralized. Everyone uses React.
djha-skin··on XMLUI
I was training a JavaScript developer to do DevOps. I described the C(++) GUI libraries to him, GTK and Qt. His reaction: "So you can't make the UI look exactly the way you want it to. You can't dial it in."

This will largely fail to gain market share just like PaperGUI[1] and Polymer[2] did (much to my chagrin). UX and web developers simply feel the need for more control over the UI.

However, I do find it interesting that there is enough interest in this trend that people keep recreating tools for it over the years. I wonder why.

1: https://google.github.io/paper-gui/

2: https://polymer-library.polymer-project.org/1.0/docs/about_1...

djha-skin··on We're all CTO now
Devops is much more terminal heavy. I live in the terminal. It's not nerd points at that point it's just life.
djha-skin··on We're all CTO now
I'm a DevOps engineer. I'm training someone new to the field.

Often I'll ask the AI to do something and it goes sideways. Sometimes it really saves me time, but many times not. I'll break down and actually type out commands or even Google what to do instead of using the AI because it's still faster.

It's true that my trainee uses the AI more because there's fewer commands in his muscle memory. But, it's still not great yet.

Further, the AI must have each one of its actions approved. I've tried fully automatic mode. It's bad.

AI is more like a lawn mower. It's self-propelling, but you still have to hold on to it, sometimes you got to turn it off and just pull the stuff out of its way or it gets stuck.

djha-skin··on Memory safety is table stakes
Nope: ease of use is table stakes. Rust is not easy to use. It will never become mainstream because of this. For all its faults, C is comparatively simple.
djha-skin··on Gemini CLI
I already use goose[1]. It lets me connect through OpenRouter. Then I can use Gemini without having to give Google Cloud my credit card. Also, OpenRouter makes it easier to switch between models, deals with Claude's silly rate limiting messages gracefully, and I only have to pay in one place.

1: https://block.github.io/goose/

djha-skin··on Why not use DNS over HTTPS (DoH)?
It is bad on a server, but good on a mobile device. I hate QUIC too, but I'm Server guy.
djha-skin··on Leaving Google
> ... Gooogle has changed, and Go has changed, and the overall computer programming environment has changed. It’s become clear over the last year or so that I am no longer a good fit for the Go project at Google. I have to move on.

I wish I had more elaboration on this paragraph. It seems like a real change happened of which Ian took notice.

djha-skin··on I Moved from MetalLB to Cilium
> Cilium is the superpower of Kubernetes networking, with so many convenient functionalities. In the upcoming release, version 1.13, Cilium will include a functionality called LoadBalancer IP Address Management - LB IPAM This functionality will make it possible to get rid of MetalLB by pairing it with the already existing functionality of Cilium BGP Control Plane.

This would be a step backward for most home lab setups. MetalLB already implements BGP and has done so for a decade. Why would I want to install a network overlay just for that? Now I have to deal with a network overlay.

Of course, if you already need such an overlay because you're doing this for work, this could make sense.

djha-skin··on OpenAI reaches agreement to buy Windsurf for $3B
Vim has IDE plugins. Terminal life forever
djha-skin··on OpenAI reaches agreement to buy Windsurf for $3B
They only have to be slightly cheaper than hiring doctors and lawyers though.
djha-skin··on OpenAI reaches agreement to buy Windsurf for $3B
As a Vimmer, I'm not into VS Code forks. I really like the goose CLI[1] though. Some untapped market potential right there.

1: https://GitHub.com/block/goose

djha-skin··on OpenAI reaches agreement to buy Windsurf for $3B
Did powered table saws replace carpenters?
djha-skin··on Port of Los Angeles says shipping volume will plummet 35% next week
Are we really subscribing to Reaganistic trickle-down economic theory now? How sure are we that those imports aren't mostly just lining the pockets of the rich?

We're measuring the wrong things. We need to measure cost of living instead of how empty or full a Port is. We don't know if these two things are correlated yet.

djha-skin··on Port of Los Angeles says shipping volume will plummet 35% next week
Unpopular opinion: this isn't that big of a deal for most people.

Gdp, consumer index scores, all that stuff is a measure of how much poor people are willing to spend and how hard they're working. What really matters is, can these people buy a house? Can they buy eggs?

I don't know how many of them will be all that caught up that they can't buy some disposable flip-flops on Temu anymore. We need to focus more on how hard it is to live than how hard it is to import stuff.

djha-skin··on Three Felonies a Day (2013)
I understand your statement and it has merit. However, I note the draft has not been active since the 70s. Those men all volunteered to serve their country. They believed in what they were doing, and so did I.

Yes, some volunteered to get out of poverty, bad circumstances, etc., but that doesn't mean it was the only route out. They chose to be there.

My uncle was in a bad situation, married early and had no money or degree. He joined the army and served in Desert Storm. He chose to be there. I was proud of him.

I didn't join because at the time I graduated high school (2005), they weren't taking people who took Adderall for ADHD ("daily psycoactive drug" or some such nonsense). It disqualified me from military service. That's what the recruiter told me anyway. But I would have been proud to serve.

I believe we did good in Afghanistan, fool's errand though it was. I believe a lot of lives were touched good. An entire generation of girls who would otherwise not have an education, for one. I was devastated when things didn't work out.

For this reason, I get annoyed when people say "we sent our kids to die".

djha-skin··on Three Felonies a Day (2013)
It should be remembered that in 2013 all the Edward Snowden stuff came out. This reads like a reaction to those revelations. Read in that context, it makes more sense: this is less a book review and more an accusation. Its portent is that the NSA will do anything it needs to to get at your data.

My father served in the military. He does not have a high opinion of Edward Snowden. He says that loose lips sink ships. He says that these kinds of leaks cause soldiers to die.

I have no patience for men who cause soldiers to die, but after that experience I do remain skeptical of the NSA and NIST.

djha-skin··on Watermark segmentation
Incorrect. Removing the watermark constitutes a derivative work. To distribute this work you need permission from the copyright owner to be legal. This you will almost certainly not get since the point of watermarks is to keep people from stealing copyrighted material.
djha-skin··on Fedora change aims for 99% package reproducibility
It's very, very complicated. It's so far past the maximum effort line of most linux users as to be in its own class of tools. Reproducibility in the imperative package space is worth a lot. Lots of other tools are built on RPM/DEB packages that offer similar advantages of Nix -- Ansible, for one. This is more of a "rising tide raises all boats" situation.
djha-skin··on Why I Program in Lisp
I wrote a recursive descent parser in Lisp for a YAML replacement language[1]. It wasn't difficult. Lisp makes it easy to write I/O, but also easy to separate logic from I/O. This made it easy for me to write unit tests without mocking.

I also wrote a toy resource scheduler at an HTTP endpoint in Haskell[2]. Writing I/O in Haskell was a learning curve but was ultimately fine. Keeping logic separate from I/O was the easy thing to do.

1: https://github.com/djha-skin/nrdl

2: https://github.com/djha-skin/lighthouse

djha-skin··on Why I Program in Lisp
I agree with some statements OP makes but not others. Ultimately, I write in lisp because it's fun to write in Lisp due to its expressive power, ease of refactoring, and the Lisp Discord[1].

> Lisp is easier to remember,

I don't feel this way. I'm always consulting the HyperSpec or googling the function names. It's the same as any other dynamically typed language, such as Python, this way to me.

> has fewer limitations and hoops you have to jump through,

Lisp as a language has incredibly powerful features find nowhere else, but there are plenty of hoops. The CLOS truly feels like a superpower. That said, there is a huge dearth of libraries. So in that sense, there's usually lots of hoops to jump through to write an app. It's just I like jumping through them because I like writing code as a hobby. So fewer limitations, more hoops (supporting libraries I feel the need to write).

> has lower “friction” between my thoughts and my program,

Unfortunately I often think in Python or Bash because those are my day job languages, so there's often friction between how I think and what I need to write. Also AI is allegedly bad at lisp due to reduced training corpus. Copilot works, sorta.

> is easily customizable,

Yup, that's its defining feature. Easy to add to the language with macros. This can be very bad, but also very good, depending on its use. It can be very worth it both to implementer and user to add to the language as part of a library if documented well and done right, or it can make code hard to read or use. It must be used with care.

> and, frankly, more fun.

This is the true reason I actually use Lisp. I don't know why. I think it's because it's really fun to write it. There are no limitations. It's super expressive. The article goes into the substitution principle, and this makes it easy to refactor. It just feels good having a REPL that makes it easy to try new ideas and a syntax that makes refactoring a piece of cake. The Lisp Discord[1] has some of the best programmers on the planet in it, all easy to talk to, with many channels spanning a wide range of programming interests. It just feels good to do lisp.

1: https://discord.gg/HsxkkvQ

djha-skin··on Basic Income Pilot Project: Study results
I am suggesting that buying something that has no worth is a bad idea no matter what organization you are. It's less a bad investment in the context of government and more a misappropriation of funds.

Government money represents hard earned cash of the people. The ability for the government to borrow -- its credit -- deals with its reputation as an entity that is capable of paying its debts. This reputation reflects on the people governed.

The people's money and its reputation should be respected. Money should be borrowed carefully to protect the people's reputation. Taxes should be spent wisely to protect and defend their purse. Wise expenditure is an important part of good stewardship, good government, and good politics.

djha-skin··on Basic Income Pilot Project: Study results
Who owns the AI, demanding payment for its use? Who owns the GPUs that the AI runs on? Who sold those people the silicon? Who owns the real estate upon which the GPUs run? All those people will demand payment for services rendered or goods delivered.

My personal favorite: Who fixes the AI when it breaks?

The lawn mower replaced human work, but it needs _just enough_ direction that it's still worth money for humans to run them, auto-run lawn mowers notwithstanding.

AI will make people faster, but humans will only do work for other humans that do their share by giving value back.

I don't believe we will ever live in a world where people won't want people working for them, or doing something for them.

djha-skin··on Basic Income Pilot Project: Study results
Paying someone who provides no return on investment is simply a bad investment. Of course extra money doesn't hurt the person getting paid. It hurts the government. They are now giving someone value (payng them) in exchange for no immediate value in return. This kind of expenditure at any business or organization would be recognized as one of poor judgement. Value can't be generated out of thin air. People must pay for what they use, either by money or sweat. Lack of recognition of these basic facts isn't good. UBI is not viable.
djha-skin··on Europe's GDPR privacy law is headed for red tape bonfire within 'weeks'
I think simplifying the law for companies smaller than the 500 person cutt-off makes sense. The Brussels effect is strong. I was just in a company of approximately ~150 people in America and a significant portion of our time went to GDPR/California law takedown requests. User data was everywhere, it was a nightmare. No one thinks of this stuff when everyone is still in sink or swim mode. We got it done though.

Maybe it's an argument for the other side though as well. The architecture of the system was designed to track people as much as possible so we could do A/B, app design, and marketing more effectively. It felt like it was the company's life blood.

I would say the law should at least make people get their architecture right when small so that when they're big it's not impossible to comply later.

One last thought: our company was small in head count but is getting much bigger right now in revenue. I've heard of small head count, billion dollar companies. What of them?

djha-skin··on Recent AI model progress feels mostly like bullshit
> Since 3.5-sonnet, we have been monitoring AI model announcements, and trying pretty much every major new release that claims some sort of improvement. Unexpectedly by me, aside from a minor bump with 3.6 and an even smaller bump with 3.7, literally none of the new models we've tried have made a significant difference on either our internal benchmarks or in our developers' ability to find new bugs. This includes the new test-time OpenAI models.

This is likely a manifestation of the bitter lesson[1], specifically this part:

> The ultimate reason for this is Moore's law, or rather its generalization of continued exponentially falling cost per unit of computation. Most AI research has been conducted as if the computation available to the agent were constant (in which case leveraging human knowledge would be one of the only ways to improve performance) but, over a slightly longer time than a typical research project [like an incremental model update], massively more computation inevitably becomes available.

(Emphasis mine.)

Since the ultimate success strategy of the scruffies[2] or proponents of search and learning strategies in AI is Moore's Law, short term gains using these strategies will be miniscule. It is over at least a five year period that their gains will be felt the most. The neats win the day in the short term, but the hare in this race will ultimately give away to the steady plod of the tortoise.

1: http://www.incompleteideas.net/IncIdeas/BitterLesson.html

2: https://en.m.wikipedia.org/wiki/Neats_and_scruffies#CITEREFM...

← PreviousPage 3 of 20Next →