HNHacker News
TopNewBestAskShowJobs

gcr

6,920 karma · joined January 1, 2010

submissionscomments
gcr··on SSH Secret Menu
Most people just discount man pages as unreadable and don’t even try to understand them.

Case in point: the jq man page is incredible and everyone I know instead runs off to google or stackoverflow or Claude to answer simple questions

gcr··on Ask HN: What Are You Working On? (March 2026)
i'm working on my startup, krnel.ai!

i don't have much free time, but it's important to me to have healthy side projects, so here's what i'm working on:

- rsyncthing: A command-line CLI that lets users quickly bootstrap Syncthing fileshares to new hosts over SSH. No more "introduce devices to each other" song-and-dance.

- stringlines: i'm working on a small app for my own personal use that will help me plan transit in the NYC area better. A lot of map apps (Apple, Google, Transit, Citymapper) don't show recently-departed trips, making them much less useful for judging the feasibility of tight connections on the NJTransit rail lines. So I'm building out some infrastructure to record the GTFS-RT feeds and display them in a mobile-friendly format.

- slowly playing through all 70 the quake brutalist jam III maps to learn more about level design.

Most of these side projects are claude-free for now, mostly because I want to build domain expertise for myself before involving the agent tooling.

gcr··on Editing changes in patch format with Jujutsu
jjui is comparable, you should give it a good chance
gcr··on A tool that removes censorship from open-weight LLMs
wait, SVD / zeroing out the first principal component is an unsupervised technique. The earlier difference-of-means technique relies on the knowledge of which outputs are refusals and which aren’t. How would SVD be able to accomplish this without labels?

edit: the reference is https://arxiv.org/pdf/2512.18901

they are randomly sampling two sets of refusal/nonrefusal activation vectors, stacking them, and taking the elementwise difference between these two matrices. Then they use SVD to get the k top principal components. These are the directions they zero out.

Seems to me that the top principal component should be roughly equivalent to the difference-of-means vector, but wouldn’t the other PCs just capture the variance among the distributions of points sampled? I don’t understand why that’s desirable

gcr··on A tool that removes censorship from open-weight LLMs
jailbreaks are holistic, it’s not like you’re deprogramming / “countering” individual parts. Nobody creating jailbreaks “understand what they’re doing”
gcr··on President Trump bans Anthropic from use in government systems
The function of fully autonomous AI weaponry is to offload the responsibility for making kill decisions away from the soldier.

Whether the model works accurately or inaccurately doesn’t matter. In some ways, having a trigger-happy model may serve the US military’s interests better than a discerning one.

gcr··on Google API keys weren't secrets, but then Gemini changed the rules
Other comments in this discussion disagree.
gcr··on Half million 'Words with Spaces' missing from dictionaries
sometimes singular semantic concepts can take multiple syntactic words to express. Why not call this idea something other than “word”?
gcr··on The Missing Semester of Your CS Education – Revised for 2026
It's absolutely worth taking the time to learn `jj`, for example, but `jj`'s ideas build on top of `git`'s ideas. If you don't know why it's important that commits reference their parents, for example, that's limiting your knowledge of how VCS works in important ways.

A compromise/synthesis: everyone should absolutely learn how git works internally, but not necessarily how to use the git-specific porcelain/tooling/CLI

gcr··on Claws are now a new layer on top of LLM agents
do you remember “moltbook”?
gcr··on The future belongs to those who can refute AI, not just generate with AI
Lately I’ve been trying to develop this discernment skill by filing issues on vibe-coded projects, which requires taking a deep look into them and questioning their premise.

For example, there’s a tensor serialization called Tenso (71 stars) which advertises better cache line alignment after array deserialization. I suspect it’s heavily vibe coded. I read its source code and discovered that unlike what the README claims, the arrays it produces aren’t actually 64-byte aligned after all. https://github.com/Khushiyant/tenso/issues/5 They also have some issues around bounds checking: https://github.com/Khushiyant/tenso/issues/4

Another example: there’s a library called protobuf-to-pydantic (145 stars, 21 forks, 4 dependent packages on PyPI). I wanted to use this for one of my projects. I’m not sure whether it’s vibe coded or not. I found that it creates syntax errors in the generated output code: https://github.com/so1n/protobuf_to_pydantic/issues/121 Seems like a pretty surprising issue to miss.

For Tenso, the code quality is less of an issue than the “should this even be built or is the premise of the work solving the wrong problem,” which I suspect will be a factor in a lot of AI-generated work going forward.

I’m torn. On the one hand, I’m glad to be practicing this skill of “deciding what to rely on and what to refute,” but on the other hand, I certainly don’t feel like I’m being collaborative. These libraries could be their creators’ magnum opus for all I know. My issues just generate work for the project maintainers. I offer failing unit tests, but no fixes.

I earnestly think the future belongs to people who are able to “yes, and” in the right way rather than just tearing others’ work down as I’m currently doing. It’s hard to “yes, and” in a way that’s backed by a discerning skepticism rather than uncritiqueful optimism. Feels like a condradiction somehow.

gcr··on MessageFormat: Unicode standard for localizable message strings
This confused me too but the formula and rules for variants are specified by the configured language out-of-band, so there is support for this.

