skysight-inc/HackerNews huggingface dataset:
At one point, the post-crash session restore on Firefox actually single handedly made me move to Chrome. Another reason was the fact that I needed to kill its process because the UI became unresponsive.
Chrome was fresh and snappy, not a fair comparison at that point but it was definitely fast. I never wanted to switch away from Firefox but I felt like I had to because it had become unusable.
I've switched back to Firefox since and all the previous problems were gone. It's been very reliable and if it did crash (which can still happen like with all software) it would restore my tabs just fine. I just like it better than I ever did Chrome and I certainly like the organization behind Firefox better than that behind Chrome. :)
In their hard drives, you can probably find Matlab, R, or (more recently) Julia files containing everything from implementations of Newton's method

This is a caricature at best. Lots of great, fast, commonly-used libraries for scientific computation are actually in C++. See e.g. Eigen, Blaze, Armadillo, MLPack, CGAL, Caffe, libsvm/liblinear,and GNU Scientific Library.

The ecosystem for such libraries in Haskell is currently (unfortunately) sparse. And in Python they are mostly wrappers around C and C++ code (apparently, Python programmers also like to dive in C or Cython when it needs to be fast).
> George had also retained the same I.Q. he had before becoming ill, Dr. Solyum said, and he returned to school, got a new job and is now in his second year of college. #3% in U.S. May Be Compulsive The story was also reported in today's issue of The Los Angeles Times.

I don't think he could have done so well in college if he did not have OCD in the beginning. The OCD got severe so he opted for suicide.

So what is the real lesson here? Let mental illnesses do their thing until they get out of hand? And then perform surgery to remove what made them gifted in the first place so their gifts could reign unfettered?

Or something else? Like incredible powers (mental illnesses) be given incredibly powerful management techniques for restraint. Isn't that how management works with highly talented members who are restrained from going too deep?
You can already use await [1].

Also, Traceur got a patch in master for async generator functions earlier this week.

[1] http://kangax.github.io/compat-table/es7/
> implement in Haskell something that is trivial and well-understood in Python and other languages.
Converting a custom AST (represented as a JSON query) into another AST that can be used to generate SQL is probably not simple with Python simply because there's no type safety while moving from one syntax tree to the other. In Haskell, the definition of the two syntax grammars (as types) itself solves a part of the problem, and then ensures the the programmer is writing functions that are taking the right input and generating the right output. So much more 'correct' code seems likely.

> concurrency in Python is hard. There are many reasonable ways to do it for the web, from multiprocessing using something like uwsgi or the excellent gevent
Multicore support? http://stackoverflow.com/questions/15617553/gevent-multicore...

> And I don't understand why memory footprint is seriously a factor here. Server runtimes may use all the memory available to go fast. As long as it fits, footprint seems a lot less important than other factors.
Using a server side programming language-runtime that would be able to use multiple cores and have a low memory footprint so that it would handle greater scale at lower hosting costs seems like a sensible move. Ofcourse, like you said, only if it is easy enough to do so. Which is what the author's point was I think.
Cross-posting my comment from reddit (had the article first):

Asheron's Call had a similar bug, although it took a while to be discovered. There was a buried feature that allowed you to turn/rotate, your character by clicking your mouse on the screen in certain locations. Your rotation speed was controlled by how far from the origin the mouse was located and ramped up to a capped rotation speed after a certain distance. The closer you were to the origin, the slower your rotation speed.
The game came out around 1998 when most people were playing on 800x600 or maybe 1024x768 screens and since the possible rotation speeds you could achieve were directly related to the pixel width of the viewport, there was effectively a limit to the slowness of your rotation. Fast forward half a decade and people are playing on dual 1600x1200 screens and you can now turn reeeally slow if you get your cursor in the right position (and enabled the rarely used feature). Well, you could combine this slow rotation with strafe-running to make your velocity vector scale out many multiples of your normal run speed. In-game, other people viewed you as essentially teleporting (game had slow updates and basic client-side prediction) huge distances at a time.
Not too long after this exploit was found, they introduced a new game client (for other reasons) that didn't have the mouse turn feature (I don't think anyone ever really used it in the previous ~7 years), so it was no longer possible to use. My friend and I had some fun nights on the PK server being able to just 'disappear' from a fight at will.
That's why I said Private torrent trackers, and not public torrent trackers.
It's just so easy to write a web-socket server these days in Go and other languages it might not be worth the trouble. I can only see something like this being useful in odd-ball use cases; of which none really come to mind right now but I'm sure I'd recognize it when I was faced with it.
You can scan for a huge chunk of this with https://www.tinfoilsecurity.com, and we're adding more every day. Most importantly, you should make it a regular part of your Dev cycle.

