skysight-inc/HackerNews huggingface dataset:
Not yet, but it is coming. In France, all electrical panels will have to be "smart" by 2020. (However, the data will go to the electricity company, not to you.)
It was just idle curiosity - I wasn't familiar with the term "static class", looked it up and wondered if that particular set of features (and the term) were used in any other languages.
Procrastination is a Mindfulness Problem
Agree, on my first ever interview i didn't bring my laptop and the interviewer let me use his, it was so hard because he has Windows in it and i am used to Linux, the editor was Sublime Text and i am use to my own configured Emacs, he was using a GUI tool to create the database when i am use to the command-line for such tasks, at the end that make the interview a lot harder to pass.
Erm, people who were alive in the seventies, maybe?

Have you really never laid eyes on a typewriter?
It shares the crucial feature which makes global variables considered to be so bad.

Namely: "Where on earth is this set to X, it should be Y at this point!"
Python FOSDEM 2014 Last News
I think Duplo should be safe for all kids, just not very interesting when they are too young. They used to have an actual Lego-made product Quatro for a short period, but no longer. Megabloks are the next best thing, they are bigger and have much less clutch power than Duplo.
What Do Users Expect From Your Mobile App?
All the hacker claims to have obtained from PayPal is the last four digits of the credit card number. Perhaps this failed attempt they mention was them asking the hacker to provide the complete credit card number ending in XXXX as a form of verification?
That's a good point. Of course, the problems with shared mutable state are well-documented and I'm glad that JavaScript hasn't headed down that path. But you're right that Node doesn't have good, mature solutions for that yet (short of your central data store option)
Spotify has around 20 million songs [1], so around 20% of songs are never played.

Two random questions:

- How much is Spotify paying to host those unplayed songs?

- How many of songs have a small number of plays? (< 5 plays, for example)?

[1] http://press.spotify.com/us/information/
Who needs profit?

This is the God damn age of creating value out of nothing! Snapchat is not worth $3 billion, it's been 'valued' at $3 billion but it is intrinsically worthless.
Make an excel doc with one column as the log of their student ID #'s and grade in the next column. Include a line at the top for instructions to take the log of their student ID # to find their grade. Label column headings appropriately
On the barber anecdote, I think something that a lot of software solutions miss is how fast and flexible paper is. It's ready for you the instant you need it, and you can draw arbitrary shapes quickly and easily in addition to text.

We're still feeling out getting this convenience into user's hands. Keyboarded platforms suck for drawing/using standing up, tablets suck for typing.

Ultimately, the only thing I could offer this barber is a cloud-synced whiteboard with week-planner drawn in-behind the screen, and the only advantage it would have over paper is cloud syncing.
Not in enlarging, but in sharing. Why are we sharing ultrasound pictures? Should we be? What if something goes wrong and the woman has a miscarriage? Who's keeping these pictures (outside of FB)? Who's sharing them with others? At what point is it ok/not ok to share pictures of kids/future kids?

My point is that it's an interesting philosophical question that has a lot of implications, and I personally don't like the fact that Facebook is casually encouraging the action through their commercial, which I'm sure pushes it further into the realm of acceptable social norms.
He was on a call about not leaking information related to Patch and was using/playing with a camera while Tim Armstrong was speaking on the topic.
GC needs to know about all references in the program. If the mutator (the program) is running concurrently with the collector, it's difficult (though not impossible) for the collector to construct this consistent view.

Here is a good introductory talk: http://www.infoq.com/presentations/Understanding-Java-Garbag...
Don't you need to have revenue to be profitable?
I don't know much about Libreoffice, but I created Python DocX and am familiar with the spec.

The Office Open XML spec refers to the behaviour of old versions of MS office as the correct way to render certain options. Without access to the source code of say, MS Office 97, alternate renderers need to reverse engineer the correct behaviour.
Spend less time rewriting code: Respository of custom useful code
After wading through the article's obnoxious style, we see it provides no tangible arguments against standing, nor for squatting. In fact, the only argument against standing is that it's uncomfortable, and then the rest of the article is spent explaining how to make squatting less uncomfortable. Squatting for more than 5 minutes would probably make my knees explode.
nice idea but it would still violate the rules... student ID numbers are no different than names (so says the university)

I could ask each student to send me a password and I could post a symmetric encryption of their grade using their password ...
Thanks..

I wonder if there's a marked for (helping to) optimizing sites and web-apps..
still, some of the work can be done in parallel
I.e. the jvm has had UseConcMarkSweepGC for many many years.

