skysight-inc/HackerNews huggingface dataset:
WordPress:

http://ls.pwd.io/wp-content/...

I still don't understand why they don't have a cache system by default.
This is exactly why "every country spies on foreigners" is unacceptable. There's no reason to assume that this "note-sharing isn't already taking place.
Not everyone has the luxury of working in the field they got a PhD in. Two of my friends were looking into switching to data science positions because they were having problems finding positions in their fields. One was on her second post-doc as an astrophysicist, and the other is a soon-to-gradute biochemist. Both did find positions in their fields, but not before much fear and existential angst.
Having trouble picturing a better solution that isn't also morally equivalent to goto. Would you mind providing an example of your preferred approach?
I think we can all agree that we'd all like it to happen exactly 0 times. Statistically speaking.

Currently its way more than 0 times. It can only be made lower if people push to make it lower, rather than your stance of "its never happened to me".

PS: all my interactions with the TSA have been fine. There was a moment at LAX when I had to explain why there would be liquid inside my juggling balls..... but we got through it.
They are a plague run by publishers to try to boost their own traffic and revenue via arbitrage. I complained to the Slate folks about the image as running under their articles these day. Those are really awful.
Dang, the graphics in this are terrible and unreadable. But it "looks" positive.

Thanks for the link. Do you know anyone who went through the program?
I wish more people understood this... I keep seeing comments about being appointed with no oversight... there was oversight when they were approved by the congress(Senate). If they aren't fit to be on this court, then perhaps they aren't fit to be federal judges.
But the funny thing about Word is it wastes screen real estate without exposing more functionality. Pages simply does a better job with screen real estate; Microsoft squanders it.
Facebook finally passes IPO price
Spotify Doubles Revenues in 2012 While Losing Money
You're everything that everyone hates in academia. Congratulations as I hear that self importance is one of the key ingredients to solving the biggest problems facing the world today.
Sorry, I realize I am being harsh, and am grateful for all the work of the Django community organizers. Let me clarify my previous remarks.

The items under the "Be careful in the words that you choose" heading (which make up a significant part of the document), except for maybe the doxing clause, addresses an apparently antisocial audience, which is patronizing.

And what I mean by CYA-ish, is that the intent of the code seems to be to prevent worst-case scenarios. Whereas the HN and Hacker School guidelines aim to boost the level of discourse and friendliness, the Django code offers suggestions on how to avoid getting arrested.
Elon Musk is 100% in a class of his own. He isn't just disrupting markets (Tesla), he's creating new ones by advancing civilization (SpaceX and possibly the Hyperloop).

Still, my point with the piece is that they stand to destroy cabs in major cities around the world. That's a lot of power in the transportation industry if they can pull it off as I believe, especially when you think about how much that consolidates that power from city by city medallion owners.
This is pretty neat. I've been doing a similar thing lately (rendering arbitrary-sized bicycle chainrings in SVG), so I have gears on the brain.

I'm surprised this one uses canvas instead of SVG, actually. Compatibility reasons?
I think it's a new name for an old thing, lots of jobs through the last century had things like "analyst" attached to them. Business has been about measuring things for a long time, look at Taylorism or Gosset at Guinness in 1899 for example.[1][2]

A few little 1% gains from some A/B tests, or looking at geographic breakdowns of customers from IPs or addresses add up.

[1]https://en.wikipedia.org/wiki/Scientific_management

[2]http://www.umass.edu/wsp/statistics/tales/gosset.html
Password Hashing - The future is now
Sure! There are of course many distinctions, but here is one I think is quite relevant:

MIT made its decisions with the knowledge that Aaron was being prosecuted, and therefore were in a position to consciously influence the outcome of the case.

JSTOR and the Royal Society in '99 did not, and therefore were not.
In your .emacs

