skysight-inc/HackerNews huggingface dataset:
I am very conflicted about that trick. On the one hand it is a neat bit of syntax to express what you want, but it goes completely against your expectations of how Python syntax is parsed. 'Clever use of operator overloading' historically has always meant 'confusing use of operator overloading' - something the C++ community took some time to learn.

Python is very good at behaving as you expect it to, despite the fact that you can implement pretty much any magic. This is down to library design more than it is language design.
Of course for this case, using shutil (or something similar) would be preferable. Eg ls | py -x "shutil.move(x, "%s.txt" % x)"
Couldn't you do both? As in, "no results found, did you mean <alternative>?"
Besides the usual suspects, such as Dropbox, TextExpander, Fantastical; I have "The Clock"[1] which shows me time of cities I added. The Clock allows me to slide the timer to see what time will it be anywhere in the world against another clock or my local clock. Other utilities such as Spectable[2], 1Password[3] Helper stays totally hidden and is nowhere to be seen even in the menubar.

All of the above menubar apps are managed by Bartender[4], which allows me to show/hide, hide in bar but show in bartender or totally hide it.

1. https://itunes.apple.com/us/app/the-clock-the-best-world-clo...

2. http://spectacleapp.com/

3. https://agilebits.com/onepassword

4. http://www.macbartender.com/
Or maybe they need to invest in self-driving trucks R&D.
Funny, I just recently saw this method as a proposal for an example of Rust's built-in `rand` library: https://github.com/rust-lang/rust/pull/16362
I agree Q has awesome content, but they are a bit overwhelms with the sheer amount of it
For a project like this where there are many other potential options (wxPython etc.) the first question I'm thinking is 'why do I care about this new one'. I.e. What does this do better/differently/more conveniently.
I assume the answer here us the native Python aspect and not needing big compiled libraries. Might be worth selling it a bit more on your homepage and making that advantage clearer?

It may be that everyone else picked up on Python native quicker than I did, I'm reading this in bed during a lie in so am a bit sleepy!
Armed? What, so he can get in a shootout with the robbers?

When I worked at a convenience store, you could get fired for not cooperating with robbers. No company wants to deal with the PR and liability nightmare of some poor schmuck getting gunned down trying to defend a truckload of Cheetos, or the $200 in the register. The policy everywhere is "keep your head down, do everything the bad guys tell you to, and call the police when they leave."

And, similarly, no robber wants the kind of police attention that murder brings. Certainly there's a risk of some fucked-up tweaker getting all trigger-happy, but 99 times out of a hundred they won't hurt you as long as you cooperate.
I haven't read much of this book, but in general, with textbooks like this, if you cannot do the exercises and _know_ that you got them right, you didn't understand the mathematics that the text tries to learn you.

If you cannot do the exercises, and read a proof written by the authors that couldn't teach you the mathematics instead, why would that help you learn the mathematics?

Having said that, in some cases it might help to get a hint. What hint to give depends heavily on the student. Give too much, and the hole point of the exercise goes away. Perhaps the best one one can give is to read Polya's "How to solve it"
The most used unit for pressure used in Germany is bar (= 100 kPa) so that you don't have to deal with really big numbers all the time: https://en.wikipedia.org/wiki/Bar_(unit)
That is a misconceptio and is only possible if you break monad laws. Monads aren't about sequencing. Just some monads are.

(+) <$> a <*> b

And

x <- a
y <- b
return (a + b)

Will yield exactly the same behaviour. Even in evaluation order. And they can be interchanged. It may look like we are sequencing in the second example but that's only true in datatype with sequencing embodied in their monad and application implementation ( State monad). An example of a datatype that doesn't have this property is [a]
>Matchmaking anonymously //

