skysight-inc/HackerNews huggingface dataset:
I never understood why ChromeOS is on the laptops, and Android is on smartphones/tablets. It would make much more sense the other way around -- ChromeOS is happier on an always connected device, and a phone is mostly useless if it isn't connected -- a match made in Heaven. Android only needs connectivity for specific applications, otherwise can run stand-alone for the most part. Perfect for a laptop environment.
I didn't start programming until after college, where I got a non-CS degree. I've created multi-decade career in programming, having moved to the Bay Area during the dot-com bubble. In fact, I didn't even like computers except to play games, until I forced myself to learn how to program to get a job during the early-90's recession.

There is no need to worry about exposing children to programming concepts at age 1. They have enough trouble just learning how to be a proper human. Let her be a kid. If you want, buy her 1 share in a stock like Facebook or Twitter.
Happy Chinese New Year – Year of the Wooden Horse
Some of the singleton addiction comes from premature optimization.
Bad headline. The interesting point from the article is that metadata can be more valuable than data. Plus it's smaller. Therefore it improves both sides of the cost:benefit ratio.
yeah I like that one

if my university were paying attention they would complain that sending me the passwords would be insecure... but I suppose each student could hand me a piece of paper
I think you're right, but wouldn't the alternative then just be namespacing all of your top level functions into separate files? It seems that a static class of related functions is just another way to organize top level functions.
So this is what they're doing with all that cash? Color me unimpressed.
Show HN: Subscription billing dashboard. Thoughts?
I am currently working to release a subscription/recurring billing dashboard and customer management platform built with AngularJS, JQuery, and PHP/mySQL.

Unlike existing solutions (i.e. Chargify/Sassy) this solution is self-hosted. I hope to fill the void where customers do not want a third party handling their data or to have to pay additional charges per transaction or monthly.

This is more than an admin theme that you could buy on Themeforest or somewhere. It comes pre-built with Stripe integration (working to get other processors integrated as well) so all you have to do is install and go. No complicated setup or complex programming to deal with webhooks from processors.

Anyway, I plan to release the first version next week and wanted to see what everyone's thoughts were. I have a landing page setup for more details.

http://paypeek.com
Actually one of my friends taught his kids to count starting from zero.

For a while, someone other than him (e.g. a teacher) would ask his kid 'How many X are there?' and the kid would proclaim loudly and proudly: "Zero!"
Exactly. Sometimes HN'ers scare me...
"In fact, the way the metadata is ostensibly used to target individuals and groups NSA agents deem to be a threat is not dissimilar to how advertising targeting works. But that’s another discussion."

This was an important takeaway, although in hindsight it's pretty obvious. Assuming (conservatively) NSA is approximately 5 years ahead of current commercially available technology, it seems there's quite a bit of headroom for targeted advertising methods to grow and get better.
I don't have a source, because most of the young kids whose lives have been shared without their consent have been having their lives shared for less than 10 years (Facebook started in 2004 and was rolled out to the general public in 2006 [1]), so we'll have to wait before academic studies start coming out on the topic of oversharing.

I am coming at the topic anecdotally (where sites like STFUParents[2] exist for people who are tired of overshare or people who have been fired or arrested for things they shared on social networks come into play.)

If anyone has links that either prove or disprove that sharing pictures of small children/sonograms is beneficial, I would be really interested in seeing them.

I just tend to skew towards guarded when it comes to sharing private medical information and pictures, especially of minors who don't have a say in whether you do or not.

[1]https://www.facebook.com/notes/facebook/welcome-to-facebook-...
[2]http://www.washingtonpost.com/blogs/on-parenting/post/stfu-p...
That is why people say 'get them to walk through their code'. Also, it's not that easy to fake a project's complete git or other VCS history.
MailChimp’s Integration Fund: Nearly $3M Paid, $1M More Pledged
Samsung has similar agreement with Sony (2011) and IBM (2004) so I wouldn't call Samsung-Google best buddies. Samsung does it with anyone who's worthy of Samsung's own stockpile of patents...
Wow, those are super cool books. I may just buy them to read them, LOL.
From the title it might seem like a harsh sentence (especially if you haven't heard about this case before), but considering that he hacked accounts and stole personal data from at least 50 more people, this is a very reasonable sentence.
As the author would say: singletons (single instances), yes. Singletons (as in the pattern), no. In his articles, it appears that he uses the word 'singleton' to mean 'Singleton' though, which is mildly annoying.
The first thing is ... the most annoying thing i've heard from a while. I don't even use snapchat..
The email from the hacker says that he called paypal and posed as an employee.

I took that to mean the hacker posed as an employee of Naoki Hiroshima. I wonder which it was.
Here's the source video on Vimeo: http://vimeo.com/85421325

For some reason I was redirected there in IE11, after both Firefox and Chrome crashed.
Have them turn it in on an assignment or write it in the signature box on the scantron
It really depends on the context of what you're trying to do. If you're whipping together something as a test, or if it's code that you _know_ will be thrown away in the future, then cowboy it up and get it done quickly. Good design and quality work takes more time than is needed for many first iterations so YAGNI is right.

The flip side is that if quality does matter for a project, then unit tests are important, and the whole point of Aaronaught's answer is that things like unit tests and refactoring are usually impossible with a traditional singleton pattern.

It's definitely a fine line though. As a wise programmer once said: "Broken gets fixed, but shitty lasts forever." Be careful when you deliberately choose the shitty route - it usually comes back to bite you.
I'm one of those developers who thinks that marketing in general is 'scummy' and this article has done nothing to change that perception. I'm willing to acknowledge that there can exist marketing that is not scummy but it's hard for me to think of real world examples. Can someone describe for me the difference between scummy marketing and, I guess I'll call it 'ethical' marketing? I love building things that people enjoy using but I hate sales and marketing.
>"One of these things is a problem you need to fix the other is a solution to a problem you don't have."

That's true, but there are so many cases were a singleton is way more convenient than the alternatives, and not using it because it might "potentially" need to scale but never does sounds a bit silly to me.

I am agreed though that you must be clear on the specifications, if a shadow of doubt appears is very to play it safe.
This sounds like it would cause my kneecaps to explode.
The Next Phase of the Internet: Licensing Content Makers?
Most people dislike the ribbon interface.
Except some of us are morphologically incapable of squatting the restful way: http://themovementfix.com/the-best-kept-secret-why-people-ha...
Going out on a limb here - I think this is satire.
I'm curious on how your desk would be arranged for squatting. This is the first I've even heard of desk squatting so I am struggling with how it would be set up.
Then what? Then you use dependency injection if you think you need a singleton, and inject a single instance of a cache object. Which means you can mock it when unit testing, or make different instances of it if needed, or have different implementations of it.
Facebook Creative Labs
I've definitely read that particular link and thought hard about how SICP should be written for a live coding environment. I don't think either the original SICP or Bret Victor will be the last word on this matter.

In Bret Victor's terms, the scheme used in SICP has very little "vocabulary" to learn to read. The first section (which I linked) uses only arithmetic functions and `if` to teach you, well, how to program. And the "show flow" examples emphasize mutation of variables through time, while scheme uses recursion in place of loops. I think something that shows the function calls explicitly would be good, or at least something that shows the flow of function call (like the DrRacket debugger).

At the risk of generalizing, Bret Victor deals with things like graphics, animations and simulations, while SICP treats programming like a branch of pure math, and it's not straightforward reconciling the two.

I'd love to talk more about this with you though!
Even a mediocre implementation of something "impossible" can make a lot of impact. See bitcoin.

Bitcoin was perhaps the worst possible example you could have chosen... The implementation was the opposite of mediocre; its code predicted and solved implementation problems that no one realized were problems, except Satoshi. And on a technical level, the client has only experienced one problem that had to be rolled back. There are few other implementations of anything that have that kind of track record.

A better example of a mediocre implementation of something would be the original Quake engine. Ha, got you, just kidding. Actually, I can't think of anything that's made "a lot of impact" while also being both a mediocre implementation and very difficult on a technical level. Even Minecraft wasn't mediocre. Difficulty and mediocrity seem to be opposites, the way magnetic poles are.
Hello! I'm the author - what improvements would you like to see in the built-in interpreter?
Spotify app's must be approved by Spotify, so it's more work.
I tried wikinvest, but it really just for brokerage accounts. I'm big into real estate. Currently, nothing fits my use case better than mint and mint is not ideal (e.g. can't do cashflow).

Also, I want a single place to see my networth as it's a huge factor in understanding my progression towards retirement. Having multiple interfaces makes this difficult.
So what, it's the maker mindset. Add to that with the appreciation for what to make, you have a very impactful being indeed.
Fixed-point combinators in JavaScript: Memoizing recursive functions
I agree with everyone that's saying that you should focus on developing her problem solving skills instead of pushing her to program. At this point you don't know whether she will want to become a programmer or not. Problem solving skills are applicable to any career so why not teach her something that would make her a better person (and maybe a better programmer someday)? I have heard of http://www.goldieblox.com/ as a great way to get girls interested in engineering early on :)
Interesting fact: they wanted to go for this effect in Firefly, but the camera guy they had was so good that his freehanded shots looked like steadycam shots anyway.
Dumbest idea ever. The hyper-fit guy sitting in the gym isn't looking too bad, though having the knees rotated that far out for any length of time isn't going to work out well. (Yes, knees-out squatting and knees-in squatting are very different things.) The woman in the second picture has the same problem, plus hyper-extending her arms and bending her wrists too far back. The third woman . . . oh, I don't even know where to start with that one. None of them are doing their vision any favors being that far from the screen, either. There's a reason they only picture twenty-somethings.