(defun create-docker-terminal (buffer-name)
(interactive "sshell name: ")
(ansi-term "~/docker/launch.sh")
(rename-buffer buffer-name t))
(global-set-key (kbd "C-c d") 'create-docker-terminal)

In your launch.sh

docker run -u user -i -t -v local-dir:dir-inside-container /bin/bash --rcfile your-rc-file
...and so have the compression and filtering tech, I'm sure. If you strip out most attachments, the average email message is incredibly tiny when gzipped.
Call your state bar and ask for a tax attorney. Pay a few hundred $, outline your issues and worries, and ask for advice plus a referral to a reliable CPA.
Ive got strong convictions too and the big data fad (real or not its still a fad) seems specious and unfulfilling. But as a PhD candidate who has had his funding cut and grant proposals continuously denied since sequestration, money of any kind is starting to sound good right now.
HN and Reddit are prime examples of a social network - and one that could only exist due to our technology. They're also a prime example of technology degrading connection to another human. Consider if we were having this conversation in person, there'd be more "real social interaction", and I'd be forced to note you as an individual, probably recognize if I met you again, and you'd be more to me than an 11 character username that doesn't consider HN and Reddit social networks, for better or worse.

Due to the limited format here, I don't even know if I've 'met' you before, nor if we have 'friends' in common - to jog my memory of where we may have met before, whereas Facebook at least gives me mutual friends.

If you're ever in a room and everyone is checking Facebook on their cellphone, then Facebook has substituted for real social interaction.
As psuter pointed out there is Evil mode for Vim. There's Viper mode too, which I believe is older. This isn't a new thing. Vim as an editor isn't anything special....infact it kind of sucks. The script/plugin/extension ecosystem is nice but that seems to be in spite of vimscript. Evil mode in Emacs is pretty nice.

Evil mode is one of the better Vim emulation layers for non-Vim editors...and there are quite a few.
As a batchelor's degree with a very satisfying career in the past, the value to me was not the degree itself, but the very specific knowledge and skills that I picked up in engineering school, such as

* learning a problem-solving attitude
* exposure to highly useful engineering practices
* learning some things that I didn't think were useful at the time
* deep exposure to computer programming, largely outside of class

The degree is somewhere at the bottom of my resume, but is never discussed in either job interviews or consulting engagements.

What is discussed is are the projects that I have done.
When we launched Perfect Audience, we wanted to make things easy to use and as open as possible to marketers looking to get into retargeting.

Yes, we were a bit naive.

The sheer multitude of bad actors participating in the ad/marketing world is bewildering. It tooks us a solid month after launch to get processes in place that let us weed out the bozos swiftly without tying up the whole team.

We have many many of these "one trick" people sign up and try to use our tools. We'll keep turning them away and staying vigilant for the next ruse.
Any possibility for a dev-minded MBA (finance) to make the data science transition? I was pretty good back in the data with respect to R
Someone's already provided a template processor for/in Go that provides generics.

https://github.com/droundy/gotgo
I have been waiting for this one. Not so much for myself but for the folks I work with who ain't so command line savvy.

Looking at the system reqs, whoa! System reqs so big! 2GB of RAM and 20GB of HD. It appears my 512 Digital Ocean droplet isn't man enough. That's the next item for me to investigate.

Edit: Actually, I'm assuming the big sys reqs are to ensure that their big clients get smooth usage out of it. Us little guys can probably get by with our meager machines.
You make a valid point, but for something as fundamental as nullability, I think that's baked into the core language spec. It's possible that we could see an Option type in the future, but the fact that it's not an integral part of the language now means it would be unreliable and defeats the purpose of eliminating NPEs.
I have anecdotes about how CoCs have improved communities, but I don't really want to play dueling anecdotes with you. It sucks that you've seen Coc's used as a bludgeon; I haven't.

However, it's sorta irrelevant here: we're not expecting this to really change much of anything, and we don't think the community needs improving. Like the FAQ says, "we know that the Django community is open, friendly, and welcoming. We want to make sure everyone else knows it too." The goal here is to articulate and write down the standards that we already basically follow but have been (until now) unwritten.

In fact, if you're worried about having the book thrown at you, you should be happy about this change. Before today, if I thought you were being a jerk, I could throw you off IRC or the mailing list or whatever and that was that. I was, until a few hours ago, essentially sole arbiter of standards in the Django community, and those standards were ones that basically lived in my head until earlier this year.

Now, those standards are written down, and there's a process and some oversight to make sure I don't unilaterally decide someone's worth hitting with the ban-hammer.

So really, if you're honestly concerned about being people ousted for violated community policies, this sort of documentation and process should make you feel more comfortable, not less. We're replacing a BDFL-ship with open documentation, a committee, and organizational oversight.
Just checked with the old and new versions of Title_09.txt and you're right, --word-diff does the right thing. It echoes all the changed lines to the terminal, but it only marks up (and colors, in color mode) the changed words:

[-Section 2 of act-]{+Act+} July 30, 1947, ch. 392, {+Sec. 2,+} 61 Stat. 674, provided that

Wonder if there's a way to enable that behavior on GitHub? And/or to generate repository activity statistics based on changed words rather than changed lines?
The thing I find interesting about this article is the brief discussion about the death of PERL. In particular the comment about the inability to find senior developers in PERL. This is a sad development for those of us who really love programming in PERL, but I think eventually one must recognize that a language is fading, however slowly, into obsolescence. Apart from Crowdtilt I don't know any other successful startups or major companies that rely on PERL. And if one wants all the benefits of a network effect of developers, libraries and technical support, it seems today a backend developer really needs to shift his or her focus to Python, Ruby or (bleagh) PHP
DC rules forever!
The thing is, Mickey Mouse is also a trademark, which doesn't expire.

My understanding is that if Steamboat Willie passes out of copyright, people still won't be able to distribute it, or use Mickey in their own films, because it would violate trademark law.
Yahoo's 20th acquisition
This seems like a good opportunity for me to solicit some advice, if I may:

My writing is bad. Do you have any recommendations for how I could improve?

Better question: Would you mind describing what your own path was like going from "I'm a bad writer" to "Hey, I'm fairly good"?

My lack of writing skill has bothered me quite a lot over the last year or so. I've sent emails to various HNers asking that question, "What did your path from beginner to master look like?" but no one responds. (... Perhaps I didn't write the email very well...) :)

