skysight-inc/HackerNews huggingface dataset:
My kids have been able to infect our computers with some really nasty adware and spamware by trying to install Minecraft mods.

One computer is a Windows7 PC with UAC disabled (unfortunately), so I had to do some deep dives into the registry to clean it. The other was a Mac with Yosemite, and that was so messed up we had to take it to the Apple Store for a wipe and reinstall.

I've tried to coach my kids on downloading and installing things, but when friends come over to play Minecraft it's like they forget everything.
Why no mention of GCD here? GCD is very, very good at synchronizing access to shared resources.

The most Cocoa-compatible way of handling background execution of expensive procedures is always going to be best executed, quickest, using Grand Central Dispatch.

For example:

@interface Foo ()
@property (nonatomic) dispatch_queue_t backgroundQueue;
@end

@implementation Foo

- (BOOL) veryExpensiveMethod:(id)arg completion:(void (^)())completion {
dispatch_async(self.backgroundQueue, ^{
if (_counter++ > N) {
_counter--;
return NO;
}
// Critical section
_counter--;
return YES;
dispatch_async(dispatch_get_main_queue(), completion);
};

That will ensure every call to -veryExpensiveMethod is run in sequence, and won't require waiting on your end.

These problems have been solved, better.
To be honest, it's a bit more complex, and as with all substance abuse, there are underlying causes.

But the short story is he developed schizophrenia. We're not sure if cannabis was a cause or a trigger or what, but he was a heavy smoker, and he had a history of theft, etc. linked to cannabis (much as he would have if he abused alcohol or other substances. But the schizophrenia angle was stressed by the mental health professionals that took care of him).

http://www.nhs.uk/news/2014/06June/Pages/Cannabis-use-geneti...

http://www.ncbi.nlm.nih.gov/pmc/articles/PMC4033190/
Cognitive Distortion
Direct link to manifesto :
https://fsecureprivacy.files.wordpress.com/2015/05/f-secure_...
My views align strongly with Andrew's stated views.

>The reason I say that I don’t worry about AI turning evil is the same reason I don’t worry about overpopulation on Mars.

I think a technological singularity is a rational proposition and even consider it possible within this century. But I have no fear of a Terminator/Matrix/etc outcome. He seems to think the possibility is just too far away to even consider it. But I agree for a different reason. I don't worry because I don't think I (or any human) can accurately assess what a superintelligence would do. And to assume absolute destruction of all humans seems ridiculous.

> In universe two you have one organization, maybe Carnegie Mellon or Google, that invents a self-driving car and bam! You have self-driving cars. It wasn’t available Tuesday but it’s on sale on Wednesday.

>I’m in universe one.

I am strongly in universe one. I have no faith in the basement dwelling loner making significant contributions to AI.
This War of Mine and the New Combat Aesthetic
Curious, which part of CA?
...they could at least have used a proper example. Their "squiggly sine lines" don't make sense at all:

"""But add them together, and that pleasant sounding chord actually looks altogether more messy, like this:"""

No, it doesn't look like this, at all.
A lot of corporations use VPNs, and a bunch of them use them to connect to foreign offices. It's not as uncommon as you think.
I have the [un]fortunate opportunity to know exactly how hard baling hay really is.

I am not always certain the vitality and character gained is necessarily worth the emotional drain. However I am sure there are mainy farms/ranches that get by without the _nepotent_ servitude that comes with it. :)
> “Now That’s A Beautiful Pitch Deck”

Reminds me of this quote:

"As a designer, this is hard to admit: Extremely beautiful design is a negative warning signal for startup success. (70%+ accuracy.)"

https://twitter.com/dcurtis/status/571082598920925187

So, so true. Also, I've long noticed that startups who call themselves beautiful on their front page seem 99% bound to fail. Noticeably higher failure rate.
I don't understand how some of these merit patenting. Page 11, for instance, describes a patent on Comparing Voice Signals which seems to be an extremely simple form of data augmentation - playing an audio file backwards and rearranging chunks of it. That's hardly groundbreaking.
Loggly Accelerates Escalation of Operational Problems with HipChat Integration
Thai police find second human trafficking camp
Tiny UAV-Oriented I.MX6 SBC Has HDMI in and Out
German Intelligence Agency BND Under Fire for NSA Cooperation
Handling Async Await Exceptions in C#
Artificial artificial intelligence is still your best bet.

My company does a ton of transcription and we tried a bunch of automated solutions, but they all failed for normal speech. They can catch certain phrases and attempt to interpolate, but it always turns into a jumbled mess when the talker stops enunciating perfectly (<10% accuracy).

Human-powered transcribing services cost a few dollars per minute and give quality assurances.
Mark Lilla has written a series of three articles that appeared in the New York Review that shed a lot of light on how very seriously the recent attacks have been taken in France, and incidentally predicted such a law would be passed.

From the first article, written in February (http://www.nybooks.com/articles/archives/2015/mar/05/france-...):

"[After the Prime Minister's speech], to the nation’s surprise, the deputies [in the French National Assembly] broke spontaneously and unanimously into the Marseillaise, the first time this had happened since the signing of the armistice ending World War I in 1918.

"On the question of security, this unity is likely to last. There is a solid consensus that more resources will have to be devoted to tracking suspected terrorists and monitoring the Internet for signs of trouble. Legislation will be required to give the government sufficient legal leeway to accomplish that, which it will get, since all parties recognize the deficiencies yet none wants to reproduce the American Patriot Act."

I had to read the article twice to begin to understand the French situation. There are parallels to the American case, but the French situation is unique, and in some ways more genuinely pressing than the American case. I urge the mostly American commenters here to not just draw the crude parallel and stop there.

One point of difference is the special role the schools have, in France, of imparting a republican ideal. Another is the traditionally strong centralizing role of the national state in French schools, and culture more generally. And finally, there is the proximity, in all senses of the term, of France to North Africa.
I'm not talking about people who abuse drugs badly enough to need the social safety net. Rather, I'm positing that the social safety net arises out of society's obligation to take care of individuals, and that individuals have a reciprocal obligation to society.

To me, that reciprocal obligation is inconsistent with the premise that "should decide what to do with their own bodies." If drug use compromises your ability to be a productive member of society that can support and take care of family and neighbors, then it implicates your social obligation, and society has a right to tell you that you can't do it.

Of course, the fact that society has a right to make drugs illegal doesn't mean it's a good idea.
That's good to know. I was deciding between PM at a big tech firm and consulting at a couple of MBBs. Went with the PM route, but sometimes consider going back to consulting, although I'd enter at the same, post-MBA associate level.

I agree that 3-4 years of work experience really helps during the MBA. 6 is too much though (my case) because partying till 5am becomes a lot harder when you're 30 and all your classmates are 26.
How Tech Is Helping Relief Efforts in Nepal
"Genetically modifying things is not itself bad"
Proof?
list of names that have images? are you updating with more?
It's on Google Drive now.

https://drive.google.com/file/d/0B95cJ2uw4oQlSm5rSTEwU0NZLUk...
you sure you're on the latest version? 3.35.0?
nice! is there gonna be a version also for windows?
thank u!
Ya, it's up on Google Drive now... Dropbox temporarily suspended my account because of “excessive traffic”. I guess a few people downloaded that deck.
So why not one virtual machine hosting multiple containers?
I tend to agree with you - if you define shortage as "unavailable at any price", then you have essentially written the word out of the English language. So obviously when people say "shortage" they mean something else.

I don't really agree with you about the $250k, depending on what you mean by qualified. Keep in mind, the median salary for a lawyer in silicon valley is just shy of 200k a year (check US News Best Jobs for salary info). For a physician, it's typically much higher.

Those are tough jobs. But does your definition of "qualified" include a graduate degree from an elite school? Keep in mind, the majors required even to apply have high attrition rates and lower GPAs than most other majors on campus. To get into an elite graduate engineering or CS school, you still need to get very high standardized test scores and have a strong GPA, and elite engineering or science programs typically have vastly higher attrition rates than law or med school (no joke, elite PhD programs have attrition rates between 35%-50%, whereas elite MD or JD programs have attrition rates below 0.5% (yes, one half of one percent). It's harder to get info on MS program attrition rates, the only one I found was behind a paywall and the summary didn't distinguish between elite and non-elite programs, but MS attrition rates overall were about 30%. MS programs are a bit shorter than Law school, for instance, but I consider the coursework to be considerably more rigorous (I actually did attend an elite law and an elite graduate engineering program, mine is only one data point, but I'd say law is like running 70 minutes at a 7mm, whereas engineering BS+MS is like running 50 minutes at a sub 6 mm. The first is pretty tough no doubt. But while the second is shorter, it is probably harder).

Then add in the really difficult interview process at elite software companies (to me, this is like taking a subset of the bar exam every time you change jobs), and overall?

Honestly, 250K is probably about where mid-career salaries would need to be for graduate degrees from strong programs in engineering to be competitive with the options available to students academically talented enough to do it.
When is it appropriate to use Nim instead of Cython to rewrite hot code?
Ummm, BluCoat/WebSense blocked the rfcreader.com.

No reason given.
Multiple tethered quadrotors performing high-g, high-speed formation maneuvers
So, went to the site and it said it couldn't geolocate me. Safari did drop the sheet asking if the website could get my location. I said allow, but did not click the "remember for one day box". This began an endless loop of asking for my location (which I answered ok about 20 times). I then couldn't leave until I killed the browser.
This brings up a utopian dream i've been having.

Imagine an self-sufficient community of designers, coders, families and everyone in between working on socially-positive startups and putting in some nominal personal time into the community farm. A 'commune' of the future.
s/all he does/all he has done so far. this bit towards the end sounds a lot more positive; he's not only opening up in a rundown area, but he's engaging with the local community via "social impact investing" and his being transparent about the process is a valuable source of information for other people who are thinking along the same lines. quoting:

As of late April, Musk was finishing off the contracts for the community bond arrangement. Musk, believing that transparency is critical in social investing, shares some details: For a ten million dollar low-interest loan (with $4 million approved initially, and the rest coming as the project develops), he will open as many as five community restaurants — including the Shelby Farms operation — and possibly even take over the farm on the property. In exchange, he vows to deliver a specified list of social benefits to Memphis (when the entire operation gets rolling): an annual boost to the local farming economy of over a million dollar; an additional $1–2 million to the “real food economy (fishmongers, bakers, etc.); 600,000 guests per year served with “food that is better for you”; $140,000 of the yearly proceeds donated to the Learning Gardens (which had already received its initial stake, largely from Mason Hawkins’ Pyramid Peak foundation); and “up to 270 quality, mission-driven jobs.”
I'm trying to figure out what the relevant criteria should be for the decision of whether to go to a code school or not. I have a friend that sees how hot the market for talent is and wants to get in on it. I showed him mhartl's Rails tutorial but he's too busy to really dig in and when he does ends up burning a lot of time spinning his wheels.

I suggested two Atlanta-area code schools, both of whom have been around several years and are well-connected with the development community. The problem with a code school is the same reason why there's a market for code schools at all. The market for talent is so hot that the people you want to be instructors can make way more money elsewhere than you could ever pay them. So you should know you're signing up for sub-standard instruction even before you start looking for one.

I still think my friend would be well-served at one of these spots, I've offered to help him out, but he's just too busy, he needs a situation that will force him to focus that has people on hand to help him cut through the noise. Then his natural intelligence will start coming through and he'll be able to make progress on learning.

Code school is an option, but you still really need to be resourceful and able to pick stuff up on your own because your instructor is pretty much guaranteed to be of the amateur-hobbyist variety.
What's too bad is that Java had a chance to handle alternatives properly as sum types, when enums were being added. But the designers chose instead of sum types, to add them as yet another kind of "object" that have to have a common constructor (and thus the exact same backing data) and methods. So basically all the variants have to be of the same "shape". Very disappointing!
same here ...

Mayber not version usable under nux ?
Photos: The day in 1976 when Elton John came out to a reporter and photographer
The OP says they were required on a daily basis to fill out a Google form that asked them things like how many tweets and reddit posts they made the previous day. And there's the LOL-worthy question, "What is your Klout score today?"

If Groucho Marx were alive, he'd say "I refuse to join any club that would care about my Klout score"

Besides all of what OP posted in terms of Coding House being a joke, another sign would be that such questions had to be asked and put into a Google form...all of those metrics could have been automated in their collection. In fact, that should be one of the assignments for any proper coding school.
It also falls under the category of co-housing.
It's far from guaranteed that an unsuccessful startup will be able to return the investor's money.
Done! We added RSS feeds for each category. You can see the different feeds at the right of each category. For example programming feed: http://hackernews.demos.monkeylearn.com/feed.xml?c=programmi...
You're missing the most important point of the entire Throttler goal: gracefully returning fast, with success or failure. Nowhere is it stated that the goal is to enqueue tasks for execution.

If you had read 'til the end you would have found multiple statements that OSAtomic* is merely an alternative. Not a silver bullet. Not the fastest.

From the conclusion:

"It's very important to understand that every example in this article could have legitimately been solved with different concurrency primitives — like semaphores and locks — without any noticeable impact to a human playing around with your app."

Also, "(...) is always going to be best executed, quickest, using GCD." is kind of a blanket statement. I'd be careful around the use of "always".
> "The last intelligence law was done in 1991, when there were neither cellphones nor Internet"

Well, that's just downright untrue.
Why not several virtual machines? There are more choices and more mature software for managing thousands of virtual machines, configurations and images, than there is for docker.

Also, the memory footprint of several virtual machines isnt that bigger compared to docker - because of KMS and such.
Article was pretty disappointing. It's not that he did not make valid (although general and vague) points, but the question "Why deep learning is a mandate for humans" was not answered in a satisfying manner at all.
Note that syntax extensions are behind a feature gate, that means they are an experimental feature usable on nightlies, but not on released versions of Rust.
Drip Profits
No, I don't think it's common to get robbed or beaten up in Paris. Although it may happen, just like in most big cities in the world.

And yes, there are indeed very poor and gloomy immigrant neighborhoods in France, with a higher crime rate (mostly drug traffic), where cops are not welcome. How bad are those places? depending on their political views, some tell you that these are islamist war zones and other say that these are happy melting pots.

This, and the question of immigration is a very sensitive issue in France, and people are extremely divided about it.
In the suburbs convenience matters with things people buy regularly. You see this manifested as large convenience stores with gas bars and large drug stores that also sell sandwiches and ice cream. Small independent convenience stores tend to lose out to larger ones that have larger gas bars, cheaper gas and more options inside.

What's interesting is this trend seems to be reversing a little bit in clusters. Younger people are migrating back to the cities, and more developers in the suburbs are building apartment complexes with shops and restaurants mixed together, giving it the feel of living above a really nice mini mall. :)
Ya, we were lucky in that regard. I'm not really sure what we would have done otherwise...
My girlfriend wants to work at Slack. Here's her application
+1 for recur. It was first puzzling to me, and looked like a limitation, until I saw the light. It actually forces you to make sure you not going to cause actual recursion (so no stack overflow).

I also like the [] vector syntax, since you don't need to quote it (no calls expected there).
Toxic cynicism.

Change happens one step at a time. Tell us about the amazing things you are doing.
Rich Hedge Fund Managers Are Still Rich
That deck is really pretty but I'm really curious whether investors would spend their time going through so much text. Here is a pitch deck that buffer used.

http://www.slideshare.net/Bufferapp/buffer-seedrounddeck
Kids send digital/handdrawn flags to Nepal
The first version require access to the full list, but is easiest to understand and has linear performance.

There is no good reason to use the second. It uses the same amount of memory and is quadratic in time.

It's also possible to implement a forward-only version of the code using a heap. This requires O(number of leaders) memory and worst-case O(N log N) performance.

import heapq

def get_leaders(it):
it = iter(it)
try:
i = next(it)
except StopIteration:
return None
heap = [i]

for i in it:
if i < heap[0]:
heapq.heappush(heap, i)
else:
while heap and i > heap[0]:
heapq.heappop(heap)
if not heap or i != heap[0]:
heapq.heappush(heap, i)

heap.sort(reverse=True)
return heap
The pedantically correct term is "Debian GNU+Linux", I believe.
The X-axis is the hour of the day. The graph is to see which categories are the most popular today, according to the hour published. We have added this legend to the graph.
Yes, but...

The ultimate convenience store is attached to a gas station and has a drive-up window so you don't need to get out of your car.

While the ones with drive through windows are rare, I'd be hard pressed to think of a convenience store within a 30 mile radius that was not also a gas station. As far as I can recall, I only see c-stores that don't sell gas inside cities.
The Benefits of “No”
Hilarious that rmxt thinks the police could only be professional in a liberal-leaning area.

You know, like the extremely professional folks in Seattle PD, which is also in a blue city in a blue state.

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

Oh wait, I was completely wrong about that.

http://www.seattlepi.com/local/article/Feds-findings-in-Seat...

That's not to say that all the people who work for Seattle PD are bad apples that need to be fired. But I'm sure a few of them are, if the whole department is getting investigated by the Justice Department.
The only thing that I can complain about is using LoC as a measurement and then, even worse, comparing the LoC of a frontend with the LoC of a backend.
Two profitable uses for robots
Yes, that's part of the user hostile stuff. It's a shame because it makes me reluctant to recommend pinterest. I don't ever link to my pinterest here for example.
> Once I was illegally searched because the officer "smelled weed"

It's tacitly understood that "smelled weed" is one of several simply accepted pretenses that give an officer the ability manufacture probable cause out of thin air.
> (1) Perform a fast, sequential "skeleton parsing" pass before the main parse that scans just enough to find "split points" that are consumed by the parallel parser.

I'm not able to access the full text of this paper. But from the description I wouldn't really consider this "parallel parsing." For the "skeleton parser" to be correct, it must transition through a state machine that is exactly as complex as the real parser. I suspect (again, not being able to read the paper right now) that what makes the "skeleton parse" faster than the "real parse" is not the speed of the parser itself, but the speed of the "load" on the parser.

For the skeleton parse, the "load" on the parser is just finding split points (cheap). At the application level, the "load" on the parser in many cases is building a tree of some sort. The tree-building is often significantly more expensive than the parse itself because it usually involves a lot of dynamic memory allocation.

So yes, if you do a preliminary parse that chunks up the document, and then a second parse that has a heavier load on it like tree-building, the second parse can indeed be parallelized. But I wouldn't consider this parallelizing a parser, I would consider it parallelizing the tree-building. In raw terms you have probably spent more CPU on the actual parsing logic than in the single-threaded case.

I don't mean for this to be a semantic quibble. I'm really interested in parsing architectures that decouple the parser itself from its "load." Event-based parsers like SAX parsers do this. I'm interested specifically in the parser part itself, and the limits of how it can be optimized.

> (2) Guess the state you're in based on some heuristics, and roll back on failure. This actually works surprisingly well in practice for many grammars, for example HTML [2].

Looks like an interesting paper, I'll have to dig more into that.
Two things:

First, you're describing RSA signatures. "Encrypt X with your private key" means "X^D mod N" which is how RSA signatures work. In the context of RSA-based cryptosystems, it's clearer to just say "signed".

Second, the ghsign library uses the `RSA-SHA1` signer, which runs the message through SHA1 before signing it. The reason it does this is because "textbook" RSA (i.e. RSA on arbitrary messages) is vulnerable to chosen-plaintext attacks.
For Example:

Apple Computers - Apple Records (Beatles)

Macintosh Computers - Macintosh Stereo Equipment (Stereo Equipment is much more expensive than the technology company)