skysight-inc/HackerNews huggingface dataset:
There are plenty of reasons to not like the DOM API but you're not doing a good job stating your case.

> It's not just "not very elegant", it's highly inconvenient and horrendously verbose, and generally fails to take advantage of or correctly integrate with the host language as it's originally expressed in a restrictive and alien IDL.

This is kinda what you already said before but haven't really clarified. What doesn't integrate correctly with the host language? It's certainly inelegant but "horrendously verbose" seems quite extreme. Creating, deleting and modifying elements is easy and straightforward, adding and removing event handlers is easy and straightforward; you rarely need more features than that. Could you provide some insights here?

> repeatedly adding children at the start of a possibly child-less element

What are you referring to here? insertChild has let you do this and has been part of the standard since 1997. Are you referring to something else or a specific issue?

> enjoy handrolling element-relative events delegation

What are you referring to when you say "handrolling"? Are you referring to jQuery's ability to set, say, a click event on a parent to target the children so the children can be removed without changing it? I hope that's not all you're referring to because that's dead simple to deal with and using jQuery's event bubbling isn't always very speedy. If you're creating these elements why can't you attach and detact event handlers?

> Element#matches is a pointless waste of API space

Matches allows you to look to see if a match exists without returning the data. This may provide slightly better performance if all you need to do is a check for something. I agree it's not entirely useful but a "waste of space" is a bit extreme; it can serve a purpose and it's a very small addition. Nit-picking on single methods isn't exactly helpful.

> such as the live nodelists which serve no other purpose than making implementations slower, more complex and event less integrable with the host language

First you complain the DOM API doesn't integrate into the host language and now you complain about live NodeLists when this is using a JavaScript semantic. You need to pick one and not conflate the two. JavaScript passes objects by copy of reference (meaning you can modify the original but not replace). Implementing NodeList to be live makes perfect sense here. Would you prefer the DOM API actually NOT follow standard JavaScript and do something...funny?

> So that means overly complex user code for no good reason but the base API being garbage. And jQuery does not "hide loops", that's just a side-effect of jQuery working at a higher conceptual level of manipulating nodesets.

The features you sighted previously allow you to act on multiple NodeList items without iterating through them directly. jQuery is still iterating through them in the background. How a loop is "overly complex" for "no good reason" I do not understand.
They don't need to make money; they earn more money off of advertisements served.

This plan enables people to be 'more online' while mobile, even in other countries.

Google has always been trying to lower the barriers to the internet (slow javascript -> Chrome (v8 engine), the internet baloons in africa, and now a global cellular/mobile internet service at decent rates).
Everything else isn't too slow, though, especially if you hit any meaningful IO.
That article is a year+ old. It was predictably shot down. Remember that the EU parliament is pretty toothless.

https://euobserver.com/news/128133 & http://blogs.wsj.com/brussels/2015/04/14/european-government... have some of the current status of what's left of it. Currently it looks like
there's a week or so of "roaming allowance" per year, and even this would only come into affect after a years-long transition period.

Telecoms are good at lobbying.
What you should learn from game programming about security is to:

Never thrust the client!

I'm baffled that in games like Minecraft, the server sends all blocks to the client, instead of just the blocks that are visible. Or that you can give yourself any weapon and infinite ammo in DayZ. etc ...
!!Con Registration Lottery
Well, our time in Oxford overlapped (I was there 2001-05)... I guess you were just more observant than me. ;-)

I did see some fancy cars, but they were always driven by college fellows or other "adults" -- never anyone of student age.
> whatever comes out of apt-get, it's almost always two years behind the last release and missing half the features I need

As a sysadmin, I love that, but I've had to come to terms with the fact that some developers have the attention span of hummingbirds who had Cap'n Crunch for breakfast ("two years old" is still very new software from an administration perspective).

