skysight-inc/HackerNews huggingface dataset:
Learning a language is going to take a lot of time and effort, no argument there.

But not all methods are equally effective so anything that reduces the time or effort required, even if just by 10%, is technically a 'short cut'. And anything that increases your enjoyment of the process is a win, regardless of whether it saves time, since it will help maintain motivation. Losing motivation is surely the most common reason people fail to learn.

The main idea here is to reduce the friction of reading as much as possible, freeing up your attention to focus on understanding and enjoying the text. The machine translation is only used here for words and short phrases, where it's more effective than for complete sentences.

(I'll take your word for it that google translate isn't so good with English-Chinese, I'm mainly focussed on the European languages for now)
But then a friend tries to be more secure and sends something using --throw-keyids or --hidden-recipient. He tells me I should use --try-all-secrets, but adding that to enigmail doesn't work. I still don't know why.

I'm trying to do this with some friends, and we keep on running into problems like that. Everything turns out to be easy to solve, but only if you know exactly how it works.
Feature Scaling and Normalization
> Software, of course, has no such professional body, and exists in a twilight world of chancers and incompetents. Why should the software industry get away with knowingly producing crap and charging a fortune for it?

This is not really correct. If you are hiring a development firm or an independent contractor, you stipulate in your contract that the company or developer must carry some form of errors and omissions insurance. I've never seen a contract that did not have this line item. Any reputable company or independent contractor will already carry this regardless. If they do not, avoid hiring them.
A dedicated client is a lot of effort, but also gives way more options for viewers. IMHO it is a thing for a different audience: It's great for games the viewer is highly invested in and also plays, but a giant hassle for casual viewing. Outside of a few special examples it probably doesn't pay off.
Hi, I am the author of this library. I started this last year when I was working on a research project to remotely enable real-time image processing using cellular neural networks (CNN) on raspberry pi from Internet application. This was part of a demo at 14th Cellular Nanoscale Networks and Applications (CNNA) Conference 2014. I have also written a blog post, available at http://blog.ankitaggarwal.me/technology/image-processing-wit....

This python library is an implementation of CNN and its application as image processing. I hope it would be useful to people in need. I wasn't able to find a lot of implementations in CNN when I started working on it last year.

Any feedback is much appreciated. Thanks!
Same here.

For me "being an adult" just means that I have to be responsible, nothing more.

I keep my self healthy, educated and happy. Also pay my taxes.
I think the EF model recognises that a lot of technical people create way more value than they are able to capture working in a traditional company. Some then go out and start companies of their own, but there’s a fairly large gap from labouring away at Google to going without salary for six months while you get yourself in a position to get into y-combinator et al.

EF tries to bridge that gap and capture a slice of the value in the process. It’s not for everyone, but I think more people should really consider this option.

Graphene detailed the economics, so I will just add that yes - the valuation is lower than what you could do had you spend 6-12 months on your own first, but in an endeavour that is likely to fail iteration speed is critically important. I have moved faster and learned more during 3 months with EF than I would have 6-12 months on my own. I’m still young but I won’t be forever - so I’m willing to give up a fraction of potential upside to decrease potential downside.

Personally I actually joined EF with a co-founder an idea and a product which is quite unusual. Two weeks into the program we decided to start from scratch and we are better off for doing so. EF is the kind of environment that encourages you to do this and an environment i missed during my time at university.
I've enjoyed many of the responses on this topic, some people like to use it as a self congratulatory platform to express their position that the solution is trivial and "any engineer should be able to do it like me" with a piece of example code, while others use it as a soapbox to moan about the scourge of the tech interview process.
It took long enough for Google to cater to gamers. After Twitch was acquired for a large sum of money, it was only a matter of time before Google decided to go after gamers. Most gamers have Youtube presences anyway, if Google can take all of the great features and things gamers like about Twitch and then add some additional features on-top, it'll be a success for them no doubt.

Curious why they're launching in the US and UK first though. Couldn't find anything that explained why the delayed release, surely it's not because of copyright reasons.
I don't understand what is the difference between streaming a programming class and gaming (first person shooting for example) ? (say we can have a minimum frame rate for both , like 30), is there anything other than a pure video ? as you said no one watch video from inside game (at least we are not talking about it)

p.s. sorry , I got my answer from someone else's comment , latency is problem , no one care if video starts 500ms late , but this is huge problem in gaming streaming.
We've been using inline styles in our main project (built with React), but we recently deciced to move to css modules:

https://github.com/css-modules/css-modules

https://medium.com/seek-ui-engineering/the-end-of-global-css...

Inline styles are great, but they don't support basic features such as pseudo classes/elements, so even implementing simple components like buttons was cumbersome.

With latest version of webpack's css loader you get css scoping (you no longer need to add lengthy prefixes to all selectors) and you can also use additional loaders for post-processing your styles (we use a lot of postcss plugins such as autoprefixer).

Have a look at this example:

https://github.com/css-modules/webpack-demo

And here's a great comparison of the main CSS in JS techniques:

https://github.com/MicheleBertoli/css-in-js
Nice interface, I really like it to find out timeslots during a day, but I guess for finding out a day that fits best for a meeting, its not as convenient.
Only if your native language is not English. There's been a uservoice suggestion to allow it to work in monolingual mode for ages (https://readlang.uservoice.com/forums/192149-general/suggest...) - I've been avoiding this so far since it's a big change to how the inline translations and flashcards would have to work.
Announcing “Exploring ES6”
Same in Ruby, but it doesn't need the parens to cross lines:

root.left, root.right = invert_tree(root.right),
invert_tree(root.left)
There can be hope.

https://github.com/filipekiss/sanity
Matter of fact: https://twitter.com/mxcl/status/608682016205344768
Total Fly Aviation Store
search XOR (X=X XOR Y; Y=X XOR Y; X=X XOR Y)
I don't think the copyright law on who owns footage of games is entirely settled?
How textiles revolutionised technology
A Curious Midlife Crisis for a Tech Entrepreneur
As someone lives in Asia currently , I can approve this completely , I am watching videos from YouTube without any lag or any other problem , but believe me , watching videos from twitch is completely nightmare (at least for me)
Sounds like you might like the Language Immersion chrome extension: https://chrome.google.com/webstore/detail/language-immersion...
Windows is a step ahead of OSX with it's Private/Public networks distinction. Having little snitch installed on OSX it's staggering to see how many core services are trying to access external services, most of them on port 80.

In both cases we're still lacking good representations of network traffic. If things didn't happen in the dark in the background users would probably be more concerned and watchful.
And... nowhere there is there any reason for you to think the problem was posed as, "Could you invert a binary tree for me, please."
From the YC application page:

"The ideal company would have two or three founders. We’ll consider those with four or five. We’re reluctant to accept one-person companies, though we have funded a few."

There exists a large group of technical people who are currently only capturing a small fraction of the value they are creating for whom getting into a position where they would fit the YC ideal company is untenable. For this group EF is a valuable option and I'm quite surprised this model isn't more widespread.

Everybody in the EF cohort are quite smart so if they were in a position to take the YC deal i'm sure most would :-)
You didn't provide a link. I assume you were going to link the blog post announcing their switch to Mithril — that didn't contain any rationale behind it.

I did find this however, which goes into details about why Ember was not a good choice for them:
http://discuss.flarum.org/139-introducing-flarum-s-fast-new-...

Seems to be a well based choice. Doesn't seem to have anything to do with performance though.

While Mithril is probably a lot more extensible and easeier to work with since there's a smaller API surface, seeing "templates" like this makes me sad:

view() {
return m('div.text-editor', {config: this.element}, [
m('textarea.form-control.flexible-height', {
config: this.configTextarea.bind(this),
oninput: m.withAttr('value', this.oninput.bind(this)),
placeholder: this.props.placeholder || '',
disabled: !!this.props.disabled,
value: this.value()
}),
m('ul.text-editor-controls', listItems(this.controlItems(). toArray()))
]);
}
Show HN: Litenin – A light and fast feed reader
I wish high-schools would add some of this stuff to after school programs.

Learning to make circuit boards would have helped me with all my spaghetti wiring I do/did.
Legal licensing does not keep incompetent practitioners from entering the industry, at least in the U.S. This is cultural - there is still an expectation that after you get your license, other lawyers will train you.
> Along with a warning that the key didn't have others' signatures on it, which ironically re-assured me more because it shouldn't.

You have stated in other comments that you don't fully understand the web of trust concept - I'd go a little bit further and, based on the above, say that you haven't a slightest clue about it.
My JS

var invertTree = function(root) {
if (!root) return null;

root.right = [invertTree(root.left), root.left = invertTree(root.right)][0];

return root;
};
Any particular reason why you're using an array as a stack (LIFO) but calling it "queue" (FIFO)?
React is the "View", so you need something like Backbone to fuel it. Roll your own, use Backbone, Flux (made by FB especially for React) or Reflux (third party. Flux re-imagined).
> in order to get that vote they need to offer policies which claim to aid to largest number of people.

This isn't a bribe. You describe democracy working as it should. Policies are SUPPOSE to be made to aid the largest number of people. This is the point. In societies where the system works, rich minorities often feel this is unfair when they get taxed to hell. (It's not, and currently in our society, the rich are taxed less than poor people)

