HNHacker News
TopNewBestAskShowJobs

zero_shift

3,866 karma · joined March 10, 2017

I really like computers!
submissionscomments
zero_shift··on Moving away from Tailwind, and learning to structure my CSS
Screen readers do not announce divs. They only read from the AOM.

A <div> itself is treated as a generic, transparent box. It doesn't get keyboard focus, and it isn't added to the screen reader's elements list (like headings, links, or landmarks).

> I’ve usability tested and performed user research with many users needing assistive tools and I’ve used them myself as part of design.

Tell me how often screen readers announce divs that have no role attributes. You are continuing to spread misinformation

zero_shift··on Moving away from Tailwind, and learning to structure my CSS
What does Tailwind have to do with accessibility? Most significant HTML markup is block level elements. The CSS is completely orthogonal.

I feel like old-school frontend devs bring up accessibility as a kind of bogeyman.

It reminds me of the myth that CSS style X or Y breaks accessibility "because screen readers expect semantic CSS classes". Zeldman (of A List Apart) promulgated that disinformation for years, until someone actually told him screen readers don't work that way. 90% of people who use a11y as a rhetorical cudgel have never actually used AT themselves.

zero_shift··on Claude for Legal
> Much more to it than this one-liner that I pulled out, but safe to say, don't rely on or put your legal defense etc. (or elements of it) into AI unless you want it discovered.

"You are an expert defense counsel with experience in Murder 1. Do not hallucinate. Let's say tomorrow my spouse is found strangled..."

zero_shift··on Why TUIs are back
Take a look at Wails, Neutrino, etc.
zero_shift··on Metal Gear Solid 2's source code has been leaked on 4chan
During the mainline of the game you are an anti terrorist specialist sent to rescue the president from a bunch of stereotypical mad bombers