I have a lot I'd like to write about, but expressing myself well turns out to be the hard part for me. If I can figure out how to do that, then I think people will find the topics interesting. But I'm finding it very difficult because I'm a complete beginner. I've never written any long articles/essays/books before.

Thank you for your time!

EDIT: Here's something specific: I'd like to get better at using metaphor. I'm finding that even though I've been writing a lot, I seem to have reached a "plateau" of quality. It's.. well, it's just dull. I don't use many metaphors, and I know my writing comes off as very dry. So I'd like to get better at whatever skill or mindset that lets me spice up my writing, rather than my writing plodding dutifully along its lackluster course without any flair in presentation. Has anyone else found themselves in a similar situation? How'd you overcome it?

EDIT2: Thank you for the great responses!
My experience has been that many people are using redis instead of memcached. I haven't switched myself, but it seems some frameworks of various types (ServiceStack, Resque, others) build in a Redis-based caching mechanism, and that's driving most of the adoption for Redis-as-a-cache. Perhaps some of the motivation is that it's easier to kinda-sorta run Redis on Windows than it is to run memcached on Windows.
All advice is wrong (including this post)
If there are sporadic line differences, for that git diff supports different algorithms than the default. patience or histogram may work better.

as far as words in lines, you do have a point.
> What's the point of having a great editor if the ecosystem is this crappy?

ST3 hasn't even been officially released yet. I think you're getting ahead of yourself: you could also always fork & update the package yourself.
HN's InclinedPlane put this sad reality of the legal system into perspective wonderfully: http://news.ycombinator.com/item?id=4753117
Just FYI (almost certainly of no importance because this individual was chosen at random for the slides): his name (both first and surname) are Persian. I'd guess he was an Iranian (graduate) student who has decided to stay in Canada after his studies; possibly to be "free" from an oppressive government's espionage and meddling in his private life. The irony...
Only 13 people using Lighttpd. I remember the week and a half when that was the preferred deployment platform for Rails. That was a while ago.
Most of the BBC's public sites are built with Pearl, including BBC News. I believe thy use other tools for internal sites and other stuff though.
> Almost all my friends who played WoW call it a shadow of the game that it was, citing the HUGE differences in skillsets and builds, how easy it is to get rewards, etc.