If I've understood correctly the matchmaking is not anonymous, the match itself is anonymous? So the two parties to the match don't know to whom they are talking but they both know who arranged the match.
Driving for fun doesn't have to mean racing or otherwise driving dangerously. I know loads of people who will go out for a drive as recreation.
Then what do you recommend us to listen to? Autotuned popmusic?
My take is exactly the opposite. When I was a CS student in the late 80s it was extremely hard to get access to high quality development tools beyond. Yes MS-DOS came with QBASIC, but if you wanted to program in anything more capable such as C or Pascal you were out of luck. Nowadays the highest quality dev tools for any platform are just a free download away. Python, C#, Java, Go, pretty much whatever you want. Eve better, many popular games such as WoW and Minecraft either come with built-in scripting or easily accessible extension and scripting tools. Squeak is awesome and soon you'll be able to program in it without even downloading anything thanks to the HTML5 client.

Linux generally comes with a whole ton of dev tools by default, and the Mac is close on it's heels and even has Applescript built in to the GUI layer. There has never been an easier time to get into programming.
There are plans to build a desalination plant in the Bay Area [1]. This and other plants in CA could help water supply in populated areas.

The water districts in CA have two problems:
1. They are not connected well so water cannot easily be transfered from one district to another.
2. The reservoirs cannot sustain an extended drought.

[1] https://portal.ebmud.com/our-water/water-supply/long-term-pl...
نتيجة تنسيق المرحلة الثانية youm7.com 2014 علمى وادبى الحد الأدنى للكليات
Not really much AngularJS code?
Presumably the states that have full serve gas stations, which is required for automated trucks, will also be the ones that ban automated trucks.
> But is that public domain data any good?

No not really. Some people think the import into OSM of TIGER data has hindered the creation of a US OSM community, because the map looks "good enough"/"looks done", when it in reality it's not.
Israel Palestine Conflict : Tank Patrol Israel Attack Gaza – RAW VIDEO
OSM started in the UK.
Frty-one million IQ points. That’s what Dr. David Bellinger determined Americans have collectively forfeited as a result of exposure to lead, mercury, and organophosphate pesticides. "

Okay, I bailed. It's rare that a lede is so bad that I'll bail -- usually I just don't click on stuff that looks like crap. But this looked interesting.

Why did I bail? First, IQ points are not cumulative. It's not like you can add them all up and get anything at all useful. It's not even like we could come to a reasonable agreement that IQ points are a useful metric, but I'll just let that go.

More to the point, the question isn't society overall, it's individual choice. Would you trade the loss of 2 or 3 IQ points for better food, a modern world, access to transportation, and so on? I would -- in a heartbeat. It wouldn't even be a tough decision to make. Live to 80 in a modern world full of modern conveniences while being a tiny bit less bright? Count me in.

So I went into scan mode for the rest of the article. For all I know, it looked good. But I'm left believing what I already believe: Yes, there probably are some statistical clusters that warrant societal intervention. Perhaps poor people living in a lead-infested housing project next to a chemical factory. But to use terms like "Silent Pandemic" is to be terribly irresponsible. Alarmist even. It does not describe the problem in enough detail for the reader to know what to do about it, and it's just a cry for attention.

Sorry. No so much.
Are you suggesting that instead of listening to someone creative playing - and inserting interesting things to listen to - that I should listen to something else? ... mainstream pop music? Repetitive trance? No thank you. I'll keep my Jazz, my electro-swing, noise music, experimental stuff, black metal, and the like. And Igorrr. I'll definitely keep him. I rather like to be surprised and when things are artfully 'off' but still manage to come together.

Perhaps this is simply you not liking it. And that's fine, go back to the mainstream stuff and I'll support the others.
This is what gittip is for.

And Kickstarter/Indiegogo/Crowdfunding has shown genuine interest to help fund useful tools and libraries lately which is great.
Not lessons, but open source: http://lichess.org/
>In 2008, Stephen was working as a property manager in south Baja, Mexico, when he had a particularly agonizing bout of phantom pain. “I was not presentable for 72 hours,” he says. He was aware of mirror therapy from having looked online for treatments, and he decided to give it a try. He got into his truck and drove two-and-a-half hours to the nearest Home Depot to buy a mirror. He tried it right there in the parking lot, and in five minutes the pain was gone.