Note: this isn't an ad, it just seemed relevant to those interested in a "cheat sheet." Automating it by calling out to our API seems really relevant. :)
Why so small? I want a 27" e ink display, and I want it now!
Hmm, looks like something ate my line breaks and editing/deleting isn't working...
please note that such an indiegogo/kickstarter campaign would immediately receive my cash
There's an option for that in Visual Studio. It's not enabled by default, but I've found it handy for situations like this.

The other alternative is what C# 6 added: eliminating the need to rethrow in as many circumstances in the first place, so 'logically' unhandled exceptions can be actually unhandled.
There's a comment worth reading all the way to the end.
The charts in this article disagree with your "easy to learn" statement about fertility awareness methods. It is one of the least effective in typical use although theoretically it's not bad. As you say these methods are more useful for getting pregnant than for not.
If spermicides are useless why are they allowed to market them?
5% of female sterilizations fail? That certainly doesn't sound right.
Well, since everyone has to implement it, everyone should pay for it.
It would also be nice to see the chocolate experiment repeated in other desserts.
Well, since everyone has to implement it, everyone should pay for it. Otherwise someone who doesn't have the money to implement it would be "discriminating."
It amazes me that IUDs aren't more popular in the US, despite being widespread in Europe. There is generally some pain during the the procedure, and some heavier cramps during menstruation for a few months, but other than that it is a method with virtually zero side effects, zero ability to screw it up, and as good as it gets in terms of prevention. I know about 10 women in the US with IUDs (including my wife) and all of them recommend them with an evangelical fervor.
I strongly doubt that's what was meant.

Contraceptives require a lot of discipline to be used correctly. Did you accidentally try putting a condom on the wrong way? Don't turn it around, throw it away. Did you have diarrhea after taking the pill? No sex this month.

The effectiveness of a contraceptive depends a lot on the discipline (and personality) of the people using them. Many people don't even read the instructions that come with the contraceptives. That's why they are ineffective, not because partners lie to another about using contraceptives.
PowerShell can not pass anything structured unless the other end of the pipe is a cmdlet and even then there are times when the other end of the pipe is forced to interpret whatever is passed to it as a string instead of a more structured object like a dictionary.

So even within a controlled environment like PowerShell where everything is a cmdlet it is still impossible to pass only structured objects between commands.
I hadn't, looks like an hour of two of amusement.

While there are some occasional good points that could be converted in to solutions, I can't help but think that this book is more amusement than actual constructive criticisms well packaged.
It is worth emphasizing that weak measurements only (and can only) apply to ensemble averages. They work by making weak measurements on many copies of the same system (or equivalently, many identically-prepared systems) and then drawing inferences about "the system" from this. But it is not, in fact "the system" but the average over many copies of a system.

Bohr would likely have made a big deal over this, because there is no actual measurement on any single system that corresponds to the retrodicted inference, and that matters a great deal in Bohr's quantum ontology.
Really the ideal solution is to somehow make humans sterile by default with a pill that allows you to become fertile on demand.
Some myths have higher ROI than others.
Here is the paper presented by Prof. S. Z. Qian in September 2000 regarding a large trial of the Billings Method conducted in China:

http://www.lifeissues.net/writers/qia/qia_01nfpchina.html

