skysight-inc/HackerNews huggingface dataset:
I get ideas when I'm waking up or in bed. They tend to come in waves. Some weeks I get lots of them and other weeks are quiet. I have a notebook that I write the good ones down so dont feel compelled to work on them immediately - it let's me stop thinking about them so I can focus on my current project.

I have this neat notebook that I found in a gift shop:

http://thenudgebazaar.com/product/cunning-plans-a5-notebook/
Not sure about other states but there are small efforts to rehabilitate some of the inmates in Colorado. The programs are unfortunately small but quite successful. I think there are many in prison who could stay out if they just had something to look forward to on the outside.

http://www.theatlantic.com/business/archive/2014/06/how-dair...

https://www.coloradoci.com/serviceproviders/puppy/index.html...

The connection with another living creature that they're responsible for seems to do these guys a world of good beyond anything else we can offer them.
"It’s also worth noting that Python 3 wasn’t expected to be as disruptive as it turned out to be. "

I really have to wonder how in-touch the python high command is with the community as a whole.
A millionaire household means that they either have a million dollars in cash or in assets (not sure of the methodology used here) across a household (which can be more than one person).

Making a million dollars per year as an individual is another level entirely.
The renaissance fair in Muskogee always has Bud's Homemade Root Beer in from Alton, IL. The stuff is amazing and unlike any commercial root beer I've tried. http://www.budsrootbeer.com/
> Attaching a name to that stable cluster of phenomena is no different from attaching a name to the stable cluster of phenomena we call "smallpox".

False! The difference, as you would know if you had any understanding of science, is that we know what causes smallpox. Mental illnesses are defined by their symptoms, not by their causes, for the simple reason that we don't know their causes.

This is why the DSM is being abandoned -- it's a listing of symptoms of ailments no one understands. And the man behind the program to abandon it is a psychiatrist:

http://www.nimh.nih.gov/about/director/2013/transforming-dia...

> We have a lot of powerful tools for thinking, and words are one of the better ones.

Sure, here's one. A mental illness diagnosis dating back to before the Civil War -- Drapetomania, the tendency of slaves to run away from their masters:

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

Do you know why slaves who ran away were diagnosed with a mental illness, instead of their masters for owning human beings? Easy to answer -- the masters had money to pay psychologists.

A quote from the article: "Drapetomania was a supposed mental illness described by American physician Samuel A. Cartwright in 1851 that caused black slaves to flee captivity.[1]:41 Today, drapetomania is considered an example of pseudoscience,[2]:2 and part of the edifice of scientific racism.[3] Thomas Szasz mentions Drapetomania in his book, The Myth of Mental Illness, as an example of how psychiatry, when calling certain people "diseased", attempts to deny them responsibility as moral agents, in order to better control them."

> ... isolating clusters of symptoms by an act of selective attention and reifying them with a name has long proven to be an extremely useful approach ...

Yes, but it cannot compare to doing science. Science requires explanations, falsifiable theories, empirically testable against reality. Psychology is satisfied with descriptions.
Groupon and YouTube are printing money now that they are public. Pinterest, Snapchat & Instagram haven't even tried to make money (ie, they are doing what I explained). Most or all of those small ones never grew fast enough to matter.
I'm in 12th grade and without a smartphone, because I feel like I spend enough time on HN and working on side projects already, and a smartphone would only pull me into the digital world even more. I personally don't feel ostracized, but I do feel a little isolated when everyone has their noses in their phones. My friends also get annoyed when I'm not timely in responding to their Facebook messages, although they've gotten used to my delay there.
New Apple Privacy Policy
Ugh, I am so sick of people implementing "reliable" transport on top of UDP.

If you need reliability, use TCP or SCTP. You do not know more than 25 years of industry experience developing and implementing transport protocols.
owners often have outside financing they have to spend on the project or lose. they'll use that money to upgrade something else. ideally it would mean something to boost their standing in the community, like more public art or bike racks, but sometimes it's more marble in the executive shower.
This is a stupid article, in the "Gee Whizz!" vein of science and engineering reporting. You know, the kind of reporting that we mostly associate with newsreels and "Popular Science" magazine.