>Stephen used the mirror for two weeks, then stopped because the pain had not returned. About a year and a half later, he felt the pain again, and this time he stayed the course for the full five weeks. He hasn’t had phantom pain for over four years. “It’s gone now,” he says. “It’s gone because I treated myself with a mirror.”

The patient arranges a mirror to show a healthy limb as if it were the phantom. They can then "move" the phantom limb [by actually moving the surviving healthy limb].

I recall reading of experiments with healthy subjects where an arrangement convinced them that a model was their limb, the limb was injured and they felt pain - something along those lines, seems similar to how this works.
This. Change the average teacher. Require and provide them with a Master's degree in education (in primary schools) or in the subject matter together with a minor in education (in high schools). When they graduate, they will contain the nucleus of the expert teacher in them and will grow with experience. The feedback they get from the students (and parents) - no need for performance evaluations!

Why does autonomy work in Finland, as mentioned in the article? First, we have invested in the teacher training. Second, we have provided more resources to the schools with a more troubled student body. No need for the blame game that is the recent Global Education Reform Movement. Could you implement this in a US state similar to Finland such as Massachusetts, if not staight away in all of the US?
How digital detectives deciphered Stuxnet (2011)
Ask HN: Would a .Net back-end put off potential acquisitors?
I know the .Net tech stack very well, warts and all. I feel I could get to market quicker than if I were to build out using something JVM based or even node.js.

Would this put off potential suitors? My gut instinct is that it probably would to an extent, but I'm not sure it'd outweigh my personal advantage of experience. If it makes any difference, I am funding this myself initially.

So in your opinion should I bite the bullet or go with what I know?
You just need some human support drone style. Trucking will be 90% automated an 10% rc
What a really neat Battery hack
Images From Leaked Ps4 Update Shows New Design, System Notification And More
I think he's trying to address more than just people intercepting emails in transit but there are a lot of things a government body could do to compromise your suggestion, for example: MITM the connection at a network level (mail daemons normally don't check certificates came from CAs), take control of the receiving SMTP server or maybe even just use an unpatched OpenSSL bug (heartbleed is still unpatched on quite a lot machines, including mail servers).

Securing email will require a lot more than just turning encryption on, IMO.
Public Relations Specialists Outnumber Reporters 5 to 1
Prostitution is legal and regulated in The Netherlands. That doesn't seem to help with human trafficking. In fact, it's the top destination for human trafficking according to the UN ODC and it keeps rising. I am not sure, but have a strong feeling that's the case in the other countries where prostitution is legal and/or regulated.

Do you care to back up your claim with some evidence or at least shed some light how you came up with it in the first place?
Some more background on the sunken russian sub recovery mission:

http://en.wikipedia.org/wiki/Project_Azorian
https://www.cia.gov/about-cia/cia-museum/experience-the-coll...
I bet the Earth climate has been changing ever since the beginning of its existence.
However they'd only mention it if, for some reason, something were wrong about that specific piece of technique. Otherwise they'd never mention it.
People aren't going to stop breeding. Not going into space confines us to a very depressing set of possible futures.
80 percent of California's water usage is agricultural. Agricultural water allocations are based on a "use it or lose it" system.

That's the water districts' biggest problem.
8 WordPress Plugins to get your site more traffic
Brief introduction to coupling and cohesion
There are various BGP looking glass servers that can enable you to see the output of various things like this.

Better still is some of the 'bgplay' tools that are out there. For example, RIPE hosts one here:

https://stat.ripe.net/widget/bgplay

This gives a nice graphical diagram of the way BGP routes have changed over the past few days to a server of your choice.

If you stick in an Internet address that has changed paths recently (e.g. 131.111.150.25 would currently be such an example), you'll then see how the BGP paths have changed, and what ASNs the traffic has travelled through. Very useful for debugging potential network problems.
>relevant for common matters

Put it this way: 0 degrees is really cold for a human and 100 is really hot for a human. Water doesn't care if it's cold.
I would have thought it's pretty easy to allow both ingress and egress nodes across traditional SMTP, allowing you to send a DIME email to dropbox@secure via SMTP, which then routes appropriately, or to send a DIME email to a friendly DIME server which then relays it in to SMTP land. The purpose appears to be to hide meta-data - as long as you are tumbling through a friendly DIME relay, you'll lose at least half of the meta-data, which is probably enough.
I'm taking it as read that users would use message encryption - which already exists.