"Due to its high efficacy, low expenditure and extreme safety incomparable by any other contraceptive methods, the BOM is well accepted by the Chinese couple of different cultural and economical backgrounds."

So, while I do not have enough background information on the chart provided by NYT, it doesn't seem to square with other known data.
I personally have no problem with using my real name, as I do here at HN.

However if I signed up with FB or Twitter, it would be far easier to automate the collection of my data.
As far as I can tell, the are no issues with the `function` keyword in csp mode, but the `Function` constructor, eg.

`Function("a", "console.log(a);")`

Your example is a callback with an anonymous function.

Do you have any links to discussions about your issue?
Not bunnyhopping, but similar idea a game called Gunz: The Duel had many animation glitches where you could cancel animation lock with higher priority move. The action would execute, but the animation would be cut in short with a shorter animation which allowed you to perform a new longer animation move.

Commonly it was called kStyle or "korean style" in west since the game was korean and koreans came up with the bug. It made the game everyone was doing it flying through the map with swords swinging wildly it was a lot of fun and definitely raised the skill ceiling and someone how it didn't seem nearly as cheaty as the bunnyhopper in articles video.
Yep, and on top of that they may be ineffective when combined with other medicine such as antibiotics.

With the way antibiotics are handed out in the US, it's not a given that this fact is made clear to patients that could be effected.
Well, yes to both questions, but on a macroscopic scale the wave equation can explain the collective effect of zillions of photons to more accuracy than you'll ever need.
Unsupported browser.

Desmos works best on your version of Android if you use the Chrome Browser.

