skysight-inc/HackerNews huggingface dataset:
It is like the new literacy; in that it allows people to participate in society at a level they would not otherwise be able to. More precisely, it's the new numeracy; in that it gives a serious advantage in many fields to be able to deal with tasks and entities in a quantitative manner.

At present there are many areas where it is still possible to "get by" without at least a basic understanding of computing. But those days are drawing to a close; most new manufacturing jobs require basic coding skills because all of the work is happening on CNC mills. It may be possible to be a real estate agent without knowing more about digital technology than how to look things up on an ipad; but even in that field people who know and understand the limitations and capabilities of the data management systems they deal with have a serious and undeniable advantage.

Will the jobs of the future be built around coding? No more than the jobs of the present are built around reading. It will be an essential skill that one is expected to have as a matter of course.
> It's only bad when you have shit developers or shit processes that don't catch broken code.

Or when the bug is only triggered in specific user profiles.

Or when all the devs went on a retreat in the mountains with no cell service.

Or when a dev makes a mistake (which we know never happens to even the best devs)

Or when the only developer that knows which one of the 1000 changes that were pushed could be the one breaking, turned his phone off.

Or when a flaw is discovered in the process for the first time (which we know never happens because everyone's process is perfect, until it isn't)

Or how change management's requirement that the fix be tested and verified by all affected teams might have people staying a few hours after 5pm on a Friday when they just want to get their weekend started.

Or how 10 different people from 10 different teams might need to be called and kept to work until 2am because the change can't be pulled because the database was already modified and the old client data is already expired from cache and a refresh would destroy the frontend servers.

Or another reason.
I understand that this is "what spies do", that's not the primary point of outrage (not for me, at least).

What is a valid cause of outrage is being spied (to this extent) from a country that states to be your partner/ally. More than outrage, it's a valid reason to change allies and commercial partners, too (or at least to seriously look around). I think this is stupid and probably very bad at long term for US tech industry.
I LOVE my Nexus 4 (running on Straight Talk) and can't wait to upgrade to the Nexus 5. The Nexus 4 has been my single favorite Android smartphone EVER. And I've previously owned a host of Android smartphones. Most of them just didn't work as well as advertised. The Nexus 4 does. Previously I had a Galaxy Note, for example, which I absolutely hated. It had all kinds of lag and performance issues, and I really hated getting updates so slowly. It's camera was crappy, its keyboard worse. The only thing I liked about it was the big beautiful screen. However, the Nexus 4 has a beautiful (if smaller) screen, too, and WAY better performance. I will NEVER purchase a non-Nexus Android phone (unless they let me down sometime in the future). I've been tempted by some of the HTC's but ultimately dissuaded by the fact that they still take a while to get the latest and greatest Android updates.

LG and Nexus FTW.
The exchange rate between nz and us dollars shifted dramatically in the 2006/2008 timeframe, I suspect in US dollar terms he spent rather less than that, probably closer to $1800 USD.
If you can remember some example queries I'd love to pass them on to the team.
NSFW on that link
IMO relative comparisons are misplaced here. I'm talking about Seattle's problems, as they pertain to Seattle residents - that SF or Atlanta has it worse only is a factoid mainly tossed around to try and minimize the problem or suggest inaction. I am not suggesting that Seattle, on the whole is a bad place to live - please don't draw the wrong conclusion. I am suggesting that the city has deep planning problems and despite its relative peace compared to the rest of the country, needs to aggressively address them.

Seattle's downtown core is horribly planned, in a pattern that is sadly typical of American urban cores post white-flight. Its urban planning awfulness is hardly unique to itself, and like every other city that employed the disastrously myopic single-use zoning strategy, it needs to change.

Or at least, not continue - but before I left Seattle I saw the exact same pattern in Belltown, South Lake Union, and Capitol Hill. The failure to learn from the failure of downtown Seattle IMO threatens to turn perfectly fine neighborhoods into empty, unfriendly, unpleasant shells. Every point I mentioned - large full-block developments, insufficient requirements for retail frontage, and little planning around pedestrian dead zones - is demonstrated in new developments stretching out of downtown.

