Better HN
topnewbestaskshowjobs
Log inSign up

janderland

129 karma · joined Jan 4, 2019 (7y ago) · 107 submissions

https://jander.land/
Submissions

comment 1d ago · link · parent

Haha, love this. It’s funny they’re saying “don’t use GOTO” because this approach makes it obvious that switch cases are equivalent to GOTO which can transport you into one of the impossible of statements.

comment 1d ago · link · parent

Some of us definitely “care” about this. It’s HackerNews! I’m here in part for weird, interesting, or silly projects.

comment 3mo ago · link · parent

SQL is a horrible language. I’d gladly program in something composable like Elm.

comment 4mo ago · link · parent

YouTubers monetize fair use all the time. Is that significantly different?

comment 5mo ago · link · parent

Maybe you’re implying that message passing makes compile-time validation of messages difficult? The types themselves are a solved problem, as long as you allow actors to fail when they receive a message they can’t handle.

comment 6mo ago · link · parent

What kind of codebase do you work on (number of lines?). How many tokens does your local context support?

Maybe your statement is true for smaller codebases and shorter conversations, but I’d be surprised if you actually achieve good results on millions of lines of code with a million token context.

Granted if your setup works well for your workload then that’s all you need.

comment 6mo ago · link · parent

Has Kimi found a way to vastly reduce the amount of VRAM required without running at 3 tokens per second? That’s the real concern.

comment 7mo ago · link · parent

This is a ridiculous analogy. Test the app. Read its source code. Developers could always write toxic instruction in your tools. AI may write inefficient or messy code, but it’s far from nefarious. “Asbestos” code is written intentionally by humans, not unintentionally AI.

comment 8mo ago · link · parent

JMESPath is what I wish jq was. Consistent grammar. It only issue is it lacks the ability to convert JSON to other formats like CSV.

comment 9mo ago · link · parent

Yes, it is true that companies are always hungry for more. But once again, those same companies never cared about beautiful code. They wanted us to build something that works as quickly as possible. In my experience, the beauty of programming was often enjoyed outside of work for this very reason, and we can still enjoy it outside of work for it's own sake.

comment 9mo ago · link · parent

The people outside of us didn’t care about your beautiful code before. Now we can quickly build their boring applications and spend more time building beautiful things for our community’s sake. Yes, there are economic concerns, but as far as “craft” goes, nothing is stopping us from continuing to enjoy it.

comment 9mo ago · link · parent

Don’t Erlang/Elixir model all concurrency as actors, to some level of success. I was under the impression that it allows for quite a bit of deployment flexibility. Actors are addressed in the same way whether they’re on the same machine or not.

comment 10mo ago · link · parent

This reminds of me calorie tracking: you cannot perfectly capture the number of calories or macronutrients, but measuring does seem to help people loose weight. There are probably many loop holes where eating large amounts of certain food, with a certain margin of error, can leads to wildly incorrect estimates.

I wonder how much this analogy applies to carbon tracking? Does using a wide variety of foods help make the tracking more accurate because no single bad estimate becomes overrepresented? Can a similar approach be taken via a wide variety of cloud technologies being used?

comment 10mo ago · link · parent

> You upgrade the libraries your website depends on, or add a dependency, and this new code happens to depend on that native prototype. Only you replaced it with your custom method, and that method likely doesn't have the exact same behavior. You broke that new code and fixing this might not be trivial because uses of your custom method are sprinkled everywhere in your code.

He was suggesting adding a prototype method, not replacing one. Unless the library your using is also adding prototypes, I can't think of an issue with this. Sure, if a new version of JS ends up using these names then things could break, but I'd bet this won't cause him a problem in actuality.

comment 10mo ago · link · parent

This is basically a wrapper around Docker compose. The main advantage is that it takes care of GH action configuration and caching of images.

comment 10mo ago · link · parent

I couldn’t help but think this as well. I understand wanting software that feels snappy, but this is hardly a problem. Instead of trying to convince the reader that we should care about this, it would be nice if the writer admitted this is an inconsequential personal preference.

comment 10mo ago · link · parent

Author here . If you'd like an intro to FoundationDB, you can take a look at this blog post I wrote. This CI framework was created during the writing of this post.

https://jander.land/20251227_mutex.html

comment 10mo ago · link · parent

Perhaps it’s a bug in the VS code terminal? I don’t see anything like this in Kitty.

comment 10mo ago · link · parent

It depends on what you mean by "sucks". I don't think anyone here is denying that it's often the best tool for the job. You SHOULD learn CSS if you want to be an effective UI programmer simply because you'll encounter it everywhere. But the quality of the language should still be critique IMO.

comment 10mo ago · link · parent

Good suggestion. I take serializability for granted.

21.

Intro to Foundation DB via a Distributed Mutex(jander.land ↗)

8 points · by janderland · 10mo ago · 2 comments

comment 1y ago · link · parent

This seems like a lack of experience. The more I work with LLMs, the better I get at predicting what they’ll get wrong. I then shape my prompts to avoid the mistakes.

comment 1y ago · link · parent

Calling psychedelics and “escape” is debatable. While you do leave reality, the alternative reality you enter is often difficult, uncomfortable, and challenging, at least in my experience.

Psychedelics are an escape in the same way a workout or a long hike is an escape. I see this as different to the escape you get from opioids or alcohol.

Your point still stands that you need to address your problems eventually.

comment 1y ago · link · parent

I rather have my configuration centralized. Instead of configuring two things, this allows me to configure one. I’d take that trade off here.

comment 1y ago · link · parent

Are we going to outlaw fruity cocktails as well? There has to be better ways of allowing adults to indulge than outright bans.

comment 1y ago · link · parent

There’s always someone online who will assume the worst interpretation. It’s unfortunate.

comment 1y ago · link · parent

I suspect a lot of us don’t have strong feelings either way and don’t find the verbosity “hostile”. No need for Stockholm syndrome if you don’t feel like a prisoner.

Of course you may have been joking, in which case “haha”. xD

1234