The system as it exists today does not benefit the majority. It benefits the elite. The elite choose who gets elected, by choosing who has necessary money to campaign. At the end of the day the politician owes more allegiance to the person who funded his campaign then the people who voted for him. The people live with it because said elected official utilizes charisma, complexity and politics to disguise the true nature of many things.

>Let's assume that's the case. What should we do?

I would suggest laws to prevent rich people from having too much influence on campaign funding. Ironically, I need to be rich to make that happen, and by then I'd probably be in a position where I have no desire to harm myself.

Thus when wealth inequality gets too extreme there's only one inevitable solution: Violence. Other than that it's something we have to live with, as wealth inequality is a feature of capitalism.
You don't need another framework to build apps with React. But you will need several libraries as React isn't "kitchen sink" type framework like Ember and Angular.

In my React-based apps, I typically include react-router for routing and request or superagent for ajax calls. You can also include a Flux-inspired library if you're into that sort of thing.
They take 1% of the donations.
Yes, it doesn't quite add up. For that money, you could hire the guy to turn things on and off by hand for 50 years.
Chinese hack of federal personnel files included security-clearance database
Tunnelbear[0] has Vigilant mode[1] that blocks all outgoing connections until you have connected to the VPN server. It was one of the main reasons to start using it.

[0] https://www.tunnelbear.com