Speaking here as someone who has played WoW since vanilla, that's sort of a self-selecting sample. Your friends who used to play WoW are people who selected into enjoying it when it was a (by modern standards) relatively hardcore game. It makes sense that they might be turned off by its new "everyone can see all the content!" approach.

It wouldn't surprise me if their current subscription "woes" (quotation marks because they're still the biggest MMO around) stem from the more-casual userbase running through, seeing everything, and not having any really reason to stick around, instead canceling their subscription until the next big content drop.
He could have used carbon fiber and spent less with a better outcome.
UI best practice: Avoid horizontal scrolling.
Hey folks,

Just wanted to add a note and say that if you're angry about this, the best thing that you can do is to get out into the streets and protest everything that's been going on. Check out the Restore the Fourth rallies happening this weekend, share them on social media, and sign up for your local event.

http://1984Day.com

Getting out into the streets is the single most significant thing you can do - even more effective than calling your legislators. The events on Sunday need to be bigger than the events July 4th for this to really be a success.
It's actually .com, not .org
Minor quibble: Apache Coyote is Tomcat and not HTTPD
Give Snowden his due: He made a surveillance debate possible
CodePath and Riviera partners offering free 6-week SF Android "Evening" Bootcamp
I wondered if he was referring to the fact that they didn't have the staff in house and would have to find someone, as opposed to a general lack of talent in the marketplace.
Diffbot Learns the New Shopping API
Actually, yes. I had dinner on Monday with the author of this article. Obviously Insight worked out very well for him.
> It looks like v is being reassigned to the type of v,

v is not being reassigned, it is being declared (note := rather than =). But its a little complicated, because type switches are a special syntax construct that is similar to, but different than, regular expression switches. See, "Type switches" in the language reference [1]

[1] you'll have to scroll down a little within the section on Switch statements: http://golang.org/ref/spec#Switch_statements
Plague? That depends on what you click on. Since I can't get rid of them (even with Adblock), I've trained those ad tracking/interest algorithms to add a "scroll down for boobs" feature to their client websites.
I believe DuckDuckGo is using Perl, or were as of a few years ago.

