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

Why use a whole freaking library instead of just writing a one-line function?

comment 6y ago · link · parent

What are the applications for dithering these days? I understand it was needed when we had 4 or 16 or 256 color limits. But now we have 8-bit/channel displays, and 10-bit is becoming popular.

comment 6y ago · link · parent

Nuclear power in western countries has been regulated to the crazy safety standards (not to confuse with the military fuckups).

comment 6y ago · link · parent

I hope prison time for the execs.

But probably will not happen.

comment 6y ago · link · parent

That's what Intl.DateTimeFormat is for.

    var options = { year: 'numeric', month: '2-digit', day: '2-digit'};
    console.log(new Intl.DateTimeFormat('te-IN', options).format(new Date()));
    // outputs 16-09-2020

comment 6y ago · link · parent

2 interesting tracks out of a 100+, that's not a great result. I'm sure if you listen to 100 random tracks, you will like a couple.

comment 6y ago · link · parent

A few comments above you said:

> There are no sidelobes

comment 6y ago · link · parent

No, it's not a feature. It's a massive problem.

1) Pumps that can pump water 150 meters or a kilometer high are very expensive and require constant expensive maintenance.

2) Where will you pump the water to? Now you have to build huge storage tanks.

3) The water never stops flowing in. Sooner or later you will run out of storage space and your expensive hole will fill up with water.

comment 6y ago · link · parent

"Hey bro, awesome that you decided to store this expensive item X, I think I'm going to take it for myself, and you can't prove that you stored it or that you yourself didn't take it out".

comment 6y ago · link · parent

You're not making any sense. mgh is mgh. If you lift the blocks above or below the ground makes no difference. But you absolutely save a ton of money by not digging the expensive hole that will fill up with water.

comment 6y ago · link · parent

The deeper you dig, the heavier your cable is, and the more energy you waste on accelerating that cable.

And the much bigger issue is, you have to constantly pump out water that will inevitably fill the hole. And that only costs you money.

comment 6y ago · link · parent

People who are reasonable most of the time don't need that much laws to govern them. It's the cases of conflict, violence, murder, property ownership, property destruction, and other negative things that inevitably lead to the invention of government, judges, police, prisons. Every country in the world has them, and for multiple reasons.

comment 6y ago · link · parent

And thus you invented government. As soon as you have an independent third party deciding who is right, that's your judicial branch. And then you will need the police to enforce the decisions of that judge/referee.

And then when you start having insane judges who rule that raping a child is perfectly fine, you will want to stop it, and thus you will invent your standardized laws.

comment 6y ago · link · parent

Who are these people who we have evidence for such crimes and are let go?

Just don't pretend like killings of career criminals resisting arrest (like George Floyd) is what we're talking about.

comment 6y ago · link · parent

Hmmm, no, it's a false equivocation. What do you do with really bad / evil people who got caught doing evil things (there's enough evidence to put them in prison). I never heard a good answer from an anarchist.

You have to realize there are truly evil people out there. People who will assault innocent people, who will torture, who will rape, who will murder, who will do all of the above to a toddler. And will force the parents to watch. I don't want to live in a society where such people are simply let go, or get some bullshit therapy and let go.

comment 6y ago · link · parent

I was that guy. And at no point I thought of wasting $200 on some nude pictures or videos. The internet is full of them for free.

comment 6y ago · link · parent

Jetpacks have been around for years, tons of youtube videos of people flying them. You can even buy one.

https://www.youtube.com/watch?v=nj-Iwv5NJKg

https://www.youtube.com/watch?v=yBe9bucYPcY

comment 6y ago · link · parent

Thousands of people wrote Linux and all the parts that it uses.

comment 6y ago · link · parent

You can write a simple OS or a game engine, coding solo.

But you will never have enough time to write something comparable to modern Linux or Unreal alone.

comment 6y ago · link · parent

Most databases that we use are written by hundreds to thousands of people and take years to become reliable and mostly bug-free. It can easily take much more than 200 programmer-years.

comment 6y ago · link · parent

You can buy used sets on ebay even cheaper. They usually sell them by the kilo.

comment 6y ago · link · parent

This is classic gatekeeping. You can bring all your money to a casino, buy lottery tickets, make bets on horses. But somehow investing in early stage startups is suddenly an issue the government wants to protect you against.

comment 6y ago · link · parent

> Yet this crime still happened

Or it might not, because the prison is a deterrent.

> You’re going to have to be more specific with your stats.

People shot in NYC: up 206% compared to last year.

https://abc7ny.com/nyc-crime-increase-in-violence-gun/630297...

https://www.amny.com/police-fire/crime-stats-show-that-shoot...

Chicago: murders more than double compared to 2019

https://blockclubchicago.org/2020/08/03/chicago-sees-its-mos...

https://abc7chicago.com/chicago-crime-shootings-weekend-viol...

Seattle's CHAZ/CHOP zone (the left-wing socialist anti-police project, "summer of love", as the mayor describes it): 525% rise in crime.

https://www.the-sun.com/news/1073428/chop-zone-seattle-rise-...

comment 6y ago · link · parent

It's slow. That alone is extremely annoying.

The high-pitched noise every time you click on a link will get old very fast.

comment 6y ago · link · parent

It might look fun for a couple of minutes, but it's extremely annoying for the real world use.

comment 6y ago · link · parent

They will arrest the perpetrator. Or maybe they will get to you in time, if they are close enough.

> The threat of police locking you up surely isn’t doing it.

Because the criminals keep getting released, especially for political reasons.

Increased policing does work. Crime rates have been going down.

Decreased policing doesn't work - crime rates go up, just see what's happening in NYC, Chicago, Seattle.

comment 6y ago · link · parent

Haven't democrats been trying this for decades? Throwing tons of resources at the black communities? And yet their crime rates are still sky-high.

comment 6y ago · link · parent

You cannot replace the police with social programs. What are you going to do when somebody breaks into your house, assaults you, robs you, kills someone? Call your social worker?

Canada had an experiment of removing policing for just one day. It did not go well at all.

https://en.wikipedia.org/wiki/Murray-Hill_riot

comment 6y ago · link · parent

That's because that list isn't complete. Doesn't have prion diseases, pseudomonas aeruginosa, balamuthia, macacine alphaherpesvirus 1, raccoon worm, orthohantavirus, and a million unknown bacteria and thousands of rare parasites and viruses.

https://en.wikipedia.org/wiki/Prion#Diseases

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

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

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

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

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

Some of them we have no idea how to treat. Prions are 100% deadly.

comment 6y ago · link · parent

Depends on how much money you throw at the problem. It's a problem that's easy to parallelize.
1
495051
95