[1] https://www.tunnelbear.com/updates/vigilant/
Wrote a quick tutorial http://grunt-tasks.com/grunt-purifycss/ on how to use it with grunt and grunt-usemin
Ruby solution:
Gem install ruby_dev_failz_compsci_101
A Tutorial to use Grunt purifycss to remove unused css with usemin
Yes.

I wonder how they expect to be able to use this for regular internet access though, I can't imagine the ISS constantly has line of sight of a terrestrial station, as it's not very high up. Even less so with laser since clouds probably block the signal.
Atari 2600 BASIC Programming
>Is guix compatible with nixpkgs, or do all package definitions need to be translated into scheme first?

They have to be translated into Scheme, but we have a 'guix import nix' tool to assist in that.
Looks cool! Some of it seems very intuitive, like the arrow pointing back to indicate the past, or the double arrow to indicate plural. I could imagine a set of symbols like this being a very nice addition to a dictionary allowing fast identification of the part of speech and conjugation.

My TODO list is already way too long with core Readlang stuff to do this kind of integration at the moment, currently I don't even detect whether a word is a noun, verb, etc. It's all handled by google and the external dictionaries. I look forward to following your progress though. Good luck!
I don't see how this is relevant - in this case, a coder was rejected for a coding position. If we substitute your case, you could re-state it as "A player was rejected for defender" (or attacker/etc). In your example, you've changed that to "A manager was rejected for defender". Not the same.
Value is relative and it is in the eye of the beholder, much like beauty. Where I want to get is that 12k might sound much but in US the same people would pay almost double sometimes for a car.
Elon musk interviewed by wait but why
Amazon Expands Prime with Goods Shipped Directly from Merchants
Not likely.

