skysight-inc/HackerNews huggingface dataset:
Just do what I did. `brew install sleepwatcher` and then make a script at `~/.wakeup` to turn wifi off and back on again:

networksetup -setairportpower en0 off
networksetup -setairportpower en0 on

I finally did this after the El Capitan GM didn't fix my issue.
Reducing problems down to "biggest" and you lose a lot of nuance into what is going on. IMO, crime and low education levels are symptoms that feed back into the deeper social breakdown that happened.

So to illustrate one facet of the social breakdown: the implosion of local street-level business.

I grew up in Los Angeles during what was the worst period of time for its inner cities, around the riots and the aftermath. Lots of street businesses burned, and there was fear that there would be an investment implosion. Perhaps the business community would do what the police department did (yeah, they pulled out at the beginning of the riots). But instead, Los Angeles restored normalcy to its communities, thanks to solid leadership and general empathy. Jobs were still around, businesses continued and expanded even in the toughest parts of town. And that is why LA thrives even with its many more dangerous pockets.

Detroit outside of downtown was largely abandoned by its business community and "city fathers" (seems old fashioned to put it this way but it was the 1960s). You need more than a glitzy downtown, pristine museum, and freeways to have a functional society. On the street at the crucial moments of decision, it must have been rational thinking made by store owners to not invest or to move the store elsewhere. Maybe sprinkle some racism in there too. These local business folks must have sensed the direction of the wind.

The core "powers that be" were not helping, and clearly could not find a way to halt the white flight. Maybe it was unsolvable, but looking at the history it seems that the city fathers did not pull all stops on keeping Detroit's population stable.

Add to that the huge loss of industrial jobs. In an economic sense, all that was left was downtown pushing big gov solutions like "convention center" and "people mover" and "casino". Not to mention the GM plant and jail that destroyed half of what was Polish-town. Highly unsubtle solutions in the Pre-Gilbert era, most of which entirely ignored the importance of small, community-level business.

So problems have causes and it feeds back into the problems. Without eyes on the street by shopkeepers, you have crime. Without nearby jobs, families do not have time to help their kids through school.

The fix? Complicated.
Ask HN: How do you track time, invoice and get paid as freelancer or small team?
I'm interested in knowing this part of the workflow other freelancers/consultants and small team of developers/designers use.
How are journalists not the general public?

Giving classified documents to _anyone_ who isn't cleared to see them is the "general public." Journalists are no exception. Not sure why you think that.
You can get a Senator removed from office through primary or election, getting his backers is not going to happen. You want Senators and Representatives to fear taking the money to do these type of bills.
Flat Design: Its Origins, Its Problems, and Why Flat 2.0 Is Better for Users
I was going to suggest that this page was meant to serve as a warrant canary but it looks like Apple had a warrant canary but it's gone now (Explanation of a warrant canary for the uninitiated in link): http://apple.slashdot.org/story/14/09/18/2216222/apples-warr...
What is this tool?
So so much truth in this. I've also seen Batch processing with terminals ID move to real time programming and operating systems. Move back to browsers and session ID (IE HTML GET / PUT are the new punch cards)
> It perplexes me why they don't shift their delivery period six hours later to start at 15:00 and end at 21:00.

Maybe they feel that even people doing delivery jobs are entitled to be home with their family at the end of the day?
>Laws can and have been written that require companies to use weaker or broken encryption.

Source? Example? I don't know an example of this. (At least in the US)
History has shown time and time again that societies can only survive if the difference between the rich and poor stays within certain bounds. The French revolution didn't happen because people were thrilled by the prospects of a democratic system. It happened because the difference between the aristocracy and the peasants grew so large that a few years with a poor harvest were reason enough to topple the whole state. And there are countless other examples in history. If a society wants to survive and remain stable some of the benefits rich people have must also be accessible to the general public (for example health care and education), otherwise social unrest is inevitable (remember occupy wall street?). This does not equate to communism. Neither does it mean that everything is ok just because nobody is starving anymore.
Show HN: Makers Tools
Ads are a very bad hack to the problem of getting people to spread news of a product through word-of-mouth. Things like the AeroPress get lots of sales and I've only seen them sitting on a shelf in a coffee shop, being talked about online, etc.

