skysight-inc/HackerNews huggingface dataset:
The Clojure code isn't particularly well written, and given the apparent goal here using a regex is hugely overkill. Despite being inelegant, enumerating all the valid keycodes to a set is the most appropriate answer.

Clojure provides a constant time dispatch function called case that is perfect for this.
I can appreciate making web services a lot simpler than horseshit like SOAP. If all we want to do is get data in and out, let's do it simply and without a bunch of extra ceremony. I can appreciate the notion of using concepts we've already had forever in HTTP rather than reinventing them, poorly.

Beyond good common-sense things like this, REST seems to involve a lot of people yelling about whether something is or is not REST.
As I read it it wasn't that they were simply too many but that they were not otherwise-perfect. The implication is that we probably have a lot of automated testing cruft but keep it because it is a passing test. This is something I've seen frequently. Even when I strive to keep the tests as long as I can I end up deleting them sooner or later because they are just too brittle and hard to work with.

Tests themselves are a form of code coupling so they almost always come with a cost.

I do agree with you (and said as much in my comment on G+) that there is some danger to this discussion becoming and excuse for laziness and ignorance, but that in itself isn't a good reason to not have the discussion.
Wheres the pixel?
Palo Alto, CA (across the street from the downtown Palo Alto Caltrain station) - FULL-TIME & INTERNS

We're looking for people to fill the following roles on our 18-person team:

Backend Engineer, iOS Engineer, Web Engineer, Android Engineer, Data Scientist, Office Manager

Pulse makes the most downloaded news application for iPhone, iPad, Android and Windows Phone. At Pulse, you will work closely with a tight-nit team of experienced engineers. Each of us is part engineer, hacker and product designer. Pulse was originally founded in the Stanford Design School. Beautiful, user-centric design is at the heart of our product and work. We recently raised a Series A round of funding led by NEA and Greycroft.

Find out more about us here: http://www.pulse.me/jobs/ and feel free to send your resume to me at cristina@pulse.me
San Francisco, CA - Yammer
The people who use Yammer regularly tell us that they have better access to information, get less email, collaborate better within and across departments, and feel more valued.

We're growing in revenues and customers rapidly. We really need strong engineering talent but keeping our hiring bar high.

We're going to win because we can move more quickly than our competition:
- weekly releases
- deep in-house analytics team
- not wedded to specific technologies
- only as much process as necessary
- open and transparent communication across teams and from executive management
- constant learning

Salary, benefits, perks are excellent. http://www.yammer.com/jobs
Thanks - this is sage advise.
Xero does look pretty good.
Certainly; they're barewords interpreted as string literals. The strict pragma forbids this interpretation.
> The fact that it's a whole book makes me nervous.

At least 3/4ths of the book beats you over the head with countless examples of the corruption, how it came to be, and why it's not technically illegal.

The very last part covers potential solutions, none of which have a great chance of success due to the vested interests but should be tried anyway. e.g. a constitutional convention is one way out, if we can convince enough states to call one.
Microsoft is running anti-Google newspaper ads focused on privacy
That argument has no merit. The United States kept slaves for 150 years. It doesn't mean that we should tolerate it when another nation repeats the same mistake, particularly when a US company is funding them.

Look how much these (Foxconn) wages have risen in last 5 year

Everyone is obsessing on wages. Let me state yet again: I don't care about wages, so long as their livable in the region. I care about working conditions.
It'll be their first attempt with any hope of success. I'm thinking Kinect on a tablet, among other things. I don't think people were ready for tablets during Microsoft's initial offerings. Touch interfaces just hadn't come far enough.
Bay Area or Los Angeles or Shanghai strongly preferred, but remote work is possible for exceptional candidates (must live in the U.S.). Full-time only. H1B is okay. We also have several summer internship opportunities.

Factual's vision is to be an awesome and affordable data provider, so that developers, startups, and big companies can focus on innovation instead of data acquisition. We believe in openness and transparency rather than proprietariness and obfuscation.