So, I've basically accepted the fact that whatever stack the developers use I'll build and maintain directly from upstream -- with the price being that the version and extensions/whatever used are frozen from the moment a given project starts.
This can be used against the net neutrality in the near future.
http://www.heliyon.com
"Framework" at least pretty reliably means some form of code generation is going on.
There seems to be a growing view that inflammation plays an important role in depression. See for example http://www.biomedcentral.com/1741-7015/11/200 .

The idea is that depression could be a feedback loop in which negative life events cause the brain to become chronically flooded by stress hormones like cortisol and epinephrine.

These are pro-inflammatory factors whose chronic presence promote run-away inflammatory responses which kill glial cells, decrease neuroplasticity, retard neurogenesis, and also contribute to a whole constellation of other health problems like obesity, diabetes, and heart disease.

What closes the feedback loop is that this inflammation-mediated form of brain damage, particularly in the hippocampus and amygdala, directly compromise a person's cognitive ability to deal with life stressors constructively. The ability to process emotion, fear, and memory degrade.

Speaking a bit poetically, you could say that a severely depressed brain is one that has rewired itself to be a stress-processing circuit.

SSRIs no doubt work for some people, and the modern thinking is that they might be promoting neurogenesis through upregulating BDNF and other growth factors; there are multiple lines of evidence, one fun one is the fact that the maturation time of new neurons roughly matches the time it takes for SSRIs to start affecting depression (3-6 weeks).

Exercise also works, seemingly about as well as SSRIs for many people with moderate depression (Googling will provide examples of studies from the last few couple decades to that affect). I haven't read much about this but I would imagine that the metabolic and cellular stresses of a bout of heavy exercise (in which millions of cells die) promotes the production of growth factors all over the body, including in the brain.
No tethering with that plan.
It's not V1 - that one took a Firewire cable, not USB.
Agreed. The simplest thing to do would have been to dedicate to public domain (creative commons zero license) - https://creativecommons.org/publicdomain/zero/1.0/
Right. But if you do have a big ugly dish (or are willing to find one on the free section on craigslist and put it in your backyard) you can theoretically view nearly everything.

PowerVu isn't used by DirectTV or Dish for their home viewing. But it is still used by the major networks. Nearly everything from sports to entertainment is on PowerVu at some point, and then received and retransmitted by individual carriers.

Check out lyngsat.com.
Also remember if the product is not successful they just dump it and move on. As a former google reader and code.google user it feels kind of bad.
You could watch the GitHub repository. https://github.com/opsschool/curriculum
Ditto: "DO NOT SIGN ANYTHING WITHOUT PROPERLY REVIEWING IT."

If you aren't _completely_ confident that you understand contract law, then the instant they hand it to you just politely and pleasantly say "Thanks - I'd like to run it by my attorney" then split the scene completely.

If there is anything I regret about my career it's that I've signed ill-advised contracts.

Don't listen to any excuses about how "it's our standard contract" or "it's just boilerplate".

What that contract actually means depends on the presiding jurisdiction, for example in California Non-Compete Agreements are unenforceable; I expect that's the case in some other places but by no means all of them.

Even if you don't really have an attorney, claiming that you do will enable you to take the time you need to puzzle over the contract without them breathing down your neck.

If there are specific clauses that you do not agree with, draw a rectangle around them, an "X" across them, then your initials and the date in the margin.

If they simply will not sign the contract themselves after you've done that then my advice is that you get up and leave.

Twice now I've been presented contracts that specified that I assigned the employer all of the IP that I had ever developed. Not during the time of employment, but previously.

For example when I was five years old I worked out a novel and unobvious way to tie my own shoes. Those two contracts would have assigned my shoe-tying technique to my employers.

One of them I flatly refused to sign the contract, but was hired anyway. On my last day - after doing lots of good work - I signed a very normal NDA.

The other I Xed out the clause that assigned my IP. They were OK with it and countersigned it.

Make sure you have two identical copies of the contract and that you and they sign both - that is, if you sign anything at all. Take one copy with you afterward.
Sorry, I should have been more clear. I was talking about power efficiency.
2000-year-old headache cure
I've been there, and because of decades of experience and talking to other patients, I have to disagree. Psychiatrists in large part aren't as incompetent as patients tend to assume.

