HNHacker News
TopNewBestAskShowJobs

akkad33

716 karma · joined September 26, 2022

submissionscomments
akkad33··on I tried Gleam for Advent of Code
Yes this is the article I was referring to. Gleam does not need interfaces or traits because functions can do it
akkad33··on Cat Gap
Cats are not so solitary. They can actually live in communities but they are not pack animals
akkad33··on I tried Gleam for Advent of Code
Why does it need generics? There's a great blog post about how you can replace a lot of trait behaviour with just functions. Maybe something like that can be done for generics
akkad33··on French ex-president Sarkozy begins jail sentence
> Something really scary in France right now is

I mean he's going to jail. If anything that's better than most countries. In India, a chief minister who instigated racial riots never even had to go to court for it and he even became the current de facto autocrate

akkad33··on When ChatGPT turns informant
This is a very myopic view of the issue and is age-old reaction laypeople have to privacy concerns: my data is worth nothing because there nothing interesting about it.
akkad33··on Zig builds are getting faster
But isn't there a reason why so many start with LLVM ? It's highly optimised. I think mojo is not LLVM but mlir
akkad33··on Top Programming Languages 2025
You'd be hard pressed to find a job posting in ML/ data analytics where python is not in the requirements
akkad33··on Top Programming Languages 2025
Yes. Many startups using Java in europe
akkad33··on Disney reinstates Jimmy Kimmel after backlash over capitulation to FCC
If it walks like a duck, quacks like a duck,... you know what they say
akkad33··on Designing Data Intensive Applications 2nd edition
Everyone praises this book but it was way too dry for me to get through. I have the print edition so maybe I'll give it another try
akkad33··on Rust: A quest for performant, reliable software [video]
> Rust is one of the languages that AI is worst at writing - currently, at least

Everyone makes similar statements about AI, Ai is currently bad at this or that. I find it quite good to write Rust. Can you give a concrete example of what AI failed to write for you

akkad33··on Rust: A quest for performant, reliable software [video]
When someone says demonstrably, I expect they would follow up with said demonstration
akkad33··on Charlie Kirk killed at event in Utah
A bit of an exaggeration ? it's just a random rage baiter who baited the wrong person apparently. It won't be a blimp in American history
akkad33··on Charlie Kirk killed at event in Utah
This post has more engagement than any other post on the front page. It seems hackernews has been overrun by a certain crowd whom this death seems newsworthy
akkad33··on Mistral raises 1.7B€, partners with ASML
Still smells like corruption
akkad33··on Evolving the OCaml Programming Language (2025) [pdf]
> I'm not a fan of Rust as a language for many reasons, but I will give it credit for making proper usage of the Result

Rust also has exceptions aka panics

akkad33··on All New Java Language Features Since Java 21
In python, those give a mutable set, which is what I was referring to above. Also not to put too a fine a point, you'll never see python code like that in the wild, but even in code reviews these days, it's common to find Java code written like in my example because the syntax for sets in Java came after Java 8
akkad33··on All New Java Language Features Since Java 21
I mentioned "mutable" in my comment
akkad33··on All New Java Language Features Since Java 21
Spring is very capable and has lots of things built-in
akkad33··on All New Java Language Features Since Java 21
> The language itself is quite beautiful when used properly and with modern features.

I respect your opinion but I wouldn't call Java beautiful (of course it depends on your definition of beautiful). It takes so much ceremony to do things you would do without any thought in other languages .

Initiating a mutable set

Python

`a = {1,2}`

What most Java programmers do

``` var a = new HashSet<>(); a.add(1); a.add(2); ```

Shorter one but requires more ceremony, and hence knowledge of more language semantics

``` var a = new HashSet<>(new Arraylist<>(List.of(1,2)) ```

I don't know if the above works but the Idea is to initiate a list and pass it into a HashSet constructor.

Similarly Java 21 allows you to model union types but doing so requires you to define N+1 classes where N is the number of union cases whereas in other languages it's as simple as `type A = C |D`

akkad33··on Unexpected productivity boost of Rust
Is this really true? What do you mean by value types? The types that implement copy or any struct types? Because I think struct types only get moved
akkad33··on Unexpected productivity boost of Rust
Is it expensive in Rust? Normally only data in stack gets copied. Heap data is untouched
akkad33··on Unexpected productivity boost of Rust
No. Other languages don't prevent concurrency related bugs like the one in the article. Rust has reference aliasing rules and lifetimes and send and sync traits. These things do not exist in Java and others, so will not prevent such bugs
akkad33··on What does it take to become a good software engineer at this time?
But if you're not good technically does it matter if you're good? I notice two type of people who I see as successful in my company

1. People who are extremely good technically. They don't have great people skills. They are almost hard to get chummy with. They only respect you if you're as good as them technically or if you belong to the following group 2. People with great personalities, charisma. They are not technically excellent. They are not the people you go to if you want to develop a streaming database. But they have vision, they have a broad view of things and know what to improve, where to work etc. They are not software engineers, more like team leads.

Then there are people who are neither great technically nor have charsima that make people gravitate towards them. People who are just fumbling in mediocrity, wondering if they are in the right place and feeling stuck (like me )

akkad33··on Ask HN: Someone has committed 20K+ LoC to a PR, exhausting my CI & AI workflows
Close it?
akkad33··on Ask HN: Do you think programming as a job will end soon and if so, how soon?
But the difference is not anyone can be a nurse and doctors don't just oversee nurses, they do other stuff too. In any case these two jobs require real training.
akkad33··on Writing with LLM is not a shame
It depends on how you read it. You could say "a large language model".. I think both are right
akkad33··on Writing with LLM is not a shame
That's a shame
akkad33··on Ask HN: Do you think programming as a job will end soon and if so, how soon?
This sounds like a very feasible outcome
akkad33··on The Core of Rust
My mistake
← PreviousPage 3 of 12Next →