Note that I am not anti-gentrification or anti-development. I support building upwards and increased density. I support urban renewal. But the developmental policy and requirements that have been the city's norm for decades supports buildings that serve to enlarge the "dead zone". The city - and its voter base - has evidently not learned its lesson, or hasn't ever been to a long-term successful urban neighborhood. Now is not the time to compare yourself to crime hotspots like SF and Detroit and feel good about yourself. There is a problem, and it needs fixing, even if it isn't the same scale of a problem like San Francisco's gigantic urban fuckup.
FAA Finally Lifts Epically Dumb Ban on Mobile Device Use on Planes
Well, let's just admit the moral highground here, and take a stand:

These people are Wrong. We are Right, because we stand for personal privacy and liberty--ideals incompatible with their ideals.

There's the line in the sand.
I think having a list of usernames that match the input and have spoken recently when you type @ and then some letters would be a useful feature. Pretty minor, but just throwing that out there.
It is possible to tell psql to always issue an implicit BEGIN so you also have to COMMIT before your change becomes permanent.

This has saved me from paying the price for that particular class of mistake on a number of occasions.
Is it sad that I all I care about is if Django beats Rails?
Order a sim card from T-Mobile, put in the phone, and follow the online activation steps. Make sure you get the right size sim card (regular vs. mini). I originally got the wrong one for my nexus 4.
User.count would do it.
Extensive surveillance didn't do a thing to save that man, and future surveillance won't bring his legs back.

More people have suffered in Gitmo than were injured in the Boston attack, and more people died from drone strikes than when the towers fell.
Since when have been been assuming that Harvard Business School students are the best and brightest? That's never been my impression...
I look at it this way:

Plan #1: $30 for 100 minutes, with $0.10 a minute afterwards.

Plan #2: $40 for unlimited minutes with MetroPCS.

So, if I manage to talk less than 100min + ($50 - $40)/$0.10 = 200 minutes per month, then I end up spending less than I would on the MetroPCS plan.
As someone with several side projects, I feel your pain.

You probably need to make the site appear more active, until there's enough interesting content to keep visitors there a while and encourage them to post.
could be a legal snafu involving the govt in your country trying to tax all sales or something similar.
Not one of those reasons, except the last, has anything to do with a vast majority of the revelations about what the NSA is doing that has people up in arms.

And the only legitimate argument about protecting against terrorism, people are starting to realize that the threat is miniscule and is amplified due to cognitive interpretations of data.
In the tests that use a database, this distinguishes using an ORM vs. direct SQL queries. From the guide on the filters panel:

We classify object-relational mappers as follows:
Full, meaning an ORM that provides wide functionality, possibly including a query language.
Micro, meaning a less comprehensive abstraction of the relational model.
Raw, meaning no ORM is used at all; the platform's raw database connectivity is used.
Justin Carder from CHS talks periodically about 3rd and Pine even though it's off his 'beat.' That street corner is a mess but it's been a mess for quite a while and it's obvious that stepped-up police presence alone won't address the problems there, or they'd already be fixed.
Sounds like you're afraid Comcast can't compete with government, tho
OWS was successful at something? What would that be...
>"It's just amateur in any language."

Can you point out specific instances of where it is amateur? That would be more helpful to learners.
The reason for banning electronic devices during take-off and landing is because of EM interference, not because of distraction. If you want to ban distractions you need to ban books, sudoku, and noisy kids too, the electronic bit is immaterial.