We have a terrific team that is still fairly small, and an incredible CEO (he was the co-founder of Applied Semantics, which was sold to Google and became AdSense). In late 2010, we raised a Series A from Andreessen-Horowitz, and our customers and partners include Facebook, Newsweek, Loopt, and Blekko. We have lots of challenging problems to work on at all layers of the stack: data cleaning and canonicalization, deduping, storage, serving, APIs, etc. If you love data, Factual is the place to be.

We currently have about half a dozen job openings, from data engineering to software engineering to system administration. For the software engineering position, you would ideally know Java, Clojure, and/or Ruby, and you'll get bonus points for experience with machine learning, NoSQL, algorithms, infrastructure, and/or Hadoop.

If you're interested in the Bay Area office, it just opened in December of 2011, so you'd have a significant influence on the culture there.

You can email me personally at leo -at- factual.com, or view our job postings and apply directly via Jobvite:

Palo Alto Software Engineer: http://hire.jobvite.com/j/?cj=oTR1Vfwq&s=Hackernews

Los Angeles Software engineer: http://hire.jobvite.com/j/?cj=oQR1Vfwn&s=Hackernews

Los Angeles Data Engineer: http://hire.jobvite.com/j/?cj=oSS1Vfwq&s=Hackernews
Watch out iMessage user
I have a Kinect for XBox and I have tried some of the non official drivers, and it works. I don't know why there is such a think as a Kinect for Windows, the hardware should be the same, using the API Microsoft just released...
You're right, and the moral of that story is: Poverty sucks! Poverty is so bad that even the process of rapidly growing out of that poverty seems incomprehensibly awful to the non-poor.

On the other hand, just because these little letters of protest can't magically fix the whole Chinese economy doesn't mean they're necessarily useless. Worker rights are not won all at once. They're negotiated a little bit at a time. The more bad PR companies get, the higher the cost of dealing with it, and the easier it becomes for workers to negotiate better working conditions.

Much of Foxconn's response to this dustup will be cosmetic. But cosmetics cost money, too, so some of the response will consist of real reform.
Thank you for the kind word, but please allow me to offer a little more detail about the shoes I wear.

As a native Floridian, local hacker and community contributor; we are struggling to develop a better ecosystem in our area. And when I say struggling I mean: fighting to find a consistent membership to attend meetups, traveling long distances to support each other's projects and groups, coordinating events and efforts to maximize exposure for EACH event we organize (since the available attention in our local market is spread VERY thin), and working hard to gain the attention of other communities/groups/media to keep growing.

I can guarantee that the amount of effort we have to invest to get things accomplished here in South Florida as compared to that in more successful communities (SF, NY, Boston, Austin, etc) is a ratio that not in our favor. So when Calicanis suggests to one of SuperConf's media partners that the infographic is misleading and ignores the efforts that Auston made to correct the situation, that's not just another injustice by Jason Calicanis; that's him using his connections in the valley to defeat a small competing conference's attempts for exposure.
Stick with Microsoft WPF (et al.) or jump ship?
>> A RESTful API is discoverable

So is SOAP.

>> Developers understand HTTP

SOAP runs on just about anything including HTTP or even SMTP.

>> Our tools understand HTTP

SOAP doesn't care what the clients or servers are written in or run on.

>> REST keeps us honest

