Hacker News new | past | comments | ask | show | jobs | submit | more gregory144's comments login

Can't the client side do this already (with HTTP/1.1) by turning off cookies?

Or are you pushing for browsers to turn off cookies by default?


I bet the "redefinition" is intentional.


Why do you say that unit testing is pointless in Haskell?

Edit: My bad - I missed the 100% part.


He said that aiming for 100% code-coverage tests in Haskell is pointless, not that unit-testing itself is pointless. Which I think is a pretty reasonable given that a lot of bugs cannot exist by construction in a lot of Haskell code.

Personally I very much enjoy unit-testing in Haskell especially with the new tasty library which makes combining all the Unit/QuickCheck/SmallCheck tests very pleasant.

[1] http://hackage.haskell.org/package/tasty


Indeed. I'm not a fan of 100% code coverage tests in any language, but it's especially apparent in Haskell where, as you said, if code compiles (and you keep most of your functions pure), there are whole classes of bugs that simply cannot exist.


"100% code coverage unit tests is a pointless endeavor"

Thirsteh said 100% coverage of unit tests is pointless, not that unit testing itself is pointless. I'm not totally sure what thirsteh means by "100% is a pointless endeavor" though.


thirsteh said that 100% code coverage is pointless, not that unit testing is pointless.


I don't think "swatting" is a common enough term to assume that everyone knows what it means. I certainly didn't.


exactly. How of often does it actually happen?


I don't have stats for you, but it's been written about before:

http://www.theverge.com/2013/4/23/4253014/swatting-911-prank...

also:

http://www.fbi.gov/news/stories/2013/september/the-crime-of-...

Seem's to be a relatively new thing in the ever-escalating war for the "lulz"...


IIRC, the term swatting stems from the eighties, perhaps even earlier by phreakers and such. It could be that it's more popular now, since there are more hackers/douchebags on the internet now than there were then.


It's possible he did consider that fact and the kettle wasn't on the same circuit with another high draw appliance.


The author responded: "Everyone else in the house was asleep. But yes, you’re right, I have overlooked that possibility"


Many would argue that email IS broken.



It will probably be more accurate than doing this poll manually (many people won't submit their data).


You'd have to make a network call for each x,y coordinate you test in that case.


So... Angry Birds cures cancer?


Nothing cures cancer in the sense that people mean when they speak of "curing cancer" as some sort of saintly alternative to "living your life."

Many thousands of people are treated for cancer every day. Some of them survive significantly longer, or are significantly happier, as a result. None of the many, many people who work tirelessly to treat the sick are ever credited with "curing cancer," though that is what they do, every day, one person and one day at a time.

I worked as a cancer researcher for three years. It was kind of embarrassing. People tend to fawn over you. You get a lot of credit you don't deserve. I never cured any cancer that I know of. I gave cancer to a lot of mice. Few of them ever recovered.

Downstairs in the shop were some machinists. They didn't have Ph.D.s. They made custom radiation shields for patients undergoing radiotherapy. When a beam of cell-destroying radiation blasts the tumor inside, say, your head, you want to be sure it blasts as little of the rest of your head as possible. Your future depends, in part, on the quality work of the machinist who carefully builds your radiation shield, just for you, according to the plans drawn up by your friendly medical physicist.

These people cured cancer. For all I know they've been laid off by now, replaced by a terrifying molten-lead-extruding 3D printer or something. But they should be proud. People are alive today because of their work. People survived long enough to see graduations and weddings because of their work. People suffered less because of their work.

If we ever really do "cure cancer" in the grand-visionary sense of having a magical vaccine against all cancer, people will rapidly become bored of it. Every fifty years or so there will be a resurgence of cancer because folks will have forgotten what it was like, but the rest of the time nobody will care. There will be a small but crucial guild of people who guard the knowledge and procedures for keeping cancer at bay for all humanity, and nobody will know their names except at industry conferences.

But that's okay. This is how life really works. It's really big and you live your part of it. Only in the movies does a bright light shine down out of the sky when you do good things.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: