skysight-inc/HackerNews huggingface dataset:
The Internet was seen as this nerdy, niche thing for a long time. Thus, by extension, you'd be more inclined to admit you stayed up late 'watching TV.'

This was the late nineties.

But correctness of analogy doesn't change the thesis: mainstream opinion is whatever people are force-fed through bottom-of-the-barrel social norms.
I disagree with promoting try / catch. Exceptions like ValueError can really happen almost anywhere, so it is usually better to sanitize your inputs.

E.g. something like:

try:
something = myfunc(d['x'])
except ValueError:
something = None

The programmer's intent is probably to only catch errors in the key lookup d['x'], but if there is some bug in the implementation of myfunc() or any of the functions called by myfunc() which causes a ValueError to unintentionally be raised, it will be caught by the except.

For dictionary lookups specifically, get() is usually preferable:

something = d.get('x')
if something is not None:
something = myfunc(something)

Or if dictionary may potentially contain None values:

if 'x' in d:
something = myfunc(d['x'])
Yes, the specific example scenarios that Victor has used are hard to directly reconcile with what SICP is doing. But, that the examples are oriented towards graphics and animation has only to do with the fact that the immediate target of his critique in the essay is Processing and a particular live coding implementation of it. I was thinking more in terms of applying the principles of learnability that he has put forward, and are manifest in the examples he has cited (Logo, Smalltalk, etc.), "how exactly" admittedly being an open question.

One thing I'm more or less certain about is that it would entail less live coding, and more stepping through visualized execution states (perhaps similar to pythontutor.com's visualizer).

I will be going through SICP with these in mind in the following weeks/months; I will keep you posted if I end up with notes that I think you might find useful.
>What I most remember about the Walkman is that it liberated public places from boomboxes, unaffectionately known as "ghetto blasters," which I used to hear all too often when I was out in public as a student and as a recent university graduate.