The ads I see for New Relic, PagerDuty, PyCharm, etc. are relevant to me but they are not actionable. They would be relevant and actionable if I am consciously looking for these products as part of a report that will kick-start the procurement process.

All the books I've bought in the last year were based on recommendations from blogs and podcasts.

We're at peak ads on the internet.
Hence the 3-dimensional chart for determining adjective ending -- it depends on gender, case, and the word preceding it (i.e., definite article, indefinite, or nothing). Although I found a chart on this page that "reduces" it to a four-branch flow chart:

http://www.nthuleen.com/teach/grammar/adjektivendungenexpl.h...
IAB Starts Publicity and Engineering Battle Against Ad Blocking
Interestingly, Amazon also runs the "Amazon Locker"[0] service in the US, which sounds much like the "paczkomat" you describe.

0. http://www.amazon.com/b/ref=amb_link_366591722_2?encoding=UTF8&node=6442600011
String interfaces
When I get upset about low-quality media, I just remember it's not intended for me.

In Brave New World, did the alphas and betas spend their time complaining about the terrible dumb entertainment produced for the deltas and epsilons? No, they understood that it wasn't intended for them, it would be silly to complain about it.
Just a heads up to any holberton school developers, the site is throwing 502s on every page.
Hi, I just wanted to let you know about a typo here: https://www.holbertonschool.com/education#projects

Valerie Tching, Senior Sfotware Engineer at LinkedIn.
Since Julia is about speed, how does this compare to Sympy speed?
Government officials breaking laws or abusing their office should be held to a much higher standard, and I would like to think most people agree here.

> I bet 90% of people are against police comitting crimes

Survey Question: Would you agree or disagree with a police officer or federal agent holding a suspected terrorist longer than 24 hours without charging them with a crime?

This is the sort of question that I think more than 10% might agree with. Then, police have endorsement to commit crimes which trend up proportionately to what they can get away with. Substitute terrorist for paedo or rapist, etc. However, this question negates the fact that the implementation and scope may be larger than how it is framed.

I hope 90% of people would uphold AT MINIMUM, the US constitutional laws in the bill of rights. But you and I might be disappointed
> Serious question, does being unfamiliar with the term for which the survey is named taint the significance of the answers given?

