skysight-inc/HackerNews huggingface dataset:
I absolutely love buckling spring keyboards (typing on one right now) -- The feeling is just hard to describe, definitely makes you feel a lot more productive, and it also reminds me of my younger programming days, when you expected keyboards to make this kind of sound. For those interested, you can get a buckling spring keyboard (M replica) without putting down lots of cash:

Unicomp Keyboards @:
http://www.pckeyboard.com/

(Though I guess "lots of cash" is subjective...)
I was thinking of just the same post!
Reasonable and sensible article about hiring. Nice work.
I was thinking about such thing in a global way, for all old people that have a lot of free time to be able to earn some money, but havent come up with any good ideas unfortunately :(
Ok, here is one I remember from my R days: the save and load functions.

First some preamble. One of the fundamental design features of Scheme is lexical scoping, at the time a relatively unusual feature. Lexical scoping greatly simplifies program comprehension and compilation. In a lexically scoped language, a binding -- that is, an association between a name and a value -- is only visible in the scope in which it is defined, and any scopes within that scope. This means the textual source of the language determines which bindings are visible -- simple and no surprises.

The save function in R doesn't save a value, it saves a binding. When you call load you actually add a binding into your scope (local or global scope? I'm not sure and the docs don't say.) This is absolute madness. It means you need to know the name that was bound to the value when it was saved, coupling the code that uses the saved value to the code that produces it. Imagine programmer A writes the code that calls save and programmer B loads values. They agree on a name, but then programmer A changes that name ... and breaks programmer B's code!

Now you might argue this is a standard library issue, not a language issue, but I argue the two are so tightly coupled you can't consider one in isolation.
Differences with https://github.com/plataformatec/has_scope?
Exactly... Plus, companies that had layoffs over the past 5 years likely still have empty cubicles to fill first as they increase hiring. It will be a few more years before they need bigger spaces.
Of course they can't compete against 26 year old Stanford grads.

The problem at large, though, is that they also can't compete against someone like me - who is 34 and has an Arkansas High School education! (Which is not exactly something to brag about.)
It depends on what you're interested in.

I'd start by, say looking at a set of current tech sites, seeing what current articles appeal to you most, and searching for those at Reddit. Look for the subs they turn up in and check out the conversation.

I'm actually mostly following subs that don't have to do with IT issues (programming, systems admin/DevOps, or networking) as I'm finding my interests lie elsewhere. One rule of Reddit is that if you can imagine it, there's a subreddit for it.

One G+ feature I'd liked was the fact that my posts there formed their own channel, a feature somewhat lacking on Reddit. I've created my own user subreddit as a place I can post and curate my own links or discussions. Not sure if I'll keep it but it's an interesting idea.
Yeah, I do need to make the docs friendlier. As for your question, though:

if bot.player_id == self.player_id:
# they're on your team!
I'm still waiting for Forbes to hit 'Peak Linkbait'

Maybe when Priceonomics does an article on it I'll have another look :-) But seriously there are so many unconstrained variables in their questions that they cannot draw any conclusions whatsoever.
The WebRTC approach of using UDP gives NAT resistance and OS independence.
I'm currently in the process of building my own Ergodox (http://ergodox.org/Default.aspx), pretty excited for my first mechanical keyboard and mostly want to try out the parallel key arrangement instead of the slanted keys. Fun fact: keyboards are slanted because typewriters' keys would get stuck if parallel and we are still using a design that was produced to solve a problem we no longer have!
I am a huge fan of my Cherry Blue keyboard. Unfortunately, the people in my office were not such big fans, but the Red keyboard I picked up seemed to be quiet enough for them.
I already do this in Sublime Text, it's very useful when you may have PHP and HTML in the same file. It's also useful with the much less common HTML with CSS or JS.
I second this advice! I've been using a mechanical keyboard for a few months now.

I got a Cooler Master Quickfire Rapid (Rapid is the most "barebones" version of the keyboard; other versions: TK = has a numpad; Stealth = keys printed on the side; Pro = has backlighting) with Cherry MX Blue switches (my favorites for typing; if you're interested I recommend reading up on the switches: http://www.keyboardco.com/blog/index.php/2012/12/an-introduc...)

Before that I had been using a bluetooth Apple keyboard for years; but I felt that I typed sloppily on it and that it hurt my wrists. Changing to mechanical has been great for that; if you're not a touch typist, it'll definitely encourage you to lean that way.

And finally, the amazing things with Cherry MX caps is that you can buy custom caps online (or 3D print your own!). So now my keyboard looks like this, which I find lovely :) http://i.imgur.com/j1jZN1a.jpg

Finally, if you're working in tech, you probably have a crazy hacker friend who owns a Happy Hacking Keyboard and talks about it all the time. Those use Topre switches, which have a different feel than Cherry MX, and are super expensive (300$ when you include shipping and tax); but damn, they look good, are super portable, and quite comfortable (available in black/white and printed/non printed and ansi/mac layouts). However, they're really meant for UNIX usage- if you don't spend 90%+ of your time in terminal applications of some form, then it's not for you. They have a mac layout that makes things a bit easier if you use a mac, but it's still very much hacker oriented.
Also, avoid the Lite version- while it is much cheaper, it uses rubber dome switches (the kind of switches in traditional cheap keyboards) and is just not worth it.

The hacker keyboard rabbit hole is a deep one (for example, there are people who swear only by Japanese keyboards because they have a smaller space bar and thus have more meta keys/are more compact). It may seem a little superficial and silly, but hey- you're spending dozens of hours a week on your keyboard. Having something that you feel is comfortable and looks nice can make your computing experience significantly better :)
Leopold tenkeyless with Cherry MX Browns checking in: http://elitekeyboards.com/products.php?sub=leopold,tenkeyles...

Nice, compact, great key action. I initially balked at the idea of spending $105 on a keyboard (now $89). After having one, I will never again have a problem justifying a purchase that makes my day-in day-out coding more comfortable and enjoyable.

Don't skimp on your keyboard or your chair. You don't have to go all-out Realforce and Aeron, but don't cheap out either.
All my work is via Git. So in my team we use GitHub for our normal projects (pay per project), and when we're done, I put it onto BitBucket (pay per user), so whatever I put onto BitBucket is then free of charge. I think I'll stick to this solution as it's cheap (read: free).

However, if I was to use your service, I'd be happy to use command line.
NB: I get the same results nisa does.
5+, with another 5+ I don't carry but will use once in a blue moon. These include both business and personal cards, with branded versions of various cards.
I like my Cherry G80, it feels exactly like my old Model-M from back in the day (MX Blue switches), build quality is workmanlike (but I like that, it's the ultimate in no frills packaging) but the switches are great and they are very cheap compared to many mechanicals.
I believe this is worth thinking about, because if the syntax highlight is only to disguise whenever the syntax is incorrect, you could only highlight it when it is incorrect, and modern IDE's (vim including) are capable of doing this.

On the other hand, perhaps highlighting the syntax is to represent the structure of source code, or make it more readable. There is also a text highlight utility for text, called BeeLineReader (http://www.beelinereader.com/)
If you're looking for a contemporary alternative to Ruby, you might also like to investigate Clojure (http://clojure.org/) - it is far more mature than Golang, has excellent libraries for web development and arguably has made better language design decisions (no shared mutable state). It also has excellent support for clientside web development, which is becoming increasingly important.
I've talked with some programmers about this who moved from India to the USA and do excellently there.

In their view the problem is the family culture. Since India is in large parts still very much a developing country and has been for a very long time, they have big families with the expectation that big multi-generational families care for one another as a group. That includes getting jobs, food, etc.

So these people grow up being able to ask most of their social circle to help them in some manner and being able to expect to get this help unquestioned. So quite a few indians use family connections to get into IT jobs they have zero qualification for, by being helped by family, acquaintainces, etc. That is why in chat you often see indian developers ask very bluntly for someone to do their job for them.

I'm not entirely sure where this "yes" culture comes from, but i suspect it is connected with this knowledge that they don't know anything pairing with the desire to keep the job, because it's not just their income, but their entire family's.
Connecting to databases in R is way harder than it should be. It's something I want to work on in the future.
Fascinating, I had not heard that story about HP and Best buy. When building servers I found that powering on the parts and running them at 75% capacity for 72 hrs prior to releasing them to manufacturing helped trim the infant mortality rate to something much more tolerable. DIMMs and Disk Drives were particularly susceptible, power supplies were actually not too bad.
Just FYI, it helps to actually mention specifically what you're referring to so people don't have to visit another website just to know what you're talking about.
More importantly, that's just the standard current supplied to a USB device. It didn't ask for more because it probably uses only a fraction of the default.
Show HN: Crowdsourced fundraising and sponsorship for sports clubs & teams
I know that these questions are illegal, but what penalties are there for violations?
Filco Majestouch Tenkeyless with brown switches for me. It's reasonably priced, looks lovely, and is brilliant to type on. That the keys come off for washing and brushing out the keyboard base is also a nice bonus.

http://www.amazon.com/Filco-Majestouch-2-Tenkeyless-FKBN87M-...
My take on this story is that this is basically David Nutt trolling the UK government. I don't believe it's his intention at all to look at the practicalities of manufacturing such a drug.

What he does want to do, however is to get the government into a knot with regard to its drugs policy. Nutt has always been for a drugs policy based solely on the harm that a drug would do. He wants drug policy to be stringently evidence-based.

So he starts talking about a drug with zero harmful side effects but with the enjoyable effects. He wants to try and goad ministers into talking about whether such a drug would be banned or allowed. So far the media hasn't really taken the bit between the teeth, however.
I think (my) common sense tells me those large corporation have some many applications that they will turn down anyone for any reason and in your situation they would want to avoid, if ever asked, answering "yes" if someone ask "do you have felons working for you" [1]. I don't work for HR, but I could see the point where decision-making person is turned down by this, as I am sure they cherry-pick to the extreme (they do not hire on "we extremely need" basis, rather "we hire if someone has amazing skills and we can always use them").

If I were you, I wouldn't disclose until asked for, because this does not affect your work output, or your footprint on society. If you were a rapist or psycho then for society sake yes you should say something before you flip over and machine-gun half of Googleplex (but that's not your case). If asked for, I would be honest and straightforward (your pastebin story seems you were young and stupid, something we all go through (some caught and recorded in the system, most not)). Just be honest and explain them your situation and leave rest to them and God (if you believe in one).

[1] I sympathize with your story. The longer I live on US soil (I am sure this is not narrowed down to US), the more I become aware jails and prisons are filled in with innocent people (I'm serious) or otherwise we all should be jailed for this or another reason.

Good luck!
Interesting. His father clearly thought he was telling the truth. did you watch the video? Seems the found it important enough to bring up to the EU when giving testimony about mass surveillance.
"The best way I can describe it is to compare it to reading a book. When I read a book, I don't want parts of speech highlighted in different colours. What I want to do is to read the book, to take in the information."

I found this interesting, as my reaction has been almost the complete opposite. I've never felt that syntax highlighting played a part in understanding code at a high level. Syntax highlighting is there for when I'm reading my code like a copy-editor. It (along with an inline linter) is there to make syntactical errors more obvious so I can deal with them as I make them.
What about a kinect? They're capable, (relatively) cheap, and their ubiquity means that they have a good community.
Congrats - releasing is definitely something to be proud of!

Not sure if you want feedback but IMO - the text banners on screenshots feel a bit too low quality and detract from the actual screenshots. Always hard to get this perfect though!
Or Julia Robinson: http://en.wikipedia.org/wiki/Julia_Robinson
Who cares? This is a reddit-esque circle jerk as clear as can be.
My understanding is that, generally, the moderators prefer article submissions to have titles identical to the articles themselves (presumably to avoid linkbait titles on the HN side).
Tighten your explanation a bit:

I was arrested for selling marijuana to a roommate in the dorms while a freshman at [Name of School] in 200?. This was an especially difficult period for me; my father/mother had committed suicide the year before and I was having a difficult time coping with his/her death and being on my own at college for the first time. This led to me making a very poor choice, one that I regretted then and continue to regret today.

I agreed to plead guilty, and was given N months of probation with no jail time. I successfully completed my probation in 200? without incident.

It was a well deserved wake up call, one that helped to set me back on course. I completed my degree at [Name of School] and have been working in IT ever since.

You don't need to explain that the roommate was working for the police. You don't need to offer information that you were regularly selling. You don't want to call it narcotics. You don't want to mention that you were facing 8 years in prison. You don't want to use the word habit (if you must "to support my use/consumption"). If they ask if you were selling lots, deflect (who knows what "lots" is... you weren't Scarface you were a troubled kid just trying to get by). If you also got community service you should also mention it (N months of probation and N hours of community service). If you did something special for your community service (eg. worked with disadvantaged kids) you could mention that (if you just picked up trash on the highway I wouldn't).

Practice saying the explanation and writing it. You want it to sound natural... especially as it's the truth. It's embarrassing but frankly even for a position requiring trust (eg. handling money) I don't see your conviction as a serious problem. Note that if you still smoke you should consider stopping (or getting a prescription) as some larger companies require drug tests.
It sounds like /r/doctorwho suffers from a particular thing I've observed, which is that the more specific a subreddit is to some target of fandom, the more likely it's filled with cringeworthy uncritical fanboys.
I threw together a quick demo kinda like this a while back using Bret Victor's Tangle.js:

http://defcon21.hscott.net/wave.html
Looking for survey monkeys for startupweekend
Yes, save and load suck, and I never use them (and encourage others to avoid them too). Use saveRDS and readRDS instead (and yes those are their totally inconsistent names). (Also the documentation for load does tell you where the objects get bound)

Language and standard library are tightly coupled, but problems with the standard library are _much_ easier to fix than problems with the language.
this is a fascinating piece of advice - there is no argument against heavy use of assertions i have heard which isn't "oh but i'm lazy and don't want to do my job properly" and whilst that is e.g. the justification for python as a language in the first place that we don't want to spend time writing bytes, its not about convenience in this case but necessity. writing everything at the lowest level is not necessary, but writing stable code is. assertions help you do this, they will not become obsolete until e.g. static code analysis becomes good enough to replace it.

this comment is also scary from the C family of languages background:

"When using assert properly, this is a feature, but when assert is used inappropriately, it leads to code that is completely broken when running with the -O flag."

why don't people test their software by merely running it? esp in the config it will ship in.
It reduces productivity and adds headache.
Code is not a textbook. A good programmer has to always look at different pieces of code and would lose himself in the mess of symbols if there is no indents and block highlights..
SNESoIP: Play Super Nintendo games over the internet
I don't think it's that nutty.

I use syntax highlighting, but I use very mellow colors that do not distract. The example given out in Akesson's article is a complete eyesore, however many text editors are like that and it's not that simple to change the color scheme in all of them.

I believe syntax highlighting can also spoil you if that's all you're used to. It is a good exercise to write and maintain some code in raw format, occasionally.

Personally I think it's enough just to highlight the reserved keywords and comments.
I didn't know that Google let Samsung register Android as a trademark in South Korea, that's pretty strange.
There's really no reason but nerd-ego to use a Model M anymore, and this post is pretty pointless by not even mentioning the wide WIDE range of mechanical keyboards available today.
I'm confused about your reference to C. C has multidimensional arrays, and all the elements are laid out contiguously in memory. No index calculations are needed, it's all done by the array indexing operation.

If you have this code:

int a[10][10];

then:

&a[x][y] == ((char *)a + x * sizeof(a[0]) + y * sizeof(a[0][0]))

where sizeof(a[0]) is == sizeof(int) * 10.

quick edit: added a (char *) cast so the arithmetic doesn't multiply by sizeof(int) again
Or... perhaps he just doesn't know for certain, and gave an honest reply.
Here's a simple answer: "people" are materially dependent on interactions with "other people", and outcome of these interactions is to a large degree determined by how "other people feel about them".
One problem with "go do a task" interviews is that you can't gauge a company's interest in you, the candidate, before doing them.

I remember doing a task-based interview once, getting an offer, and having it retracted after I asked to meet with the team before accepting (they just moved on to another developer who would accept without meeting the team first). This was a reputable, respected small company. Clearly, task-based interviews let them determine who was competent and who wasn't, but I was the only one who was invested in the interview process.

Payment helps and it's great to see some companies pay for project interview that aren't even directly related to their technical needs. The company invests money and the candidate invests time.
Tech Entrepreneurs Revive Communal Living
Google+ and YouTube tech disaster report
Yeah here you go on Debian. I just pasted this from my notes and added some formatting...

== set up mutt ==
$ sudo apt-get install mutt
$ echo "export EMAIL=user@domain.com" >> ~/.profile
$ source ~/.profile

== postfix ==
$ sudo apt-get install postfix
.. answer system mail name as your host name
.. add your domain to domains to accept email for
.. Follow instructions here WRT SPAM:
https://wiki.debian.org/Postfix#anti-spam:_smtp_restrictions
.. basically add two lines to /etc/postfix/main.cf
$ sudo service postfix restart
$ ufw allow 25 # allow smtp in firewall. I use ufw.
.. add your hostname as the MX for your domain (I use 123-reg)
.. Visit mxtoolbox.com and check the machine isn't an open relay and is functioning correctly

== procmail ==
$ sudo apt-get install procmail
.. add following to /etc/postfix/main.cf
mailbox_command = /usr/bin/procmail -f- -a "$USER"
$ sudo service postfix reload

== root alias ==
$ echo "root: youruseraccount" >> /etc/aliases
$ sudo newaliases

Done.

I genuinely get virtually no SPAM. RBLs and postfix sender validation above seems to work pretty well on its own.

I've done the same on OpenBSD with OpenSMTPd and spamd with even less effort.
Interesting to note: San Francisco adopted an annual limit on office development in 1985 of ~1M sq feet per year [1]. For the past decade, new office development has been under that limit and the remaining allocation has been carried over to subsequent years. Fast forward to today and planned large office development in the city is projected to exceed the allocation in the next year or so.

[1] http://www.sf-planning.org/index.aspx?page=3254
Thank you domness. What is the average size of your repo?
"This thing is loud, which really makes me feel like I'm getting serious work done when typing. Not so great if you share an office or participate in conference calls, though."

I'm told over and over again that the most important technique for programming success is interrupting programers as often as possible. They thrive on having to listen to sports discussions and having to listen to other people's music that they don't like when they're trying to concentrate. Open plans are the silver bullet of programmer productivity and surely a littly clicky clicky will only help.

Seriously though I have been using a Model M since the 90s, they are beyond awesome, excellent finger feel compared to mushboards, and cheap/easy to maintain. Every year or so I pop the keycaps off and wash them using dishwasher soap, let dry, pop back on. That's about all the maintenance they need. Every mass market article about them has some weird moth to the flame desire to go on and on about how loud they are. Dude, they're not jackhammers. They are discernibly louder if you pay attention to those things. If you don't pay attention you will not notice the difference.