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

TL;DR: 500 times thinner, much cheaper, 25.2% efficiency, but not durable at all.

comment 6y ago · link · parent

I tried using Tesseract to OCR just some numbers on an almost plain background, and it failed around 2-3% of the time. Which made the whole thing useless, because I needed 100% correctness.

comment 6y ago · link · parent

Doesn't say how much she made from it. Guess: very close to zero, if not zero.

comment 6y ago · link · parent

I never understood why Unicode has bold versions of characters, that's the function of the font, not the character set.

comment 6y ago · link · parent

Obviously inferior to brainfuck, which uses just two characters.

https://en.wikipedia.org/wiki/Brainfuck

comment 6y ago · link · parent

You still need a programmer to find the bugs. I think it's actually harder to spot and fix a bug, than to write a simple method that involves one.

comment 6y ago · link · parent

It's hard to find a "new thing" to learn that you can reliably compare to the previous "new things".

comment 6y ago · link · parent

> i7-6700k because single core performance has remained relatively flat

Well, it hasn't improved tremendously, but it hasn't remained flat. You can get around 20% more in single core performance, if it's so important to you.

https://www.cpubenchmark.net/singleThread.html

https://browser.geekbench.com/processor-benchmarks

https://www.cpu-monkey.com/en/cpu_benchmark-cinebench_r15_si...

comment 6y ago · link · parent

No, he is not a good dude. He spreads pseudoscientific garbage. I don't care if it's based on some old tradition.

comment 6y ago · link · parent

It costs the employer a lot more than just the salary to have a salaried developer.

comment 6y ago · link · parent

Why wouldn't the pizza place order $100K worth of pizza from themselves to themselves? They don't even have to make it.

comment 6y ago · link · parent

Most of the time you don't even need a cluster of any kind. We live in a world where you can spin up a server with 3TB of RAM and 128 cores whenever you want, and it will cost you less than a senior developer.

comment 6y ago · link · parent

That sounds a lot like Deepak Chopra's pseudoscientific woo.

comment 6y ago · link · parent

> It is slower than comparable desktop app, but it is usable for real world projects

Which means that under a high enough load it will be unusable, while Blender will deal with it just fine.

comment 6y ago · link · parent

Brazil didn't do well at all. Try again.

comment 6y ago · link · parent

There's a third use: if you want a free ride, AWS free tier for DynamoDB is quite nice, enough to run a decent dynamic website.

comment 6y ago · link · parent

> I now keep the window slightly open at all times.

Which makes you contribute more to CO2 levels than people who don't do that. You literally let the heat escape in the cold months.

comment 6y ago · link · parent

When SSDs are comparable in price to HDDs. Which is... not soon.

comment 6y ago · link · parent

I'm pretty sure both AWS and Google Cloud have a free tier enough to run basic websites. I've been running mine on Google Cloud. AWS has all kinds of nice freebies too. Like 25GB of DynamoDB with 200M requests/month, and AWS Lambda with 1 million requests/month.

comment 6y ago · link · parent

If you're serving 100K+ impressions/day, you probably make a lot more than $5/month from it.

comment 6y ago · link · parent

Name one, just one country comparable to the US in population and the mobility of their population that did well. Once the virus got in, and remained undetected for a few weeks, it's too late to trace it like they did in South Korea (a tiny country with a very homogeneous population).

It's easy to judge it in hindsight, but think of it from US or most EU countries' governments perspective. You got barely any infections locally. The number of infections in China at the end of January was under 10K (a country with the population of over a billion). China just started their quarantine a week ago (23rd of Jan). Is it reasonable to quarantine the whole country at this point? I don't think so. Italy waited for a whole month to start theirs.

What is a reasonable set of actions in this scenario, in your opinion?

comment 6y ago · link · parent

No. You don't understand. By the end of January the disease already spread to the US. It was in multiple random places. We knew of 7 cases, but by now we know there were tons more asymptomatic and barely symptomatic.

And stop spreading fake news, Trump has never claimed the virus was a democratic hoax. He said the politicization of it was. Why would he close travel from China if he thought it was a hoax? You don't even think your fake news through.

comment 6y ago · link · parent

The US government reacted pretty quickly. They closed travel from China on January 31st. When the US had just 7 known cases. That was like a week (or a day?) after World Health Organization wrote on their website that travel shouldn't be banned because of this virus.

comment 6y ago · link · parent

I'm not sure why you're singling out the US. The overwhelming majority of the countries didn't avoid it. And the ones that did, got lucky, either due to the low population density, or due to the travel patterns.

For the US to avoid it, they would have to shut down all travel at the beginning of January, when it was a small local infection. Once the infected Chinese people traveled to the US and Europe, it was game over. The numbers were small at first and mostly unknown, but that particular virus spreads so fast, within a month it became a problem, and within another month it became a huge problem.

To avoid it in Europe and the US, the countries would have to severely overreact based on some (seemingly) small stats. Do you really want to do mass-testing every time there's a random outbreak in some other part of the world? Do you want to manufacture tens of millions of new tests because a few thousand got infected in Timbuktu? Is that a realistic approach?

What we really need to concentrate on is the solution, which is biotech. We need to find an efficient way to stop viruses.

comment 6y ago · link · parent

> just draw a rectangle to a Texture once, and create a bunch of sprites using that Texture.

But then all of your boxes are the same. Which is not what this benchmark is.

We can conclude that Pixi.js is probably faster for drawing sprites, but is definitely slower than Two.js at drawing randomly sized rectangles.

comment 6y ago · link · parent

> You can't spin up multiple request threads to make concurrent non-blocking queries in PHP.

I think you can.

https://dev.to/webong/using-asynchronous-processes-in-php-7i...

comment 6y ago · link · parent

It's mostly because YT actually pushes this garbage, while demonetizing or banning real people with tons of subscribers.

comment 6y ago · link · parent

Oh, it will be more than 100K deaths if there are no measures at all. Once you run out of healthcare capacity, you're on your own.

comment 6y ago · link · parent

How do you sanitize a SQL query that comes from the client?
1
535455
95