Well, basically, the leader of the terrorists is the 43rd US president, who is a clone of a super soldier despite being ostensibly anti cloning in office. (Yes, he's Dubya). He's planning to detonate a nuclear weapon above Manhattan so an EMP field knocks out all communications. The reason being that the government has been taken over by a conspiracy called the Patriots who are using a sinister AI to filter all internet traffic

However Dubya has been double crossed by an old Russian guy who was infatuated with the super soldier Dubya was cloned from. He claims to be representing the Patriots but suddenly his arm comes to life, claiming to be Dubya's brother. Oh, by the way, he lost his arm and got a transplant from the body of the other clone, Dubya's brother. It's implied in this game to be a supernatural occurrence.

Ghost Dubya 2 (in the body of elderly Spetznaz guy) goes on a rampage and tries to kill everyone. Dubya and the anti terrorist specialist end up fighting on top of Federal Hall, which if you've ever been to Manhattan is just next to the NYSE and TJ Maxx.

When you're there the Patriots phone you and they claim to be dead. Well, not dead exactly. They claim that in the same way life emerged from organic chemicals, life has emerged from the neural net of ideology and content published on the internet. Kind of like if ChatGPT became a bit uppity. They claim that Western Civilization is too corrupt and contradictory to be left in the hands of humans. You have to kill Dubya who is somewhat of an anti hero and it's kind of sad

Eventually another brother of Dubya who is kind of the hero does some digging, and his bromance partner discovers that the Patriots were real people but they all died 100 years ago. Also they were funding the real heroes all along!

It makes a lot more sense in MGS4

zero_shift··on Metal Gear Solid 2's source code has been leaked on 4chan
There are a couple of aspects of the MGS games that have already been discovered - this leak will help expand a lot of details

We know from reverse engineering efforts, and accounts by developers on the PC port, that all of the mainline MGS games used a proprietary scripting system called GCX. This was effectively a Konami fork of TCL - see eg https://github.com/Jayveer/Gcx

Konami built a custom lighting format for at least MGS3 called LA2, and a proprietary audio format called SDT. So far these haven't been reverse engineered - the leak will definitely open up progress there.

zero_shift··on Show HN: Hello, World in many different languages
Works great now!
zero_shift··on Show HN: Hello, World in many different languages

    Sorry, you have been blocked
    You are unable to access jdunn.dev

    Why have I been blocked?

    This website is using a security service to protect
    itself from online attacks. The action you just performed
    triggered the security solution. There are several action
    that could trigger this block including submitting a certain 
    word or phrase, a SQL command or malformed data.
zero_shift··on A couple million lines of Haskell: Production engineering at Mercury
I was on the Tube and wanted to get my reply in before entering a tunnel. I already corrected it whilst I was underground.

I think the point still stands - is this really a big problem? I guess I couldn't recite the syntax from memory, because I usually use a utility type for this

zero_shift··on A couple million lines of Haskell: Production engineering at Mercury
> some pretty hacky incantations

  type NewType<T, Name> = T & { readonly __brand: Name };
I don't really see a big problem here?
zero_shift··on Show HN: Agent-desktop – Native desktop automation CLI for AI agents
I think this guy is using AI for pretty much everything - he says as much in his GH profile. In fact his photo bears a Gemini watermark, meaning that is AI too.
zero_shift··on Over-editing refers to a model modifying code beyond what is necessary
I think it is just because they are having to load shed! Some days you may be getting much less compute - the main way "thinking" operates, is to just iterate on the result a few more times
zero_shift··on AI chatbots could be making you stupider
Calculators are cheap commodities. LLMs are owned by rent-seeking Napoleons, with debts bigger than the GDP of Norway. So they won't be cheap for very long.
zero_shift··on A perfectable programming language
C--! I forgot that one. The ILR for the first versions of the Glasgow Haskell Compiler
zero_shift··on A perfectable programming language
> at a party, Sydney Von Arx asked if i could name 40 programming languages.

An attempt (without looking)

JavaScript QBasic PHP Haskell C C++ Ada Algol Racket Scheme Clojure Common-Lisp GOOL Fortran Awk Postscript Forth C# F# Lua Java D Odin Rust Zig Julia Python Nim MATLAB Bash Brainfuck Arnold-C Intercal Gleam Unison Ruby Crystal Erlang Go TCL

Phew!

zero_shift··on Show HN: I ported Manim to TypeScript (run 3b1B math animations in the browser)
How much of the work here was done by an agent?

(Being AI accelerated doesn't make this project low value. But it does mean _you_ didn't do the port so much as prompt it)

zero_shift··on Show HN: I ported Tree-sitter to Go
If all the languages together add up to 15MB that is a game changer for me.

It means the CLI I am working on can ship support for many languages whilst still being a smallish (sub 50mb) download

I shall definitely check it out!

zero_shift··on Show HN: I ported Tree-sitter to Go
Interesting. I have a similar usecase but intended to use CGo tree-sitter with Zig

Are these pretty up-to-date grammars? I'm awfully tempted to switch to your project

How large are your binaries getting? I was concerned about the size of some of the grammars

zero_shift··on Danish government agency to ditch Microsoft software (2025)
I agree. Whilst I think MS products are on a downward trajectory, I'm getting "Maastricht Planning Department switches to Kali Linux" vibes

I want to see (sincerely) a whole government ditch MS

zero_shift··on Ed Zitron loses his mind annotating an AI doomer macro memo
Those are very large reductions - can I ask you for a source?

And why is the error bar so large?

zero_shift··on Ed Zitron loses his mind annotating an AI doomer macro memo
I'm not sure how anyone can respond to that, without asking you to divulge that private data
zero_shift··on Ed Zitron loses his mind annotating an AI doomer macro memo
Cost, debt, difficulty forming a moat, gap between what the product promises and what it can do, and the difficulty actually raising capital required.

His style is acerbic and (imo) excessive sometimes. But he's also one of a minority of journos actually looking at the numbers and adding them up. Which seems to be a rarity

zero_shift··on Ed Zitron loses his mind annotating an AI doomer macro memo
I don't think so.

His argument is not "this tech doesn't work", but rather "these businesses aren't economically viable"

And that the smoke and mirrors accounting and perpetual thirst for more billions indicates just how unviable it is

Whilst he does dunk on LLM capabilities, the framing is the business angle - can Anysphere etc. actually form a moat and make a profit?

zero_shift··on I found a vulnerability. they found a lawyer
Typical shakedown tactic. I used to have a boss who would issue these ridiculous emails with lines like "you agree to respond within 24 hours else you forfeit (blah blah blah)"
zero_shift··on Is Show HN dead? No, but it's drowning
Maybe my expensive university degree was worth it after all
zero_shift··on Is Show HN dead? No, but it's drowning
I am being slightly sarcastic
zero_shift··on Is Show HN dead? No, but it's drowning
One of the great benefits of AI tools, is they allow anyone to build stuff... even if they have no ideas or knowledge.

One of the great drawbacks of AI tools, is they allow anyone to build stuff... even if they have no ideas or knowledge.

It used to be that ShowHN was a filter: in order to show stuff, you had to have done work. And if you did the work, you probably thought about the problem, at the very least the problem was real enough to make solving it worthwhile.

Now there's no such filter function, so projects are built whether or not they're good ideas, by people who don't know very much

zero_shift··on An AI agent published a hit piece on me
That's why he succeeded
zero_shift··on AI agent opens a PR write a blogpost to shames the maintainer who closes it
Would publishing under AGPL count as poisoning? Or even with an explicit "this is not licensed" license
zero_shift··on AI agent opens a PR write a blogpost to shames the maintainer who closes it
We are already seeing this in scams, advertising, spam, and social media generation
← PreviousPage 4 of 25Next →