Also people are already free to use devices during loading and unloading. Your complaint is that people don't have common courtesy, but that can't be regulated by FAA (and isn't currently)
You should use "User.count", which will do something like "select count(*) from users".

"Users.all.count" will needlessly read in all users into memory and then return a count. That might work OK for 1000 users, but beyond that?
I'm on Straight Talk and love it. But I've never had to deal with support. It's really easy to set up, the price is awesome (less than $50 for pseudo-unlimited everything including taxes), and it just works. And that's on the auto-renew plan. I'm not sure if I'll ever need support (can't see why at this point), but I do know that Tracphone has in the past provided poor customer service (when I used to use a cheap pre-paid phone through them). I do believe they put more into providing better customer service to their Straight Talk customers though. Anyway, I definitely recommend it. Far cheaper than AT&T and Verizon pre-paid/non-contract options and, for my usage patterns, every bit as good.

Keep in mind that my data usage is predominantly for Google Maps about town (in the Greater San Diego area), internet browsing, and occasionally streaming Pandora. I can't speak to how it would work to do much streaming video over Straight Talk. But for my needs, I'm very happy. I get what I want at a price (finally!) that I'm willing to pay. Versus how we used to pay AT&T something like $140/month (for two phones) for very few minutes (the smallest anytime minutes plan we could get), unlimited texting, and a couple hundred megabytes of data (as I recall).
Then put the frosted glaze on the window, not on the monitor.
Maybe it is time to start considering: http://en.wikipedia.org/wiki/Tax_resistance
In Rails 4, User.count and User.all.count both do the same thing:

SELECT COUNT(*) FROM "users"

In earlier versions, User.all.count executes:

SELECT "users".* FROM "users"

because it is pulling back all fields from all users into memory, instead of just asking the database to check the index for a count.
"Why wouldn't we surveil their cell phones, email and IM accounts?"

Because we're Americans, goddamnit, and that's not what we do.
I think at some level (e.g., international power and security to maintain that), US/UK/CA/AU/NZ are the same thing.
That's not the problem I'm posing.

What I'm posing is, if you had malware this successful at spreading itself, the very last thing you would do is attach a high-visibility payload to it (disabling system devices like the CDROM drive - allegedly).

Your hypothesis isn't much better - hostile organizations don't give you a chance to figure out a defense strategy, especially when there's no risk of deployment. You don't need a test for a virus - you use it, and then you make another one.
Yeah, websockets are fairly useful if your data is JSON blobs or other byte data, but awkward if you just want to ship some more HTML for display. They're best used in long-running client applications.

As for sending JSON with rich clients vs. rendering HTML on the server; that depends a lot on the intended usage pattern of the app. For apps that you expect will be open for hours at a time, like e-mail or social networking, the former pattern is better - and indeed, GMail and G+ both speak JSON (well, a modified version that gives better latency) to rich client JS. For apps that you open quickly, perform your task, and then close (Search is the canonical example), it's far better to render all your HTML on the server and just ship that down to the browser. There is a large cost to downloading and executing all that JS, and you lose many, many customers if your app is slow.

There are strategic reasons why, if I were founding a startup today, I'd prefer to play in markets where the latter case held, unless I was writing enterprise software. Consumer markets where people spend hours with an app open are rare, and Google/Facebook generally want to own that space. I would rather not compete with them. On mobile, the open-for-hours apps are generally moving to native, where you can interact with the platform's notification API. The sweet spot for long-running webapps is enterprise and intranet applications, which has many fruitful markets, but many technologists shy away from it because there are frequently many arbitrary and difficult requirements.
I'd wager it's the same reasoning people buy new cars or new consumer electronics.
How Yoky Matsuoka Created The Modern Robotic Hand
Twitter Said to Attract More Than Enough Orders for IPO
Anyone running iOS version 7.0.3 on the iPhone 4 should definitely enable 'Reduce Motion' in the accessibility settings.

It removes the 'fly in' 'fly out' animations for opening folders or apps, and greatly improves performance.

Same for the iPad mini.
"There's no possible reason for people to support these programs", the preceding comment says, "and so it is pointless and even harmful for us to talk about possible reasons".
Cost is relative to the maturity of the business. They may not have had the funds or time to do things the right way the first time, and if they had tried, they might not have ever made it into near-unlimited-budget-land.
RxJava: Reactive Extensions in Scala
This Little Wristband Will Replace Your Passwords With Your Heartbeat
Did microsoft know the saying in 90s while it laughed its way all the way to the bank?
I find it interesting people rag on sportspeople when they seem to care about money too much, yet when guys give up money to have a better chance at a championship, somehow that's wrong as well.

It's like because Cleveland happened to be shitty the year before the draft, they deserve Lebron James' eternal servitude.
the post got 112 upvotes yesterday and stayed on the front page all day. that many upvotes is an indicator of relevant content, not spam.
Wired is a pop sci magazine with a much broader audience than HN.
You must live in a utopia where there are no evil-doers.
Speaking of rational arguments...
The insurance companies supported and lobbied for the ACA -- which was the only reason it barely passed -- because they thought they were getting a gigantic payday from the employer mandate. With that gone they're doing their best to either kill the law or perhaps lean on it hard enough to get vastly broader subsidies to make it worth their while.

The 11-dimensional chess idea that passing a law to destroy the individual insurance market is going to bank-shot into single payer would require an absolutely massive outbreak of corporate and public support that really doesn't have any reason to appear.
Look at the Sony Z1f.
Alexis Ohanian on Defeating Linkbait, Surviving Personal Attacks
Honestly, I don't really know. I've been trying to figure this out over the past couple of weeks and am starting to think that the answer to how to teach some of those things is not to (or at least not from the start). When I look at all the knowledge I have built up over the past 10-15 years, it's kind of overwhelming to attempt to identify a place to start. But when I think about how I got started programming, it was much more organic. I saw little bits of code around the web that did something that interested me, and then I just played with it to see if I could get it to do something slightly different. In the process I certainly learned about things like variables, logical constructs, loops, etc., but it wasn't until later years (and after firmly solidifying my interest) that I started a more formalized education in computer science.

Most of the students are very interested in writing mobile apps. While I would love to jump right into that, I don't know if we would get very far in one hour a week. So currently I'm just trying to provide some "exercises" that let them get their hands dirty with programming and maybe lead them in the right direction towards the type of programs that they are interested in writing. Then on their own time they can pursue things further, and I'm always available to answer questions or help solve problems they run into.

What are your thoughts on this?
Since you don't know the inputs ahead of time, the benchmark would be incorrect if it could not handle the corner cases like special characters that need to be escaped in JSON strings.

If you wanted you could also make the request specify the key at which a value must be written.

Be creative. :) But don't think that apps always have to be written the way they are now to be "legitimate."
Every one of those reasons (and likely many more we don't know about) is why the NSA is doing what they do.
> I'd love to read some honest, uncensored interviews from people working on these things, mostly to just get their side of things.

Because losing their job and being charged with a felony for breaking a TS clearance is totally worth doing that for you. The NSA isn't a startup in stealthmode. I can guarantee you that some HNers know NSAers, and no doubt many HNers are NSAers, but there are very strong reasons why they're not participating in this dialogue.
Real quick and dirty. But you should be able to get it to work from these notes. Be warned, I don't go into how to set-up OpenVPN. You can find documentation for OpenVPN at http://openvpn.net/index.php/open-source/documentation/howto...

You'll need to install Google Authenticator on your phone to complete the set-up.

Here are my notes: https://invaliddomain.com/openvpn-google-auth-howto.txt (please excuse the lack of a real SSL cert).

Once enabled, your password becomes <password><OTP> .. e.g. Pa55w0rd!987654

Hope that helps.
That is an emotional argument, not a rational one. Unfortunately, many people find those sort of arguments to be incredibly persuading.
Not just Dell. I have two ASUS PB278Q (27", 2560x1440) and they have the same problem. It so threw me when I got the first one that I ended up having to overnight a Mini Displayport->Displayport cable from Amazon Prime to drive it. They work fine on Displayport.

Seems any high-res monitor is doing that these days--I do wish the manufacturers would be more upfront about it, but is it really worth it to threaten "15K social media followers...give Dell a public black eye about it" when the solution is a $6 cable?
To answer the question in the title: I'd rather be dead than live my life in a fishbowl and watched most of the time. I'd rather live with the reality of a dangerous world instead of suspecting that some CPU or agent is analyzing my calls & emails.

To the defenders of the NSA, this sentiment is abhorrent, I'm sure.
It's not about a high DPI, it's about maintaining the same DPI with the scale of the monitor. A 32" 1080 monitor would be just as useless to me as a 23" 4k. But if you scale the monitor large while adding real estate it's amazing. I bought a 27" 2560x1440 and replaces my three monitor setup with one.
Did you see the guys youtube videos? Russia contacted the U.S. about one of the brothers, also the FBI did track that he was going to Russia and also interviewd him. They failed in not being able to act on the intelligence they had. The question is what are you willing to give up to go to that LA Laker game without worrying about terrorism or whether your parents will get home safely from the game. I am not trying to stand up for the NSA but i thing we need to come together understand what we want, what we willing to give up and always look at both sides of the situation.

I always think about the movie "Carlitos Way" with Andy Garcia, where he plays a ruthless gangster but he develops a conscience. One day this kid crosses him but instead of killing the kid, he gives him a break, then at the end as he is giving this life up and going straight, running to catch his train, this kid pops up and kills him. The U.S. has been this ruthless gangster through the cold war, securing energy supplies, etc, now Obama comes in and thinks he is going to give the U.S. a conscience but unfortunately some guy lost his mother, wife and daughter during Iraq or in another instance and he doesn't care that you have a conscience now. The bottom line is that the U.S. has to watch it's back for a long time because they made a lot of enemies on the road to become the "mob boss", super power of the world.
The only thing I didn't really like is the : "note that {user} is less of a {language} aficionado", because it compared my github to someone else's profile who wrote very little code and only filed issues, yet somehow was far more superior in {language} due to being involved in repos that were in that language. Aside from that, I like it :)
Health insurance in Europe is not free; it's simply not managed by employers.
This is a terrible reason. These men were the definition of the type of thing a system like this should catch. intelligence agencies had been warned about one of them multiple times and they were both using the internet to self radicalize.

The fact that the Boston bombings still happened should be proof enough that these systems either A) Do not work or B) are not being used against this type of threat.

