skysight-inc/HackerNews huggingface dataset:
Facebook May Soon Bug You With Video Ads
I would feel a lot better about Slate (and everyone else) if they didn't run those "SPONSORED FROM AROUND THE WEB" pseudo-article links at the bottom of each page with this exact same kind of manipulative ads in them.

Come on Slate. You think better of your audience than this, right?
This information has been available for a long time on plainsite:

http://www.plainsite.org/laws/index.html?corpusid=3
You're completely right: these documents articulate a set of standards that we've essentially been following from day 1. Nothing's really changed except that now we've written down the unspoken rules that nearly everybody followed because, you know, they're good people.

It's an "explicit is better than implicit" kinda of thing!
I used iSailor on my iPad with correct and reliable homing without internet connection.
By law it's a secret court to begin with. Whether or not there's a sign on the door, it's still a secret court. Would a secret court that advertised its location be more palatable to you somehow? Because a sign on the door adds zero significance to the substance of the FISA court's existence or powers.

And, given that it is a secret court, well it wouldn't be very secret if everyone knew where the courtroom was, would it?
Which seems a little bit ironic, if you ask me. Anyone know what server software the OP is running?
I must be reading this incorrectly because if this is what I think this is then states and local governments cannot discriminate based on citizenship. Please correct me (and sorry for going off a tangent) but doesn't this make what they're doing in Arizona unconstitutional?
Haha, suspect. You know their tool for importing new types of data into a Palantir system is called Prism, right? Aggregating data from different sources and linking it is all they do.
There are several "Work Clubs" around if you are in the Bay Area. I think they have these around a lot of cities.

http://www.workclub.net/

Used to be called "Coffee and Power", IIRC and started by Philip Rosendale, IIRC.
This is why I love pattern matching in languages that support it - typing is just one of the things on which they can switch. As the Scala website puts it (paraphrasing), "Pattern matching is switch on steroids!"

Here is how you would return all leaf values in a binary tree in Scala:

case class Node
case class Fork(left: Node, right: Node) extends Node
case class Leaf(value: Int) extends Node

def getValues(node: Node): List[Int] = node match {
case f: Fork => getValues(f.left) ++ getValues(f.right)
case l: Leaf => List(l.value)
}

EDIT: Would actually be more idiomatic in Scala to extract the values from the case classes rather than just matching on type...yet another wonderful feature of pattern matching. Coded as follows:

def getValues(node: Node): List[Int] = node match {
case Fork(left, right) => getValues(left) ++ getValues(right)
case Leaf(value) => List(value)
}
YAML was crafted to be usable by most mere mortals. Whether or not it achieves that in practice is another issue ... but I think most people who find themselves using a static-site generator could find their way around a YAML config file just fine.
Researchers demo how apps, chargers can circumvent Apple iPhone, iPad security
I'm currently finishing a PhD in economics and have spent a lot of time learning the exact technologies he suggests (Python, SQL, a bit of R). Working as a data scientist would be an awesome opportunity. But are most companies _really_ in need of so many data scientists, or is it just a trend?
The Entire US Code is now on GitHub
The closing jab at Mexico is just a jab, but I feel it bears explicit mention - while vising Mexico, many tourists won't have a native cellphone plan, and thus won't be connected to Facebook/whatever, leaving you to actually connect with those you're on vacation with.

