News for hackers. Stuff that matters.

greencar

Re:Wall Street Begins Trading Water Futures as a Commodity on Thursday December 10, 2020 @07:40PM (#25380851)
No different from ski resorts trading snowfall futures
Why do you think that an end to death is close but not close enough for the average aged HN reader
Re:The pandemic turned my parents into day traders on Tuesday October 27, 2020 @07:51AM (#24906514)
m'lady
Re:Pointers from Portugal on Addiction and the Drug War on Wednesday October 07, 2020 @10:18PM (#24714977)
They give you a good buzz, especially if you are a relatively opiate naive person. If you happen to have an addict friend that wants to sell their methadone or suboxen to buy real stuff, then it ends up being a lose lose for people trying to stop overall use
Re:Dependency on Monday August 17, 2020 @09:29PM (#24194389)
Source? I love npm stories like this and couldn't find it on the first page of google.
Re:Pseudo-Random vs. True Random (2012) on Wednesday July 15, 2020 @11:27AM (#23846613)
If you cross your eyes a little the second one shows a schooner
Re:Testers vs. TDD on Thursday June 25, 2020 @06:48PM (#23646654)
> The biggest benefit of TDD is that it removes the fear of breaking your code.

This isn't true at all. TDD forces you to write unit testable code, which will have lower cyclomatic complexity, looser coupling, and generally be easier to maintain.

Writing tests second always leads to a suite that is more expensive to maintain than provided value.

And unit tests suck for catching bugs anyway, it's really about writing better code up front, which will have lower bugs and higher confidence by definition

Re:Ad blocking with Raspberry Pi and Pi-hole on Monday May 04, 2020 @05:57PM (#23073807)
> Use it for ad-blocking in your home network and to finally browse the web, watch videos etc. without annoying ads.

It doesn't really do this as well as a browser adblocker, YouTube ads for example can't effectively be blocked with pihole