Better HN
topnewbestaskshowjobs
Log inSign up

styluss

236 karma · joined Nov 16, 2011 (15y ago) · 126 submissions

Submissions

comment 1mo ago · link · parent

In Portugal we have "café com cheirinho", coffee with a nice smell. Coffee is drunk with bagaço, aguardente or medronho.

Interesting how other countries also have this culture

comment 5mo ago · link · parent

I work with a Go monorepo and set up Bazel for a couple of services that used CGo. It took a while but was painless to set up.

comment 5mo ago · link · parent

Australia is part of the EBU https://en.wikipedia.org/wiki/European_Broadcasting_Union

comment 7mo ago · link · parent

> 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

comment 7mo ago · link · parent

https://lisette.run/

comment 9mo ago · link · parent

Hey tried a couple and got "iBackgroundColor undeclared identifier" on ghostty 1.2.3

comment 9mo ago · link · parent

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.

comment 10mo ago · link · parent

Someone should make a areweidiocracy with links to these

comment 10mo ago · link · parent

https://go.dev/doc/faq#assertions

comment 10mo ago · link · parent

And Venetian Snares encoded his cat https://eeggs.com/items/46956.html

comment 11mo ago · link · parent

Which conflicts? Gleam seems to be released often?

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

What kind of work accomodations have you seen that work/help for people with autism or ADHD?

comment 1y ago · link · parent

52,874 are connected to the internet according to Shodan.https://www.shodan.io/search?query=redis+product%3A%22Redis+... Not affiliated with them.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

lacy https://crates.io/crates/lacy might be what you want

comment 1y ago · link · parent

sounds like your describing https://linux.die.net/man/1/ts

comment 1y ago · link · parent

They also changed maps' iteration order to be random, rather than insertion order.

comment 1y ago · link · parent

Nil receivers are such a thing to have

comment 2y ago · link · parent

To this day, the best way to practice typing, for me, is https://en.m.wikipedia.org/wiki/The_Typing_of_the_Dead

comment 2y ago · link · parent

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"

comment 2y ago · link · parent

data, ok := <-someChan

If ok is false, the channel is closed and data is a zero value.

comment 2y ago · link · parent

I accidentally tried to fly with a small kids juice box and sunscreen. They throw your stuff into a machine.

I would've expect that they take a sample from inside but they just scanned the outside

comment 2y ago · link · parent

Nim fits a lot of Go's use cases. It is way more niche though.

comment 2y ago · link · parent

First link in "further information"

https://cacm.acm.org/research/almost-linear-time-algorithms-...

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

> Techniques like memory pools, manual memory management, directory compression, and compact file formats reduced metadata memory usage by 90%.

It is interesting that high performance systems in Go end up needing these kind of performance optimizations.

comment 2y ago · link · parent

Wasn't there stuff that only appears in the XML output?

comment 2y ago · link · parent

I'm not part of the project but it seems to be generated from this package https://github.com/csnewman/ffmpeg-go/tree/master/internal%2...
12345