Better HN
topnewbestaskshowjobs
Log inSign up

bufferoverflow

5,986 karma · joined Nov 7, 2017 (9y ago) · 2,825 submissions

Submissions

comment 6y ago · link · parent

I hope she stays. The country needs more people like Manning.

comment 6y ago · link · parent

It's hotter inside your body on most days of the year, even if you live close to the equator.

comment 6y ago · link · parent

Maybe it is quick decision making, but the list of decisions is questionable. This one the most:

> events with more than 100 people forbidden.

Which still allows rapid infections of relatively large groups of people.

In Italy you can't even walk outside without a valid reason (buying groceries, medical emergency, solo exercising).

comment 6y ago · link · parent

You can't fly to the US without a passport. They wouldn't let you board the plane without it.

comment 6y ago · link · parent

Language / framework and DB choice does matter for performance. A lot.

https://www.techempower.com/benchmarks/#section=data-r18&hw=...

As you can see, the fastest Python implementation is just 11% of the top solution in Rust.

And your key/value store choice matters a lot. Redis is well known, but it's much slower than Tarantool or LMDB. Which is slower than RocksDB or Aerospike (though take this claim with a grain of salt, they can perform differently under different loads (writes, reads, updates, deletes) and different number of concurrent requests).

comment 6y ago · link · parent

How about you write a simple binary substitute that covers just the standard JSON (number, string, true, false, null, array, object), see how you do compared to the existing JSON serializeres / deserializers and MsgPack.

comment 6y ago · link · parent

It's unlikely you can write a serializer/unserializer that is faster than what we already have. And bug-free on complex objects.

comment 6y ago · link · parent

They are paying more than they have to for the low skilled workers. Which means that extra money is not going towards hiring better high skilled workers or just more workers in general.

Everything else being equal, an average business would be outcompeted if they did something like that.

If you still think what they are doing is efficient, take it further and further. Start increasing the salaries more and more. Very soon you will be able to afford one worker. A very expensive janitor maybe?

comment 6y ago · link · parent

This is very nice of the owner, but extremely inefficient economically. Which means most companies can't afford to do something like that. Only if your profit margins are huge.

comment 6y ago · link · parent

No, I need the citation of the source, not Vox's opinion.

comment 6y ago · link · parent

I have VSCode running and it takes up only 166MB or RAM.

Proof: https://i.imgur.com/nKenjcw.png

comment 6y ago · link · parent

[citation needed]

comment 6y ago · link · parent

There are much easier ways to generate true random numbers. Cover any webcam and read out the lowest bit information of every frame, it should be full of noise. This gives you a ton of truly random data.

comment 6y ago · link · parent

You can still fool that system by shipping a broken camera. USPS won't be checking the functionality.

comment 6y ago · link · parent

Tor is open source:

https://www.torproject.org/download/tor/

So, no undocumented issues.

comment 6y ago · link · parent

That only leads you to the server though, not to the person managing it.

comment 6y ago · link · parent

> Corona virus has infected fewer than 100,000 people and killed less than 1000

I heard this bogus reasoning so many times in the last weeks. You're comparing a disease that's global and reached pretty much everywhere to the one that's at its initial stages of spreading.

Coronavirus is highly contagious, at least 50-200 times more deadly than flu. It's exactly the virus you should be worried about.

When you walk with a flu into a doctor's office, he doesn't bat an eye. Coronavirus is treated in hazmat suits.

comment 6y ago · link · parent

Every time you Google something, you create an enormous carbon footprint. Every time you drive. Every time you eat. Every time you watch a movie.

comment 6y ago · link · parent

Yeah, BTC limited the block size, so transaction cost went through the roof. Thankfully there are many alternatives. BCH is great.

comment 6y ago · link · parent

Still ridiculous, considering it's just updating balances in a few rows of a database.

Cryptocurrencies, except BTC and a couple of others, are doing it right. A transfer should cost a fraction of a cent.

comment 6y ago · link · parent

> Say solar panels cost $2 per watt

Not for a large desalination project. You will pay close to the spot price. Which is 30-45 cents.

Your biggest cost will be labor anyway. And the osmosis membrane, which needs to be regularly replaced, unlike the panels.

comment 6y ago · link · parent

Stop spreading pseudoscience. There's no macro-evolution, there's just evolution. Pick up a biology book instead of your Bible

comment 6y ago · link · parent

No, don't waste your time on "intelligent design". It's pseudoscientific garbage pushed by the Christians.

comment 6y ago · link · parent

> Like... how many web apps do you stand up where you have one client you want to serve?

I think you confused "single query" with "single request". The goal of the benchmark is to make one query to the DB per request. The number of requests (clients) is in the hundreds of thousands.

comment 6y ago · link · parent

PHP is already one of the fastest languages. Hopefully JIT will make it even faster.

Currently it places #11 on the famous framework benchmark:

https://www.techempower.com/benchmarks/#section=data-r18&hw=...

comment 6y ago · link · parent

But not 17 lbs per person.

comment 6y ago · link · parent

That's not how any of this works. There's no massive mining traffic. Most of the mining is done in private data centers. They only broadcast their transactions when they "solve" the hash.

comment 6y ago · link · parent

They also had very useful "larger than 4MP", "larger than 8MP", ... options. It was easy to find very high resolution images.

comment 6y ago · link · parent

What's much worse is they removed the precise and custom image size search. It's now impossible to search for a 32x32 icon or a 3200x1800 wallpaper. This dumbing down and feature removal is sad and silly.

comment 6y ago · link · parent

It's possible the comments are fake or from real people but are paid for. This is a quite common tactic used by the russian propagandists.
1
555657
95