skysight-inc/HackerNews huggingface dataset:
I understand it exactly.

Really? Containers of different types have a len method; which type of container is pets? The line you wrote doesn't tell you. And is owners supposed to be a set? If so, your comparison to an empty dict will give the wrong semantics if owners is an empty set (owners != {} will return True for an empty set, not False). You would have to write

len(owners) > 0

to get the correct semantics. Which, of course, already obscures the type of owners, just as the type of pets is obscured.

In short, your suggested "improvement" over idiomatic Python still obfuscates rather than clarifying.
How To Become Uber Productive While Working For Yourself
I'm OK with less downvote privileges in general, the community would benefit if there were less downvotes all around.
Facebook and Parse launch Bolts, a better way to develop iOS and Android apps
I discovered this technique through a comment somewhere here on HN. I couldn't find the commenter who originated it, but if you see this, let me know and I'll properly credit you (also, thanks!).
First off, I think you might not be getting responses to this because you labeled it a 30-year software project, which isn't what you're asking really, you're asking how do you architect a product that will be maintained for 30 years.

Those are two VERY different questions. I came here expecting to answer not to expect to develop for 30 years.

Ok, now for my answer. There are a few things you'll want to look at.

First, I'd argue you build very modularly. You don't know what the product is going to need to do in 5 years, let alone 30 years. Building a product from independent modules will allow future developers to add, remove or update modules to reflect the times.

As far as languages, go with either what is popular today, or what you have EVIDENCE will be popular in the next 10 years. I say evidence because if you just hop on the next big thing (Go, Julia, etc) because at this point you don't know how difficult it will be to hire developers that are familiar with those languages in 10 years.

The libraries and dependencies answer is the same as the previous. Don't pick something obscure that you think 'might' be popular in the long-term, go with what's popular now or has evidence of popularity later. jQuery, Bootstrap, Rails, Node.js all had massive amounts of interest right from the start. However, if you can get away with not relying on a library, you should probably do it. If you need something now to ship quickly, but don't want it populating your project long-term, use it only in the modules that need it, and that way it can be easily replaced later (I'm doing this with jQuery now as Angular DOM traversal isn't great.. yet).
I've been beta testing the app for awhile now. At first there was a strong curiosity to know who posted what. It turned out to be harder than I thought (and even then, it was only ever a guess). Over time, I found myself not wondering anymore.
I did both all my solutions in C++. I am going to clean them up a little and post them in my github account

github.com/dkhenry
Different use-case but we've implemented recording on all call-center calls; this isn't for employee monitoring, it's so we have a recording for legal purposes because some of those calls involve instructions for financial trades.

If I was in PayPal's situation I'd want to record every call, because dealing with money is a lot more critical than dealing with call quality.
I mean, on those time scales we could (more expensively) desalinate water using fusion power.
Yea, 8-space tabs is a bit ridiculous. I prefer 2 or at most 3.
Whatever Happened to the $300 House?
owners is a non-empty set.

No, it doesn't tell you that. {} denotes an empty dict, not an empty set; and an empty set will return True for owners != {}, not False. As I noted in another post upthread, you would need to write

len(owners) > 0

to get the correct semantics, making owners indistinguishable from pets even if they are different container types. If you really wanted to make all the types clear, you would need to include the isinstance tests.
UNHash – a promising tool for better password analysis
Google Announces Fourth Quarter and Fiscal Year 2013 Results
Photovoltaic solar produces lots of waste, more than nuclear.

It produces treatable wastes, ones that can be allowed to enter the normal economy and processed, rather than wastes we are so scared of that we can't let anybody touch them and so inject them into deep water aquifers instead.

Also, all waste comparisons I have seen people make with nuclear generally seem to only include volume of spent fuel, and not the wastes from the process of making the fuel in the first place, which are several orders of magnitude greater.
Hi, I'm one of the founders. Secret also has some important aspects worth discussing:

1) It's curated. By your friends. The posts you see are things that your friends are sharing.

2) Conversations are all within your circle of friends. As a result, we don't see much real trolling at all. The communities that are forming have been remarkably interesting and kind.

3) The penny arcade example is also not entirely applicable here. Again, because it's within your circle of friends. The equation is different.

You're probably noticing a recurring theme: We believe that by scoping anonymous sharing to your friends, the content will be much more positive and helpful. So far, this has remained true, and we're inspired to see the good come out in people when they're given the privilege of anonymity.
It's so obnoxious how people like you expect members contributing to the discussion to have perfect proof on hand or go digging. If that were the true standard, these discussions would be much thinner.

It's fine to ask, just don't be an asshole when a person doesn't have it; look it up yourself.
1.8 -> 1.9 was an entire re-write, it's now a bytecode compiled language: http://www.ruby-doc.org/core-2.1.0/RubyVM/InstructionSequenc...
Can't get a job.  The "tech talent shortage" is fake.
I've recently been looking for a job in the Silicon Valley, and it's astounding. I can't get one. Companies like Google and Facebook wouldn't even respond. I was later denied at other places like Twitter, LinkedIn, and several mid-size/small-size companies - even after successfully solving their whiteboard interview questions.

My background in CS is fairly strong. Computer Science / M.S. from a top 5 school, with previous industry experience at well-known companies in web 2.0 development.

I'd just have to say that this "tech talent shortage" isn't real.

I believe the issue is the cheap immigrant labor from China & India flooding the marketplace. US companies are denying US citizens jobs, while bringing in immigrants and paying them low wages, locking them in with the "indentured slavery" H1B visa system.

It's so difficult to get a software job for a US citizen. The interviews are easy to get, but an offer is quite rare. I think companies are pretending there is a tech shortage, when in reality offers are very rarely made to US persons. Inside some companies, it's like stepping into a third-world country...

This is wrong. I can't recommend anyone to get into software engineering. You'd basically be competing with the massive amounts of cheap programming labor from India & China. Especially as you get older, companies will perceive you as expensive and simply won't even talk to you.

We're short-changing our children's futures. I'm not hating on immigrants, as my parents were immigrants too, but for our profession's sake I think we should stop the flow of H1B visas. That would force tech companies to seriously consider US candidates more. It shouldn't be so near-impossible to get a job at Google or Facebook, especially when they're operating right in our backyard yet filled with foreign laborers.
Well look what happened to OMGPop when Zynga bought them (http://en.wikipedia.org/wiki/OMGPop). Not convinced at all.
Audience Interaction System running on iPod
Lenovo Buys Motorola Mobility
Tech jobs in the US and international students
We think you're defending coal because you say things like "Coal doesn't need a replacement [...] a nuclear plant is not an acceptable way to generate energy" despite the fact that the coal plants are way more polluting and radioactive.
I agree with this. Someone who doesn't want to be who they are -- which is sometimes a reason people to into acting -- or wants to have, as you said, no personal baggage. I kind of see it as fiction writing for lazy people: instead of creating a cast of characters, the "scammer" focuses on one in great detail. This person has the excitement of studying another person's identity through their photos and/or videos and making up an entire fictional identity around it.
1. This is kinda heart-breaking.

2. Google Reverse Image Search is your friend.

3. HN is still asshats for hell banning me.
I am not entirely sure what you think these greenhouses are.

Desalination does not intefere with rainwater harvesting. Rainwater harvesting is an entirely parallel enterprise, mostly involving accumulating very large bodies of freshwater.

Currently desalination is very energy intensive and so tends to do harm due the pollution generated from producing that energy.

These greenhouses desalinate water with a fraction of the energy requirements (pumping sea water inland takes energy, but nowhere near as much energy as you might imagine, as long as the inland end is not too far above sea level), while producing food, increasing the amount of moisture in the local area so greening that area of desert, and also increasing the amount of water available to the local municipal supply, at a rate that can be offset by the main farming business.

This is only control of water in the way that a pipe is control of water. It is continuous production of clean water in areas where that is often a problem.
The licensing is bad, the control over the design is terrible, and the experience developing and learning it is painful.

Never ever use it for a client who has any ambitions on GUI design. Figuring out how to put an extra pixel here or there can take hours...
>I hope than Lenovo can keep the most exciting mfgr going the right direction

Look at Thinkpad.
Oracle Plans To Reunify Java For IoT Age
So basically this is an anonymous forum with one topic? Or is it basically a forum with no reputations and each post is on is own?
There is a product called: XAMPP for linux which is the linux version of XAMPP/WAMP or whatever the name of it is now.
Inspiring story! The "path to success" picture is great.
The law of “friending”
Exactly. A good portion of people appearing in episodes of the MTV show Catfish do not have non-phone computers, and carry on their fake relationships via Facebook, Twitter, SMS, and sometimes voice calls. It often takes only seconds for the two guys running the docu-drama reality show to determine that the victim of the week is being conned, and image search and reverse phone number lookups are always the first two things they do.

It would have to be something that social media companies or telecoms would do, on the same order of difficulty as poking a button on your iPhone app, or dialing a phone service code like *57.
3D user interface framework
Yeah, I don't stretch much. It's mostly about warm-up movements like marching/running in place, jacks, arm circles, back movements etc... Then some ballistic stretches and a few limited static stretches.
following the link, it seems to available for $89.00
Putting aside the marketing-blather tone of your post, what is this "more"?

Who would create this "more"?

The nice thing about my existing news feed is that it is created by the people I either know or have a rather specific affinity to. Either way, they create stuff that actually is interesting specifically to me. And only about 5-10 of them are capable of producing video or the equvilent. Most produce essays, quips, collages and cat-pictures - not stuff with huge production values or stuff with a cinematic or whatever tone. Just relevant things.

So what would be added? Ipso facto irrelevant stuff.
> Is Wal-Mart diversified?

I know that you thought you were providing a counterexample (which is odd, since I wasn't making some kind of universal claim) but yeah, they are. Branching into groceries represented a pretty bold diversification. I'm pretty sure they've talked about even providing banking services. They're about as diversified as a dedicated brick and mortar retailer can possibly be, and it's not hard to see why: they control their existing niches and they want to continue growing.
Startup Success By The Numbers
It's a bit steep at $89.

http://earthmake.com/product/arlcd/
It's been around for a little bit: https://rubygems.org/gems/bootstrap-sass

I believe it's just Thomas McDonald's port made official.
Amazon Sheds 10% In After-Hours Trading, Erasing $19B In Market Cap
I love his hash table solution to level0!

I would never have spent much time optimizing such a trivial challenge as level0, but after seeing the leaderboards with such ridiculous scores, curiosity got the best of me, and I had to figure out how people were achieving such speedups.

I used a precomputed bloom filter to get 2641 points on level0, because I couldn't think of another way to avoid doing the expensive processing of the dictionary ahead of time. That solution simply read in the filter from a file at run-time. I thought of embedding the data in the source code to avoid the file I/O, but instead moved on to work on some of the later levels.
It archive every travis builds are generated every day. The intention is to apply analysis on the data so that you could ask question like which build has the longest build time etc.
Why would you want to whine about your job or anything else in front of an audience, if you weren't either trolling or attention whoring / seeking sympathy? This will end up being facebook, minus the already very thin layer of common sense when it comes to posting idiotic things nobody cares about.
Care to substantiate your benchmark where you compare jQ1, jQ2, and the native DOM API?
The first-ever Google stock split is finally a go.
If the startup needs clarity to survive, then the exec level must have transparency to reach clarity.

If you do not have transparency; then clarity (about your true goals) is impossible, because execs with lack-of-transparency typically have other (more selfish/shady) goals that they are really requiring people to support through their work.

Typically, their (the execs) actual greed.

I have oft stated in the past that another positive outcome from transparency is also accountability.
I read through this and was amazed by the OP's approach to the problems even though I could barely understand 10% of the reading. How do I learn to think and code like this? I honestly have no idea where to begin.
And if that trend becomes wide spread there will be vendors that will spring up providing those servers. Most businesses can't afford the expense of designing and creating their own server lines. I just don't see the generic server hardware going away soon, more specialized boards and designs may pop up but nothing stops vendors from providing them.

Also there's a lot of money in the support of the servers sold.
Ah yes, just like the

set('abcd')

idiom.
are you serious ? thats actually a good example on why you should use jquery.
First of all the dev needs to know exactly on which platforms he will run into problems and how to solve them...And what if you need not one but several polyfills ? That gets messy pretty quickly.
I've blogged my extremely lazy solutions for the first 3 rounds. TL;DR is level0 used a hash table, level1 found an existing utility, level2 used a hash table. Grand total of about 15 lines of new code.

http://www.codesuck.com/2014/01/stripe-ctf-minimalist-soluti...
The hunt for dark matter heats up, 1.5 miles under a Chinese mountain
I hope he asked the writer for permission before posting a private message. That message contains a lot of very personal information.
Flight – An event-driven web framework by Twitter
Why is this on HN but not Zynga laying off 300 people?
New ammo packs 3 shots into one bullet
I don't understand why companies would want to prevent employees from selling stocks. Most startup equity is worth very little. Giving employees more options to sell said equity makes it worth more which also makes it a more effective means of recruiting employees.
They buried the lead... Zynga has $527M??

Much like Sauron's tower in Mordor that collapsed once the foe was vanquished, you kinda expected Zynga to implode once Pincus was ousted.
Actually, thanks partly to more-efficient tech and mostly to the economy, America's energy usage has been lower in the past few years.
Ask HN: Remote work for business analysts
My wife and I would like to move away from the big city, but still keep our technology jobs. I'm a developer and would have no problem securing a remote position, but my wife is a business analyst. Do companies hire remote BAs? Is it practicable?
I was told from an employee that they were laying off a bunch of people today....

Did this not happen? Or it is overshadowed by the mass spend on this acquisition?
It's not and never has been that simple. Apple didn't patent the square with rounded circle - they panted the square with a rounded circle in combination with a single button at the bottom and with a specific UI in the middle laid out in a specific way with specific features.
> `len` blows up on None, so this blows up completely instead of just failing

That's the whole point! As I said, Better with an exception than continuing with corrupt data. Or maybe I should say unsupported data type rather than corrupt data.
Google refreshes its search for the future
>"To truly understand the subject and a lot of the approaches a firm understand of statistics, data structures, and even some calculus. Usually by the time someone these subjects down enough for anything substantial in ML then they've seen enough different languages to suss out the general idea of most algorithm sample code."

I learned calculus and linear algebra long before learning to code.
Oh, thanks...

Yes, it appears that this did happen.
I agree with the underlying message, which is to listen to your market. I just feel that the example Justin used is somewhat unfortunate, because I feel it describes a missed opportunity.

Of course the barber doesn't think he needs anything beyond a better paper calendar, but what do his customers think? Would they, perhaps, prefer to book online instead of over the phone?

I guess that what I'm trying to say is that you should definitely listen to your customers, but you shouldn't let that blind you. It's like that Henry Ford quote: "If I had asked people what they wanted, they would have said faster horses." The problem, of course, is that very few people are Henry Ford material ;)
Unless I am missing something, but I was able to easily reproduce it with current bootstrap styles: http://jsfiddle.net/MgcDU/8706/
I didn't down-vote you, but I think the key to your mistake is "one time". You're never going to learn a framework enough to use it the first time (without an experienced mentor on board).

Those that did down-vote you are responding to the "Ruby-on-Fails" part of the sentence ... you were the failure, as you would have been with JavaEE, Django or Drupal. Your comment was needlessly offensive (to some at least) - if you're going to be critical, you should learn enough to contribute back too.
Ask HN: Why don't major browsers ship with jQuery?
I go to thinking about this topic after reading this on the front page: https://news.ycombinator.com/item?id=7152068

They ship with javascript... and a minified jQuery build is just a few more kB of code.
It looks cool, but the price is a bit steep. You can get a touchscreen LCD from Adafruit at $39.95 (http://www.adafruit.com/products/1651). You still need to buy an Arduino, but they're cheaper than $45,-. I've bought Chinese Uno V2's for less than $15 a piece.
Articles like this remind me why I don't use an Android phone. To each their own, but this is not a feature that I want: "Upon install, Android apps can get access to users’ location, contacts, phone calls, email addresses, and almost every piece of information that resides on the phone."
Array.prototype.slice.call(document.querySelectorAll('.myClass'), 0);

Or if you want to abstract that into a utility function:

function qsa(sel) {
return Array.prototype.slice.call(document.querySelectorAll(sel), 0);
}

qsa('.myClass'); // Returns array of elements
Zynga's still around? I thought that particular titanic-of-the-internet had sunk already.
There are a number of reasons for it, one they can constrain what employees do, but they can't constrain what 3rd parties do. Investors are bound by their term sheets, employees by their employment agreements, and these people who hold stock and are 'unbound' might cause trouble. (not that they will its just that if they do the company has a limited number of ways to respond)
Nope. It's up.
Well, first of all, research attemps to extend life are not like solving engineering problems - it's not somthing clear cut.

Minimal advances for example may take years and years.

And especially, how do you know that those advances are going to apply to the person who's founding the research?

What if one is at risk of heart attack? Should he still invest in life extension?

The concept of "curing [almost] every known disease" doesn't make any sense.

In this perspective, investing in life extension looks more like gambling to me, because we're dealing with non-deterministic contexts. So much for rationality.

Luxury commodities are an entirely different thing. As people pointed out, they satisfy some different needs.
Swiftkey’s note is a great way to penetrate iOS and eventually windows phone
Maybe as an Employee, you know that your startup is crap and won't go public or will below the IPO price (e.g., GRPN) and you can milk the investors when the impression is better than it seems before IPO. Also typical IPO has a one year lockup period, so it's not like you can cash out the day when a IPO is suppose to skyrocket but have to wait out a whole year while the cooler heads prevail and analyzes your books and 4Q of earnings to analyze your burn rate and revenue.
"Coal doesn't need a replacement, we need to start using energy responsibly." That means: stop using coal, and don't replace it with anything. Just stop using so much power.
Would Flipboard work for that?

http://flip.it/5pPct
I'd pass a test case locally then push and have it fail because it was slower for no apparent reason.

My theory was that the remote instances were really CPU constrained, and so much much slower than your computer, but for whatever reason local test runs were very misleading. The spec for level 3 was annoyingly vague at first, and the test output was really unhelpful as the diff started with lots of original data and was truncated.

Level 4 was interesting, you should have a look - just the links alone are interesting ones, and I liked the raft paper, which was pretty easy to read even for neophytes. I might try to do better at it locally now when I have time free, but again, don't take local scores seriously, I scored in the thousands locally on that, but below 100 on remote. Must. do. better.
You will probably need jQuery