Your perception of their competence is mostly due to how much you like and get along with them. The next issue is the therapy they try initially, because different therapies work for differently well depending on your brain and your depression. But no doctor can know what works before trying it out.

Switching psychiatrists will most likely prolong your suffering, not shorten it.
Just curious, why specifically anime and not, for example, a novel?

EDIT: you were thinking about Animatrix, weren't you :)
How to Target Influencers on Twitter… and Get Them to Share Your Content
The editorial is here:

http://www.bmj.com/content/350/bmj.h1771

Some of it I agree with, some I don't; I'm going to bed, but my primary objection relates to why the tricyclic antidepressants fell out of use. First of all, they're not gone; if you go to a psychiatrist and ask for amitryptyline or imipramine, you might just get it. But they're only used in depression which doesn't respond to SSRIs, because in some patients tricyclics can cause mania, hallucinations, and muscle twitching in addition to the infamous weight gain and sexual anhedonia seen on SSRIs. As such they were rarely prescribed even when they were the only drugs available.

Otherwise I agree, but the question "why don't we use tricyclics?" has a lot of excellent answers.
> Some scholars really grok grammar, and are excellent at teaching it, yet they haven't written great novels. I'm thinking of William Strunk Jr (of "The Elements of Style" fame), for example.

Not sure that Strunk, or the successor Strunk and White, are good examples here; they didn't "really grok grammar", in fact, they were pretty bad at both understanding it and teaching it, and their advice consists of a lot of incorrect information and vague platitudes. E. B. White was actually a good writer, but much of his writing violates the prescriptions in The Elements of Style.

Geoff Pullum has a good rant on the subject, if you want more detail: https://chronicle.com/article/50-Years-of-Stupid-Grammar/254...

So, this is exactly why it's an interesting question to test if the suggestions in the "Effective C++" series are actually good suggestions, or are just someone expounding rules that sound good in theory but don't actually help in practice.
I'll take that as a compliment.
I compare this to giving a machine a hit with a wrench. So there is this cliché about machines which have hickups or stop working and then when you hit them hard enough, they work properly again.

But that doesn't mean they were designed to only work under continous beatings. Same thing with serotonin: In depressed brains, SSRIs will "hit" the brain, and that works surprisingly often, but it doesn't mean the brain was supposed to only work with high serotonin levels.
Stub Test Double Using Prophecy
To be fair, it's very hard to do, especially in a sandbox game - the computer has not only to have a good model of the world, but also a model of how the client sees the world.

And in Minecraft it's not really a problem, because the game is more cooperative than competitive.
I'm not sure if you noticed my question so I'll ask it again:

> As for communication, most other countries have a single dominating language. In Singapore, Mandarin should be the dominate language, but the government has intervened to give each language an equal footing. It just doesn't work.