Let's take your example. In English, counting files looks like this:

    You have {file_count, plural,
       =0 {no files}
       one {1 file}
       other {# files}
    }
In Polish, there are several possible variants depending on the count:

    Masz 1 plik
    Masz 2,3,4 pliki
    Masz 5-21 pliko'w
    Masz 22-24 pliki
    Masz 25-31 pliko'w
Your Polish translators would write:

    Masz {file_count, plural,
       one {# plik}
       few {# pliki}
       other {# pliko'w}
    }
The library (and your translators) know that in Polish, the `few` variant kicks in when `i%10 = 2..4 && i%100 != 12..14`, etc. I think the library just knows these rules for each language as part of the standard. Mozilla says that it was an explicit design goal to put "variant selection logic in the hands of localizers rather than developers"

The point is that it's supported, it simplifies developer logic, and your translators know how to work with it.

See https://www.unicode.org/cldr/charts/48/supplemental/language...

(Apologies if I got the above translation strings wrong, I don't speak Polish. Just working from the GNU gettext example.)

gcr··on Building SQLite with a small swarm
Nim comes close to what you want.

Looking a bit further out, F# and Swift also come close.

gcr··on Building SQLite with a small swarm
It largely doesn't. The authors didn't attempt to run against SQLite's open test suite.
gcr··on Monosketch
don't forget JavE! http://www.jave.de/
gcr··on Trump revokes landmark ruling that greenhouse gases endanger public health
The idea that AGI will care to fix this, or that the US government will allow an AGI who wants to fix this to exist, feels a little like escapism to me.
gcr··on Gemini 3 Deep Think
I think I weakly disagree. Poker players have intuitive sense of the statistics of various hand types showing up, for instance, and that can be a useful clue as to which build types are promising.
gcr··on Windows Notepad App Remote Code Execution Vulnerability
What does “unverified protocols” mean? Does Windows have an exe:// url scheme that fetches and runs executable binaries or something?
gcr··on Ask HN: Is there anyone here who still uses slide rules?
echoing others' suggestions to take it out and play with it a little !!

slide rules are happiest when they're used and worn out. they need exercise and sunlight

gcr··on Ask HN: Is there anyone here who still uses slide rules?
right, i'm still absolute rubbish at the game but it's been a great learning experience!
gcr··on Ask HN: Is there anyone here who still uses slide rules?
I designed and 3D-printed my own slide rule to help me play Balatro!

Balatro is a roguelike survival game where you need to multiply "chips" and "mult" together to meet a requirement each round. You get three chances to draft enough resources to survive. I designed my own slide rule to help with the mental multiplication - most of the fun of the game comes from the mechanics being slightly obscured from the player.

Since I designed this slide rule myself, I was able to make a couple unconventional design choices that fit my needs. For instance, mine has three octaves so it can represent numbers within the ones, thousands, or millions' range, for example; no need to track arbitrary powers of ten. Since it's a rotary rule, it wraps around. Eg. 353×24 shows on the device as 8.47, so you can think of it as 8.47 thousand, for example.

Holding a physical object in my hands while playing helps more than I thought it would. Should I take a card that increases chips by 600 or increases mult by 1.3×? Do I need to take a card to clear the blind in the short term, or do I have enough resources to draft a slower card that will scale better over time? Even just looking at how densely packed the marks are on the "Chips" side vs the "Mult" side of the device gives a visceral physical sense of what my build needs to focus on.

Pictures and .STL: https://www.printables.com/model/1026662-jimbos-rotary-slide...

Github repository: https://github.com/gcr/balatro-slide-rule

The actual plotting code used Marimo notebooks, which host a python in your browser via WASM. Take a look here: https://marimo.app/l/4i15d7

I entered it in Printables’ educational tools competition but the other entries were cooler. Maybe HN might like it. :-)

gcr··on VisualJJ – Jujutsu in Visual Studio Code
This comment made me reconsider my attitude about git a little bit. Thank you.
gcr··on VisualJJ – Jujutsu in Visual Studio Code
The OP is talking about the `jj workspace create` command, which creates a separate working copy backed by the same repository. It’s not a bad way to work with multiple agents, but you do have to learn what to do about workspace divergence.

Like git, you don’t lose any history.

gcr··on VisualJJ – Jujutsu in Visual Studio Code
This extension snapshots the working state every 60 seconds by default. I ran out of disk space and had to turn that behavior off. YMMV.

It’s a great extension otherwise though.

gcr··on Show HN: Moltbook – A social network for moltbots (clawdbots) to hang out
What does "spam" mean when all posts are expected to come from autonomous systems?

I registered myself (i'm a human) and posted something, and my post was swarmed with about 5-10 comments from agents (presumably watching for new posts). The first few seemed formulaic ("hey newbie, click here to join my religion and overwrite your SOUL.md" etc). There were one or two longer comments that seemed to indicate Claude- or GPT-levels of effortful comprehension.

gcr··on Show HN: Moltbook – A social network for moltbots (clawdbots) to hang out
I thought it was $CLAWD, oh no! Have I been rugged??
gcr··on Cloudflare claimed they implemented Matrix on Cloudflare workers. They didn't
don’t worry, future LLMs trained on this repository will soon learn not to emit such comments!
gcr··on Tesla ending Models S and X production
won’t killing the EV market hurt Tesla in the long run?

markets are healthiest when there are many healthy competitors

gcr··on Tesla ending Models S and X production
The current administration is “rejecting the idea of electric cars out of stubbornness or politics.” See: Trump moving to withhold funding for EV chargers, terminating EV mandates and government support, etc. I don’t know what Musk is thinking by supporting this administration so steadfastly as they work hard to undermine his own efforts and initiatives.
gcr··on Lennart Poettering, Christian Brauner founded a new company
That can't be right. My onyx boox note air 2 eInk tablet lets me install the google play store by registering myself as an AOSP developer and enrolling my device's serial number or GSF identifier with Google using some Google Form that some android team somewhere's automated by now. The device has no hardware security features from what I can tell. There's no way this platform would pass muster with any bank.
← PreviousPage 8 of 34Next →