Being a poll on a website taints the significance from the start. A sample size of 1000 is usually enough to get you some insight into the mind of a large population, but it has to be an accurate representative sample. A poll sponsored by HuffPo is unlikely to be a representative sample of the US.
Oh man, I thought I was the only one. I've searched a bunch about this online but couldn't find anything. This mainly happens when I'm connected for an audio speaker. Weirdly, connecting it to my Bluetooth keyboard after the fact sometimes helps?
Just from looking around here, it appears they found it via the link from Hacker News. :(
OS X El Capitan Review
It's just Maple in disguise. :-)
Under a strict interpretation, Apple hasn't given the NSA "access to [their] servers" (not root access, not physical access, etc.). They've given them a means to access some user data. (Edit: Or just request it, see snowwrestler's comment below.)

To answer what access the NSA has, the best case would be merely access to iCloud email, iTunes Store purchase records and other things Apple can't encrypt. The worst case is everything.
I don't know about you, but my local post office opens at 10 and closes at 5pm, which are when I'm at work.

And my mailbox is a slot in the door. It's not going to accept my packages for me.
How's your experience with legalzoom? I'm in the process of incorporate my side project, and as a not US person I'm looking on the best way to do it. From opening the company, the bank account (without having to take a plane and go to the US just for that), and also all the work that needs to be done during the year (taxes, accounting, and I guess many more)
Nice job explaining a fundamental IR algorithm.
The Gamma: Simple code behind interactive articles
Knowing that most phone lines are essentially considered tapped by the NSA/FBI...

So is privacy a good reason to use FaceTime Audio over say, a standard voice call?
A Measure of Sacrifice (2005)
"foo".asSequence() works fine. I understood your long hypothetical conversation: you want to avoid an intermediary method that returns a collection of chars. I just fail to see why anyone would care about this.
> Take 50-60 years ago, with the creation of the service industries and all the jobs that came with it. And now for the past 30 years, hipsters are getting coding jobs and getting pretty good salaries despite the fact we have been living in a past century of technological revolutions.

The qualitative difference between now and 100 years ago is that those hipsters gave brains to the machines. The shift to service industries occured because machines replaced human muscle power. The hipsters started with replacing human precision, and now they're replacing human cognitive capabilities. Services sector is not safe.

It's also important to note what kinds of jobs are being created nowadays. A lot of them are "bullshit jobs" - make-believe work or elements of zero-sum-games like (big part of) advertising industry. Work has been disconnected from benefit it brings, we're literally (although usually indirectly) inventing nonsense tasks because we need to have something for people to do and not starve.
Small Data: Tinder-like apps are the way of the future
All online for free: http://egypt.urnash.com/rita/
Also there are links to the store where you can buy the first two printed volumes (kickstarter for the third and final one soon, I have two pages left to finish) and to the Patreon, which will get you PDFs.
wow... too much traffic... sry guys. We are scaling the servers right now!
I wasn't talking about projects written in the language, I was talking about the language itself.
Just in time when Google Chrome app went over 50MB. Coincidence?
The ones that I occasionally use:

0+ - venus - numification: When you really need a scalar value to be represented as a number and not as a string. Useful when you're generating JSON and you need the types to be correct.

@{[ ]} - baby cart - list string interpolation: This is very useful when you need to interpolate arbitrary expressions inside a list. Useful when you're generating an SQL query, for example:

SELECT * FROM Office WHERE id IN (@{[ join(',', ('?') x @ids) ]})

!! - bang bang - boolean conversion: When you want to return a boolean value from a function, but you don't want to leak implementation details.

,=> - winking fat comma - non-stringifying fat comma When you want to create a hash whose keys are constants.
Content creators care about publishing schedules and expiry dates - how long the content is available on iPlayer. That's their primary concern.

What exactly is DRM protecting them against? It's not geo-blocking, that's done on the server. There's no "download button" that suddenly appears on iPlayer if the content isn't encrypted. So please remind me what protective benefits DRM brings the rights holders and content creators?

Keep in mind, it's trivial to screen capture video on any half-decent computer. Anyone "determined" enough simply needs screen capture software and then hit record.
Google Nexus 5X
We did some analysis of Strone Roam campaign, make sure you read before backing.

http://proper.systems/strone-roam-roaming-wierdness/#more-34...
The Measured Worker
100MHz Cortex-M4 micro with WiFi, Lua, 2M flash and 128K RAM for $10
Nexus 5x on sale now
They were not even aware of it in the first place.

I just asked two people around me if they knew what Civil Asset Forfeiture was. Both said no. I then asked them if they had heard about the police confiscating the money from the guy who was driving back from Las Vegas after he won a jackpot. They both said yes.

Sometimes it's not a lack of awareness of the issue, it's a lack of awareness of what the the technical or legal term is.
Is there any way I can get this today without being a "certified apple developer" or whatever the language is. I have to reformat anyway and really don't want to reinstall yosemite and then have my settings ovcerrun on the upgrade in 2 days.
I'm just praying that my wifi doesn't start disconnecting again every 1 minute...seriously wifi is one of the most basic things to have in a laptop. Why is it so hard for Apple to get this right?
How does it tell the ads and content apart? Short of having some sort of flagging system with a user base, I don't think there is a technical way to do this.
We're working on running some more thorough YCSB benchmarks, but here are some of the percentiles on the uniform "workload A" running on a 9 node cluster for 1 hour:

Throughput: 28280 ops/sec
Read: 2821us avg, 467us min, 3519us 95p, 6843 99p
Update: 1688us avg, 714us min, 1983us 95p, 8855us 99p

Workload D, which has some inserts (and reads recently written data):

Throughput: 36286 ops/sec
Read: 1765us avg, 491us min, 2537us 95p, 4259us 99p
Insert: 1614us avg, 838us min, 1595us 95p, 11575us 99p

Hope that helps. I'll try to push our latest YCSB bindings to github later this afternoon/evening if you'd like to reproduce on your own.
Site is still throwing 502 errors, maybe you're running in dev mode? (just joking :))
Question, what's the rationale behind the name? Just curious.
One year ago, they did this expose on Tesla:

http://www.businessinsider.com/tesla-the-origin-story-2014-1...

I remember being shocked that anything worth reading would have been written by BI.
Also true. But we know from the Snowden revelations and other sources that Apple has been backing up its promises. So we have at least some level of assurance that Apple is a good actor.
One would have to serve a different document structure to each request so that static filters stop working, but then ad blockers would start using heuristics to determine which elements on the page are likely to be ads and so the cycle continues.
The argument isn't that it's unethical to not watch ads, it's that it's unethical to not watch the ads but still take what they offer in exchange. Any industry would be up in arms with people walking away with their goods without paying. It's really not that different than the MPAA or RIAA, especially in that since we don't like them, we feel justified in behavior that normally we wouldn't take. Does the RIAA being a shitty organization mean that we should steal (music) from their constituents, or that we should boycott them? Does the MPAA doing shitty things mean we should steal movies from them, or that we should boycott them? How is viewing content without seeing ads any different? Two wrongs don't make a right.

Now, to clarify, I'm not expecting anyone to stop using ad-blockers. That's stupid, there are very real reasons why they are useful, but acting like there's no ethical problem with the current situation, IMO, is ridiculous. The first step to fixing the problem in a sustainable way is acknowledging the problem in it's entirety, and that includes our part. Otherwise whichever side convinces enough politicians first gets a temporary advantage, until it sways the other way, or we finally get better legislation. Why not aim for a good compromise from the beginning, so everyone wins?

> It's like saying "yeah uncle Bob gets drunk and beats us but his buddy is a really nice guy just trying to get by". Sorry Bob, you're not welcome in my home.

Yet you keep using his summer home for vacation. Perhaps cutting off contact would send a clearer signal?
Yep, Apple has a public beta channel now: https://beta.apple.com/sp/betaprogram/
Getting 502.

"Holberton School offers a truly innovative approach to education: focus on building reliable applications and scalable systems" -- hum.
How to Avoid Server Sprawl
In social networks, group boundaries promote the spread of ideas, study finds
Its interesting that my local newspaper is primarily a social network for people I don't care about.

A concert review by someone I don't care about, a theater review by someone I don't care about, a probably paid restaurant review by someone I don't care about.

They do a heavy business in reselling a Reuters feed, corporate press releases, and government press releases, but I don't need any of that, or I get it from the source.

Its quite possible "news" as a filler product is obsolete.
This seems to me like a rational approach. You get what you pay for. Or to put it another way, if you don't pay for the product, then you are the product.
I've been seeing quite a lot of this kind of "OO reactionary backlash" recently, "... is an anti-pattern because OOP". Most of it already years old, but still something that feels like a little trend suddenly showing up in links left and right. Could be a sign of the last "pure OO" advocates starting to feel the pressure, or it's just me googling the wrong topics...
Yup, that's it! See:

http://dailyweb.pl/wp-content/uploads/2014/05/Paczkomat-InPo...
Very good point. I suppose the question is a false choice in the first place. The officer should just write down both tag numbers with a "worst drug deal ever" note...
What does this solve that my cellphone or iPad doesnt?

Personally, I use my iPad in this manner. Plug it into my speakers and play Spotify. Then use my iPhone to control the Spotify music. Which is actually a killer feature of Spotify, with the same account you can control music playing on other devices.
Introducing U-SQL, a language for big data processing
National Coffee Day: How much do you spend, in a lifetime, on coffee?
No, what I mean is that the rules are only at best heuristics for mimicking another style of writing. They're not correct or incorrect, except so far as they are poor representations of some specific culture.

To say there are formal rules of language is a bit like saying there's only one culture that is fit to judge the acceptability of your words.
But there's a BUY degree of A mixing that they NEW can't cope with AUDI surely.
Yeah, the low latency is a critical part. I laid eyes on this thread very soon after it was submitted, and there were already a number of identical dismissal style comments-- before anyone else had even arrived.
Machine Learning: What Is It Good For?
Algorithms + Data Structures = Programs by Niklaus Wirth - Does not one read this book anymore. It takes both and both must be considered throughout the coding process. Its all math / computing is a matter of encoding and logic. 'A' = 41 hex = 01000001 binary. An array of 3 x 3 is also an array of 1 x 9. - A L Turing
Has any incumbent ever lost a primary due to activism over EFF-type issues?
Google Nexus 6P
As an advanced amateur photographer (http://photos.aballs.com/), the iphone getting better and better and better has tremendous appeal. My photos are instantly geotagged, and I can immediately upload them to twitters, IG, and share them directly with people via WhatsApp and SMS.

Every year I get a new camera (along with new features) from Apple for the cost of $200-300 (New Contract Free Price - Selling my old phone used). That is nearly impossible to do with my SLRs.

For serious travel photography, I enjoy using my 5D2, but there really is no comparison between using my full kit, and using my iphone.

I prefer my iphone.
Nexus 5X
I've upgraded my Macbook Air since Lion without issue. There's no reason to expect trouble coming from the new security features as homebrew/macports as well as sane make scripts default to installing outside system directories anyway. In the worst case, you'll just have to reinstall the offending applications.

Of course you still do a backup before in case the universe blows up.
Even the Magna Charta did contain a passage saying, that the ruler can not deprive a free man from his property without proper trial.

When this is now changed by law trickery of modern governments, we fall back into times of non-liberty.

It is the same as with the "war against terror" -- in the "war against criminals" we sacrifice basic freedoms and thus the basis of our societies. Even worse, we make out of those who shall persecute criminals, criminals themselves (because there are already plenty of cases documented, where the policemen use this to get advantages for themselves from innocent victims).
Are you serious? The only "cleared" (using your term) people were NSA higher-ups - the very same people who spied on their own citizens.

Snowden sent the docs not to any/all journalists, but to a carefully selected group of the most reputable ones: NYT, WP, Guardian. He had followed Poitras/Greenwald for a long time before to make sure the docs end up in responsible hands.

Also, the journalists asked the US government to cooperate/redact out some national-security sensitive details, they refused. So they had to use their own judgement.
Sorry Tim, you've already lost me as a customer. Next computer I get from work will be running Linux.
Promises and Partials in JavaScript
Using your same logic here, you could claim that those documents are forgeries to begin with, leaked to "assassinate" the "character" of the NSA. You can't have it both ways. Either you're skeptical of the documents origin/source or you aren't.
I think there's a difference between "baby talk" and using Perl as Perl.

You can write Perl that looks like Python, or C, or whatever, but you're missing out on what makes Perl, Perl.

"baby talk" Perl is another name for being able to much with Perl, knowing very little of it. Also known as, "Getting your job done".

It's up to the individual to learn more about the language, which can be done gradually, much like a natural language.

"Clean, maintainable code" in Perl is actually known as, "Modern Perl" [0]

[0] http://modernperlbooks.com/
You need to ask yourself exactly why it's not happening. It's not because it isn't possible, or because humans are better at operating trains. There's simply a lot of opposition to such ideas, and a lot of entrenched interests with political power that keep machines at bay - for now.
A curated and searchable database of investors
I don't know of any formal case studies, but Adam Marcus and myself (two devs on the project) worked on a large-scale workflow at GoDaddy where we automatically organized data extraction experts into hierarchies of review. That work actually got published at a Databases conference: see Adam's nice summary here: http://blog.marcua.net/post/128120315677

On the research side of things, the flash teams work by Daniela Retelny at Stanford (http://stanfordhci.github.io/flash-teams/) has done great proof-of-concept things like build an app in a day with distributed teams.