I've seen non developers try to write specs in whichever format they like: word, excel, drawings, hand written, in speech, mockup tools, anything. They decide exactly how they want to express their idea without any constraints. And yet, they always fail.

There are always too many edge cases they do not think of. They only cover the "happy path" and quite often not even that. Just take the email conversation from the article as example, they didnt even touch the subject of implementation and it was already jibberish even for a developer. You need someone to actually sit down and squint their eyes over something, do research and run some test cases for a few hours before these emerge. Once you start doing this you are already by defition a software developer.
One of the best course of my degree (microengineering) was Production Techniques. Basically each group (2 students) was assigned a manufacturing technology and had to write a report and make a talk about the technology, its cost and its limitations.

I think this kind of course is the best way if you want to learn how the stuff around us is really made, or if you want to start a product with kickstarter out something like that.

Do anybody know that kind of course available on OCW, edX or something like that ? I would be happy to provide the documents from my course but they are in french so probably useless around here :/
At first I thought that he was given a slightly harder problem: given a binary tree and a particular leaf node of that tree, return another tree that's graph-isomorphic to the original, but has that node as the root. (You can visualize that as picking up the tree by a leaf node and shaking it, then reinterpreting the result as another tree.)
Show HN: Highlander – Stop Overlapping Python Cron Jobs
I like to describe a problem that we are currently experiencing or one that we had in the past to see the troubleshooting logic in play. I love explaining something that is not quite optimal in production and see if this person could help.
I would go for flipping the White Board.
This image of the satelitte orbits makes the comparison easier: https://en.wikipedia.org/wiki/Geostationary_orbit#/media/Fil...

The geosync satellites are very high, 5.6 Earth radius above the Earth surface. (The radius of the orbit is 6.6 Earth radius.) And you have to multiply it by 2 because the signal has to go from the ISS to the satellite and then to Earth.

The ISS is only 0.06 Earth radius above the Earth surface approximately. So in this case, most of the latency will come from horizontal travel (and the latency of the usual congestion in the net).
This seems to be a fork or some derivative of "SysCP", dating from 2003 (SysCP) and 2010 (froxlor)

Unfortunately this has the same issue many "mature" PHP projects have - the architecture and coding practices of the project don't evolve as the language itself evolves.
Neuromancer, Rastas, and the End of the World
It seems KDB excels at queries, joins, and aggregates on large datasets. I have limited experience with redis, but if that type of code would need to be written in c/python with redis then KDB may have a performance and productivity lift. I would like to see an example like that.

Another benchmark is here: http://kparc.com/q4/readme.txt
OpenVPN on Android can block internet traffic until the tunnel has been established, very handy.

e.g. http://img.nux.ro/4nV-openvpn_seamless.png
Total Fly Aviation Broker
5 common mistakes in English speaking
* Backdrop effects (frosty glass)

* Scroll snap points (tile-based scrolling)

* Class Syntax (ECMAscript)

* Forcetouch Events: https://developer.apple.com/library/prerelease/ios/releaseno...
Thanks for the reply thp. We heard this comment a lot the past days and will implement this feature in the next version. Should be online in the next 2/3 days.
I agree with the basic premise that CI can be much simpler than eg Jenkins makes it, but the idea that what they're doing in that one line is equivalent to CI is a bit of a stretch
The world of threats to the US is an illusion
Huh, is this what caused the whole page to go pixelated and ask for permission to use my camera each time I changed orientation on my tablet? I had to reload the page each time this happened and scroll down to where I was before. Very annoying.
Its a mixed bag, not as good as san francisco. lots of small outfits. ea is here. microsoft started an outpost here.
Little Snitch is one of my favorite pieces of software, it is truly amazing how noisy most software is. Without it, your ISP knows even what programs you have open because they call home every 15 minutes for stupid reasons.
Fixed just now! That was a easy one ;) Thank you for your hint!
Do basic validation client side - if you can, rely on html input types and html5 validation attributes. It should be enough to be helpful in most cases without being overly onerous to maintain or hard to match server-side exactly.