Smartphones are the new jamboxes. (that's what I always call them) Haven't you ever been walking around in public with someone blaring music out their smartphone speakers? Happens all the time. It's the jambox trend all over again, except smartphone speakers are terrible quality so it's 100% more annoying. Someone was sitting in a crowded (yet oddly quiet) train station doing it.

>I think maybe the future of Google Glass will depend in part on whether wearing Google Glass is seen as eliminating a disgusting previous habit (like looking down at one's lap to text while driving)

How could looking forward while texting and driving by any less distracting? I've already posted this elsewhere by "hands free" texting is just as distracting. We need to chill the fuck out and realize that text can wait. See my other comment here for sources: https://news.ycombinator.com/item?id=7151678
Your condescension is unwarranted. This originally pointed to an earlier Reuters article on the deal prior to the later story. The later story contains information from the official Google statement.

Prior to the official company statement, sources stated that up to 10,000 patents were being transferred to Lenovo in the deal, which is the majority of the 17,000 believed to be owned by Motorola Mobility. My comment you responded to reflects what was known at the time prior to official announcement of the deal.

I understand it's often easiest to assume that those around you are stupid, especially on the Internet, but I would respectfully request that you at least consider alternatives to what may appear to you as stupidity, and temper your comments to reflect that possibility.
Get a gun, two dogs, put up bars, don't flaunt your wealth and you can live rather well there - third world living tips :-)
Hipsters, please make this a trend. The only place I sit properly is at work, and I hate it. I have no interest in a standing desk. I would love to sit on my calves and heels all day at the office, just like I sit at home when working on something.

I don't care what kind of dubious health claims have to be made. Get it done!
Another alternative is something like the Dryad Digital Repository:

http://datadryad.org/

It's meant to include companion datasets for published papers, and gives out DOIs so datasets can be cited in other works. And it's mirrored at various universities to prevent loss.
Make lobbying illegal (which the US, or at least it's Supreme Court, seems unwilling to do). Prevent big donations to politicians. Make tax returns and all other indicators of wealth public, i.e. completely transparent, at least for public officials (like Sweden).
If you're making "drinking at an event" to amount to "racism", then you're doing your argument a disservice and you probably don't know what racism is.

Worse, if this logic is accepted it sets up a hellish society, were that a few people don't like something would mean they can force the many who like it to cease it.

Notice how he doesn't ask for his right NOT to drink -- he asks that OTHERS do not drink because he doesn't like it.

That's like the inverse of democracy: the minorities clamp each other until everyone's not getting what they want.

Didn't we have that with the marijuana laws and sodomy laws already?Wait, we even tried it for drinking, during the prohibition. How did that turn out?
> 9. Create dict from keys and values
using zip

In 2.7+, I'd recommend a dictionary comprehension instead.
Tidal locking
What I'd really like to see is benchmarks between LO 4.2, MSO 2013 and Office 365. Maybe AOO 4.0.1 as well. Benchmark some serious spreadsheets, the sort that take hours to run. I don't expect LO to win, but I do expect the results will be interesting and give areas to improve upon now they've got the Calc data structures sorted out.
SimUSpeak: the first modern VR Public Speaking Simulator
Perhaps in-depth public accounting of all political contributions/favors/etc and the finances of all politicians who serve one or more consecutive terms? If you want to be a politician you have to submit to public scrutiny of your finances prior to and following your political career?

I don't know really... But I think that might help weed out career politicians who rely on sources of dubious income.
Unfortunately, the posts I really think are thought-provoking, on which I would love to see some HN discussion, never get near the front page (nor any comments).

For example:

https://news.ycombinator.com/item?id=7139162

https://news.ycombinator.com/item?id=7051269

https://news.ycombinator.com/item?id=7017676

https://news.ycombinator.com/item?id=6999875

https://news.ycombinator.com/item?id=6942357
"There's nothing funny about IBM or FORTRAN. It is a syntax error to write FORTRAN while not wearing a blue tie."

Love it.
What I Learned About Selling from Telemarketing
I'm a web dev (php-mysql-jquery on lamp) I just don't get it.
It says that the EC2 is free for 750 hours per month. So it should be free no matter what !?
if my 'cool' html5 mobile app hits the top and there is a million visitors i cannot understand how i could just add more servers to balance the load because there is no tehcnology in my app that can understand balancing nor multiple servers.. ?
Also of interest: the developer-focused improvements in the LO codebase up to 4.2, by Michael Meeks.

https://people.gnome.org/~michael/blog/2014-01-30-under-the-...
Barber: "Almost all my bookings happen on the phone, or via text message."
Great list! I would toss on http://cocoapods.org/ for dependency and library management as well!
Well, since I talked specifically about a PERSONAL behavior (drinking) to be ALLOWED (it's a fucking personal choice), instead of people to be excluded because of their COLOR, I'm pretty sure I didn't expressed anything like the BS racism argument above.
I don't understand the truth table on slide 9 for
" - vs None " and
"__nonzero__ (2.x) " __bool__ (3.x) vs __nonzero__ (2.x) " __bool__ (3.x) "
Move to Europe!

On a more serious note, this is a problem relatively unknown in most of Europe. Sure, there are some (poor) neighbourhoods with relatively more crime, but it's a different kind of crime. You might get mugged, but you won't get shot.
Unless they have some kind of vendetta against Snapchat, I doubt either company is interested in cloning a zero-revenue app which is completely orthogonal to their main businesses, and may in fact turn out to be a fad.

Edit: Turns out it's a lot easier than that:

https://developer.apple.com/programs/terms/registered_apple_...

"Apple may terminate or suspend you as a Registered Apple Developer at any time in Apple’s sole discretion."

Apple could kill snapchat at the click of a mouse and give any reason they want.
I read that as not having singletons for the sake of self documenting code dependencies. In a way, a singleton is a "magic" dependency that can reach into the middle of your code without a trace. By always passing it in, you're making it explicit. This is the same as the pure functional discipline of having all values passed in, never coded into a function.
I believe the author meant the initial acquisition; that of Google purchasing Motorola Mobility to begin with.
Balancing family and the Drive to Succeed?
> Nodejs is for i/o

Node is a general purpose language that can be used for all kinds of things. I switched from Python to node.js about a year ago for exactly the sort of tasks you are describing and could not be happier. Right off the bat I had huge speed improvements.

Also, io is one of the biggest issues with web based data analysis, so it really should not be underestimated. I can do more with less with node than I could with Python. This is especially true with long running tasks where a 1 minute processing time vs a 20 minute processing time might mean you need 1/20th the number of servers in a cluster ($$$).

Of course, this could be a pretty good argument for something even faster/lower level, but for me, node.js struck a good balance between performance and ease of development/ecosystem. As usual, YMMV.

One last point. The language you choose cannot always be the best language for every task you need. Typically you choose a stack based on the most common/important tasks in your infrastructure, then for less common tasks you just make it work with what the chosen language provides. In this case node.js does not need to be the best solution for ML, it just needs to check the box for being possible, so that devs who needed node.js for other reasons now have the ability to add ML to their toolbox.
>"I personally do not mind levying tons of taxes to level the playing field"

The question that comes to mind is whether you mind paying the taxes yourself, not what you think about foisting costs on others. It is very easy (and inexpensive) to say that every problem should be solved on someone else's dime; one might even care enough to vote with that in mind, but you are not taking any personal responsibility, or even using clever rhetoric to convince someone else to act.
Reading and re-reading the StackExchange answer with the most votes, I'm still not sure I get it. It SEEMS like he's saying:

[1] Hand-rolling a class around the "Gang of Four" singleton pattern is bad (i.e. tightly coupled, etc).

[2] Grabbing a singleton reference from Spring, CDI, Guice, or some other dependency injection framework is awesome (i.e. easier to use inheritance, abstract out some interfaces, inject mock objects into your unit tests, etc).

Am I missing something here, or is this entire discussion really no more complex than that (once you scrape away the enterprise-babble)? It's been almost a decade since I last worked on a non-trivial project that wasn't using a dependency-injection framework anyway, so some of this may just be so obvious I haven't thought about it in awhile.
Spotify joker earns £13,000 uploading rubbish tracks
>Many religious and cultural minorities avoid alcohol-based gatherings, because their background forbids or strongly disapproves of such behaviour.

Yeah, should we encourage that too in tech conferences?
How to Offer Google's Health Benefits on a Small Business Budget
All I got to say is that I am hoping Google didn't just kill an American company. I am not looking forward to another Palm company story where you had a great product that is NOTHING now, thanks to these companies buying each other out to simply kill the products/ideas.
Hello author. Thanks author. Suggested feature: press right = go to next page.
30 Minutes Inside Valve's Prototype Virtual Reality Headset
Last time I was involved in in-person interviewing, we told people to bring a laptop with whatever software they were most comfortable using for development. Or, we could provide a freshly-formatted Windows XP system they could install things on if they didn't have something they could bring. Worked out pretty nicely, and definitely made people more comfortable.
What's up with the Series A?
While not disagreeing with your case, there are some cases where I try to follow this rule because in most of those cases, I would expect that there is no exception and if there is, then catch it.

try:
open(FILE)
except IOError:
it failed
> One thing that will take longer to be automated away is certainly art (in the broader sense of the word art).

This is maybe true for creation of art, but the most profitable aspect of art, distribution, has been completely automated a long time ago (for most categories). The only thing keeping most of the industry alive is politics, not lack of technological progress.
How about real exercise instead of an excuse for one ?
Tools, Conversations, and Cultures
There was a tool long ago called N-Gen or N-Generate that made some pretty cool digital art. It never got out of alpha but I used it for wallpapers - it's weird that I can't find it anywhere, but my point is that art can easily be automated, it's just that "art" also includes the human creators and their reputation, which accounts for most of the high price on various paintings and stuff. Van Gogh's paintings would be very cheap if they didn't have his name attached to them.

http://netart.org.uy/workshop/softart.htm - only mention of N-Generate I could find...
Bitcoin Needs an Image Makeover
You're worried about ways to "counter the world". I say, good luck. I already screwed up on my daughter at 3, even while I was consciously and carefully trying not to.

Since she was little, I've been trying to treat her exactly the same as her brother. I vowed she would not become one of those girls who only thought about how they looked.

Around Christmas of 2012, I saw a red, Christmas dress at Costco, and bought it for her.

She had never had a fancy dress before, and she liked it enough. But the damage came when we went to the grocery store, and she wore the dress. Everybody praised how cute she looked. So many grandmothers and mothers in the store, stopped to tell her how much they liked her dress.

The constant positive feedback from strangers, in my opinion, had a huge impact on her. She liked the dress more and more, and we bought her more dresses. She also got more as gifts from relatives. Every time we go out, she's bombarded with compliments on how she looks.

We dress her brother (one year older) up in nice clothes as well, but strangers don't stop him to tell him how good he looks in them. There's something about girls, that makes people want to tell them how cute they look, and, in my opinion, it effects them.

Who doesn't like getting complimented? Who wouldn't want to do more of something that is generating so much praise from friends and strangers alike?

I've already lost the battle to have her grow up, not caring about how she looks. At 4, she cares deeply about it. Already, there is a difference in her world, vs her brothers world.

At this point, I've caved in and praise her dresses when she wants me to. You're only a kid once. It's nice when your Dad says you're pretty.

EDIT: In response to my commentors. I reject the premise that boys and girls are different, at least, prior to puberty. For a kid of 3 years, I contend that they are exactly the same, but that they are treated differently, and that is what makes the difference.
When Proton Meets Monopole (1983)
Also, most people don't compare themselves to the richest people today or the richest people from the past. They compare themselves to richer neighbors/relatives/coworkers/friends.

In the same way people don't get the implication of the word "trillion" when they hear it on the news, people don't really lament Bill Gates's billions or the Walton family's billions. They lament cousin Jack who's making 300k/year while they're making 60k.
No, IE is what he uses for the internet. His browser is Yahoo.
Yes, but it also raises some interesting questions. Why is this squat common in Southeast Asia yet uncommon among Europeans? What are the benefits of the Asian squat?
It doesn't get easier. I was taught C++ in college without terms like "encapsulation". It was just "hey, you can make one of the variables in your object hold another object, isn't that cool?". Took me almost ten years to sit down an learn modern OOP jargon, just in time for OOP to start falling out of favor.
Asana’s Justin Rosenstein on the One Quality Every Startup Needs to Survive
MINT AND COINBASE COMBINE TO TRACK DOWN Your BITCOIN.
It is very easy (and inexpensive) to say that every problem should be solved on someone else's dime

It's not someone else's dime, full stop. The system misallocated the money in the first place by giving them a disproportionate amount. The mechanism for valuating people's contributions is self-serving and broken right now. A teacher contributes 1000000 times more to society than a hedge fund manager, despite what the hedge fund manager will tell you about the benefits of liquidity that his activities are supposedly bringing about.
This is very interesting and well-written, but there were two usability issues that distracted me from fully appreciating it:

1. Why aren't the footnotes hyperlinks -- or better yet, mouseovers? Sam, if you're reading, the minor effort needed to do that would pay for itself many-thousandfold as your readers are spared from having to scroll up and down over and over. Not doing that for them, intentionally or not, signals to your readers that you don't care. And it wrecks their train of thought as they're trying to follow along.

2. Why does footnote [1] show up in the text before footnote [0]?
Certain languages don't have methods as first class objects which can be passed around. In Java, you can pass around a Method object, but it isn't really the full thing, as calling it is not type safe, and is slower than a real method call. Likewise, passing around a Class object in order to identify a static method to use is equally unwieldy.

Therefore, a singleton object can be passed around, and it carries with it the implementation of the method. That allows you to have a variable that effectively references a type-safe fast method, allowing the nearest thing to having methods as first class objects.
Anyone who has ever went camping knows how efficient the squat position is compared sitting...
One of the handy things not mentioned:

with open("x.txt") as f:
data = f.read()
# do something with data
Can they? In spite of increased income inequality, our political process is becoming more hostile to the rich than it was historically.

Of course, after taking a walk through my locale (Parbhani, India), I'm fairly unsympathetic to claims that relative status is what matters. Perhaps it was the man lifting his lungi to poop next to an open sewer. Maybe it was the auto driver sleeping on the job. It could be the garbage everywhere (taking off your shoes when you enter an Indian home isn't a cultural quirk). Maybe it's the fact that the very nice hotel I'm staying in would be shut down immediately in the US.

I could be wrong, but I suspect that most of the people around me would be happy to have these problems fixed, even if it resulted in the income of "rich" people (like Americans below the American poverty line) quadrupling.

Inequality is a first world problem.
It's just a class that is both sealed and abstract. Therefore, all of its "methods" must be static.
Object#methods_returning: Which method on an object returns what we want
By John G. Cramer, professor of physics at the University of Washington in Seattle.

Found in a comment by http://slashdot.org/~somepunk on
http://science.slashdot.org/story/14/01/30/1343238/amherst-r... : Amherst Researchers Create Magnetic Monopoles
Except that provides absolutely no evidence to support the hypothesis. People have variations in wrists and forearms too, it does not follow that some people are "morphologically incapable" of using a mouse for example.
But for almost every person, this question is not relevant - in most countries, if the top 1% (or the top 1% of the top 1%) was taxed as much (on income and on assets) as the average (or median) person is, all fiscal issues of the government would be solved. We don't really need to tax the general population more; we just need to make sure the rich stop avoiding their taxes.
I feel lambdas are kind of like generics. Hacked on top of language which does not really support them. No type interference, no named arguments...

Kotlin is way to go...
Ah yes, I hadn't thought of that. Probably because I have around two years worth of service built up on mine.
There's not really a whole lot of difference between this:

processor = CreditCardProcessor.getInstance();
processor.charge(number, amount);

And this:

CreditCardProcessor.charge(number, amount);

The only difference is whether the state of the CreditCardProcessor is stored statically on the class, or is stored in one magical instance. They will both have the exact same pathology in the code and during testing. The former will be slightly easier to refactor, since at least it's already based on instances.
Sure, the question was a little vague. Right now, we are mounting an OpenAFS volume and using an editor on our local machine (Sublime for example) to code. After we're done editing, the code is run on the server, which also mounts the same OpenAFS volume.

The main reason we chose OpenAFS was the security model. However, from what I've read it seems to be based on Kerberos 4, which is out-of-date and has problems. It's also difficult to maintain a OpenAFS cell and requires a separate Kerberos authentication server.

I'm basically looking for a more modern DFS that implements better user-based security.
It may not be a question of if the person in question has to pay themselves. If enough people in a functioning democracy think that it is a good idea for those who are getting more, to pay more, then it would become law (decree if you like).

Those people who would have to pay then could either take their wealth and attempt to leave with it (with all the consequences for both parties that might entail), or they can pay the share they are designated, and attempt to make more money with their wealth/connections/etc.

Greed is funny in that if you have a lot, you don't tend to see wanting more (or to pay out less) as greedy, while those who are denied the same amount, see those with a great deal (who do not want to contribute what the public believes is their fair share) as greedy.
PayPal is lying or playing dumb and here's why:

Ask them if the customer service agents can see the last four or if they have to enter them first before the customer's records come up.

They can see the last four right away.

Call paypal and ask them which card you have on file, you cannot remember. The agent can give you last four to identify it.
BitCoin Mining as a Service
The problem is that most artists , even relatively good ones make close to 0. There is already more music in the world than any person has time to listen to, so most people just give up and go with whatever is popular , rather than trying to find a specific niche to follow.