(Close page in Aurora, no clue what "Desmos" is but I don't care by now)
catch if(Log())

Doesn't look great. It's not easy to understand what this code does. I'd better rewrite it this way:

catch if(IsExceptionLogged())

So we can see here "Is" keyword, it gives us a hint that this function returns boolean. We can see the main operation, and it's more human-readable. And we can easily understand what do we mean here. Because in case of Log() we have to think - should we catch if it was logged or if it was not logged.

Maybe it is useful in some cases. But unfortunately the code quality doesn't depend on the tools one uses, and it's nothing about language features. 99% of developers don't know how to use C# 1.0. There are so still a lot for them to learn.

Maybe even

catch if(IsExceptionHandled())

is better. Because I don't see any reasons why should we catch exceptions if it was logged. Yep, it was logged - is it a good decision factor to catch? Logging often can be disabled in configuration.
I mean the option to explicitly block any changes that generate a merge (that isn't a simple fast forward). You can set this on a git repo you fully control, but IIRC you can't do this on GitHub. So yes, it works fine until someone accidentally hits the big green button and generates a "real" merge.
Actually, I think you're looking for Server-Sent Events [1] for something of a pub/sub nature. WebSockets, on the other hand, are intended for realtime bidirectional communication over a single TCP connection.

Pub/Sub is much more one-directional. A single subscribe event initiates a stream of all published events. Server-Sent Events are more suited for this because the server will never have to bother checking the TCP connection for incoming data.

[1] http://www.w3.org/TR/2011/WD-eventsource-20110208/
PPX lets you generate show functions automatically. As for abstract types you can use "private" if you need to pattern match outside the module but wont to ensure that the structure can only be created by your module.
Might be a similar story to https://news.ycombinator.com/item?id=8927403, just for a different product. tldr; even if a drug's effect is questionable it can be put on the market or even recommended by official channels. As to the question why I can only guess, and my guess would be that money is the driving factor. Then again, I don't know anything at all about spermicides and whether they work (sometimes) or not so maybe someone with a better insight on the matter should comment on this.
I think it's the upfront cost, which is still a problem.

The only reason I ever got my Mirena IUD was that it was the first month Obamacare kicked in for mandatory birth control coverage and my insurance covered it. Before then, I wasn't willing to entertain the idea of an $800+ option when I was doing okay with other things (mostly nuvaring). Mirena was by far one of the best forms of birth control I had ever used though :)

There are definitely problems with the procedure and the IUDs themselves for plenty of women, too, let's not ignore that. But it is hard to screw up and it is a pretty easy method. I hope that better coverage leads to more IUDs and less unwanted pregnancies :)
I can't remember the last time I worked on an app where it was the network, and not disk IO that was our main limitation.

That is despite using arrays of SSDs on most of our newer servers, and extensively caching things in RAM when possible.
Not only the metal testing rig, but also the 60kg RF-absorbing sack of water holding the device in the earlier experiments.
Both. It was originally a bug, has since turned into a feature.
Horrible looking magic strings there. Isn't it better to just throw typed exceptions? Then you can catch(MyCustomException).
Generators in Python are a very useful feature (lazy sequences, like you said), so maybe I spoke to soon. However, I don't think people should be lauding this feature as some kind of solution to callback hell.

I just feel like priority-wise, users would benefit most from modules (which made it), async/await, maybe class syntactic sugar, then everything else.
I'm not surprised. The pill tends to have such effects, though sometimes very subtle, as well. For my wife it seriously reduced sex drive. Which we only figured out after she stopped taking it. Which in turn and in the spirit of the moment made us seriously question the whole anticonception-using-drugs thing: what is this scam? How did society let this ever happen? Millions of women paying huge amounts for something which basically makes them feel worse. Erm, what?
Of course we also realized it's not as black and white like that, and it does prevent pregnancy. But still, something to think about.
ECMAScript 6 is a mess

Now there's a completely new function syntax that doesn't use parens and has different scope rules

var odds = evens.map(v => v + 1);

Enhanced object literals:

// Computed (dynamic) property names
[ 'prop_' + (() => 42)() ]: 42

what?? So it uses parens if there are no params, but not otherwise?

Template Strings:

`In JavaScript this is
not legal.`

Seriously another String delimiter?

`Hello ${name}, how are you ${time}?`

Why aren't we just using #{} like everyone else?

// Construct an HTTP request prefix is used to interpret the replacements and construction

GET`http://foo.org/bar?a=${a}&b=${b}...

What??

Destructuring:

var [a, , b] = [1,2,3];

Is that seriously just whitespace and another comma?

Splats (spreads?)

f(...[1,2,3]) == 6

... means destructure?

This is not readable code:

let fibonacci = {
[Symbol.iterator]() {
let pre = 0, cur = 1;
return {
next() {
[pre, cur] = [cur, pre + cur];
return { done: false, value: cur }
}
}
}
}

for (var n of fibonacci) {
// truncate the sequence at 1000
if (n > 1000)
break;
print(n);
}

Symbols without a literal syntax: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
Jesus Christ.

Unicode:

"𠮷".length == 2

Awesome, still wrong.

Modules are cool.
Promises are cool.
Tail call optimization is cool.

This is not readable code:

// Proxying a normal object
var target = {};
var handler = {
get: function (receiver, name) {
return `Hello, ${name}!`;
}
};

var p = new Proxy(target, handler);
p.world === 'Hello, world!';

ES6 is a mess. Javascript just got harder.
PS It's also a bad idea to compare exception messages. Well, I know, it's a sample, but just wanna point that it's not the best one. First - exception messages could be internationalized. Second - general string comparison should be done with InvariantCulture, and case-ignorant (and usually strings are trimmed). And even in that case it's not a good idea. It's better to compare types, or message codes.
You are some dumb fucks.

https://www.youtube.com/watch?v=6kJXxGMeMbs
That's a potential problem with most hormonal contraceptives, not just the implant. That's also not something that all women experience. I've never had a problem beyond minimal weight gain with anything I've ever used (multiple forms of pills, nuvaring, depo, mirena IUD) and same for many of my female friends are in my situation, while I have some that only stick with very specific brands/types, and some that swore off birth control altogether.

I'm pretty happy that the implant is so effective for something so minimally invasive (in comparison to sterilization), personally, and I'll be considering it for my next form of birth control. I love what hormonal options do for me and I would never consider anything else.
They aren't useless, for instance you can use them in addition to condoms to increase the effectiveness.
I expected to see here things like negotiations and literature.

And, absolutely unexpected, I saw "Russian". 3 times.

Would you please explain?

P.S.
I'm a native Russian speaker.
Here's a New England Journal of Medicine article by Dr. Ross about the affair: http://www.nejm.org/doi/full/10.1056/NEJMp078032
Source video for the gif: https://www.youtube.com/watch?v=KYEyIGLRqW0&t=47

It really shows how much of an advantage it was if you knew how to bunny hop.
A popular feeling is that inventors deserve most of the rewards from their inventions. This is actually quite strange. Inventing is easy - you just find an idea, sit down in your spare time and work out the details for fun, and that's it. But to do business is different - you usually have to spend money before getting any reward and might lose everything you spent. People don't like that. It can also be boring, so they don't do it much. It makes more sense for the lion's share to go to the person doing the work that most people don't want to do. They're the scarce resource, not inventors.

I'm sure most people here have put a lot of work into designing/inventing something or other, but wouldn't feel cheated if they found someone else had seen their idea floating around the internet, rebuilt it independently to fit a paying market, done the hard work marketing it, and finally made money off it. Those are the hard bits!
"Monad" is a cool word, and they have a reputation of being extremely profound and obscure. Lots of people in the Haskell world, as you probably know, find this a bit overwrought.

Yes, the mathematical background for the concept is very abstract, like everything in category theory. But in a way, talking about that is like going into "Principia Mathematica" to explain how sets work.

You can also just say that monad is a name for the general kind of thing that you can use with the do syntax. That is, types that support binding variables and returning values.

That the abstract mathematical theory of binding variables and returning values is a bit abstruse is not such a big deal. People can use IO without really grokking the theory of monads.

Yeah, to people used to imperative languages, it's surprising that you can't just call an IO thing in the middle of your function.

But that doesn't mean Haskell makes IO difficult. And it doesn't mean Haskell is a bad choice for IO-heavy applications.

I worked at a web startup that used Haskell for its backend. It worked extremely well, was quite short and clear, and rarely had problems.
The 'tied tubes' type can fail because the tubes can grow back together. The implant type (causes scar tissue to form and block the tubes) can fail if the tubes are not fully blocked or something else happens to them.
I believe the medical community refers to this as "patient non-compliance". It's an important factor for doctors to consider; it often makes sense to prescribe a "worse" medication if the "more effective" medicine has side effects which often cause patients to stop early or to skip or forget doses. New formulations of drugs are often advertised to doctors as being just as effective as previous versions but with "improved patient compliance" due to easier dosing schedules (e.g., daily instead of every 8 hours) or fewer side effects.
I'm very tired of anonymous downvoting. I explained my opinion on the matter and I expect other people to write theirs, not to just vote comments.
I don't think it necessarily contradicts the NYT chart. Fertility awareness ~can~ be fairly effective.

I think the problem is that the linked paper only studied women for 12 months (try doing NFP for 10 years and saying it's effective) and they cherrypicked them too... normal cycles (!), partnered, specific age range, para 1 (!!!). That is definitely not going to match up with what NYT used and I wouldn't be surprised if any one of those points ends up making a difference.

I'm trying to get pregnant for the first time right now with still irregular cycles, and NFP for the purpose of pregnancy (educated, and I spend a LOT of time on a lot of communities about this) is a huge headache. There's no way I'd try this as birth control.
better than sterilization.... I didn't expect that

This is probably because surgery is always a tradeoff: You want to get the job done, but you don't want to go crazy with the scalpel and cause unrelated injuries. In the case of vasectomies, men usually want the smallest possible cut to be made, to the point that it's not necessarily obvious whether the procedure was completed.

For a really scary example of how surgeries can fail: Surgical abortions have a 0.2% failure rate. You might think that an adult armed with a sharp knife should be able to kill a fetus rather more than 99.8% of the time -- but the added requirement of not killing the mother clearly makes things more difficult.