skysight-inc/HackerNews huggingface dataset:
Decades ago I got out of the habit of writing C code that was easy for the compiler to translate into VAX machine language instructions. I didn't realize those skills I let atrophy might someday became useful again for JavaScript.

When do you think schools teaching JavaScript should instruct their students how to write easily minifiable code? Is that an appropriate topic for JavaScript 101, or is it more of a graduate level thing?

Can you please suggest any good online course where I can learn this important skill that you're suggesting all JavaScript programmers should have?

Has Doug Crockford written a book called "JavaScript: The Minifiable Parts"?

Does Google test job candidates for the ability to write minifiable JavaScript code on the white board during job interviews, by giving them a dry erase marker that's almost run out?
Maconomy.
cffi is mostly our answer. The cpyext layer (the layer that emulates CPython C API) is there too, but it's prone to be slow due to the need to emulate some other model of a VM. It's possible to do a better job, but just noone really feels like fighting with this monster.
The blog post mentions that HHVM uses parts of Proxygen.
How tested is the websocket support? Does facebook use this for TLS termination?
Did you use reflux before writing McFly?

I like reflux but I'm worried it may be leading me astray from the core principles that make the flux architecture so useful. It's one of those things you can't be sure of until the app grows complex enough to start running into edge cases (such as waitFor and the single dispatcher, separation of actions from action creators, keeping async code out of stores, etc).
Thanks! I'll keep you posted. The teams is technically working, but I haven't created the ui yet, as I assumed it would take some time before someone needs it :-)
Out of curiosity why don't you suggest using the fb.me urls in production? It would be nice to take advantage of the reach of Facebook to know that a decent percentage of users would have hit the CDN'ed react url before hitting non-fb site(s).
Does anyone else think that it is rather sad that the comments at the bottom of the article are bickering about the the licensing issues of the poetry? Although, it is an important issue, this article is probably not the most appropriate forum for the discussion.
Do they disclose them before or after they exploit them?
It would be neat to see the same thing, except using two OCR libraries instead of just one, and requiring both libraries to be able to read the message. I imagine the letters would start to look a bit less insane.
That is the route that I'm currently going down. So far, it has been a joy to work with. My only complaints to date about React have been the incompleteness in the documentation about events, and the jsx attribute renaming (ex. className="foo" => class="foo"). I also worry (but haven't been disappointed yet) about pre-1.0 instability.

I really like the acknowledgment that UIs are fundamentally state machines, and React's explicit connection between state and rendering. I do wish they would introduce more featured state transition/events modeling...Something similar to Jake Gordon's javascript-state-machine[1] library would be amazing.

[1] https://github.com/jakesgordon/javascript-state-machine
I'm currently finishing my degree while working in a smallish start-up in Buenos Aires.
From my experience, if a white person is around lots of people of color, they're likely to be more welcoming and inclusive of people of color.

So not only could the woman in the story be more comfortable because there are more black people, but also other races who are typically more welcoming
Universal Fund
I can't help but to wonder if the tobacco lobby is somehow involved. For decades society fought against smoking and has largely won. So, what happened to all of those tobacco crops? I wonder if that industry is behind the legalize movement so they can shift their production to another crop.

Interesting historical fact is that initial tensions over marijuana came about because slaves, and later Mexican labourers were frequent users. White plantation owners (tobacco farmers) took issue with their practices. So, at least in part the banning of marijuana can be partially attributed to racism.
Websocket support isn't out yet unfortunately. It's something we hope to get to soon.

Our reverse proxy uses proxygen and does TLS termination too, yes.
Google Guarantees Inbox Invite by 5PM PT If You Ask During Today’s ‘Happy Hour’
Interesting idea, would definitely make you increase the efficiency of your time at the editor if it costs you $50/hour! But you don't need 1000 cores to fire off a bunch of search requests. Network calls are generally IO bound so even one or two cores can handle lots of requests.
"Everyone knew people who had them, knew how awful they were..."

I wonder how you substantiate these claims if you've never been part of that generation?

While I'm not against vaccines and only possess a healthy skepticism of modern medicine--I recognize that it's as much commercial as about solving problems, and therefore will be pressured by corporate politics in some fashion--I was also a kid when measles were prevalent.

In our community, before the vaccinations were prevalent, it was commonplace to have a "measles party." If someone got the measles, you went over and exposed your whole family to get it done, since it's much more damaging to adults (http://en.wikipedia.org/wiki/Measles#cite_note-15) and better to get "immunized" early.

So speaking from experience, I can't say how "horrible it was;" they were treated no differently than influenza and are certainly no more dangerous, at a rate of 0.3% deaths, compared to usual influenzas at 0.1%.
> globbing doesn't know or care what switches are, but you will

I fondly remember learning the hard way to prefix my shell globs with paths, as in "rm ./*". I was root on that system, too.
Once the plane leaves the ground it enters federal jurisdiction and medical marijuana is contraband. I learned this during training for my pilot's license. One of the examiners in my area liked to ask candidates about this during their oral examinations and all the instructors knew to make sure their students knew the right answer :)
Henry Higgins claimed better precision than that in My Fair Lady.
IBM Coremetrics. If your company is considering using it, run to the hills! Sure, it might offer greater accuracy than Google Analytics, and there's good live chat support, but even the simplest of reporting tasks can end up being hugely frustrating. I liken it to trying to run a kitchen when you only have access to the serving hatch.

If you're looking to develop an alternative, recognise that analytics tools should give you easy access to the raw data. I wouldn't want anything less.
Has the author made any insights into reverse-engineering Google Docs’ spell checking?
Can a Card Game Stealthily Teach People Genetics?
Even if you like the digest loop, why do you need the rest of the framework? Why not just use a lightweight alternative that provides that functionality?

The digest loop is highly flawed, as the article describes - it is not performant, and requires disabling for many common scenarios.

Worse, and I don't see this mentioned, is that the digest loop is not tied to any notion of lifecycle - you can accidentally keep retriggering it until you bomb out after 10 loops.
dcsommer (author of proxygen) gave a great talk about this at the last Sourcegraph open-source meetup. Here's the video: https://www.youtube.com/watch?v=-yxQIRl6Qic
I disagree somewhat. Repetitious physical work can make you lose focus quite easily and that is when most accidents occur. On the contrary, office employees that drink lots of coffee and being drowsy doesn't have to do with work necessarily, but with the their bodies being immune to the caffeine.
US Coast Guard patrols down here in Costa Rica all the time specifically hunting for drugs.
It's absolutely massive when you consider that locking up humans in cages is perhaps not the sort of thing we ought to encourage by making the practice lucrative.

The existence of even a single for-profit prison provides a perverse incentive to put the marginal criminal into a private, profit-generating cage rather than a public, tax-draining, politically-risky rehabilitation or diversion program.

Furthermore, it is an invitation to corruption. Remember the judge that was sending juvenile defendants to a reform camp, often regardless of the merits of their cases, because he was getting kickbacks from the camp?
I'm not saying it was good, only that it happened.
The false discovery rate isn't the same as the type I error rate. It's larger. If, for example, 10% of articles have publication bias, your test has 100% power to detect these, and the type I rate is 10%, your false discovery rate will be 47%.