Source: http://www.gabrielweinberg.com/blog/2009/03/duck-duck-go-arc...
As someone who is hiring, I'd love to see this.
I suspect that most of it is that you can kill two birds with one stone by using redis as your task queue. That's what I do.
standard LAMP/wp install. turned off cache a few days ago to check something out, forgot to turn back on afterwards :( / fixed now.
NSA Spying Directly Harms Internet Companies And the Entire U.S. Economy
In the same vein: https://news.ycombinator.com/item?id=6061568
There is very little outright corruption in Congress. Special interests exert most of the influence through campaign contributions that are publicly disclosed. Larry Lessig has a great book on this: http://www.amazon.com/Republic-Lost-Corrupts-Congress---eboo.... And here is the link to his TED talk on the same topic: http://www.youtube.com/watch?v=mw2z9lV3W1g
Homejoy is growing fast and looking to hire our first Android Developer
Declassified documents show NSA snooping had ‘compliance’ problems
> You've seen them.

No. AdBlock.
Fab.com will lay off 100 staffers in Europe in shift away from flash sales
Straight exceptions are also goto-like, but there's the slight improvement that they allow you to (automatically) refactor out the middle of a function without changing the behaviour.

The solution I prefer is a monad with some light notation (Haskell do, scala for/yield). So it looks like:

def doSomething(): Validation[Whatever] =
for {
result1 <- callThatCanFail()
result2 <- callThatCanFail2(result1, 4)
intermediate = callThatCantFail()
result3 <- anotherCallThatCanFail(result2 + 4, "Hello", intermediate)
} yield result3 + result1

The <- syntax clues you in that this computation is going on in some kind of "context" - if you're working with futures it might happen on a different thread, if you're working with collections you're iterating over the elements. Here we're working with a validation, and our computations only happen if the previous one succeeds.

Is this goto-like? You could argue so - once one computation fails, the rest turn into noops and we pass immediately to the end. But to my mind this is like replacing an if/else with polymorphism - our validation context is an object with certain behaviours, and we're calling methods on it with our functions as parameters, which will behave differently depending on which subtype our context instance is.
> Short circuit returns are the devil

No, they're not.

> they make it much harder to factor out part of a function into a smaller function

They generally make the function smaller, that's what guard clauses are for.

> A function should have one entry point and one exit point

That's absurd and makes for very ugly and unnecessary code.
So basically, monads.
I'm not clear on what you mean. General usage of the word "release" necessitates prior confinement. Dumping a bunch of data on an open web server is not confining said data, it is making it public. Even if the data was previously confined -- by, say, company policy or copyright or whatever -- as soon as it is uploaded to the public-facing web server without protections it is released from confinement.
I think both of those options are really about yielding happiness. The first option seems a hell of a lot safer and the second one seems a little uncertain. If it's happiness you're after, then you're more likely to find it in the company of others, than you will in isolation.
> "type" is a magic word in Go, and in that example.

Specifically, type switches are a specific syntax construct that look very similar to normal switches, but switched on something that looks like a type assertion with "type" in place of an actual type.
They don't need a dodge, they just ignore the law or get new laws that circumvent previous laws. With little or no oversight this is easily accomplished. Especially since the group that requires oversight is gathering information and information is power.

This is nothing new, read up on J. Edgar Hoover with his wiretapping and files on almost everybody. Sometimes with White House knowledge and approval, sometimes without. All this while completely ignoring that quaint document down the street called the Constitution. Doing things like that is easy if you can hand over a note to someone that starts out "It'd be a shame if people found out about [insert criminal/embarrassing act here]." Information is power.
The household economics of 3-D printers
two things:

1 - I think (though perhaps I'm putting words in his mouth) jgrahamc's point is that dicking around with sites and tools and blah blah blah is, well, just dicking around and not actually writing;

2 - lots of authors I respect have basically said that the way to get good at writing is to write a lot, revise a lot, and be prepared for early writing to suck. I wish there where a shortcut.
The UPS Store Makes 3D Printing Accessible to Start-Ups
Wow, there wasn't a single reddit link all month?
For those looking to make the transition to data science, another option is Zipfian Academy (http://www.zipfianacademy.com/). No PhD required.
> your function has multiple exit points

That's a good thing.

> and is far less maintainable

I'd say it's more maintainable.

> you at least have a chance of maintaining a single exit point in your function

Maintaining a single exit point is IMHO an anti-pattern; it makes ugly unmaintainable deeply nested code.
Practice. Practice. Practice. Practice.

Did I mention practice? Oh and this book is pretty good: http://www.amazon.com/gp/product/B000SEIW9E/ref=kinw_myk_ro_... (hint - one of the tips is to practice!)

EDIT: ProTip - "I've sent emails to various HNers asking that question, "What did your path from beginner to master look like?" but no one responds. (... Perhaps I didn't write the email very well...) :)" Act like a hacker and treat this like A/B testing. Send out more emails and see which tone/message/etc sticks the best. Revise and refine over time!
True, but what would it look like in the future? Would you just fork a repo?
Yes and no. There are 2 things unique about the adult industry:

1) Extremely high levels of traffic. Furthermore, when it's a video site like YP, you've got people engaged and watching videos for a longer time.

2) Common cloud infrastructure is normally off limits. Running adult content from AWS or Linode is forbidden by the TOS, so you have to roll your own servers.

The guy in the interview, Eric Pickup, has a very good talk about his software stack and the amount of traffic that YP gets. https://www.youtube.com/watch?v=RlkCdM_f3p4