EDIT: what I mean is that there is still a need for locks, but a lot of work can be done concurrently.
I think you need to go for just problem solving, not for programming. A shape sorter might be OK. Fisher Price made a remote control car that was very good for kids called a Bounce Back Racer. It was tough, so you didn't need to worry about a toddler breaking it, and it could flip over; so there wasn't really frustration with it being undrivable if something didn't work. You get to push buttons, see something happen, and have feedback. You can try to make the car go to Mommy or Daddy, so it seems like that is a start to having a machine do your bidding.
Yeah, I get that part. I'm just reacting to the idea in a headline, that just because something is VC funded and "dirt cheap" to keep running makes it profitable.
As someone pointed out below, this just looks at substrings so looking for "C" means looking for any words that has the letter "C" in it.
Creativity, engagement, problem solving - however rudimentary are all good - nothing more complicated. I would also emphasize language - having the child hear the spoken word - whether sits mamma or daddy or baby Einstein cd.
So what if I need several ServiceLocators: various unit test versions, production, development, etc?
Are the parents planning on doing (baby) sign language? If not, a book on how to do that would be, in my opinion, the best thing you could do.

I don't know what the latest research says about later brain development with early sign language learning, but I do know that teaching our kids baby sign language from birth certainly cut down on frustration as a parent, as we were much more likely to understand what the baby wanted/needed.

It's also a serious trip to see a 1 year old kid doing sign language.
This is great stuff - thank you very much.

>all those wonderful Python libs

As a non-mathematician I have no understanding of how wonderful they really are, which is why this sort of thing is so valuable.
International releases take time.
Agreed. Whether it is cheap to run or not is besides the point. There's nothing special about snapchat that a company like Facebook can't create in a couple months. The only thing they have of value is a very large, very fickle user base. Why they turned down three billion seems completely insane from my perspective. It's not even clear here that they can monetize effectively before they lose popularity.
I use OO/Libre Office in part just because they did not follow MS' lead on the ribbon. I have never found the ribbon intuitive personally.
The Littlest Boy
Arguing standing vs sitting (vs squatting) is missing the point. It's not an either or proposition. Holding any one position for a long time is bad. A good desk should be quick and easy to move from sitting height to standing height, and you switch between them regularly.
This funny/true infographic about iPad marketing vs usage comes to mind: http://thedoghousediaries.com/5608
Nintendo: It’s Dangerous To Go Alone Take This.
I agree with this, but I would also like to note how similar it is (or can be) to Tumblr.

With the different layouts and themes, they can start selling themes like Tumblr has, creating a new market for that. This trend of Facebook taking other companies' ideas is evident from the hashtag being implemented into posts. Who knows, they might even try to take over Google's search function.
She's 1 year old. Way to early to push her into a career. She's got more important things to worry about, like learning to walk, speak, and use the toilet.
Sacks, Collisions, and Concussions: Can Better Helmets Make Football Safer?
I don't think they are running any ads yet but they could easily make money. A couple ideas:

-Ads that quickly flash for 2 seconds before the 8 second photo snap. "Transformers 5 in theaters tomorrow." Kids have very short attention spans as it is -- this is all you need these days. No more 30 second spots. You have to see it to see your friend's snap, no skipping or blocking.

-Celebrity endorsement snaps. You see a new snap appear from "selena91" or whatever. Open it and it's a quick video selfie of Selena Gomez telling you to check out her new movie/album.
I have to admit I'm probably going to love this quite a bit. I'm a sysadmin who has dabbled in scripting languages and a little bit of c, python, and perl, but other than that my programming always kinda scared me off. I read the wizard book for the first time last year and it has absolutely helped me gain a new understanding of just about everything I do in daily work and has helped remove my programming fears. If they do more work on the built in interpreter I will probably go through it a time or two more.
Sometimes a software puts the business in a cast.

Me and my friends used to go to a cafeteria every day. Every day we needed to reach for change money, etc. We suggested the cashier to create a "pre-paid" account for every person so we could pay once a month, in advance, with credit card. He/she could not do it because "the system does not implement this".

In another epoch, I went every day to the same restaurant, at the fourth day the cashier offered to open an account to me. She opened a big notebook and put my name in a page, case solved. (She even offered post-paid bit I took pre-paid because I detest owing money.)
When Lenovo bought IBM, their quality >did< take a significant hit, undermining one of the main arguments of this article.
Here's a good use of something close to a singleton. Different things will initialize the class, and you want to keep track of the last one initialized, so that's what you assign to the static T Instance. I used this for a component that could be added to something, but the Update function of which should only run for the latest initialization.
At Coinbase, this is not true. You own your addresses. There is no "Hot Wallet". This may not be true of coins you just bought, that have just been added to your balance, but it's certainly true of coins you received as payment (to an address that you knew / gave to a customer / used in an API payment button on a website).

What Mint can't do without access to the API is know all of your owned addresses and aggregate their balances into one. Now as for the rest of your ideas, I'm not from California, but I honestly don't see any vendors signing up to use Bitcoins. Everywhere I go will take the Paypal card, but nowhere is offering to take bitcoin via NFC or QR code. Maybe "if you build it they will come."

