Better HN
topnewbestaskshowjobs
Log inSign up

GrumpySloth

4,901 karma · joined Sep 13, 2020 (6y ago) · 1,641 submissions

Submissions

comment 3y ago · link · parent

Except now you can handle name collisions by renaming imports. If you have two modules that share a name, you can rename them in the import line (e.g. in Haskell or Go). Without modules though if you have two libraries which used the same prefix for their functions, now the compiler will complain about redefinitions and the linker will complain about symbol collisions.

comment 3y ago · link · parent

I can see why an emperor could want to try to convince people that their lives are great, regardless of their material conditions. No need to rebel. Nothing to see here.

comment 3y ago · link · parent

Good art can be created even though the author intends it to be bad. But it isn’t this intention that makes it so.

The audience are the only ones who can judge. Noone else will see it, after all. :)

comment 3y ago · link · parent

An artist intending something to look a certain way is the poorest defense of this way being good. To reduce it to absurdity, an artist can also say “I intend it to be bad”, and it still won’t make it good. Ultimately, judgement of a piece of art belongs fully to the audience.

comment 3y ago · link · parent

So far he seems to be annoyed based on suspicions, but without evidence. His actions seem a bit rash in that situation.

comment 3y ago · link · parent

I watched the video and the only brutality I saw was the animation.

comment 3y ago · link · parent

I thought Armstrong wrote that Ericsson replaced Erlang with C++ or some such thing, because they didn’t want to maintain a language and wanted something more off-the-shelf.

comment 3y ago · link · parent

I’m currently reading a book about the history of the British Empire and I think this temperament is older. When Australian and Kiwi troops were called to support Britain in the first World War, they were baffled by how much shit the Brits were ok with taking from their superiors, while the Brits were surprised how undisciplined and prone to protest their Australian and Kiwi counterparts were. You can look even earlier. While France at the end of the XVIIIth century had a bloody revolution, which did make some people in Britain think about their lot in life, they ended up mostly just talking things over, making some mild reforms and that’s it.

So I don’t think it’s blitz. It’s an older trait of avoiding internal confrontation (which doesn’t seem to extend to the Irish who on a number of occasions throughout British history decided to either leave Britain for greener pastures, or were more willing to be a bit more aggressive).

comment 3y ago · link · parent

It was about code in third-party apps, not in Windows code.

comment 3y ago · link · parent

That actually makes me want to create a set of UI benchmarks comparing performance standard UI operations in C++ with Qt vs JS with DOM. I think I’ll look into it over the weekend.

comment 3y ago · link · parent

Those are microbenchmarks, and as such are misleading when it comes to evaluating JIT-ed languages. They also don’t involve ever touching the DOM, which is a major source of slowdowns in real-world JS apps.

comment 3y ago · link · parent

The snake always seemed to me to be a Promethean figure in this story. It brought us knowledge, like Prometheus brought us fire, and got punished for it by a god.

comment 3y ago · link · parent

> When watching American TV shows it is already disturbing that people don't seems to say goodbye to each other, just walk away. Guess they found it boilerplate-y too?

They've learnt it from Batman.

comment 3y ago · link · parent

They don’t. We’re far away both from the previous and upcoming winter. Are you saying that during winter Austria is going to be doing worse than others?

comment 3y ago · link · parent

Hungary yes, but Austria doesn’t seem to be doing all that bad. Eastern Europe is doing much worse.

https://www.statista.com/statistics/225698/monthly-inflation...

comment 3y ago · link · parent

English higher classes at various times liked to parrot the French. That’s how they started e.g. adding milk to tea, which was started by a French lady to fight off the bitter taste of low quality tea imported from China at the time. That was before the French moved to coffee due to English dominance in China which blocked them from getting tea at reasonable prices.

So I don’t think that brandy being linked to the French would be problematic, given long enough time scale.

comment 3y ago · link · parent

> I was left scratching my head

I’ve heard a collar might help with that.

comment 3y ago · link · parent

s/stack/array/

comment 3y ago · link · parent

Honestly, clothing is the smallest item on my packing list. Camera gear and shoes are the biggest items. My clothes alone would fit in a tiny backpack. Underwear takes a bit of space, but I wouldn’t fancy wearing rented underwear.

But then maybe I’m atypical, because, when I look around at airports, it seems to me 90% of people there are moving permanently overseas, judging from the size of their luggage.

comment 3y ago · link · parent

Ad 2. You don’t need a vulnerability in OS sandboxing. You need a way to start communicating with the browser process, since the way renderer processes do I/O is they delegate it to the browser process by communicating over a socket. With a sufficiently advanced arbitrary code execution that’s possible without trying to find bugs in the kernel.

comment 3y ago · link · parent

I like Caddy, mainly for the ease of configuration. One thing that surprised me though: by default it has compression disabled. I discovered it 1 year after moving from nginx (with the nginx config having compression enabled) and it was funny, because at the time of migration I got comparable performance out of the two. Obviously, after enabling compression, it’s faster now.

comment 3y ago · link · parent

How are transducers different than iterators in C++ or Rust or streams in Java?

comment 3y ago · link · parent

Same here. My magic keyboard sometimes disconnects from my Mac for mysterious reasons, despite the battery being almost full. And then the idea of needing to periodically charge a stationary object which is never used without another device which gets electricity through a wire is ridiculous.

comment 3y ago · link · parent

> - The UI is... I don't know, I can never predict where a buffer will appear. Emacs in general will pop up a lot of buffers. Sometimes you can close them with q, sometimes you will have to hide them. "Inconsistent" is the word which comes into my mind.

I fixed that by redefining in my config split-window-preferred-function to my own function, which is responsible for the placement of new windows in a way that makes sense to me (which is something that no other piece of software does actually).

comment 3y ago · link · parent

That’s why at work we have a “commit queue” that tests that every commit builds as it comes in in the order it’s merged (or more accurately: cherry-picked). Don’t leave those things to manual checks and human vigilance. They’re too fallible.

comment 3y ago · link · parent

> Herbal teas were common in Europe before camellia sinensis tea was imported

They weren’t called teas though. tê is the name in Hokkien and that’s where all the similar-sounding names for tea come from originally… in countries where tea was originally brought from China via sea. The Polish name herbata was coined in the XVIIth century specifically for camelia sinensis, but due to general ignorance about what it actually was beyond “an infusion from some weed with medical applications” the word lost precision.

comment 3y ago · link · parent

That doesn’t fix the issue I described. It leads to a situation where you can say that a merge introduced a regression, but you don’t know which of the merged commits did, because it skips over them all. So it’s not commit-level.
1
91011
55