If it isn't in defense of incidents of domestic terror, what the fuck is it for?
Everyone, quick, click on comcast ads.

The power of the internet.
also their 2007 php sucks...
Eeeek. That code would've been terrible practice in 2000 when I first started writing Perl :(

The Mysql module was deprecated in favour of the unified DBI interface, cgi-lib.pl was a perl4 library that was replaced by a module called CGI (shipped with perl5 itself from 5.4+).

Calling functions with & is a perl4-ism and almost always the wrong thing to do in perl5, and C-style for is silly in most cases in Perl - for example; the loops in there would likely be better redone as foreach loops, or possibly just a grep.

And, of course, YAY not using placeholders in the SQL.

sigh
I've often wondered about this. Given how many Americans move cross-country for work, does that mean large numbers spend only a day or two a year with their immediate families?
I use bottle in production and it's fantastic.

I'm curious to see what happens to performance when v.12 is released.
I am sure you are right but I gave a hug to a stranger and they held on for dear life and when I went to say bye they said the most sincere thank you I have ever heard. Sometimes when you need a hug, you just need a hug.
You're trampling over his legitimate point, which is that gears of the US government PR machine are massive, and the well-fed targets of their propaganda are well-fed and cozy, and yet the dangers of government overreach are bigger than ever.

Are there potentially reasons why "terrorism" might in fact be a greater threat to our ideals and way of life then government power? Sure! Anything's possible. But such threats would need to be justified publicly, they can not be justified behind closed doors with classified documents.