I would like to have a way to export a global public key from my private key, such that customers could generate their own receiving addresses (for my wallet) without any sort of access to my private key, or third party. I have no idea if this is even a thing, but I also can't say for sure that it's not possible. If it were possible, I think it would also make it possible to pin the exact balance of a wallet, so I suspect it's not possible/an undesirable idea.
My personal feeling is that around 40, your new skill gathering has not declined too much, yet you have a ton of experience which helps you with analogies and enforcing connections in your brain.

I got my masters in late 30s and it was much different than for people doing it in early 20s. That is I did most of the learning by analogy, drawing from my own experience, but I had a hard time with lot of minutia which was much easier in 20s. It certainly felt my blade had dulled and still feels that way (and is not going to get better!).

Also, I am still waiting for examples of people taking up a completely new skill in their 30s or 40 and reaching proficiency of those who started in their teens.

So far I have not found any. The best has been someone in their late 20s starting to play chess and becoming a master, when they were already holding high dan at shogi.
In ruby, all classes are instances of the Class class. You can put methods on them like any other object.

Yeah.
If I have to walk over to the computer, I’ve already wasted too much time.

Wouldn't the point of scheduling software be that, unlike his current phone solution, he doesn't have to do something when a customer schedules a time? Ideally he'd enter his work hours and holidays into the scheduling system, and customers could schedule a time without interrupting his workflow. Then he'd only need to look at his iPad once in a while to see who the next customer is.