The system to cut city traffic relies on a central authority taxing cars for driving in ever-shifting penalty zones. The article's authors even advocate putting the comms with a central authority into cell phones. They neglect to consider any of the easy-to-envision side effects: explicitly tracking every car (and soon every cell phone) every where. Certainly that's an easy to abuse centralization, no? Can't imagine cops and NSA agents tracking their LOVINTs or exes around, no? Yeah, neither can I. "Wired" needs to do better than "Popular Science" did in 1955.
"On devices running iOS 8, your personal data such as photos, messages (including attachments), email, contacts, call history, iTunes content, notes, and reminders is placed under the protection of your passcode. Unlike our competitors, Apple cannot bypass your passcode and therefore cannot access this data. So it's not technically feasible for us to respond to government warrants for the extraction of this data from devices in their possession running iOS 8."
All the half-unit half-integration tests I wrote for my terrible PHP api layer, which I get to throw away since we're switching to Firebase. (firebase.com)

I'm torn- sad my work never saw the light of day. But sooo happy that I don't have to work in PHP.
Ah good point - I thought it was an iMac and the peripherals were somewhere else in that surprisingly organised shelf.
> The GPL also seriously erodes the freedom to earn reward for labor and virtually abolishes the freedom to earn reward due to property ownership. It's a tradeoff that sides with increasing the efficiency of labor (by allowing for reuse). But there's a large body of work on recognized, but unexercisable freedoms because the person lacks the means to exercise it.

Translation: startups can't make their millions by selling a bunch of IP they've cobbled together from GPLed sources. Color me uncaring.

In the end, if you go back to my silly ascii art graph—your argument can be summed up that the individual '->'s lack freedom when the code is GPLed. I agree. But my point is with the GPL, the overall chain has more freedom because there are many more transactions the more arrows there are in the graph and the farther to the right you go (it's really more of a tree, but I collapsed it by node type for brevity).

Looking at the big picture, the GPL grants (almost paradoxically) infinitely more freedom to the world at large by the very fact that it restricts some developer freedoms. The GPL doesn't cater to developers, it was made for the end users.
I guess if it were easy to do that it would have been done.
Corvids seem incredibly intelligent despite their tiny brains. I do not understand how they can tell one human from another, but they do. A rook makes her presence known to me unobtrusively every morning as I walk into work, and in return I leave some of my scone behind where she will find it. She is then joined by two other birds.
I want to use this opportunity to open a discussion and get hacker news community's thoughts on preparing code examples.

I always find many contrieved examples in coding guides such as:

class Bicycle
def initialize(size_of_wheels)
# blah
end

def run
# blah
end
end

These are fine. But as such, the examples always fit well with the principles and you try to implement the principles, reality is a always far more messier.

Are there a better way to write coding examples? does it ever make sense, to grab snippets from a real code base and so that it is in touch with reality
Try:

Pleco (it has flashcards as an in-app purchase)

Memrise (there are pre-made decks for HSK levels)

Anki (try the 'Mastering Chinese Characters' deck)
I recall that we have discussed the Ray Baumeister speech, "Is There Anything Good about Men?"[1] as a direct submission to Hacker News before. Baumeister is one of several psychologists who sometimes hypothesizes from an evolutionary psychology perspective. The "Evolutionary Psychology Primer" by Leda Cosmides and John Tooby[2] is often taken to be the definitive discussion of what evolutionary psychology is as an intellectual movement. An article from American Psychologist in 2010, "Evolutionary Psychology: Controversies, Questions, Prospects, and Limitations"[3] by young women (perhaps that's significant here) who had recently finished graduate study in evolutionary psychology argues that evolutionary psychology has important contributions to make to psychology research in general. Every psychologist I know is sure that human beings originated from a process of biological evolution, but I don't meet a lot of working psychologists who describe themselves as evolutionary psychologists. The Wikipedia articles on evolutionary psychology seem to be beset by edit wars between supporters and critics of that perspective, rather than combining both points of view in one balanced article with lots of good references.

A psychologist with a contrasting point of view is Janet Hyde,[4] a psychologist well trained in human behavior genetics. She has published papers suggesting that most supposed innate gender differences between men and women are shaped mostly by culture rather than by biological inheritance.

See what you think after reading some of the key documents. I'm still making up my mind.

[1] http://denisdutton.com/baumeister.htm

[2] http://www.cep.ucsb.edu/primer.html

[3] http://www.dianafleischman.com/epap.pdf

[4] http://psych.wisc.edu/faculty-hyde.htm

http://www.apa.org/research/action/difference.aspx
I may want something awesome, but wanting something now is a higher priority. When prototyping, I value my time and how fast I can iterate through the create-test-modify cycle more than build quality. At home, the quality has to be good enough, but not perfect.
What's not clear about the title in the first place?
Not to mention Userscript (Frontier) which was dreamy to work in in comparison to AppleScript.
The Most Important Thing You Will Read on This Blog All Year
Hey I like this. I used to live in Berlin and think about moving back there, would be great to keep up with what is going on there.

One thing though, is there an RSS feed?
Simple encryption for node. dead simple
Everyday Statistics for Programmers: Averages and Distributions
> Set up a VM with a slightly-broken application in a slightly-broken Apache and Tomcat, and get them to ssh in and document the process of fixing it.

That might work on college students.

To me that screams that you can't properly interview your candidates.

> I note we've just done a round of interviews where we get a nice-looking CV and conduct a technical grilling.

You need a better screening process and a better layered.
I highly doubt this. Apathy and inertia are far more likely.
This.

We may laugh, but starting in technical support gives you an idea of how your users are using your product, if your documentation is accurate and helpful, what the pain points for people not in the department you are destined for are, and gives you an idea of how the product works.

It also quickly weeds out the people who can't effectively communicate before they get to the programming team.
The problem with decentralization is waste of duplication. I don't think it needs to be an "either / or". It should be a "yes, and".
Q: Do you have a personal practice?

What I'm looking for is intrinsic motivation and commitment to a process. People reach their goals mostly because of what they do, not because of who they are.

Q: To explain to me something that isn't technical, within 5 minutes, assuming I know nothing about it.

I'm mostly looking for ability to make anything easy to understand. The way you describe the world reflects how you understand it, and if you can't explain it well it's because you don't understand it well.

I'm also looking for ability to zoom in to the most important thing. What you need isn't just the ability to work on what's important, but also the ability to not work on what isn't, and what you describe the most reflects what you think of the most.

Q: Do you have good instincts?

What I'm looking for is tidbits of wisdom that help decide under uncertainty. That you don't discard emotions or seemingly innocuous events as useless data. I also want to see someone trusts their own self with whatever knowledge they have before attempting to trust others or gain new knowledge.

But in the end what I'm really looking for with all these questions is how determined someone is.
ShapeOko is a low-cost open source hardware CNC machine. The license (CC BY-SA) is quite liberal and business friendly.

http://www.shapeoko.com/
https://github.com/shapeoko/Shapeoko_2
The best documentation is Matt Neuburg's _AppleScript: The Definitive Guide_ [1] although it may be a bit dated now. Matt is one of the most talented tech writers out there.

[1]: http://shop.oreilly.com/product/9780596102111.do
Yeah right. Good luck getting me back onto their platform.

Last year, our startup was heavily relying on their yahoo local API.

One day, we started having a lot of errors. We inspected the errors and it said "NO RESPONSE".

We started googling why and realized that yahoo basically just decided to shutdown the servers with ZERO notice.

Of course, There were tons of complaints about it on the forum. There were no response from yahoo. For us, The API was an important part of the product, and suddenly, our product was taken away from us.

No notice, no deprecation warning. Just one big middle finger.

There is NO WAY I am ever using yahoo with that kind of attitude.

[1] http://stackoverflow.com/questions/19386027/yahoo-local-sear...
From the article, "The new version of Ricochet they plan to release in November will use the revamped protocol and have a file-transfer feature. Although the code hasn’t undergone a proper security audit yet, the group is negotiating with a code-review firm to run a scan on the completed program, and they plan to conduct a full security audit once the revamped protocol is done. They don’t anticipate any surprises, though."

So what do those of you here on Hacker News who work with security applications think? Is that group in for an unanticipated surprise?
I once wrote https://github.com/darius/spaced-out which is certainly not serious competition, but came from a similar idea: build the deck from the most common words in the language (automated using an aligned parallel corpus), and replace the Anki interface because I didn't like it.

It's probably a better starting-point than starting from scratch, I'll say that for it. (I wasn't interested enough in language-learning to take it further.)
There Is No 'Alternative Medicine'
> There was a real effort in the 1950's and 1960's to turn the justice system into one more oriented toward rehabilitation

Err, so there was an erroneous decade where we tried to do better?

The mid 50s-60s were a discrepancy in american history in a multitude of ways, so I'm not sure that I'd consider prison reform any different in that regard.

I also wouldn't consider a decade as representative of the american justice system when we have plenty of evidence that it's not representative of either the past (where we used to just hang people after three strikes) or the present (where, as you noted, we have three strikes laws).

In fact, it seems as though once a century we'll have a decade where they half-heartedly try to implement rehabilitative reforms, keep at it for maybe the better half of a decade, and then act shocked that it hasn't decimated incarceration rates yet. Shockingly, it takes longer than a few years to reform a society.
Well, AppleScript is well documented. See Apple's Developer Site,

https://developer.apple.com/library/mac/documentation/AppleS...

But, that's just AppleScript. The problem is that the scripting dictionaries for applications are inconsistent. But, that's the fault of the developers and you'll run into the same problem with Javascript.

Oh, for a good overall site, I'd recommend Mac OS X Automation,

http://www.macosxautomation.com

which has pointers to a lot of resources for AppleScript, Automator, and Services.
Look no further than BBEdit, which has superb scripting support and is both recordable and attachable.
A script is not configuration
come on, thats a bit hyperbolic isnt it?

There are plenty of go fanboys out there who will rage about go getting any kind of criticism, but this was a really thoughtful take on why go is a good practical language despite the problems.
Considering that if compiled into a .app it should require Gatekeeper (AppleScript does), it's not a big worry. If it's not compiled, you can easily view the source.
> Nothing fake, just sharing the link with our community networks

Your "community networks" must be remarkably cohesive to think of such similar account names as these:

https://news.ycombinator.com/user?id=lkjfdlkj

https://news.ycombinator.com/user?id=kjlasdlkjaskldj

https://news.ycombinator.com/user?id=jkhkjshkjhf

https://news.ycombinator.com/user?id=lkjdlfkjslkdjf

https://news.ycombinator.com/user?id=dsklfjlksjflksj

https://news.ycombinator.com/user?id=lkjlfkj

https://news.ycombinator.com/user?id=kjdlkjslk

https://news.ycombinator.com/user?id=ljdhhskj

... and to register them all within an hour.

From our point of view, and that of our anti-gaming software, this is abusive. It's one of the surest ways to get accounts and sites banned on HN. Please don't.
The new Kindle Voyage e-reader is shockingly good
Then gets fired for revealing the answer to the only test they have.

Just kidding, congrats!
So something I don't understand that doesn't seem to have an explanation in the linked article:

Why does the speed of backtrace generation matter for handling/reporting crashes? If the process is dead, I don't see how it taking an extra 50ms (if that) to tear down makes a big difference - especially since crashes should be an exceptional case, not a common one.

Is the optimization here actually intended to enable more accurate, less intrusive realtime profiling, or something like that? Otherwise I'm having a hard time understanding how optimizing for wall-clock time here is actually a useful exercise (even if it is very interesting)
On the contrary. Conterband dealing is some kind of occupational therapy, it is designed to keep the prisoners occupied.
> What is with Go supporters ? I don't understand why if I don't use Go then I am not solving real world problems and instead building over engineered monstrosities.

What is with you?
The article is talking about languages, not the category of problems people are trying to solve using those languages. (In principle, NASA could have written the Mars rover code in brainfuck).

> enterprise features like exceptions and generics

What is an "enterprise feature"? Sounds like a Java-world word though.

I also don't understand how generics and exceptions "ensure consistency across the platform".
So don't accept packages into the Emacs core that don't meet their standards? It's okay to have project standards but limiting how other people use your tool seems terribly misguided for a GNU project.
I have met and corresponded with one of the Proof School founders, Paul Zeitz, and I am very encouraged by this effort to build a school in the United States with a deep mathematics curriculum. (There are already schools with deep mathematical curricula in China and in Russia.) Zeitz is very thoughtful about mathematics education, and one of his stories has become an inspiration to my local students.[1]

[1] http://www.epsiloncamp.org/CourageandStupidity.php
It has. More and more sites do this nowadays.

Not sure how I feel about it. Sometimes it's executed well, sometimes not so much.
The question was "show me an IP being used by microsoft or google"

If you are asserting that google is not using the IP of it's public facing DNS service, this company is full of horrible tech people, so nevermind: I don't want the job.
TCP gives you some guarantees that you might not need, but still have to pay for.
I miss HyperTalk. It was my first "love" programming language. I agree, HyperTalk was different enough from AppleScript that you could be productive in HyperTalk, but lost in AppleScript. It might be due to the fact that AppleScript is a general purpose language, but HyperTalk was essentially a limited DSL for interacting with the HyperCard GUI environment. HyperTalk's limited scope was its best and worst feature.

I'm still surprised no one's made a small open-source HyperTalk clone. A compile-to-JS-and-run-in-the-browser version would be pretty cool.
I beleive the exact question was: "show me an IP being used by microsoft or google"

Are you really asserting that a google owned, and google operated service is not using the IP with which I access it?
Amazon has finally cracked the kid tablet code
Those two groups still profit from prisons, regardless of whether the prisons themselves are privatized. Perhaps it's best to speak of prison profits and interests which exist in every prison and lead to the same problems as privatized prisons. Not to mention other profiting industries like the phone company who handles all the collect calls, equipment manufacturers, etc.

Bottom line is, it pays to send and keep people in prison regardless if the prisons themselves are privatized.
When I went to college, I knew the required English classes
would be my Achilles heel. Even though English was my native language--I found writing really hard. I had a decent part time job so I bought an Atari 1040si for word processing. I went through four years if college and told no one about my computer. I felt like I was cheating because the other students were spending hours on the typewriter correcting, and rewriting. I had one teacher who said I should buy a
IBM typewriter. After reading my assignments, he figured I
had a cheap typewriter, and a modern IBM is worth the investment. Funny how times have changed? After college, I
lost Internet in computers and gave the Atari to my brother.
He told me it was just too confusing--and threw it away. I
has an extremely ambitious girlfriend at the time, and she
felt computers were a waste of time. She is now some big wig in charge of Technology, and and the Internet. Hello--Ingrid. She was adorable, but we were really different.
What's the best way to filter startups?
Hey HN,

I'm looking for a sales/account exec position in Silicon Valley. I'd like to find a way to search for different startups, especially any way to filter them by:

-funding level
- # of employees
-product focus (SaaS, mobile, B2B, consumer focus, etc).

Any suggestions?