Would creating a new protocol force daemons to check certificates came from CA? stop third parties controlling servers? or using unpatched OpenSSL though? anymore than a properly setup SMTP server though?
> So in your opinion should I bite the bullet or go with what I know?

Yes.
What they mean is that the "Digital Restriction Management in HTML5" proposal is pushed by Google, Microsoft, and Netflix into the W3C spec. Apple has simply followed the proposal and implemented it as well. AFAIK Chrome, IE, Safari ship with it. Firefox will follow suite by adding a Restriction Module from Adobe (given Adobe's track record it will certainly be an amazingly fast, flexible, beautiful, efficient, and nice way of viewing videos...).

So Web-Restrictions is kinda unstoppable now. Instead of having a plugin-free future with HTML5 we have an even worse situation.
Explore Pyongyang in Mind-Bending ‘Flow-Motion’ Hyperlapse
As much as I don't like the .NET stack myself, you should go with what you know, unless you're specifically looking to learn something new. There's enough risk in starting up as it is without burdening yourself with learning an entirely new stack.
lol suurrrreeeeeee

What that should really tell you is Trucking companies is that paying a 6 week driver peanuts + the extra insurance is still less than paying an experienced driver an acceptable wage.

With the Raise of "No Fault" States many trucking companies are also Self Insuring, since they only ever have to pay for the damages of their own equipment, which if it does not effect the operation of the the truck they will not fix anyway.

But sure continue believing that a 6 week driver is just as good as a 15+ year driver
Is Mono viable for server these days?
I wouldn't think so. Your tech stack is going to be one of the last things they care about. Besides, .Net is very well established so if anything they'll take comfort in that.

It's all about the product and users.
A 3D printing project helps the blind discover the wonders of the world
Would never happen. People in certain countries get way too many free things and benefits, and are used to much higher standards of living. They'd be up in arms every time they saw an "immigrant" using it, or if an immigrant reduces the value of labor.

It's really unfortunate because the only reason most people are against immigration, deep down, is that they fear they will be usurped by cheap labor. And that is only a problem because we haven't allowed free-trade and free-flow of migrants around the world from the start. Instead, we built up barriers, and we've created dams. Of course people are now going to complain when the flood gates open and a valley gets washed out.

It has to get worse, before it gets better.
What really frustrates me is how many apps that are useful in the menu bar do not have monochrome icons.

Cisco's anyconnect is a super bright icon. Tunnelblick is either yellow or the icon looks super washed out and does not work with retina displays. Dropbox defaults to a colorful icon (why!?)
While I agree with your thrust the UN numbers are a joke. They have little factual basis.
Downvoted for hypesterism ;-).

Why? Because IBM's so-called "neuro-chips" are actually just specialized hardware for running Spiking Neural Networks, AFAICT. They have jack-all to do with brain uploading.

Now stop drooling.
The End of UFOs
Why JavaScript Is The Next (or first) Programming Language You Should Learn
Mono is, yes. If you use a non-Microsoft stack to host an ASP.NET site (OWIN, Nancy on OWIN), then even more so.

Nancy+OWIN+Mono+nginx is a very good stack.
>I do so because I believe that, in a world full of Bad Things, death is pretty unambiguously the worst of them.

Excuse me, I'm as anti-death as anyone else, but I'm going to laugh bitterly now. Don't ask why.