I disgree, you can change something in a JSON packet and the client will only know it broke when it's run. With SOAP, if your client uses a compiled language then you as a developer will know first before you give it to a customer to run, you can fix it then.
java and javascript are stepping on eachother :p,
how about '''preg_match_all("/$lang\b/i", $html, $matches);'''?
java and javascript are stepping on eachother :p
how about '''preg_match_all("/$lang\b/i", $html, $matches);'''?
Pinterest Marketing: Why And How To Do It Right
Paperless Post: Why We Patched Node.js
Those are exactly the kind of problems I meant when I said "let's focus on where markets and democracy aren't working the way we'd want them to". You're grossly misrepresenting what I said: I didn't say markets and democracy (especially the way they're currently implemented!) perfectly translate individual self-interest into the greater good; I said they have features which do.
Sure IE7 has problems, but they are well known problems at this point. An experienced web designer should know how to deal with them to give IE7 users a degraded but functional experience.

True for most CSS bugs, but if you're doing lots of Javascript you might reach a point where IE7 just doesn't cope, especially if you're doing lots of Ajax stuff. Of course, you can probably hack something 'degraded', but it does take a lot of time and might lead to difficult code with lots of hacks.
I feel like the outrage against Foxconn and Apple (and others) is particularly heightened by the fact that we're talking about an iPhone, as opposed to a piece of industrial machinery, or even, say, a car, the production of which is probably as or more dangerous than the production of iPhones. You’re not going to see an article that says "Workers should not have to die so Toyota can build the Toyota Camry," although that is likely an equally valid claim.

The reality is that the construction of any product, even one as aesthetically sleek as the iPhone (or consumer technology in general), is dangerous and doubtlessly comes with human costs. If we're getting upset at this, why not use this to take issue with the production of other consumer products which, doubtlessly, are made just down the road from the iPhone?
This looks like just what I need. I am trying to use Backbone for the first time after eyeing it for a long while, and I'm completely lost as to best practices when it comes to loading and rendering things, either from the router or from a view, and also when it comes to dealing with collections that are part of a model.

Here's hoping the next post comes soon!
I really dislike that "info graphic". I dislike most infographics though, so it's no surprise, but:

* I don't know what the story is, the graphic doesn't tell one

* The cute ninja guy isn't me, and I don't understand what he's pointing at

* There are 25 points of information on the whole thing

* Most of the text is too small to read

* If I'm not familiar with the logos, I can't understand what they represent

* The "conf" in "Super Conf" is basically invisible on the light grey background

So really it's just two tables in non-web fonts with no explanation. I didn't even notice the post at first I was so confused by the infographic.

I apologize for the harshness to whoever made that image, but this is the "25 numbers that Jason Calicanis doesn't want you to see" plus a sort-of ad for some conference. Present it like that and it's way more honest and not just hanging on to the infographic fad.
For mobile computing Apple has definitely position Microsoft against itself, classic "innovator's dilemma" style - Microsoft has extracted huge profits from their intertwined cash cows from enterprise businesses (who pay today for the licensing of promised future revisions) - highly lucrative, but binding Microsoft to produce those new versions that run business critical desktop software.

Along comes Apple offering something stylish that consumers want (and are now purchasing in vast numbers), but which will never run "desktop software", as the entire paradigm of mouse+keyboard is thrown on it's edge.

Microsoft is caught in a bind - one one hand, if they ignore the new market, their old one will be dwarfed and their "network effect" will dwindle, draining their monopoly pricing.

On the other hand, they can't jump with both feet into this brave new market because of their pre-existing contracts to enterprise (they could develop two separate versions but that would again, cause them to lose more profits due to the increased operating costs).

And so you have Windows 8, which tries to be both to two separate markets, and yet, neither - at the same time. Highly ambitious considering all of Microsoft previous failed attempts to address tablet and mobile computing.
That just sounds like a badly designed interface - hardly a problem with REST as an approach.
I don't understand the point you're trying to make here, or the stridency with which you're making it. You in fact do know that the most popular web servers do log the URL, and do not log POST parameters or individual headers.

That's why professional security audits will ding you for putting anything sensitive in a URL.
This idea that somehow one can fit any interaction with hardware into a filesystem ends when hardware becomes complex enough to simply NOT fit (like modern GPU).

The idea that one can fit any interaction with hardware into the mere toggling of registers and stuffing of byte buffers...

I don't know what FS you're using, but any good modern filesystem (say, ZFS or something similar) should prove more than adequate for handling that many/that size nodes.

Everything else can probably be fixed in the kernel level--for example, duplicating the hardware directory prior to tar'ing it, and have the kernel/FS note what actions to do to guarantee atomicity. I mean, we do the same thing with sharing /dev/dsp anyways (I believe daemons can be set up to handles this), so what's the deal?
You'd probably be surprised!
For the record, the approach that we use to serve templates (along with CSS, and JavaScript), is available here:

http://documentcloud.github.com/jammit/

Just the templating bit: http://documentcloud.github.com/jammit/#jst

... which allows us to include all of our templates in our JavaScript asset packages by listing them like this:

https://github.com/documentcloud/documentcloud/blob/master/c...

... which then means that they'll be served as part of the final, minified, compressed "core" asset package here:

http://www.documentcloud.org/assets/core.js (bottom of the file)

Or, as a standalone asset here:

http://www.documentcloud.org/assets/core.jst
This might not be possible for you, but we're running under nodejs and using stitch[1]. It compiles the templates to javascript functions, and we bundle them with all the rest of the javascript as one big file. Simple distribution and awesome performance.

[1] https://github.com/sstephenson/stitch
You have to research the domain, and gather the knowledge. Not knowing the domain can make that difficult because you sometimes chase rabbits down holes that go no where but you have to look at it as education for education's sake.

I will give you an example, I am a vehicle restoration enthusiast, I do what are referred to in the domain as restomods. The particular segment that I am a hobbyist in is older off road vehicles. There is a huge problem in this domain right now due to the computerization of the engine and transmission, when doing restomods many hobbyist like to update the power-train to a modern power-train, but in doing so they have to swap the entire power-train. There is no easy way to say take the best transmission available and couple it with the best engine available. If you want to you have to buy a black box from a vendor.

A lot of guys don't like having those kinds of restrictions as they like to tinker with the whole mod so they opt to stick to technology up to the point of computerization which has limited there options. For me, I never liked the idea of having those kind of constraints, so I started reading everything that I could about how these systems worked.

There is not a lot of direct information about how to modify them so you have to gather the domain knowledge and then begin the process of reverse engineering these systems. I read a lot of information that had no direct relevance to hacking ECU's but there may be one nugget of information in a book that lead to a discovery on my own. At first it was daunting because I did not know how to even identify quality information, but just reading and reading helped me to focus portions of the domain knowledge into something usable.

I use ECU hacking as an example because it is known for being a black art with very little direct information available, therefore one has to acquire domain knowledge to develop direct education on the system at hand.
The original article has far more information:

http://www.journallive.co.uk/north-east-news/todays-news/201...
It isn't compliant, it doesn't use the verbs properly.
DC Announces Prequels to 'Watchmen,' Stirs Disdain for Entertainment Industry
The reason to choose less over sass would be because that is what twitter bootstrap uses, though using plain CSS does have the advantage of being used elsewhere.
I don't think that would be legal, the consumer has to make the copy themselves.
Pretty neat. Especially the button text color change according to the background color.

I suppose the generated CSS works pretty much with any templates, not just Twitter Bootsrappers.

Here's another tool which I use it often: http://www.colorzilla.com/gradient-editor/
You need both. Your average website is only going to get visited by bots (Hi Google!) unless you do some type of marketing.
For those wondering, at current exchange rates and with the VAT removed, the price for non-EU customers is US$65.29/m
NASA's 16 top technical challenges for the next 5 years
Mixpanel is hiring and we 1 TB of data every month - We'd love interns or full-times at our SF location.

http://mixpanel.com/jobs
I added the "otherwise perfect" clause because of his third paragraph, which to my mind basically meant that for the rest of his post he wasn't talking about tests that could be fixed to run faster (with reasonable effort), but the remaining tests that are left even after you've polished the setup to a reasonable degree.

Certainly I've broken tests with new code, examined broken tests, and simply nuked the broken tests before. Usually it's because they're either better covered by some other test written since then, or covering use cases I thought I'd have that never emerged. Sometimes I fix them to be less brittle over time.

It is a good discussion in theory, I just question whether there's that many teams for which this really applies.

I may be suffering from excessive reliance on my own personal experience. As I said yesterday in another comment, I tend to not to worry about whether something is "unit" or "integration" or "acceptance" testing, and most of testing is actually at least one abstraction level above what would be properly considered "unit testing". I personally don't have much difficulty with test stability as a result. People who write lower level unit tests may encounter this far more often.
I love the idea of a 'standard' digital license, but I agree that it's best not to let a government decide what that is. I think an organisation like the EFF could provide the template.
I once spent weeks writing a wrapper for a particular service provider's API (which they charge a premium to access). Every request was a POST and every response was 200. In one function, timestamps were represented by a unix epoch, but others had the same field encoded as ISO 8601. The XML returned was not guaranteed to be well formed. Etc.

The kicker is that they declined permission to open source my wrapper because "the API is proprietary."
The low end of the tablet market is now filled by Amazon's Kindle Fire, which is an Android fork. How can Microsoft compete with a device sold at break even? Furthermore China will manufacture Android tablets at below $100. They do that by using a free operating system - Android.

The article's sole point is that Microsoft is a known brand in desktop and laptop devices. But up to now Windows Phone has been a distant also-ran, and that's a good indication of how Microsoft's brand has failed to carry through in the mobile marketplace.
Deep Web
I want one to play with and I'm a Linux OS user. I should have picked one up at $99 over the holidays.

The comments from the msdn blog are interesting in indicating the lifetime customer value of XBox users with a Kinect to Microsoft.

The extra cost might be worth it, if the documentation and examples were much more than simple library descriptions. I am thinking more of being able to grok the hardware/software driver interface than the higher-level calls.

Any fellow HN'ers with early insight to how good the Microsoft Kinect SDK extras look?
Verizon, Comcast double team AT&T in Bay Area battle
Electric brain boosting
The infographic was conveniently confusing the price to pitch at the event (for launch, it's free), with the price to get an exhibitor table.

Let's say it was misleading on purpose. Author gets heat for doing so, and uses the heat to get more buzz. Good PR overall I guess, but one more person I'll be reluctant to work with in the future.
REST is not RPC; well, I don't think of it that way anyway.

RPC gives server parameters and asks it to actually do something, whereas REST asks for a representation of some resource.
The HUGE advantage of "everything is a file" is that if you make a tool that works on one "thing" and then want to use it on another "thing" it is quit possible that it will just work. For instance, on OSX, one of the things I sorely miss is the sysfs from Linux. Sure, OSX has the ioreg, but I cannot use the tools I am used to (find, grep, cat, echo, sed, awk, ...).

To put it in terms the web programmers can understand, it is like REST, you have a GET (read), and a POST (write), and I suppose a DELETE (unlink), and with that you can implement all you need. Everything fits into a very few syscalls (open, read, write, close).
Just wanted to say that I hired someone a couple of days ago from the January thread.

Not sure if others have had success, but I find these threads pretty useful.
Each program sees its own copy of /dev/dsp. Behind the scenes, that copy is backed by some magic on the OS's part that handles state tracking, mixing, etc.

The program only ever sees a dumb bit bucket with some flags on how to handle it--that's why we have OSs, after all: to avoid having to write hardware driver code for all our programs (see the bad old days of DOS game programming).

The program still needs to manage sound mixing in userland to fill that buffer. That's nothing new, however, and you can use PortAudio, FMOD, XACT, whatever to do that mixing for you, or roll your own.

This abstraction would greatly simplify that process.
GNUnited Nations 0.5
I have had success in the thread, I think I have picked up 2 gigs from it, both where at my rate of $100hr. I have extensive JavaScript and IOS development skills though so I am in a hot market right now. I don't know your skill set, but it may be that you compete in a market that has more saturation. Still $10-$15 seems low for a development skill set of any sort. Most highly skilled Indian freelancers command more than that rate.
That's exactly the reason why I don't have an email address on the site. I had one before, but almost 100% of emails received were not from people asking legitimate questions, but from other businesses sollicitating.