Better HN
topnewbestaskshowjobs
Log inSign up

bool3max

469 karma · joined Oct 22, 2018 (8y ago) · 215 submissions

Submissions

comment 2y ago · link · parent

What does "provably efficient" mean?

comment 2y ago · link · parent

Why would you expect an LLM to answer thoe questions correctly?

comment 3y ago · link · parent

> I don't understand this. If people don't want to or need to buy anything and they don't want to see ads, because this is pure simply a distraction and won't sway them into buying anything, then what is the point of forcing them to watch ads?

Age-old question. It's not that simple. Those ads have an effect on you whether you "want to or need to buy anything" or not.

comment 3y ago · link · parent

Feels very hacky.

comment 3y ago · link · parent

I've had the main tab bar disabled for a few years now via some CSS tweak, so it's possible.

comment 3y ago · link · parent

None of your posts are loading for me.

comment 3y ago · link · parent

There are so many more sophisticated, more accurate, and scarier ways to collect data about web activity, location and your body that you don't seem to be aware of.

comment 3y ago · link · parent

How "live" can translation ever really be? Properly translating anything from one language to another requires context.

comment 3y ago · link · parent

In such an environment my implementation achieves a runtime of around 5.8s while Python3 manages 5.2s.

41% of the runtime of my impl. is spent on resizing (19 times) + finally freeing (once) the hashtable.

It's interesting that in your testing unordered_map managed a faster runtime than Python. I've attributed my implementation's defeat to the fact that it uses separate chaining while CPython uses open addressing (+ a bunch of other clever optimizations...), but seeing as unordered_map also uses separate chaining (as mandated by the C++ standard, apparently) and it managed a win in your testing, I'm interested to see how they do things.

comment 3y ago · link · parent

What a fantastic post and explanation, big kudos to the author. I recently went from knowing next to nothing about hashtables, to implementing my own in C using simple separate chaining, and was surprised to find out that it's around twice as slow as an equivalent CPython `dict` benchmark, while also only being around 20% slower than an equivalent Golang `map` benchmark.

comment 3y ago · link · parent

Android vs. a 3 ton vehicle?

comment 3y ago · link · parent

"Server-side rendering" is destined to rule the future purely because of control. In the future consumer devices will be simplified, much more streamlined, and completely locked down. They will be used for the single purpose of displaying streamed, pre-packaged, pre-layed-out content from servers.

comment 3y ago · link · parent

Plenty of people find them funny. Stop being senstive for no reason.

comment 3y ago · link · parent

And nobody noticed because nobody reads CNN.

comment 3y ago · link · parent

Pipe down, it's just a joke.

comment 3y ago · link · parent

I mean what you are saying is true but how does it relate to mandated gigabit internet?

comment 3y ago · link · parent

That scenario could never have happened, by design.

comment 3y ago · link · parent

Is it possible to even create such a script for iOS applications?

comment 3y ago · link · parent

"If I was fabulously wealthy, purchasing this overpriced item might be reasonable" .

Yeah OK

comment 3y ago · link · parent

HN is no different than any other place on the internet. People on here are still just as gullible and manipulatable as any other person you encounter online.

comment 3y ago · link · parent

"freedom indexes" - get a hold of yourself

comment 4y ago · link · parent

No, it was on a local harddrive.

comment 4y ago · link · parent

Slightly off-topic: Recently I needed a way to add chapter information to 200 or so local MP4 video files of varying codecs (though mostly H264). It wasn't hard to get the job done with FFmpeg, though I was very surprised that adding such simple metadata to an MP4 container, with `-codec copy`, takes a surprisingly long time (around 5 or so minutes for an ~8GB file). I don't know why that is, as I am unfamiliar with the MP4 container format's internals, though I do assume that no re-encoding/transcoding was done (again, due to -codec copy). And it most certainly wasn't a simply copy-paste of the video data into a new file either, as that would've been way quicker. Nevertheless I just let the script do its thing overnight.

comment 4y ago · link · parent

Awful take

comment 4y ago · link · parent

So much bloat for a set of 16 RBG values tied to a name.

comment 4y ago · link · parent

$20m/year? With such a terrible codebase too, huh. Wow. Anyway what's the first letter of the place you work at?

comment 4y ago · link · parent

Governments and corporations.

comment 4y ago · link · parent

Wikipedia is a very effective medium for reinforcing the spread of false information and as such will never be "broke".

comment 4y ago · link · parent

Looks extremely unreadable and ugly. Guess that's what happens when you're tasked with creating a font based on the "rainbow flag".
12345
8