I love squatting. I have ever since I was a child, and people have often commented on my tendency to squat when others would stand or sit. I also use a standing desk. Nonetheless, there's just no way whatsoever that squatting while using a computer seems like a good idea.
You need a course in elementary logic. Specifically, on the burden of proof. Also, everything you wrote in this comment here seems to be a complete fabrication.
I think it's satire-esque.
I think sitting like that is for people who dont really "work" - or maybe I am mad because I invested in a 2k stand up desk only to be sent thousands of miles away on a job.

Plus I feel like sitting like that would fill the office with farts and stuff.
>what’s with the racism, yo?

That's not racism, it's a valid observation.
http://xkcd.com/163/

I think for most lay persons starting with one makes sense, but more technical folk learn to start with 0, so depending on who wrote it or who it was written for that usually determines the start index.
Do you mind linking that original article? I'm interested in reading that.

I wonder what sort of quality content Facebook execs are looking for. If most people are like me, I work a day at the office, go home, have dinner with the family, take the dog out for a poop, futz with the computer for an hour or two, then off to bed. Rinse and repeat M-F. Weekends are more interesting with family activities, but it's not a constant barrage of me skydiving, taking pictures at the beach and all that week-in, week-out. Nor do I wax philosophical because it just feels so pretentious.
Or just get a drafting stool.
i believe the author was referring to artificially inflating the technical challenge of a problem. e.g. if you were imgur.com, you most likely should not be implementing your own machine language for use on an FPGA in order to serve cat pictures more efficiently.
European Cyber Army claims to have targeted Bank of America and JPMorgan Chase
Show HN: Refactoring Rails Views with SimplestView
Actually, computers aren't just there yet. Imagine if we actually had huge and paper thin displays that could be used like paper, few on the desk, few on the walls, cheaply and ubiquitously. There's still lots to do to get there, but we will.
It doesn't matter if it was over the phone, in a letter or in person. Its nothing personal its a business decision.
It's mildly interesting to note that in practice essentially every GUI application on OS X is a singleton because the OS makes a strong distinction between application instances and windows (compared to e.g. MS Windows where the distinction is muddy).

Launch TextEdit.app twice and there is still only one running instance of the application. If you want a second window, you open a second window.

# instance trivia:
$ open -n /path/to.app
Does the barber need arbitrary shapes in this case?

It looks like his pain point was that he was walking to a computer. Perhaps having a tablet by his phone could fix this problem? It could be as easy as the paper calendar solution, but since it's all being done electronically, you could allow people to schedule appointments online and such.
Sciatic nerve tension, anyone? Maybe it's for the best. :-)
I'm personally not a fan of Baby Einstein. There's too much research that supports that it's not making babies any smarter, and possibly making them dumber.

https://www.google.com/search?q=baby+einstein+research
Still a lesson here in running lean. Unfortunately most of the time when you get certain kinds of funding they cant wait to blow the place out full of desks for the dog and pony show that "something" is happening!

So they can cash out
An actually secure payment protocol
Creating design opportunities
The "Knights of 'New'" on reddit have to wade through a lot of junk, but everyone else who uses the website benefits from their efforts.

This is a similar deal for Spotify. Some percentage of these songs are good, it might be less than one percent, but if you can get 500 people with decent ears to listen to 1 song each, you can move the needle.
Glass that bends but doesn’t break
Yes, I do mean papers. I'm not on reddit, you mouth-breathing neanderthal.
what about a special msgme group?
If you display 4 digits to the user for CC validation, as basically everyone does, then there will always be someone who can read those 4 digits and give them to someone else.
It really depends. I had used singletons when wanted to manage a resource using RAII and have to be easily available across all the applications. My canonical example would be writing on a log but YMMV.
You have to wait anyways, this is just putting a picture as part of the countdown, at least that's my understanding (not a SC user either).
In my desk chair, squatting works exactly like sitting. I'm actually less hunched over.
Without starting a flame war, I use a few singletons in my game and I dont understand why it is a problem.

The instantiation of the game, an object that manages layers, HUDS, Preferences and saving game data (it is done in a separate thread).

I have also worked places where literally every class is a singleton (practically, not really all) and to avoid the xxx->getInstance()->yyy->getInstance()...... They would use some Defines to shorten typing it all.
He is comparing it to the IBM-Lenovo deal and says, he had used the Thinkpads before.
What this guy didn't know, Lenovo was building the Thinkpads long before IBM finally sold the brand completely to Lenovo. Before Lenovo was just a contractor like Foxconn.
The deal was the only way for Lenovo to survive, because IBM wanted to get rid of its consumer business and IBM was a big customer of Lenovo.