Put your full detailed validation rules server-side.
Gamergate has nothing to do with "promotion of journalistic integrity". That is just the excuse du jour of this scum.

It's 100% bullying and misogyny mixed with some extreme right wing politics. I'm a strong critic of Islamists, but the comparison with Muslims is insulting.

There is no "double standard". A thug is a thug, regardless of the excuse for their aggression. There is nothing ambiguous about the obvious enjoyment they get out of terrorizing people.

Amongst those who want to promote journalistic integrity, Gamergaters are the fundamentalist terrorists.
I always encounter the problem where I write Python scripts that run on a cron job that sometimes take longer than the interval before the same cron job will run again (e.g., I have a cron that runs every hour and one run takes 2 hours to complete). In this scenario, you would want the first cron to complete before the second cron is run. What Highlander does is if it sees that your cron is already running, it immediately returns thereby skipping that cron run.
Ask HN: How you keep your algorithm/data structure knowledge sharpen
The question could be a bit of misleading. Just to give you the idea what I am talking. Here is my story:
Last year I was looking for a new gig and applied in couple of software companies. I have around 4 years SW development experience mostly web applications based on Python/JS with unix skill.

In the interviews I was really disappointed with myself regarding algorithm/data structure problems. In the interviews the coding test and small projects they asked me to complete was good and eventually I got couple of offers from these employers.
But the interviews mostly focused on algorithm/data structure I was massive flop and did not get offer from those companies.

After completing my bachelor when I was looking for my first job, I was asked almost same algorithm/ds problem. At that time I was good but not something overwhelming. Long story cut short, I want to keep my algorithm/ds basics keep sharpen though in day job we dont apply most if the staffs.

Anyone else have the same issue? How you guys do it ?
Thanks.
The paywall is popping up with a message "You've hit your limit of 5 free articles as an anonymous user this month.", despite the fact I haven't been reading anything on HBR for as long as I can remember.
Your post follows a pattern we hear quite often: "I had a lot of problems I overcame them. I'm proud of that. So we should perpetuate problems, in order to have something to overcome and be proud of."

Imagine we are all carrying a ladder, and eventually we have to climb it. You were forced to immediately lean your ladder against whichever wall happened to be nearby. As a result, you now are trying to justify the value of reaching the top of that particular wall. Your life choices were made when you were not yet ready to make good choices, and to avoid admitting that, you redefine "good" to mean whatever you ended up with.
damn you beat me on savings rate...please tell me you don't have kids so I at least have an excuse.
People fall victim to this fallacy in their own thinking all the time. They want to get good at doing X, but task Y is a lot easier and success at Y is mildly correlated with success at X, so they start practicing Y instead of X. It's the reason why things like "brain games" are so popular. In reality, people's time would almost always be better spent just practicing the primary task they want to be good at.

That being said, making an AI that does better on IQ tests than humans is a rather interesting and worthwhile endeavor.
Similar to Cloak's (https://www.getcloak.com/) "OverCloak" feature that blocks all outgoing connections until the VPN connects. I use it religiously when traveling since airport WiFi is often a huge risk.
This looks like it works

<html>
<style>
pre {
-webkit-transform:scaleX(-1);
-moz-transform:scaleX(-1);
-ms-transform:scaleX(-1);
-o-transform:scaleX(-1);
transform:scaleX(-1);
}
</style>
<pre>
4
/ \
2 7
/ \ / \
1 3 6 9
</pre>
</html>