HNHacker News
TopNewBestAskShowJobs

Jenk

3,616 karma · joined February 7, 2013

submissionscomments
Jenk··on WSL Manager
Every time you run `wsl --install <distro>` you are creating a new VM. Every time you run `wsl --unregister <instance id or name/>` your are removing a VM.

It is these two operations at the heart of OP's app.

Jenk··on Show HN: Deff – Side-by-side Git diff review in your terminal

    diff --side-by-side
or use `-y` for short-hand.
Jenk··on Git's Magic Files
Unfortunately not. Git clean still tries to, well, clean it. Unless I goofed it, which is a >0 possibility, I will happily concede.
Jenk··on Git's Magic Files
Since using jj I'm on the lookout for some kind of setting that will exclude the .jj folder from the repo _and_ any operation including git clean, without having to add it to the repo. I.e., make it completely invisible to git including `git clean -xdf`!

At the moment I'm making do with aliasing `git clean -e .jj`

Jenk··on The Software Development Lifecycle Is Dead
> In the 20 years I've worked in software. I've never even seen a shop that works this way. From 20 person teams to 10,000 employee companies. Maybe I've been lucky. but to me it reads as a straw man. Something to punch against that doesn't really exist

30 years ago it was the norm. It really is true that the industry (standard) has shifted a lot in that time.

But I work at a place like this right now. I was hired by the new CTO to help them change this, having spent the previous 20 years actively avoiding places just like this.

Project-based planning by a roomful of not-technical people: Funding, scope, design, shape of team, deadlines, tech stacks, vendors etc. all "locked in" before any engineer is even approached, let alone asked for input.

I cannot overstate how uncanny it feels to be working here - like I have actually time travelled back to the 90s.

Jenk··on Cloudflare acquires Astro
Frameworks are a category of development tool. Things that developers utilitise to be productive.
Jenk··on Netflix to Acquire Warner Bros
They licensed Brassic, it was filmed for Sky One, not Netflix.
Jenk··on GitHub: Git operation failures
I've worked at many big banks and corporations. They are all held together with the proverbial sticky tape, bubblegum, and hope.

They do have multiple layers of redundancies, and thus have the big budgets, but they won't be kept hot, or there will be some critical flaws that all of the engineers know about but they haven't been given permission/funding to fix, and are so badly managed by the firm, they dgaf either and secretly want the thing to burn.

There will be sustained periods of downtime if their primary system blips.

They will all still be dependent on some hyper-critical system that nobody really knows how it works, the last change was introduced in 1988 and it (probably) requires a terminal emulator to operate.

Jenk··on Windows 11 adds AI agent that runs in background with access to personal folders
It started long before that. Cloud meant they were under drastic threat of being abandoned, because the cloud was (and still is) dominated by linux compute.

DotNet were shook, and shook bad. They went all out to make their runtime "cross-platform" because they faced an existential thread from lamdba+node.

The rise of the MBP also saw their dotnet ecosystem under thread from the other end of the stick - the developer end. Visual Studio cannot run on macos, so competitor IDEs that can were rising in their numbers. Hence the push for VSCode to try and claw back some IDE market.

Jenk··on Marko – A declarative, HTML‑based language
> It was the correct paradigm all along

Debateable.

Jenk··on VimGraph
I can see value in this. I use which-key already and could see a graph, al be it a differently arranged graph, being a useful visual aid. Perhaps a static (printed?) Cheat-sheet or even a dynamically generated visual - though not sure how effective it would be in a TUI :)
Jenk··on Vibing a non-trivial Ghostty feature
I explain it to my peers as "exploiting Cunningham's Law[0] with thyself"

I'll stare blankly at a blank screen/file for hours seeking inspiration, but the moment I have something to criticise I am immediately productive and can focus.

[0]: https://en.wikipedia.org/wiki/Ward_Cunningham#Law

> The best way to get the right answer on the Internet is not to ask a question; it's to post the wrong answer.

Jenk··on Imgur pulls out of UK as data watchdog threatens fine
Advertisement.
Jenk··on Thoughts on Mechanical Keyboards and the ZSA Moonlander
You may be interested in the Glove80[0]. I moved from the Moonlander to it for the very same reason. I have since moved on to a very small form-factor (Pteron36, which has just 36 keys) as I my hands started to tire from reaching for the keys on the perimeter so chopped right down.