(Yes, wifi exists, but it's not ubiquitous.)
This is what I was planning on doing with Gitpress [1]. It's Python-based, but you'd never know it unless you're making plugins for it.

[1]: https://github.com/joeyespo/gitpress
I could not possibly care less. I choose software based on what works (insofar as it is a tool, and that is the foremost metric by which it is just judged), and part of working involves being compatible with the rest of the documents I handle, the vast majority of which are not produced by me (or my software choices.)

If you want to compete with Word, make it righteous and compatible, and I will purchase a copy immediately.

However, given the choice between the moral high ground or a text editor that does what I need it to do (including compatibility), I will choose the latter every last time.
"good/bad" quality is completely subjective.

There may be objective qualities that have statistical correlations to people's "good/bad" assessments, but that doesn't stop "good" and "bad" from being subjective.
Letting off a little steam about this topic is good, it's irritating to me too. Hopefully this doesn't get taken out of context and actually attributed to Bret though.
...and the point wasn't to "get the oil" necessarily, but to take control of it so Hussein wouldn't flood the market and make the price go down.
Genuinely curious - how can this data be used from a software perspective?
Google's Data-Trove Dance
IAmA Matt Mullenweg, co-founder of WordPress (18% of web) and Automattic
Can you explain to me how SFO can prohibit FlightCar from picking up or dropping off passengers at SFO anymore than they can prohibit my friend from dropping me off or picking me up there? Since when you prohibit someone from the roads at a public facility when they're conforming to the law?
After trying to help a friend to make Cherokee, Rack and Shotgun (yes, he insisted on reloading using shotgun) work together, I abandoned the server as "ungoogleable".
Well, if you believe Insight's white paper (http://insightdatascience.com/Insight_White_Paper_2013.pdf), the answer is "Yes".
I'd love to see this for a subset of laws. You could start with the law surrounding permits, for example.
I have a friend who attempted to sign up for online therapy via email but was turned down during the intake process because he admitted to having suicidal thoughts. This was a few years ago, so I'm not sure if the landscape has changed much, but he was pretty excited about trying it out and pretty disappointed he would have to get out and push himself to visit a typical brick-and-mortar (? :-) therapist.
The NSA is filtering a public utility. The users of this utility choose what information they want to broadcast, and should do so with the full knowledge that this information is being bounced between dozens of routers every time it goes out, any one of which may be monitored by its owners. This information ultimately ends up at the destination IP address, whose owner is able to use this data in whichever manner he sees fit, including submittal of said data to a major governmental intelligence organization as occurs with PRISM.

The problem is that people foolishly assume that the plaintext packets they send online are private by default. As in real life, good privacy can only be assured by significant effort on the part of the communicants. Is it evil to observe something occurring on a public street corner? It is not different to observe something occuring on a public IP router.
> Even 25% slower than the output of a good C++ compiler means a browser goes from first to last place in many benchmarks.

Do most people care about that, though? Like, go to a page that demonstrates browser-benchmarks, then uninstalling their current browser, downloading the best one and installing it? Or are the browser they got "bundled with the OS" fast enough for them? (not to mention exporting and importing all their bookmarks.) Maybe I've been spoiled by having fast browsers, but I can imagine that I could live with that, if I gained other benefits. Most of the websites I read are either very "static" pages for mostly reading stuff, or videos. I am pretty content as long as webpages load in around one second (I can probably live with more than that too) and my videos buffer at a respectable rate.

If I got a browser that was 25% slower, but on the other hand was very much less prone to buggy behaviour, then that sounds like a great deal to me as a user. Chrome is annoying me right now because of the relatively recent behaviour of freezing the UI-frame when I make a new tab: I can type in text but it's effectively hidden to me, and I only get to press enter and see what I wrote after up Five seconds. Another problem (very common in Chromium) is the whole webpage being unresponsive until the whole page is loaded, instead of loading stuff like text and letting me navigate the loaded stuff. If these things could be actually fixed for me, the lazy user (ie without me changing browser or diddling around with stuff that I shouldn't need to diddle around with in order to have a performant browser), then that sounds like a good deal to me.
An Early Testimonial
I find how porn sites run things far, far more interesting than how generic start up X runs things and I'm not sure why.

