Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
klauserc
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
klauserc
2mo ago
An alternative way to "forget" a value is to hand it off to another thread that then loops infinitely. Could of course be plugged by saying `!Forget : !Send`, but wouldn't that preclude legitimate useful scenarios for `!Forge
2.
▲
by
klauserc
5mo ago
Was my first thought as well, but this is an open weights model. You can run it on your own hardware.
3.
▲
by
klauserc
5mo ago
I definitely am. Haven't touched git in over a year. If there was just a single feature to point at where jj meaningfully improves on git, I think it's: `jj undo`. It is a universal undo command. It works for every change in your
4.
▲
by
klauserc
5mo ago
jj automatically hides "uninteresting" changes. Most of the time, this is good. Occasionally, I need to see more changes. It is not obvious to me how I get jj to show me elided changes. I mean, sure, I can explicitly ask jj to sho
5.
▲
by
klauserc
9mo ago
The best way to get an LLM to follow style is to make sure that this style is evident in the codebase. Excessive instructions (whether through memories or AGENT.md) do not help as much. Personally, I absolutely hate instructing agents to ma
6.
▲
by
klauserc
10mo ago
Isn't that example the exact opposite of mixing content and presentation? The * notation applies the strong [emphasis] tag, the show rule (re-)defines the presentation. Ideally you would of course separate the two into separate files (
7.
▲
by
klauserc
11mo ago
Was using vim for a decade, discovered Helix, installed it on all my systems and haven't looked back (at least not voluntarily; I'm always bewildered by the old-school CAD-like command-then-subject paradigm when I get thrown into
8.
▲
by
klauserc
1y ago
Yes! One of the worst bugs to debug in my entire career boiled down to a piece of Java mutating a HashSet that it received from another component. That other component had independently made the decision to cache these HashSet instances. Bo
9.
▲
by
klauserc
1y ago
Using gen AI for anything artistic (illustrations, music, video, creative writing) is a dead end. The results are soulless and bland. People notice immediately. Code completions are fine. Driving code through chat is a complete waste of tim
10.
▲
by
klauserc
1y ago
I found Helix much easier to get into than vim because you can see and experiment with the selection before committing to an action. It's also much more familiar to users of modern software (where you generally first select an object a
11.
▲
by
klauserc
1y ago
Yes, all the time. For reference-level information, I don't trust AI summaries. If I need to know facts, I cannot have even the possibility of a lying auto-complete machine between me and the facts. Exploratory/introductory/s
12.
▲
by
klauserc
2y ago
As someone responsible for login/registration at a large online retailer, I see so much bot traffic and attacks. Attackers try to enumerate registered users, try to mass-login with credentials from password dumps, try to register accou
13.
▲
by
klauserc
2y ago
Fantastically beautiful keyboard! Keyboards are such a good hobby project. The scope is comparatively small, yet within that scope you get in contact with many different and highly interesting subjects and challenges. And you can more or le
14.
▲
by
klauserc
2y ago
You can buy ZSA split keyboards with labels on the keycaps. Its great while you are still learning to type on these rather exotic keyboards. As you get more proficient, you start to rely more and more on the "central" keys (using
15.
▲
by
klauserc
2y ago
I've been running Fedora on top of the excellent ZFSBootMenu[1] for about a year. You need to pay attention to the kernel versions supported by OpenZFS and might have to wait for support for a couple of weeks. The setup works fine othe
16.
▲
by
klauserc
2y ago
I use it on my work laptop. Reasons: - a single solution that covers the entire storage domain (I don't have to learn multiple layers, like logical volume manager vs. ext4 vs. physical partitions) - cheap/free snapshots. I have be
17.
▲
by
klauserc
2y ago
You have to set the C# language version to 'preview'. <PropertyGroup> <LangVersion>preview</LangVersion> </PropertyGroup>
18.
▲
by
klauserc
2y ago
Still fascinating how a computing device that used to cost upwards of 10k a couple of years ago is now not even considered a "workstation". On a more serious note, I'm not sure that ECC RAM should be an important distinguishi
19.
▲
by
klauserc
2y ago
Would `Vec::into_boxed_slice` [1] be the answer here? It gives you a `Box<[Foo]>`, which doesn't have a capacity (it still knows its own length). 1: https://doc.rust-lang.org/std/vec/struct.Vec.html#meth
20.
▲
by
klauserc
2y ago
C# pattern matching gets very close. I think C# can do everything except for their last example ("splitting conditional prefixes in arbitrary places"). One of the things I miss when switching to Rust. if foo(args) ==
21.
▲
by
klauserc
2y ago
Been using jj at work for months now. In colocated mode, JetBrains IDEs even retain some if their VCS integration. The ability to easily work on top of an octopus merge and then push changes "down" into the contributing branches h
22.
▲
by
klauserc
2y ago
I prefer Asciidoc over markdown for documents where chapters, cross references, call outs, etc are valuable. For things that one might want to turn into a PDF. The tooling is a bit of a pain, but the Java world has pretty good integration
23.
▲
by
klauserc
2y ago
Oh my! That's an amazing list. I used to perform many of these changes by hand on every new windows installation. It's such a slog. And while some of my systems now run linux, as the post says: "Sometimes using Windows is ine
24.
▲
by
klauserc
2y ago
I once had the questionable pleasure to write code in an environment where "at most one method call per statement" was strictly enforced. Had to constantly come up with names for intermediate values that would only get used once,
25.
▲
by
klauserc
2y ago
Hm... difficult question. I got a Pixel Fold at half price second hand. What MKBHD says about the Pixel Fold is absolutely true: it has the best outer screen/folded experience of all the foldables. Most of the time, I use it closed. An
26.
▲
by
klauserc
2y ago
They present this like a smart solution for some sort of fundamental problem. It's really not a fundamental problem. Advertisement has worked and still works perfectly fine without attribution in TV, in magazines, on billboards. Adtech
27.
▲
by
klauserc
2y ago
I built a crappy scripting language. The language itself is nothing special. Vaguely ECMAScript. But it was a ton of fun to _evolve_ the language and runtime system over the span of ten or so years. I have my collection of scripts in that l
28.
▲
by
klauserc
2y ago
I'm super torn about type erasure in Java. On the one hand, it is super hacky and requires ugly workarounds (passing Class<T> references around). At the same time, it also made creative abuses of the type system possible (e.g., h
29.
▲
by
klauserc
2y ago
Totally agree about the "removing a misbehaving" feature part. The frustration I was trying to express is more related to "perfect being the enemy of good". JEP-430 was introduced 3 years ago. By that point C# has alread
30.
▲
by
klauserc
2y ago
There is Windows S Mode where you can only run Windows Store apps and only use Microsoft Edge. That should qualify for "proper sandboxing", shouldn't it? Then again, no one who needs an actually useful computer runs Windows i
More ›