leontrolski

Joined 7 years ago

Karma
2,205
Submissions
116
Member since
Mar 29
https://leontrolski.github.io/
View on Hacker News

Recent submissions

Comment · 3 months ago
Comment · 3 months ago
Being to lazy to think or test it - does the above reset SEQUENCEs?
Comment · 3 months ago
Comment · 3 months ago
Comment · 4 months ago
Comment · 5 months ago
Comment · 6 months ago
What would be the equivalent to this in Haskell (with or without lens):

    cat = Cat(age=3)
    l = [1, [2, cat], 4]
    alt l[1][1].age.=9
That would give us l equal to:

    [1, [2, Cat(age=9)], 4]
Comment · 6 months ago
This is surprising to me:

  l[1][1].age:9
  # (1,(2,{"age":9}),4)
How come it doesn't return just:

  {"age":9}
Or is there something totally different going on with references here? As in, how is this different to:

  l_inner = l[1][1]
  l_inner.age:9
Comment · 7 months ago
Yes, AI or no AI, tell me about something actually interesting that you're working on.

Currently it feels a bit like everyone is talking about what new editor they're using. I don't care about that type of developer tooling very much. AI isn't coming up with some exciting new database, type system, etc etc.

"Look at how I'm able to web dev x% faster" because of LLMs is boring.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton