News for hackers. Stuff that matters.

rlander

Re:My old job feels distant now on Saturday October 17, 2026 @10:26AM (#50131487)
This has been exactly my experience so far, regardless of the model. A developer knows when to stop and ask questions (colleagues or stakeholders). Claude just keeps going and doubles down on its own interpretation.

For me, the biggest benefit is being able to produce an initial POC that I can learn from before writing my own code. And, as you pointed out, it’s also brilliant for refactoring work.

Re:Tesla Roadster on Friday October 16, 2026 @02:08PM (#50122070)
Re:Tesla Roadster on Friday October 16, 2026 @02:08PM (#50122065)
Re:John Carmack on Mutable Variables on Friday October 31, 2025 @09:54AM (#45772006)
Except const is not sufficient. It will prevent the reference from being reassigned but the const can still reference a mutable object.
Re:ChatGPT Atlas on Tuesday October 21, 2025 @07:52PM (#45663270)
Maybe you haven’t seen this yet, but there is a (recent) option to fork a conversation when you click on the thee dots of a reply.
Re:Populism and Economic Prosperity on Monday October 20, 2025 @04:30PM (#45648907)
True, but GDP is often a decent proxy for material living standards, especially across countries and over time (so long as we note what it leaves out).
That’s not a small cycle count for a normal household. 90 × 24 = 2,160 total hours.

I sous vide now and then, about twice a week for 6 hours each, so around 12 hours a week. That works out to roughly 15 years of usable machine time for the average person.

Not bad at all.

Re:Imba – The friendly full-stack language on Saturday September 23, 2023 @03:52PM (#37626816)
> if Imba offers a new approach it fails to communicate this on the landing page and focuses on code compression instead.

Fair enough. While it does touch upon `memoized DOM`, you're correct; it might not be sufficient for readers to grasp the full implications unless they're well-versed in these kinds of libraries. For a deeper dive, you can check out this subpage: https://imba.io/guides/rendering. BTW, I don't have any affiliation with this library whatsoever.

> I just wonder, whether a new language is necessary to achieve this.

To achieve compression, no. But to achieve DOM reconciliation without a v-dom, yes.

Re:Imba – The friendly full-stack language on Saturday September 23, 2023 @02:20PM (#37625875)
I feel like you missed the point of Imba. It's not solely focused on code compression (although that does appear to be a secondary objective). Instead, Imba is all about empowering developers to create declarative user interfaces without the typical complexities that often accompany such tasks, like dealing with reactivity, signals, custom directives, v-dom, and so on.
Re:Imba – The friendly full-stack language on Saturday September 23, 2023 @10:35AM (#37623605)
Opa was ahead of its time by at least 10 years. Have you seen Electric Clojure [0]?

[0] https://github.com/hyperfiddle/electric

What an amazing story! I have to admit, I was a bit apprehensive while reading through it.
Re:Learning about the navigational feats of animals on Saturday April 03, 2021 @12:17PM (#26682214)
Does that apply to neutered males?
Re:Learning about the navigational feats of animals on Saturday April 03, 2021 @12:12PM (#26682169)
That’s weird. We moved to a new house and I was surprised one morning to see the cat scratching the upper balcony door, waiting to be let in, even though he’d never used that particular door until that day. He seems to always wait by the door that’s closest to the nearest awaken human, regardless if he’s ever used that entrance.
Re:Lispsyntax.jl: A Clojure-like Lisp syntax for julia on Wednesday January 20, 2021 @01:32AM (#25843184)
How is Elixir’s design different from Erlang’s? Semantically they’re pretty much the same language.

A better example would be Java/Clojure.

Re:Ten years without Elixir on Thursday January 14, 2021 @11:34AM (#25778385)
> Elixir code out there is much cleaner than erlang code bases.

You do understand this is just your subjective opinion and not a universal truth, right?

You are basing your argument as if it was a fact that Elixir is “cleaner” (whatever that means) and that there was a thing called “software-testing-revolution” which Erlang was never a part of. Both are subjective and, frankly, plain BS.

> if you are truly dedicated to the craft of software you probably should want them to learn Elixir

Oh boy, I don’t even know where to start... so you’re basically implying that Erlang programmers are not “truly dedicated to the craft of software”? It would be laughable if it wasn’t just sad.

This is the Ruby world mentality that just rubs me the wrong way. Not even worth carrying on with the discussion.

Re:Ten years without Elixir on Thursday January 14, 2021 @10:24AM (#25777382)
You’re missing the crux of the argument: auto-currying. In languages like Elm and Ocaml all functions are single arity which means a multi-arity function is just a partially-applied single arity function thus you can treat all functions as being single arity. This also means the pipe operator can be implemented as a higher order function being, as such, first class. Languages without auto-currying have to resort to macros.

Clojure also doesn’t have auto currrying, but makes up for it by giving you 6 variants and creating a consistent default library for sequences and associative structures.

So, the pipe first operator is just a dirty hack.

Re:Ten years without Elixir on Thursday January 14, 2021 @12:35AM (#25772515)
IME it is. Many Elixir apis end up forcing an unnatural parameter order just so that the entire body can be piped through.

Clojure is way more consistent in this regard:

  - thread first (->) when operating on maps.
  - thread last (->>) when operating on sequences.
  - as-> "choose your own adventure".
Re:Ten years without Elixir on Wednesday January 13, 2021 @07:18PM (#25769971)
Well I believe that no pipe is better than a a handicapped pipe operator.

The Elixir implementation inverts the classical order of piping last in functional languages to the detriment of it. IMO a language should either support pipe last AND currying by default or supply a multitude of thread operators like Clojure does (->, ->>, as->, etc). Elixir's is just middle-of-the-road-weird.

Re:Ten years without Elixir on Wednesday January 13, 2021 @06:58PM (#25769769)
> Elixir just did it better imo and this person seemingly can't stand that people seem to like it more.

The post does read more like venting than a structured critique, but a few of his points are still valid.

Every time I hear someone praising Elixir, it's never about some Elixir-specific feature but usually about something that Erlang has provided for ages like pattern matching, lightweight processes, supervisors, the preemptive scheduler. Given this, I'm sure you can appreciate how bittersweet this can be for an Erlang developer.

To me Elixir is just a more complex, verbose and less elegant version of Erlang so it kinda frustrates me when newcomers would rather learn Elixir than plain Erlang.

Re:Elixir 1.11 on Tuesday October 06, 2020 @09:44PM (#24704480)
Why I choose Erlang:

- simpler syntax: there’s no Erlang program that you can’t read after getting comfortable with the language. Seriously. Go read OTP source or Ryaks, everything is extremely clear and explicit. To me, easier to read also means less bugs.

- It’s so different from other languages that, IMO, it makes it easier to “think in Erlang”; the syntax fits so well the semantics that I find it easier to think in terms of processes, patterns and the ocasional recursion when switching from other language (most Erlangers are polyglots IME).

*Edit: Reliable network services (Erlangs sweet spot) are much easier to write and maintain when written in a clear and explicit way. I love macros (consider myself a lisper actually) but I think they’re the wrong tool when writing bullet proof network servers (macros are basically everywhere in Elixir).

Re:Single Page Applications using Rust on Wednesday August 12, 2020 @01:56AM (#24128967)
> adds a tons of complexity over just using JS.

What "tons complexity" are you talking about? Clojure is a much simpler language (in the decomplected sense) than JS. Less syntax, better build tools, uniform stdlib, no webpack/babel nonsense. This sentence makes no sense.

> interacting with the JS ecosystem is painful cause of its reliance on the closure compiler.

Again, what? With tools like shadow-cljs, requiring JS libs and using them in you project is trivial (just require and import like you would any cljs library).

> In Clojure, is almost the same, most Java libs are over-engineered and horrible to use but you need to reach for them because Clojure lacks an ecosystem.

I've been writing Clojure for 10 years and rarely have I had to reach for Java. This is absolute rubbish.

You seem to hold strong opinions about a language you barely understand.

Edit: reading you comment history, you seem to have an axe to grind with Clojure.

Re:Re-Frame: Build web apps in ClojureScript and React on Sunday July 26, 2020 @09:34AM (#23956952)
Please don’t listen to the peanut gallery. The re-frame docs are in a league of their own and most of us appreciate the enormous effort put in to make them awesome. Keep rocking.
*Edit: Let My People Go Surfing is the name of the book.

(Couldn’t edit the original)

Yes! Btw, the founder, Yvon Chouinard, a renowned mountain climber, wrote a great book about the story behind the company which is regarded as the “philosophical manual for the employees of Patagonia”. Awesome read imo.
Re:Ask HN: What did you make during lockdown? on Sunday June 21, 2020 @04:17PM (#23595057)
Thanks, already subscribed to those channels. Thing is, much like a lot of comments here where devs want to learn new tech but struggle to come up with a side project idea, I can’t really think of anything useful that’d be within a beginner’s skillset. Anyways, thanks for the thoughtful reply and maybe watching a few videos will spark my creativity!
Re:Ask HN: What did you make during lockdown? on Sunday June 21, 2020 @02:59PM (#23594395)
That side table is amazing. How did you learn woodworking? I’ve been meaning to get into it but have no idea where to start.
I’m just finishing Eiger Dreams, what a great book! I wish Krakauer would write more recent mountaineering books.
Re:Ask HN: Who regrets choosing Elixir? on Sunday May 24, 2020 @12:59AM (#23289228)
Basically anything that is protocol-oriented like WhatsApp. A lot of people will say fault tolerant, low latency, highly available and massively concurrent systems, and they’ll be right, but I think that’s only half the story. You also get a battle-tested blueprint for building these kinds of distributed systems. You will find a pattern here and there in other languages and VMs, but the cohesiveness of the package (language + BEAM + OTP + observability + patterns) is something really unique. Compare this to the Java ecosystem, where there are dozens of concurrency primitives and an even greater number of distributed systems libraries and frameworks like Akka, Mesos, Zookeeper, Storm, Flink, Samza, Heron, Helix...
Re:Ask HN: Who regrets choosing Elixir? on Saturday May 23, 2020 @04:14PM (#23285981)
To be fair, if you’re rewriting an Erlang system in Python/JS and you don’t feel like you’re losing much, Erlang was the wrong choice from the beginning. The cases were Erlang shines are very hard to replicate in these languages.

Older »