There are lots of things worse than death.
I'm definitely not kidding. I'll point out that this is very much tractable (for instance Spotify runs a matrix factorization job every few days on a users x songs matrix, maybe 50 million by 30 million, which is several orders of magnitude more). But anyway if you want to do that on your laptop, you don't have to use the entire space to build a good function, just a statistically representative sample of your dictionary will suffice.
Thinking about potential problems with an exit before you've even started building something is frankly ridiculous. Just start. What anyone might buy in a few years time if you're successful will be very different to what you build now because you will learn things about what the customer wants along the way. Whether that's shifting to a more appropriate language is something that only time will tell.
Nice writeup, Jerome! While I personally do not suffer from a slow down on ohmyzsh, I will give prezto a shot because why not, using your guidance.
I was also relating this topic with the truck drivers discussion[1], where it was pointed out that the drivers themselves ignore the safety rules of their job. Cracked[2] has a similar gem:

> Plus, there's a logbook to keep, and regulations that demand that truckers don't drive for longer than 11 hours a day and spend at least 10 hours sleeping. So another big part of trucking is, of course, lying about all that s..t.

So it doesn't seem to me that laws are the definite answer to the problem.

As a side note, even if there were a legal framework, would a trafficked person have access to it? I doubt traffickers allow their "employees" to have private, uninterrupted talks with the customers (or anyone). Hell, I don't even know how to say "Help, I'm being held against my will" in Dutch.

[1] https://news.ycombinator.com/item?id=8158076

[2] http://www.cracked.com/article_21488_5-terrifying-things-onl...
They won't care about your tech stack if you have the users. If a large company like Google acquires you they'll just eventually recreate the entire site in their preferred language and preferred frameworks anyways.
Hi Andrew,

Thanks for the site. I find the lessons quite informative and easy to follow, but the exercises are often impossible to get right as they are expecting one series of moves vs. applying what is learned in the lesson to reach a specific goal with a specific style of play, tactic, etc.

As an example I am stuck on http://www.chesscademy.com/exercises/initiative-controlling-...

My current board now looks like this: http://i.imgur.com/DxjsAKx.png

But no matter what I do, a popup keeps telling me "that move does not uphold initiative". It doesn't tell me why it doesn't, and I assume it doesn't actually know, rather it is looking for me to make a preprogrammed move. It won't allow me to attack the queen with a defended bishop, it won't let me do a lot of things that to me would continue to force the opponents hand.

I am certain for you the most optimal next move is obvious, but as learner the inflexible format of the many move/exchanges exercises is really frustrating.
Those methods still rely on correlation. To be clear: We are not only talking about linear correlation here, which is only one of several kinds of correlations.
First and fore most I am not talking about "contract jobs" these are not 1099 contractors, these are W2 employees, and they should not be classified as exempt for over time, or be allowed to paid per mile IMO. These are Blue Collar jobs and should be treated like a Fork Truck Driver, or a Factory worker, not as a Laywer or even in SysAdmin or Developer.

True Contract Jobs, i.e owner operators, should be paid based on however they draw up their contracts, that is one business employing another business and it outside the conversation of employment law
If the problems have answers, they cannot be assigned as homework, which decreases the book's usefulness as a textbook. Maybe you view this as a case of "lazy professor" but you may consider that professors have other things to do too.
>There is so much life someone can live in 65 years. Do we really need more?

And yet so very little life we actually do live in our limited time! Most of our time on this Earth is spent in drudgery just trying to stay alive.

>Or maybe we instead need to focus on making the time we have better for everyone?

We ought to be doing both. Anti-aging treatments ought to be available universally, for absolutely everyone, just like all other health-care that saves your life.

We also ought to be getting rid of things like poverty, that kill people a bit more slowly and make them live in misery in the meantime. And toil, too, while we're at it: it's simply got to go.

Unfortunately, our society seems to take no account whatsoever of ought, so anti-aging didn't happen until some billionaire decided he liked transhumanist scifi novels.
And then: “Oh, wait a minute—we haven’t refreshed the closed-circuit TV.”

“They were looking at old images,” Sharp says. “They refreshed the closed-circuit images and . . . gone.”

There you go. Working for the CIA is just like web development.
Origami Robot That Assembles Itself
I remember the pain I had when last time I wanted to find a good ressource about Perlin Noise. Your link is a good introduction on this subject, thanks for sharing.
It's not complete without the new Windows Phone user agent, though:

https://mobile.twitter.com/0xabad1dea/status/497122542885556...