Other than that, I think the article makes an important point.
Interesting article, terrible title. It's key to profitability will be actually generating revenue while preventing their users from fleeing to the next new thing.
Should I use a permissive license? Copyleft? Or something in the middle?
Quoting ko1 (https://bugs.ruby-lang.org/issues/8339#note-11):

> Parallel tracing needs an assumption that "do not move (free) memory
> area except sweeping timing". Current CRuby does.
> For example: "ary << obj". Yes, the CRuby's memory management strategy
> (assumption) is different from normal interpreters.
I use wikinvest.com for tracking investments and assets.
When classes have no state, there's also really no need to have a singleton instance. If someone wants to instantiate a new object, who cares? It's a few extra cycles and a few more bytes in memory. Sure, you can have an easily accessible instance for convenience and performance, but nothing's going to hurt if somebody uses a different instance. Your program isn't compromised.

Singleton exists as a pattern to enforce a single instance because of state and side effects. What you're talking about is just a cached instance.
I think it's "eventual profitability", as in the author explains how SnapChat's infrastructure costs are essentially nothing, so getting from some millions of users to profitability should be extremely simplistic without the highly redundant data store needs.
Sure, there are lots of ways for them to make money. But they aren't (yet).
Yep. We can thank our idiot high school guidance counselors in the US for this. If you are a high school student who is remotely responsible and productive, you are pushed to go to college for a "good job" and are actively dissuaded from any alternative except the military.

Slacker? Stoner? Bad grades? Well ok then, maybe the trades are for you. This is why when I worked construction, on most crews I worked on, I was surrounded by fucking losers. When I got into the specialized stuff, I got to work with real tradesmen.
A Problem Bitcoin Will Never Have: Millions of Dollars in Phony $100 Bills
It's not about standing vs squatting, it's sitting down vs squatting (especially on the toilet) that's the big point.
Solar Provides 0.2% of Electric Supply--Up From 0.02% Before Obama
As someone who has worked on teams willing to train less-experienced developers, I find that previous expertise in any other subject is a good indicator of future success in web programming.

I've seen good Ruby and JavaScript developers learn their way up from expert-level html/css buildout people, from professionally-trained musicians and chefs, or in my case from a MA in Chinese literature.

Yes, programmers need to be able to model program execution in their head, and only some subset of humans can do that. But after that hurdle, the biggest factor in success is sustained practice, humility about your skills, and a willingness to listen to advice without following it dogmatically. These skills can be developed and demonstrated in lots of non-programming backgrounds.

In an interview, you want to establish that the candidate knows what they're talking about, can do basic boolean logic, functional decomposition, etc. But after that, you just talk to them about their internships, class projects, and hobbies. Find something they are clearly proud of, and ask them about it. Probe the strategic decisions and tradeoffs they made to see that they have some awareness of their process. If you find someone who can't talk about something they're really mastered, in any field, programming is not magically going to become the first skill they practice to mastery.

Ultimately, being able to identify people like this is an enormous strategic advantage. There is no boost to a team like a new junior teammate who asks questions, takes advice, works hard, and show enjoyment at tackling new hurdles. And nothing better for a businessperson than someone you can pay less now and continuously give big raises over the next few years while still getting a better deal than hiring a senior person.
People I respect told me the same thing, so I used to believe shipping made me a better programmer. It probably did in the sense that you see what it takes to finish, and sometimes it takes dropping your ideals for a while. Sometimes it takes a lot more polish than you expect. Sometimes you see the flaws in your genius designs exposed, and you learn what ways you failed to cover all possibilities even though you had 'proved' it.

But, shipping has also done me as much damage as good. Unreasonable deadlines lead to bad decisions. Crunch times make me stupider, take many months to recover from mentally, and frequently are so crowded with patching things up that the lessons I should have learned about what I did wrong are lost in the wind.

Any company that wants to get on their white horse and trumpet about the virtues of shipping should be required to back it up with strong data on the virtues of excellent project management as well as how they have figured out how to ship software on a deadline with absolutely no overtime!
Why would you think she may like to go and work for an Startup when she's in the age of working? Maybe she wants to be a musician or a model.
The argument was, he was deflecting attention away from him towards others - which, as this thread for the parent poster shows, worked.
Thank you!

I've been meaning to watch The Century of the Self for months, will definitely check out.
Wi-Fi jammer in Python
OK, so it's not clear what the best way to make profits while retaining users is.

EDIT: To clarify, I mean that if the service is dirt cheap, it'll also be dirt cheap for competitors to pick up where Snapchat left off.
How about this: you ask every student to send you a password word. You hash these passwords, give them the algorithm and send them a list with the hashes with the grades.
The Problem with Texting and Driving Prevention Campaigns
We had an electric typewriter in my house for years even after we got our first computer, and only got rid of it recently. So sad :[
A kindergarten boy's startup raises $40M -- it's all Ruby and Play-Doh...
I am a software engineer and I have a 16 month old daughter. For now she plays a lot with MegaBlocks (and off-brand Duplo that's safe for <1 year) and colorful building blocks.

Her favorite toy is a cardboard box my wife brought home from her store. No joke, she loves that thing.

For the future I nabbed her a copy of Robot Turtles. (My wife and I play a lot of board games - my wife owns a brick and mortar hobby store.) I have a few of the neat things off of Kickstarter, like 3D printers and some other oddball contraptions, but I think my childhood collection of Legos will go a long way towards helping her build skills necessary to be creative and imaginative.

Stay away from electronic toys - overloading, no creativity - and screen devices - degrades eye contact, hurts imagination. This is just my observation based on seeing my friends perform how _not_ to raise a child, and its an American pastime to critique others on how they raise their children so take my advice with a grain of salt.
My usual mnemonic is "call list" and "apply array"
Is there a place to learn how to scale? Even just the basics or a getting started or something?

As someone else pointed out, learning to program is often done on your own, so where would someone go to learn this on their own outside of the hot seat?
Mesos Hackathon at Sharethrough on February 7th
Join us for a fun day of Mesos hacking on Friday February 7th! Many of the Mesos core contributors and framework authors will be present to help you:

• get familiar with the Mesos code base by working on some Jira tickets

• write an app for Mesos in your choice of [Scala, Java, Go, Python, C++]
• run any web app (Rails, Play, etc.) on Mesos via Marathon or Aurora
• orchestrate your data pipelines with Chronos
The fine folks at Sharethrough are providing food and drink. Please post a comment if you have any dietary restrictions.
A List Apart's Pattern Library
I've worked in this space, and sadly I suspect most people would struggle with it. Any newly-launched dating/hookup site suffers from the same problem: lack of users.

You promote it, you seed it with your friends, and then the obvious thing happens:

* Users find your site.

* Users sign-up, rarely.

* Users searches the site for people in their vicinity. Finds zero results.

* User logs out and never returns.

I tried to solve this problem by launching in a craigslist-esque fashion, launching on a city-by-city basis. But sadly there is a lot of scummy affiliate marketing in this area, and advertising is just a way of losing money quickly.

Most of the big sites are paid, and the free sites struggle unless very niche/location-centric..
I understand all of these things when I use and see them, but when I have to call them by name I'm screwed.
>". If it's a regular factory/object and you only ever use a single instance, chances are nothing will care"

That's true, although if it is a single instance but not global then you are not enjoying the benefits of the guaranteed of an unique instance.

A well used singleton is a great tool that simplify things a lot.
I've spent the last few months (casually) testing the differences between the service container and DI container and I've come to the conclusion that it's a stylistic decision. I found that using a DIC and passing references to services to the constructor of every class was just far too cumbersome. Is it clear which services the class uses? Absolutely. But it's also clear if you document the services used before the class declaration. The cited advantage of DI is that it's easier to pass service mocks during testing. This isn't difficult to do with a service locator; as long as you instantiate your services at the beginning of the test you can have full control over mocking certain services on a test-by-test, or group-by-group level.

Personally, the added cruft of passing services to every constructor made me want to rip my eyes out.
Kyle Kingsbury – Cognicast Episode 048