Are you suggesting that the Indians and the Malays in Singapore should've had to learn Mandarin instead of English?
Definitely a great book! Once you're done, check out the MindShare books (especially their book on protected mode).
I had no idea where you came up with the "150,000 copies" figure but then I ended up seeing the same thing listed on a page about "More Effective C++", which has been in print for 2 decades. Even if he received $3-4 per copy sold for all those books, that's over a 20 year timespan, that only works out to $20k or so a year, although he does have other books. It's possible that Scott Meyers might be a sufficiently popular author to be able to support himself just on book income at a level comparable to having a decent day job, but at best it's a very close thing and even so he would be one of the extremely rare few who could do so.
Tokyo has 3 railway operators: Japan Railways (above-ground rail, but it runs the Yamanote line which hits all the important stops and it's packed like sardines in rush hour), Tokyo Metro, and Toei Subway.

I know that competing operators from Yokohama->Tokyo were putting up some combatative ads earlier this year, so this competition must actually help.
UnStockIt: Breaking creative blocks one sentence at the time
Are you up for an awesome coding challenge?
That is a deeply unfair misunderstanding of the pharmaceutical industry and the medical profession.

First of all, not all these studies are funded by the producers themselves. And even when they are, it is still hard or next to impossible to outright cheat. There are standards in place, and thousands of people are involved, of which hundreds would need to collude.

Has this happened? Yes, it has. And when it came out it had a devastating effect.

But ruling all scientific studies were these stakeholders foot some of the bill invalid is just unfair and dangerous!
While reading the rather hilarious blog of his, I stumbled upon this possible explanation why that sentence is gone:

I'm going to ditch LL/SC implementations, in part because they're just too unreliable and in part because they prevent the library from being able to simply offer the caller a choice - "garbage collection or not?" which in turn removes a TON of stuff which otherwise has to be explained to the end user.

http://www.liblfds.org/blog/index.php?entry=Quick-update
I'm citing it as a reason for somebody not being familiar with it. IE6 certainly was a restriction in some environments in the past five years or less. And that's on top of the reason that there's no good reason to use bind in what many people consider to be reasonably written code. Knowledge of these sorts of library features is a terrible proxy for actual ability to write good Javascript. There are better ways to test for that in a phone screen.
To support what you say here's the nice guidance for problem drinking combined with mental health problems. The guidance is very clear: you treat an alcohol addiction before you treat the depression because the depression is likely to become less severe as you treat the problem drinking.

http://www.nice.org.uk/guidance/cg115/chapter/Key-priorities...

> For people who misuse alcohol and have comorbid depression or anxiety disorders, treat the alcohol misuse first as this may lead to significant improvement in the depression and anxiety. If depression or anxiety continues after 3 to 4 weeks of abstinence from alcohol, undertake an assessment of the depression or anxiety and consider referral and treatment in line with the relevant NICE guideline for the particular
disorder[3].

So, it's true for the general population. But it's a bit rude to ask one individual if they had problem drinking or to suggest their illness was problem drinking.
S-lang is a great programming language.

And Jed (http://www.jedsoft.org/jed/) is an extensible text editor using it, and it's a decent and lightweight alternative to Emacs. Bindings are the same, automatic indentation works wonderfully well, and one might prefer S-lang to Emacs Lisp.

Jed remains my text editor of choice today, and the first thing (along with ag, zsh and cowsay) I install on a new machine.
Real programmers use editors that have virtual machines.

C-x M-c M-VirtualMachine.
Jason is brilliant.
But you feel like shit and may try to kill yourself. That's sort of the reason why stopping medication without external supervision is discouraged.
Well,

Actually, I think a lot of patients and researchers do care whether a drug "corrects a problem" or merely adjust brain chemistry some other way to allow a person to function. Something that merely someone "cope" might indeed be acceptable but it's not as highly valued as something that "returns you to normal".
Growth Hacking Twitter – How to get thousands of user in an hour
Do you know if it's pretty competitive to get the monthly membership at The Terminal? Only the first 10 people who sign up can get it right? ("毎月先着10名様となります。")
It is VMs, not physical machines.
Is there a scientific study pointing to this being a cause for sustained bipolar disorder?

It's true that some antidepressants tend to shoot a bit over the target, but that can be easily taken into account. One such "manic episode", which isn't really called as such because it is drug-induced, doesn't make a bipolar disorder.
My experience working in cable headends are that most programs that we watch on cable are delivered using DigiCipher (motorola's) CAS. There are always one or two PowerVu receivers tho: Viacom (MTV, A&E) is one notable feed. Also there are usually a small number of tandberg-style receivers with Irdeto or something.

Nevertheless I was glad to see that someone is figuring out PowerVu :) I would like to see the same for DigiCipher, as the 4DTV scheme uses it.

Both PowerVu and DigiCipher have similarities to the CAS schemes from their respective manufacturers for cable settops, too.
In the future, people who write JavaScript without a framework will call themselves "real programmers".
The Man Who Spent a Year Studying Xiao Long Bao
+1. Concurrencykit is awesome and really well-maintained.
Hi there, I'm Kerry - one of the researchers who wrote the paper. Basically, you have a molecule with a bunch of carbons bonded to hydrogens - like R-C-H (where R is the rest of your molecule). Then you mix in our catalyst (K-OtBu, the potassium tert-butoxide catalyst) and a silicon compound (let's say Si-H) and then stir it up, and you get your final product: R-C-Si-H! A very simple explanation for what is no doubt an extremely complex mechanism.

A bit about the specifics of that quote - so we don't know the specific way this catalyst works, just that it works (we're working on finding it out!!) But we've observed several important things - and one of them is that the potassium ion in that potassium tert butoxide salt is absolutely necessary for the reaction to go. Analagous ions like Sodium or Lithium (going up the periodic table) don't work AT ALL. You NEED this potassium ion - which has never been seen before in chemistry, really. You'd expect sodium and lithium to maybe work less well, but to not work at all? Something weird's going on.