I think in general its because my friends who work at start-ups doesn't really stop gushing about how MongoDB or Go or Redis is amazing and fixed all their problems, whereas porn sites/porn industry in general is talked about far less.
Well, I'd rather get my shit done smoothly with my co-authors rather than take a principled stand and all that. Most in the academia do not wanna change their authoring tools, especially if they are 50+. And all of this is driven by one thing: most of the conferences and journals in our field want Word submissions. I don't have the hallow effect to change that. So we'd rather everybody dance to Microsoft's tune than the other way around.
Yes, that was part of the basis of the DoJ's case there. The Fourteenth Amendment extends protection to all persons, not just citizens.
A developer's guide to surviving fame, trolls and themselves
Looks interesting but title says it contains C code.
From the stories on HN one would think that everyone who used memcached is replacing it with redis. Is that really the case? What are the differences and similarities?
Disruption is not a TV drama. That there is no obvious villain, is not an argument in support of the status quo. The issue is inefficiency. Why take two cars into the airport when I can just fly-and-go? The inefficiency of storing empty vehicles for longish periods of time increases costs on market participants and on the public. How the burden of disruption will be distributed amongst incumbents and new players is surely an important question. But the article appears not to care that efficiency improvements may be held hostage to such negotiations. Conflating whether to allow FlightCar with how best to allow FlightCar and its ilk.
I discussed the suicidal tendencies a friend had in another comment in-thread, but do you know why it is considered worse than in-person treatment for severe illness? Certainly the friction of online contact is lower for people who generally avoid personal/social contact, which I thought would be a good thing / possibly help otherwise incapacitated people get started.
It may be doing that conversion, but the conversion works. For example, committing the following text (with line breaks), then joining it all into one line, shows no differences when using 'git diff --word-diff'.

Test the first. This will check if reflowing
text actually produces git word-diff weirdness,
or if it's actually decent.

The line does get reproduced on the terminal (a line diff was seen), but no text is shown in green or red to indicate an actual change.
Thanks I am ordering this one right away. I will probably order Applied cryptography as well.
Sweet, according to his list I'm over-qualified. Interesting to think it would be so easy to make the transition to data science. Except I can't imagine wanting to work on less important problems than the ones I work on now.

Global food security vs. social network analytics. Yeah, fuck the money.

edit: calling all data scientists - why not consider becoming a computational biologist? We have hard problems, real outcomes that affect people's lives, and not much money.
Ask HN: Who is hiring thread but for employment seekers
Has a monthly job seeker thread been tried before? I think it would be a good idea. People looking for employment could just write a little about themselves, their skills, where they are located, if they would relocate, if they are interested in full-time/part-time/internship positions, links to github, linkedin profiles, personal websites/projects and contact information.

Thoughts?
Here's a pretty good comparison of the two - http://stackoverflow.com/questions/10558465/memcache-vs-redi....

Disclaimer: I wrote the above article and work for RedisToGo. But that article is unbiased :)
> My very non-hypocritical argument is that google used vague language in their ToS, as most ISPs do, in order to give differentiation between personal and business class service. The author decided to interpret the ToS with a specific wikipedia definition of "Server", despite lack of any indication from Google that this is what was intended, and specific cited and official instances that indicate that this is NOT what is intended. Despite lack of positive evidence for this interpretation and even citing negative evidence, the author asserts that Google is now against Net Neutrality.

As a defense of Google's position as not conflicting with the Open Internet Report and Order that they lobbied for, that seems to fail on the grounds that using "vague language" about what is prohibited in the Terms of Service seems to be directly in conflict with the transparency provisions of the Report and Order (and, also, with the transparency principle which is part of the standard for evaluating whether practices limiting use of lawful applications, devices, and services are valid as "reasonable network management practices" under the neutrality provisions of the order.)

So, this argument, rather than contradicting the charges against Google, actually supports them.
I'm stuck on ST version 2 because a plugin I bought and use daily (Sublime FTP) doesn't work with it yet.

What's the point of having a great editor if the ecosystem is this crappy?

Guess that concludes my great closed source editor experiment, Vim here I come.
It was kind of a flip thing to say; I was on a bit of a roll.

The argument, such as it is, would go something like this: Instead of physical terror, the policies Alexander pursues create a psychological terror that jeopardizes "our way of life". Instead of a fear of being blown up, we have a fear of persecution for what we say.