(That is, if you tested 100 papers, you'd get 10 true positives and 9 false positives, so 9 / 19 = 47%.)

So in that ideal scenario, about half of your published findings of bias would be false positives. This means that your analysis of Psychological Science would overestimate the base rate by a factor of 2. Of course, the overestimation amount depends on the true rate, which we don't know.

Now, you say the true type I rate is much smaller, so perhaps that solves some of the problem. But I doubt you detect bias with 100% power, and smaller power means a higher false discovery rate.

Thanks for the link; that looks like what I was hoping for. It'd be interesting to see something similar for a broader sample of papers (not just those started as theses).
http://dbinbox.com

I don't really consider the project itself to be objectively cool (it lets you receive files that are too big to send over email directly to your Dropbox folder - you can send files up to 1 GB to me at http://dbinbox.com/cgenco), but it's really cool to me personally because:

* it's the first project I implemented payments through Stripe with (which is an amazingly cool API)

* it's the first side project that's generated enough revenue to quit my day job

* it gives me an active excuse to make other, cooler things that will eventually spin off as their own projects (like a cheaper Mailchimp integrated with Rails on SES)

* it's the first time I've ever needed to scale beyond one server, so I get to learn all about multi-server deployments and keeping your data (on RDS) separate from your app servers separate from your worker servers

* I'm getting really good at chugging through support emails, and thereby email in general. I've got a really nice inbox 0 flow going on that I plan to write about soon

I also now get to work whenever I want, take as much time off as I want, and not overanalyze small purchases because it's likely I'll get a notification from Stripe that I've just received an order of magnitude more money than I'm deliberating over.

It's a blast :D
I am pretty confused by this article. In order to simulate gravity, you have to have already decided on a direction of time, right? You'd know if time was running backwards because gravity would push things apart rather than pull them together.
That should almost never be the case. If you find this to be a frequent occurrence, then the code base in which you are working is not designed for the problem domain to which it is being applied.
Learn by example with Real Python - http://realpython.com

(I am the co-founder)
I'm flattered, but I'm just an author. Proxygen is the work of about a dozen people over 4 years at Facebook.
clickable - https://github.com/arteria/django-compat
If we're picking characters to use to cause files to sort at the top, I'll stick with '!'
I wonder how much sensitive information is inadvertently pasted into a browser location bar or autofill text box that's silently captured by web apps like Google Docs?

I know I've accidentally done the "paste password" into those places accidentally at times.
Google has run TV adds of this sort in the past.
It's true they have a financial incentive to maintain current drug laws, but those same incentives exist for many important roles.

If someone comes up with a cure for cancer, a lot of oncologists are going to be out of a job. Does that mean that oncologists are actively suppressing cancer cures?
Aren't the vaccines supposed to protect us from the anti-vaccine movement? Oh right, they don't always work so we need herd immunity. How about this:

Make eradication a priority rather than endless vaccination programs that look like corporate welfare. I know this is actually very very hard.

Stop telling people the mercury really isn't a problem and just quit putting it in there as a preservative. This OTOH is not hard. I'm not going to debate weather the mercury passes through, just pointing out that we don't even need to have the discussion. I know cost is supposed to be a factor, but when my employer is having someone come to give flu shots "for free" I don't think the cost difference is too much for a first world country. Eliminate the concern rather than worry about convincing people.
Startup Toolkit #2
Ah, the No True Scotsman finally arrives to the party.
Because some people want Linux and will pay them for Linux hosting
Data Gravity: a physics analogy may help you visualize the data problem
> I think this author brings her own fears about being included and being different with her.

I think that was sort of the point and she addressed it.

> Who cares if you're the only person of a certain race on a team? Why is this significant?

I spend a lot of time with my coworkers. It is important that we can relate to each other and perhaps even more importantly that we feel like we can relate to each other.

Being paranoid about being an outsider isn't some crazy way of thinking. People perceived to be outsiders are frequently ostracized and we all know it.
I agree in every respect, but also hesitate to say lives "worse" than our own. Different indeed, but I don't have an inkling of how to understand any of the varied Chinese cultures or social classes. Nor can I fully appreciate what would be required to compare the quality of those lives, with such different belief structures and goals.

I can only see a beautiful soul snuffed out and wonder why he chose that route. But then, even that is skewed by my culture of freedom and my religious beliefs.
I am struggling with the anti-vaccine movement right now.

My daughter - 18 months - has had her basic vaccinations, but is late for her MMR due to my wife's concerns.

I find it incredibly difficult; for every rational argument, there's an irrational "What about X" counterargument.

The fact that every rational explanation is greeted with another absurdity reveals the sad truth: she -and the other anti-vaccine people I've met - aren't interested in the truth, only following their faith that all vaccines are bad. We're based in Poland, and there's a huge amount of plausible-looking anti-vaccine information out there.

Most unhelpfully, a child in our social circle recently had to be hospitalised after a one-in-a-million allergic reaction to their MMR.

I'm close to breaking point; my marriage and life is otherwise healthy, but I can't idly stand by and leave my daughter and wider society vulnerable. God knows what'll happen when I she gets vaccinated behind her mother's back; I don't hold out much hope.

Wow, this turned out longer than I expected. Has anyone ever successfully convinced a anti-vaccine spouse? I'm at my wit's end.
Viget - Durham, NC and Boulder, CO - Rails Developer INTERN

As a software development intern, you'll develop web applications using Ruby and the Rails framework. You'll build and launch several applications, starting with a simple blog and culminating with your own custom creation. You'll embrace test-driven development—that is, writing tests for all functionality before writing the code itself. You'll join in monthly developer meetings, hack nights, and pair programming. You'll take part in meetings with our clients to see how development expectations are defined for projects from the outset. Throughout the summer, you'll meet weekly with our Senior Developers to discuss your progress.

Learn More and Apply: viget.com/internships

Viget is an Equal Opportunity Employer.
You’ll also see that the history of marijuana’s criminalization is filled with:

- Racism
- Fear
- Protection of Corporate Profits
- Yellow Journalism
- Ignorant, Incompetent, and/or Corrupt Legislators
- Personal Career Advancement and Greed

These are the actual reasons marijuana is illegal.

Some messed up stuff right here: http://www.drugwarrant.com/articles/why-is-marijuana-illegal...
That is not a deadlock. That's a paused thread a running thread is waiting for. If you unpause all the threads again your program should continue as usual. If not then you have some fun debugging of race conditions ahead of you. (Ignoring time outs and watch dogs)
That's what I was wondering, considering we have something like that for a live document in most IDEs (remembering changes character by character and the like).
If a document needed to be played back each time to see what it was then it would suck, you would need a format that both represents the final product and also has all the history in one file.
What in particular don't you like about Maconomy?
I wonder how common this type of accommodation is in Paris? This would be great if there is also a cooking area in there.
My understanding is that Neovim will make it much easier for plugins to execute tasks in parallel and in the background.

I'd use that for running ctags on save without blocking the editor, for example.
Stop telling people the mercury really isn't a problem and just quit putting it in there as a preservative.

That's half the problem!

Mercury hasn't been in vaccines, and the confused compound hasn't been in vaccines for at least a decade:

http://en.wikipedia.org/wiki/Thiomersal_controversy
It's not at all clear that Foxconn is worse than the rest of China, as far as suicides go.

http://en.wikipedia.org/wiki/Foxconn_suicides

Foxconn is poor quality compared to (what's left of) USA labor, and that is a fair point to address, but Foxconn is not poor compared to Chinese economy.
MS's customers can run Linux on Azure. Although I'm sure somewhere out there MS must have had a Linux server affected by this..
I'm sure they share them as soon as they discover someone else is aware of the same exploits.
And yet, if they made a cheaper iPhone, I'd probably buy it without much thought about how it was made. Oh technology, thy double-edged sword of irony.
As someone who is currently building out some products with Firebase I don't think the cost to swap platform would be too high as long as you isolating your data layer properly.

I'm writing it with om/clojurescript; however, the same would be true for reactjs or any declarative setup. The only code I would need to rewrite would be the read and write hookups to the server.
" Already there are government agencies that automatically delete internal communication (e.g., emails) within 30 days."

Or they claim to have deleted it. And maybe, technically speaking, it has been deleted from their servers. But by then, who knows where it's been copied to. By then it might be on systems completely out of their control.

I think you hit the nail on the head: "The only secure data is data that doesn't exist."

No guarantees or assurances from the corporations or the government can change that.
This is pretty cool. Has there been any performance comparisons between this new technique and HTML5 WebGL?
Viget -- Durham, NC; Boulder, CO; DC area -- Front-End Developer INTERN

As a Front-End Developer Intern, you'll spend your summer working alongside our designers and developers. You'll meticulously build out design compositions into HTML/CSS for integration into backend systems. You'll join client meetings to experience client presentations and design consultations. You'll meet regularly with your Advisor to discuss your progress, and you'll participate in monthly team discussions.

Learn More and Apply: viget.com/internships

Viget is an Equal Opportunity Employer.
Is there any reason why you are not streaming data directly from source into Elasticsearch by running Logstash at source servers?
Yeah really good results, conceivably useful for compression. It be good to know the vertices count in your final penguin images.
Sure.

First of all, lowering attack surface is the least intelligent way to improve security. It's like you have a house with a lot of windows that people could break into, so you cut the house in half to reduce the number of windows. What works much better than that is auditing and hardening the security of the house and its windows and making strategic decisions about how they work.

For example, many people argue you should remove compilers from your system so attackers can't compile exploits on the host. But now the attacker can just push code there, or try a bunch of code in trial-by-error.

Other people argue that any piece of software that isn't necessary should be removed, in case one of them has a vulnerability that could be used against you. Those vulns (for example, priv escalation vulns) could be eliminated by a simple audit of permissions, MAC rules or hardening patches, which would also drastically increase the overall security of the system. But people pick what appears like a simple solution because they don't want to think about it.

I think you use the tool that works for your use case.

If you were designing flight control software for the space shuttle, a whole virtual machine + OS might be overkill for your application, because you have a very specific set of operations to deal with and you need it done in a very specific environment, and you probably won't need to dynamically allocate extra resources in the middle of flight.

On the other hand, if you're just serving static http content, your requirements are very minimal so you can use just about anything. Any OS, any web server, any content provider, any security configuration, etc. Due to its very narrow set of operations and few requirements, it's really easy to secure no matter what you use.

In this guy's case he could have just read a book on SELinux and written a policy for a ridiculously secure web host over a weekend. Instead he's using some obscure bleeding-edge pseudo-operating system which he'll probably never use for anything else once he realizes how impractical it is, and getting marginal (if any) security benefit. He even admits he DoS'd it by accident. The only reason he's doing this is he thinks it's retro and cool.
Aloe Blacc: Streaming Services Need to Pay Songwriters Fairly – WIRED
How's going your Google Inbox experience?
Another alternative is USA companies paying closer to USA minimum wage. If that means more automation instead, that's fine (more efficient production), and the unemployed can use their additional free time to fight their supposedly socialist government to share the wealth.
Also, in the US, people are willing to work full time at whatever job will provide health insurance.
Technology Behind Death and the Powers Opera
No, I haven't, but our Eve-based backend has been one of the most stable and well-performing component.
Has any tried using SAP for something as simple as issuing a PO amendment? #crap2thecore
There is one such framework: http://derbyjs.com/
It's been in development for about 3 years, so it certainly has a cost to implement. It is being used in production by Lever (YC) to ship very usable enterprise software.

There is even a TodoMVC example being submitted for Derby:
https://github.com/derbyjs/todomvc/tree/master/examples/derb...

Another nice thing is that the templating engine can be used client-side only if you want:
https://github.com/derbyjs/todomvc/tree/master/examples/derb...