Let me know if I didn't answer your question - I can probably get a bit too technical sometimes, habit really :(
As far as I know they use radar technology to spy on their targets. That was what I was referring to. I didn't read the article that thoroughly, I just picked up on "radar" signals and remembered hearing about drones having three targeting/surveillance systems....
No, a `normal USB Power brick´ doesn't suffice.

It has to reliably provide 5 volts and at least 700mA (depending on your Pi model and peripherals). The Pi is more sensible to the voltage than the amperage.

See http://elinux.org/RPi_VerifiedPeripherals#Power_adapters for reliable information about that.

The Raspberry Pi forums are filled with "90% of the time it's the power supply not up to the specs, please check the specs" messages for any power and `random crashes´ related problems.
There was one particular Rolls driven by a prof who'd written THE book on Physical Chemistry, I remember seeing that quite often.

Did you not think people wore some strange clothes? I was back last week and saw loads of kids in suits. These days it just screams "first day at work".
In the future, JavaScript will be the virtual machine of many languages. But maybe "real programmers" still will use JS code directly.
Wow, it sounds like you had bad luck finding places.

I find Tokyo 10x better than SF or LA for places to hang. In SF or LA they are either all full, or you have to by stuff every 2 hours which makes me fat, plus I can't leave anything out so after a coffee or two I need to use the restroom and I lose my space because you can't leave a notebook unattended in the USA. The only exception is maybe the Workspace Cafe in SF.

In Tokyo there's co-working spaces everywhere, they are cheap (especially when you take into account free drinks). Have worked from plenty of starbucks as well, except on weekends when they're full. The one behind roppongi hills that's open till 4am has been great. The one at the corner of Meiji-dori and Omotesando on the 6th floor is huge and been great too. Just don't go on a weekend / holiday.

I'd be curious to know which cities you think are good. I traveled to a bunch of cities in Europe last year and my luck was like yours in Tokyo. I looked up places, checked them out, all were horrible. But I was only in each city for a week or less so maybe I just failed to find anything like you did in Tokyo.
MCRed, I used to work at AWS too. It would be nice to get in touch. How can I contact you?
Really depends on when 4K monitors are affordable and most countries have high-speed internet.

4K monitors are still pretty pricey. I'd be more willing to purchase one once I can replace both my 120Hz monitor and my secondary with them. Then again, what's the point of getting a 4K monitor, when most of what I do is gaming, and GPUs can't really do 4K yet?

Here (in Finland) you can already get cheap, high-speed internet (no caps), so it's not a problem for us, but who's going to offer a service that's more expensive to run (compared to 1080p video) to such a small possible customer base?

When USA (and other large countries) get better internet, I'm sure the services will follow.
A very inspiring story of perseverance and the ultimate payoff. I wonder if it will take off the way the discovery and subsequent development of the transistor (which had a similarly difficult birth process) did for electronics.
Indoor farm could help bring fresh produce to food deserts