But this deal is completely different.
My similar recommendation: Buy any toy which will develop her vision, fingers/tactile sense, ears. They all lead to programming eventually. Note that I excluded taste/smell, because they are only required indirectly.
Here's a reply that won't help you. 1 year old is quite early to really push her in any direction, but when she's around 2, you could introduce building blocks (building and rebuilding as a metaphor for creation) and jigsaw puzzles (pattern recognition).

I'm conflicted about this. I don't feel happy about nudging a girl or a boy to learn a skill that's professional in its nature.

I still believe it's delusional to see programming as just an interest and something people need even if they're not programmers. We'll do to programming the same we did to math: people spend years being taught math but come out unable to do basic algebra, and forever scared of it.

Children turn into rebellious teenagers. I wasn't a very rebellious teenager, but I remember not doing things that would actually be good for me in the long term just out of spite for some authority figures. A heavy handed approach and your attempt to nudge her into programming could well lead her away from programming.

Give her a great education, be supportive of her interests and show her many different possibilities for personal growth. Do not try to build a better version of you.
There is always the standard way to make money: sell all the user data to advertisers and anyone else who wants it. Want a list of people in city X that chat more than Y times a day with influential network of Z people? It's all for sale, just no one brags about it.
I know it's a little off topic by why on earth wouldn't one take a 3-billion-cash offer for a company without revenue? This simply amazes me. I must be missing the uber-motivated-entrepreneur gene.
Twitter shuts down developer who wrote 'Twitter should shut me down'
FYI for completeness… this is what I went with:

1) Do you think there is a future in paid apps on mobile?
2) Marketing, Gameplay, Graphics : Choose two.
3) How important is it to build relationships with the press?
4) Do you think game piracy benefits or destroys the industry?
5) How can an indy dev just starting out best measure success?
Is he? He presents pics with a couple cases of beers as if twas evidence of getting hammered.

There was alcohol on the couple conferences I've been to, sure. Everyone had a beer or two. It facilities relaxed discussions, makes brain storming much easier. I haven't seen anyone get drunk.
Why Factoring Huge Numbers Is a Big Deal
In other words you're prejudiced and see no reason to logically validate your preconceptions?

Great, that's what we need. More people commenting who have all the answers. What if PayPal were telling the truth, how exactly would that situation look different than the one we are in? Good thing PayPal's always wrong though!
Dont-date-a-girl-who-reads-charles-warnke
Let's think about why we gave up this position for going to the toilet, even though it allowed for better hygiene and simpler toilet designs. Is it because we "lost" this position at some point, or perhaps it wasn't that comfortable after all (for the bowels, for example)?
For those who are curious why CPS is such a great compiler representation for implementing optimizations, it's because the passes require less analysis complexity. You only have to handle the "call" portion and don't have to worry separately about "return" points (though you've really just converted returns into a call to a new function!).

It sounds trivial, but in practice it dramatically reduces the size of not only optimization passes such as inlining, but it makes analyses that drive optimizations simpler as well (e.g., control-flow analysis). For an example from my experience (Manticore - http://manticore.cs.uchicago.edu/), my pretty coarse CFA analysis on our direct-style IR is about 750 lines of SML code whereas an optimized CFA with three different variants and extra support for environment analysis is only 700 lines of SML.
I was thinking this. Ironically, this fits with the original vision for cubicles, as I heard it. You could arrange multiple "desks" if you will, so that you could switch between them easily. I don't believe I have seen this done, though.

Nor do I have any references. Apologies.
Seems pretty clear that they mean "The key to some future profitability"
Great explanation, but what an awful awful site design. The last thing I want an image to when I move my mouse over it is twitch and suddenly display less information.
Nothing. She's one. Wait till she's four.
The facebook page has a bunch of people in on the satire.
Gimmick or the next big thing?
Paypal's value lies in it's network and it's trustworthiness. There is no way in a million years they would divulge a f*-up of this magnitude unless there's was cold hard proof.

But I think there is pretty convincing proof, and I think if anything, this makes them less trustworthy than if they had come out and accepted partial wrong doing.

The "hacker" had no incentive to lie; the ace was in his hand.
If you have a bad back or are interested in posture, there is a wonderful book (ignore the generic title) called "8 Steps to a Pain-Free Back", written by a woman who observed that people in non-Westernized cultures have very little back problems and that they exhibit natural choices in posture that we lost in the West due to various trends and furniture designs. Its a really fascinating read and explores a lot of these types of differences in posture and the positive effects on health.

Edit: I did just take another spin through it and she doesn't mention squatting at all, kind of surprising that wasn't covered considering how universal it is