A terrorist thinks he is beyond the law and uses his limited power to create fear in a population in order to achieve his ends, which the majority does not support. That's a description that seems to apply to Alexander.

I know he's different, but he's definitely not as different as he thinks.
Show HN: Multi-tab Markdown editor for Mac with Folder Navigator
For all the store I've visited before, other than indirect operation stores, pretty much have very consistent policies regarding pretty much every aspect of their operations.

The one store I was treated differently (which was a direct operation store) was little surprising to me, but might have been something to do with bizarre laws in their local jurisdiction, in which case they wouldn't have much choice.

It could have been better if they could accommodate me somehow, though...
Value is Subjective
But this article is not about the porn side. The tech tradeoffs are basically the same as in any industry - this article could have been written pretty much word-for-word about many non-porn sites.
Having issues with that one due to the image... the text only one works: http://webcache.googleusercontent.com/search?q=cache:http://...
The copyright laws are obviously a result of corporate lobbying, but there is simply no way to argue that extending the copyright on Mickey Mouse has reduced the quantity or quality of literary or other artistic work. It has only made it more expensive to (legally) watch old movies or read old books.
>> nor do you have a right to opt out of a website owner recording the HTTP requests you send to it.

And if that was what we were talking about then maybe, just maybe you'd have a point. But we're talking about active analytics scripts here.
A friend who is a very experienced therapist told me that "10 Days to Self Esteem" was, despite the awful title, the book she recommended most. It contains a testing/evaluation method you can use to evaluate yourself without setting foot in a therapist's office, and functions more like a workbook. Seems pretty cool except I don't want to give the idea here that people should avoid the therapist.
Go occupies an interesting space. In my mind, I see it as competing simultaneously with C and Python. I suppose that the developers didn't see a place for an Optional type within that realm. I have to admit, I think it's a shame; huge proponent of non-nullability here.

Especially given that with Go's lightweight lambda syntax a functor type would be easy to work with, I'm disappointed with its exclusion.
Well, they might allow cameras -- "classified" does not mean "no records" -- but any photos or video would also be classified.

They certainly wouldn't allow the media (or the public) in the courtroom, with or without cameras, or allow the media/public access to anything any cameras they did allow in captured.
Ask HN: Need tax help for CA LLC selling iOS/Android apps
last year, a friend and i started an LLC in california. we made a couple of mobile apps which we sell through apple, google, amazon, etc. shortly after that, i co-founded another startup, which has kept me very busy - too busy to think about paying taxes for my LLC. obviously, i'm a bit behind schedule here. i need help.

i've spent a few hours reading everything i could find about paying taxes on mobile app revenue, and how it applies to california LLCs. i found a lot of confusing and contradictory information. i could find no comprehensive, authoritative guide to paying taxes on mobile apps. most of the advice out there is written by people who are not tax experts. they seem to be just guessing. i don't want guesses, i want facts.

does anyone have a comprehensive, authoritative guide to paying taxes on mobile app revenue for both iOS and android and for US based companies? if not, can you perhaps recommend a tax professional that can help me? i'm wary of using just any old tax prep service, because i'm afraid they'll have no experience with mobile app developers. i would want someone who really knows what they're doing. thanks.
At least one regional electric utility uses an Excel macro to scrape its own public web site to gather aggregate usage and price data. This method allows them to save the data, and maybe analyze it later.

Just... absorb that for a few seconds.
Here's good, recent talk by Jacob Kaplan-Moss about porting django apps to Python 3: http://pyvideo.org/video/1787/porting-django-apps-to-python-...

Last month I started a new django app and wanted to try out Python 3. I did however run into issues with 3rd party apps. I tried to port one, but lack of Python 3 knowledge and time to learn held me back.
Head of Android design: Small screens pushing new wave in design
Well, given that they're basically a parasite on a host company that thinks it owns all names with the words "Face" or "Book" in them, are we surprised?
the Pycon conference adopted a code of conduct and last year saw a record number of women attending and giving presentations:

http://www.forbes.com/sites/women2/2013/04/09/record-number-...

clearly you can play the "correlation is not causation" card here but anecdotal evidence of "harm" done by a CoC isn't any better.

Also, the CoC's we're talking about here wouldn't eject someone for using the word "pussy". if anything, it would protect this person as the CoC would call for an appropriate reaction, instead of an off-the-cuff overreaction.
"Data scientist" is a terribly broad term that's begun to encompass a lot of jobs that used to be called "junior analyst" or somesuch.
> To lazily prevent link-rot, I setup a simple blanket 301 redirect from the old domain to my profile on Medium. Things felt right

That doesn't prevent link rot at all.

301 is a permanent redirect, the old links will end up being replaced and killed one by one, since they all redirect to the same content. And to top it off, now that he's stopped using Medium his profile might simply disappear one day.
I would agree with this. I don't like phones and wish everyone would just text/email/facebook any communications. At the same time, because of this, I also don't feel the need to go out or socialize face to face as much.
For the record: we reached out to Valerie, not the other way around. We did that because we value her opinion.

It's interesting to me that you seem so angry about a group that's trying to bring more people into tech. What are you worried about, exactly?
Wow, that's magnificent, although I don't think Go's reflection capabilities are quite sufficient to fix this particular language bug with decorators. But maybe my imagination just isn't sufficient.
Your submissions are welcome!

(This is a joke patterned off the "Patches welcome!" response common in the OSS community, but it's also very serious: high quality web development tutorials do not spring into existence from the ether. You can either write them, pay directly for them, or hope that someone subsidizes their creation. Hoping for subsidy will tend to result in less tutorials being written than the market would prefer to exist.)
I would prefer to see something like (probably not legal Go, but would work in C, if err is of type bool):

err = Write(int32(len(g.Name)))
err |= Write([]byte(g.Name))
err |= Write(g.Age)
err |= Write(g.FurColor)
return err;

If err is of type int with 0 == noError, this will require some new syntax if you want to return the correct error code (which you should want to do). I would suggest introducing

x ||= y <===> x = x || y

In English: if x (still) equals its default, evaluate y and assign the result to x"

One could even shortcut this to

err = Write(int32(len(g.Name)))
|| Write([]byte(g.Name))
|| Write(g.Age)
|| Write(g.FurColor)
return err;

Advantage: that's how the shell works, too. Disadvantage is that 'logical or' is not what one associates with "run items until first failure", but that can be learned.

An alternative could be to have a language construct that takes a sequence of lambda's, executes them in sequence until the first one that fails (if any) and returns the index and the result code of the failing lambda. That would get you something like:

index,err = SEQ([
Write(int32(len(g.Name)))
, Write([]byte(g.Name))
, Write(g.Age)
, Write(g.FurColor)
]);

I like the first idiom better, though.
> Go occupies an interesting space. In my mind, I see it as competing simultaneously with C and Python. I suppose that the developers didn't see a place for an Optional type within that realm.

I would assume that everything that hasn't been implemented in Go 1.1 is not implemented because the devleopers of Go "didn't see a place for" it.

Now, either not seeing it as more important than the theings that did make it in, or seeing it as trickier to implement and acceptable to do without in 1.x, that's quite valid.
Uber is great and all, but it is a grandiose idea that it will ever hold a monopolistic position on the transportation industry. I don't buy it, I would throw my nickels toward the direction of Elon Musk if anything.
Customer development for venture capitalists
If it had been done at the very beginning, I think it would have been wonderful...but given that legal, idiomatic nil is already out in the wild I think it's too late. Such a shame - in the example of error handling, returning an Option doesn't appreciably increase verbosity:

_, err := potentiallyErroringOperation()

// with idiomatic nil
if err != nil {...}

// with monadic Option
if err.isDefined() {....}

EDIT: fix typo