Or get the soldering iron out and build one of the many kits available[1]

[0]: https://moergo.com

[1]: https://golem.hu/board/list/low-profile

Jenk··on Ex-WhatsApp cybersecurity head says Meta endangered billions of users
Does Attaullah Baig?
Jenk··on NPM debug and chalk packages compromised
It can also be that the repo was modified after a release.
Jenk··on Trees on city streets cope with drought by drinking from leaky pipes
That double wall thing is a red herring. The water system already protects against intrusion because the water itself exerts pressure on the pipes. Thus leaks are typically of the water getting out and not contamination of the water (most of the time, anyway.)

Contamination rarely happens outside of the source of supply, and not somewhere along the pipeline.

Jenk··on If we can find information by asking GenAI, who needs the Web?
SEO already killed the www.
Jenk··on The future of large files in Git is Git
> They never fix the defaults

Not strictly true. They did change the default push behaviour from "matching" to "simple" in Git 2.0.

Jenk··on The surprise deprecation of GPT-4o for ChatGPT consumers
Why shouldn't "causuals" (and/or "professionals" for that matter) be allowed to use AI for some reasoning or whatever?

One of Claude's "categories" is literally "Life Advice."

I'm often using copilot or claude to help me flesh out content, emails, strategy papers, etc. All of which takes many prompts, back-and-forth, to get to a place where I'm satisfied with the result.

I also use it to develop software, where I am more appreciative of the "as near to pure completions mode" as I can be mot of the time.

Jenk··on What the Windsurf sale means for the AI coding ecosystem
Firends who are windsurf employees tell me the in-office opinion is that the founder(s) were paid $.5bn each, and the rest was distributed amongst the researchers they poached.

_Huge_ payday if true.

Jenk··on Cursor CLI
What about

    ln -s AGENTS.md CLAUDE.md # repeat for all

?
Jenk··on Customizing tmux
You may be interested in https://www.chezmoi.io/
Jenk··on A parser for TypeScript types, written in TypeScript types
.. or just

    type MergedType = TypeA & TypeB
Jenk··on The JJ VCS workshop: A zero-to-hero speedrun
The one paragraph that helped jj begin to click for me was this one from Steve's Jujutsu Tutorial[0]:

> If you want to replicate git's behavior, typing an additional command after each change is done feels like overkill. But I would argue this is not the right way to use jj; as you'll see, we'll be either re-writing commits at the tip of branches, or doing multiple steps of work before updating where a branch points. In practice, it means I check the branch status before pushing code, rather than as I work. That is, the branch name tends to sit at the same change as the remote server, and when it's time to update the remote, that's when I update things locally.

[0]: https://steveklabnik.github.io/jujutsu-tutorial/sharing-code...

(emphasis mine)

That, as I interpreted it, is to mean one should begin to "forget" git in order to appreciate jj with a sense of new beginning.

Previously, I was continuously translating jj to git, and vice-versa. After reading this paragraph, I now mentally model the jj-git relationship as a kind of 3rd stage of the workflow, rather than previously assuming jj as an abstraction on top of git.

Jenk··on AI overviews cause massive drop in search clicks

    document.querySelectorAll("[type='checkbox']").forEach(c => c.checked = undefined)
Adjust the selector as neccessary, sometimes I'll use `#id-of-cookie-banner [type='checkbox']`

Probably useless for mobile though, unless you can punch it in the omnibar with `javascript:` prefix

Jenk··on Clashes between web and X11 colors in the CSS color scheme
Extra nitpick.. green isn't even a primary colour. Red, Yellow, Blue are the primary colours that our eyes perceive. Perhaps this contributes to why the RGB numbering doesn't meet human perception of green?
Jenk··on East Asian aerosol cleanup has likely contributed to global warming
Or the quartermaster with a penchant for nifty gadgets from MI6.
Jenk··on Most RESTful APIs aren't really RESTful
I'm not the person you asked.
Jenk··on Most RESTful APIs aren't really RESTful
The below type definition (TS) fits the ECMA schema for JSON:

    type JSON = 
      string |
      number |
      boolean |
      null |
      JSON[] |
      {[name: string]: JSON}
← PreviousPage 2 of 26Next →