HN user

styluss

236 karma
Posts7
Comments117
View on HN

The world is like a ride in an amusement park. And when you choose to go on it you think it's real because that's how powerful our minds are. And the ride goes up and down and round and round. It has thrills and chills and it's very brightly colored and it's very loud and it's fun, for a while. Some people have been on the ride for a long time and they begin to question: "Is this real, or is this just a ride?" And other people have remembered, and they come back to us, they say: "Hey, don't worry, don't be afraid, ever, because this is just a ride."

Bill Hicks

Fixed name

Mild Spoilers.

I will always have a special place for Babylon 5. One time I was watching it with my father who lived under a dictatorship, watched a scene with Mr Morden and Lando, immediately said "this kind of talk is meant to put people against other people". He didn't care much for the extraterrestrial part of the show but was very interested in portrayal of authoritarianism.

Idiocracy 6 months ago

Someone should make a areweidiocracy with links to these

In Go, if one would ignore the error, it could result in a panic or the program would continue with some unexpected state. Go projects work on an honour system and either return Nils with errors or empty structs.

Pprof doesn't tell you if something was leaked aka still around.

I fixed a leak recently because of misuse of a slice with code like

slice = append(slice[1:], newElement)

I only figured it out by looking at the pprof heap endpoint output and noticed there were multiple duplicate entries.

Oh absolutely, whenever i use anything, I have to see how to integrate cancellation and now context is everywhere just for this.

It gets overly verbose because of "simplicity"

can you explain a bit what you mean with

- Lack of dependency injection/inversion of control. I find it interesting the author lists this as an advantage. With Rails, I was always a little anxious not knowing where things were defined or being implemented.

Rails itself doesn´t have framework/library for DI/IOC but you can use constructors, I understand that a lot of Rails devs won't and just use wtv they need.

Yup. There is no self awareness of how much we got from all our colonial history.

It is also wild seeing how people are reacting to the President talking about reparations.