skysight-inc/HackerNews huggingface dataset:
I run into this problem all the time with recruiters, especially non-technical recruiters, who are the kind of people who just want to match up YEARS_EXPERIENCE_NEEDED with ${ACRONYM} down a list, and if you don't match up, you're filtered out. It's very frustrating because it's hard to get interviews, which is where I have a chance to shine, and show that client why taking on someone with a broad skillset -- especially one who understands business issues -- is better than hiring a hyper-specialized candidate.
Maybe I misunderstood, but I got the feeling from the OP I was responding to that he was suggesting we fill more potholes in order to stimulate the economy. I'm kind of working off the assumption that we are already filling the important potholes often enough, so filling more potholes just to spend money sounds like make-work.
This is a pretty great counterpoint to people who see something like this and immediately think of those who want to 'game the game'. Not that the exception proves the rule, but altruism does (in my opinion) beget altruism, good on you Sam.
This has been out a while and I always thought it had a lot of potential, but they haven't really pushed it.

One barrier to more use of the service myself is their URL strategy. I don't know my own link and, in the past anyway, it wasn't easy to navigate to my profile.
No all obligations are equal, and the AAA rating is only on some of them. U.S. bonds are AAA, but you can be sure that your future Social Security benefits have junk status.
<quote>Well, there is, technically, which is that some amazing breakthrough in technology suddenly makes us all a lot wealthier very quickly, which is such a long shot it's hardly worth talking about.</quote>
Wealth? Is there really a lack of wealth in the US? I though the problem was not a lack of wealth, but more a lack of those in the US that possess it in abundance to share it with those who don't (e.g., by paying taxes). Even if some 'technology' came along that could generate wealth, that would very likely still be owned by a minority of the population and would not solve any of the problems faced by the nation as a whole.
Works for me in Chrome on Windows 7. I can't click the hyperlink in DanskTest01.odt, though.
I've always seen karma as more of a net effect than a mystical thing.

In practical terms, paying the toll of the person behind you may not directly propagate to tolls being paid. However, the recipients are going to be just that much happier or less stressed out, and are likely going to pass that mood along to the people they interact with in some way.

It may only make a small, localized part of the world a tiny fraction of a percent better, but it adds up.

I think it was Steven Covey who wrote somewhere about the trim tab on a giant ship's rudder. It's expensive/hard to build a motor that can turn the rudders on a giant container ship directly while it's in motion, but all it takes is a little mini-flap on the edge of the giant rudder.
Seems interesting enough, i'd give it a shot.
Computational Fairy Tales
While not actually called memoize, Python 3.2 ships with the lru_cache decorator in the standard library module functools.

http://docs.python.org/dev/library/functools.html#functools....
Beta620 - Experimental Projects from The New York Times
The hackers are kids, the people getting broken into are adults, so apparently they do know more.
It tells you it's not HTML. That's useful if you hope to parse the message body.
I really don't think that it is as simple as that. If your professor refused to write you a recommendation for a research position because your grades are a bit low and he doesn't think you are responsible because you were dangerously close to missing important deadlines, then you show that his grade calculation was wrong but he still won't recommend you because the second part was still true.
SENuke Review – Web Keyword Niche Research Function
It really depends on what you mean by really good. I agree that you can't be really good at many things - but only relative to yourself. Meaning that if I (personally) practice Skill A for a week versus practicing Skills A,B and C in the same week I would almost certainly be better at Skill A.

But if you work on Skills A,B and C for a week and another dude works on Skill A for a week there's no guarantee that you're going to be worse than him. Depends on smarts, I guess.

I guess it's academic but inexplicably interesting to me.
Model Of Manhattan, Carved Out Of 2.5 Tons Of Marble
Or maybe they weren't homeless? Giving unsolicited food to homeless people is sort of like asking a woman when the baby is due. It's also important to remember that they may be homeless but many homeless people still have their pride and feel awful about having to ask for handouts, let alone have people randomly take pity on them.

I've lived in downtown San Diego for a while, and I've taken to just getting to know some of the homeless people who hang around the 7-11 by my apartment and buying food for them when they ask me.

That being said, you did a good thing by trying :)
Well, it is harder in a game to indicate to the player when they should press the Rhinoceros button - sure, running man to WWI fighter plane is fairly intuitive, and the squiggly-line-to-polygon-to-point-cloud powerup basically speaks for itself, but finding some fairly obvious method of indicating this is the point in the game story/world where the rhino is called for can be more of a challenge.
Isn't it simpler to infer backwards compatibility from proper major.minor version number bumps? A major version number bump indicates API(/ABI) breakage, plain and simple. A minor version bump is simply a backwards-compatible change to the existing major.

Version numbers for marketing purposes are not really that useful, but if they are strictly used to indicate compatibility, they are very helpful. No one cares if the API is at, say, version 1023.301 as long as they know that 1023.200 is compatible with the latest version and 1022.499 isn't.
Not all US debt is classic Treasuries. They also sell inflation-linked debt instruments, such as TIPS and I-Bonds.
Jonathan here:

I've been thinking about this quite a bit. One the one hand, last week some jerk saw a $50 balance and spent the whole thing in one shot.

On the other hand, people need to know when there is money on the card if they are thinking about walking down to a sbux to get a coffee.

I might try the "there's more than $10 on the card right now". I've also experimented with delaying the reloaded messages, and doling out the money more directly by asking who wants a coffee.

Folks who respond get the update if they're quick. We'll see what happens, but I believe that there is a sustainable way to handle it.

Cheers!
j
"Generally, I prefer the GOOS school of TDD which includes isolating my classes as much as possible, putting mocks and stubs everywhere." [emphasis added]

One word: Overmocking. Mocks should be the last thing you add to any test suite and they should only be used to mock out external services or slow systems. If you find yourself needing a lot of mocks for simple tests, then your design is bad and needs to be refactored.

Ryan Davis explains things best when he gets into minitest/mock (for Ruby): http://confreaks.net/videos/618-cascadiaruby2011-size-doesn-...

I've been bit by this before, multiple times. I've ripped hundreds of lines of mocking code out of tests in the code I routinely work on (not originally written by me) and it has given me much more faith in my tests.
Seems to kind of defeat the point?

Use it when you can't afford coffee, refill it when you can afford a coffee plus a little more...
I'm aware, there was also almost an LFU cache decorator in there.
A fine idea, and a nice service, but not something I'd ever pay for. And your design looks more Enterprise than Indie Hipster, which is kinda offputting.
Jonathan here:

I totally agree. The sbux site and card don't support this directly, but I think I have a way to achieve this manually that involves requesting a coffee before you can know how much is on the card. We'll see!

Thanks,
j
Under Siege - Steven Seagal is Google
Yes, this is exactly the point of abstraction layers, and abstraction layers are precisely why I love computer science and software engineering so much. With abstraction layers, we can create, maintain, and use systems that are inconceivably complex.
"Nissan VP Andy Palmer accused Top Gear of deceiving its viewers, pointing out that the telemetrics in the Leaf had wirelessly updated the car company on the production crew’s actions."

http://www.slashgear.com/nissan-blasts-top-gear-for-misleadi...
Here is an idea. Go to Mitsuwa and buy your candy there and save on shipping. Same candy, same taste, reduced cost.

http://mitsuwa.com/english/index.html
I'm pondering the same question, only for replacing a 5 yrs old first gen MBP. Just bought a new 13" MBA for my wife and was impressed with the thing. Would probably do well as a dev lappy, the only drawback is that you're maxing out at 4GB ram.
Data Center Cooling and Server Cooling in brief
To be fair, some of those junk bonds were insured by AIG, which did have a AAA rating.
>>What kills software projects is illegible code.

Do you have any supporting references? Legible code is a minimum requirement.

It is like saying "code which dies every full moon is killing software projects." Sure, such code would kill most software projects -- but it is common today?

(My educated guess would be that slow development speed is the real mass murderer of projects.)
Check out: http://theymakeapps.com/
Being deep in debt is a big problem for a country but not the worst thing ever. With a fair amount of fiscal discipline it's usually possible to dig out of debt as long as it's not such a huge multiple of GDP. About the worse thing a country can do to deal with big debt is to print money as that will create an inflationary spiral which is harder to get out of than just debt. Indeed, runaway inflation can wreck the economy and destroy GDP growth. And from a creditor's perspective being repaid in inflated dollars does not actually repay the value of the debt.

If the US were to try to inflate its way out of debt by printing money it would result in a tremendously fast crash of the US's credit rating.
Entourage Season 8 Episode 3 | Watch Latest TV Series
I agree that the valuation may be high, but their filing is no more problematic to me, than zynga's. Zynga failed to detail just how much of their revenue is coming from 1% of players who actually pay. They merely alluded to it as a risk factor, but I think is is a pretty important piece of information as a potential investor. I found filing Groupon's to be adequate. One bonus to a made up accounting metric is the SEC requires a GAAP reconciliation to be included, so you tend to get more details about the business than if the whole thing used GAAP numbers.
Why you or your company should hire me as your aprentice.
> Plus, it’s actually kinda fun to see those rewards stars drop into my in-app coffee cup.

Well, Jonathan may get the Rewards so it is not completely altruistic.

A real-time map of where transactions have been made ala http://twittervision.com might be interesting if this card goes viral

https://www.starbucks.com/card/rewards
My first android game
My first android game on the market. Will report back soon on how it is doing.
Probably true, yes. For instance, the apply-transformation

x.apply(y) == x(y)

and the way operators are handled

1 + 2 == 1.+(2)

are fairly powerful syntactical tools which allow seemingly magic DSL stuff. Many enter programming via Java and C; languages that are far less malleable and open to seemingly built-in modification than, say, Lisp, Scala or Ruby. However, flip side of syntactical magic? Stuff like '·' (which I recently encountered in some Scala library).

Or Databinder Dispatch:

Http(:/("google.com") / "bla" / "bar" << "why=so&x=y" ># foo)

Nice library, but, you know, conciseness isn't everything. (By the way, this places a POST request to http://google.com/bla/bar with request body "why=so&x=y" and delivers the response as a parsed JSON tree to foo.)
Jonathan here:

Fair point. My goal is to figure out the dynamics of social giving in this fashion and create a similar sustainable model around items that are less "luxury" than coffee.

For example, I can imaging people paying for other people's groceries or medicine in a similar manner. Maybe I'm crazy, but it seems worth trying.

Best,
j
Nissan Installs A Public Plug In Lincoln, For Top Gear
There are two claims in the article that were not made clear in the episode:

1) The Leaf had a full charge when delivered, but it was drained to 40%

2) Clarkson drove around in circles until it died, in Lincoln.

Now I can understand both of these things from a television perspective. Obviously everything in Lincoln was staged, including their arrangement with the university to charge there. Clearly they drained the battery so that it would die in Lincoln, as that's where they had prepared to shoot.

It makes sense from a TV perspective but it's unethical, especially given the direct harm it can have on livelihoods and the effort to transition off fossil fuels. There's no substantive difference between doing what they did, and merely pretending that the car died when it had half a charge left. Top Gear is a comedy show, but it isn't satire. The audience has no reasonable expectation that when the hosts make claims about certain cars, they are being dishonest for the sake of comedy. Sure, we know the challenges are staged, but that's not what this is about. It's as if, in testing the new Ferrari, they replaced the rear tires with winter tires then complained about how the read end was uncontrollable. This crosses the line directly from creating an entertaining narrative to slander. Given JC's very public views on anything to do with the environment, as well as their previous run-in with Tesla, you'd think they would be careful not to give the impression that they will intentionally lie to disparage electric vehicles. With this latest incident, that is exactly the impression they give.
REST is a style, not a pattern. The application of this manner of classification to application architectures on the web was the broader goal of Fielding's dissertation, titled "Architectural Styles and the Design of Network-based Software Architectures".

See chapter 1 http://www.ics.uci.edu/~fielding/pubs/dissertation/software_...
I'm turning to Hacker News for help finding a temporary home.
Unorthodox? Definitely. But that's okay, because I 'm running out of options.

I've been living in SF since early June working on a startup concept and want to stay out here while I work on getting together a prototype. However, my apartment lease is about to end and I have to go back to Philly, which will be make it much more difficult to find a place to live out here.

This wouldn't be so hard if it wasn't for the fact that I have a 77 lb. dog and don't really know enough people to sign onto a full-term lease.

So I'm looking for one of the following:
- a one-year lease with awesome roommates just south of the Panhandle.
- a temporary sublet
- a short-term place I can stay with with my dog while I continue my search for a more permanent home

Is there anyone out there who can help me?

Thank you!
I don't go to Starbucks, but I just loaded up $10 because I'd really like to see this "succeed", whatever that means. It's gone already, so I guess the experiment is working? :P
You could say that about almost anything. "How can you justify commenting on HN, when the money earned in the equivalent amount of time wasted here could save n Nigerians from starvation?" You can't, not really. But Jonathan's card still is one of the more ethical ways of spending money, so I'm all for it.
The Growing Portrait of Google As A Scary, Expanding Everywhere Copy Monster
As someone who has been training Parkour for about 6 years, I think this is a great article and draws a lot of great comparisons.
So says the theory, yet Ben Bernanke has created hundreds of billions if not trillions of fresh cash and injected into the economy and we are not seeing runaway inflation. Sure, it's not used to pay down debt, but....you get the idea.

Fiscal discipline doesn't always work. See Greece. Greece has been enduring fiscal discipline for at least the last 12 - 18 months...but things only get worse. You can argue that is because Greece's situation is so bad, that the fiscal discipline it needs is more than it has gotten - but that is a tough line to argue because it's hard to know how much is enough. At some point, it becomes unproductive.
Can clients of your API talk to other people's APIs using the same interface? If not, then the client is obviously coupled to your server and you definitely do not have a REST application. You have a thick client application. REST is the antithesis of this -- the client is generic and doesn't need to change along with the server.

Putting links in your proprietary data format does not make it hypermedia, it just makes your API easy to reverse engineer. Maybe it also allows you to change your URLs, but it doesn't allow you to change the structure of your data. Hypermedia does. Hypermedia comes in generic media formats that clients know what to do with.

If your API is called "The [company] API" then it is almost certainly not RESTful. If your API is called "[generic type of data] interchange protocol" then it might be RESTful. But we don't usually call that kind of thing an API, we call it a protocol or a format. Really, I don't see how an API, as they are commonly understood, can possibly be RESTful. The main big important point of REST is to not have APIs.
Staggeringly poor article. Projecting out a trend line by effectively assuming sustained exponential growth is completely retarded. It's really the same as the projections predicting that the sustained 1990s bubble would continue and the US debt would be paid off by 2009.
Jonathan here:

Yes, unfortunately I do get the rewards. I get a free coffee for every 15 purchased. I figured that the free coffees would accrue to the card itself and therefore every 16th person would get a free coffee. As it turns out, sbux mails free coffee coupons to me:

http://yfrog.com/keup3hxj

I'm not sure how to redistribute them fairly, but I was thinking that I could at least pass them out at my local store. However, doing so is expressly forbidden and my name is on the postcards.

Thoughts?
j
Considering nvidia is planing on releasing a quad core 1.5Ghz phone processor around the end of the year, I would say no phone programmers don't really need such details. Arduino community specifically, sure the arduino sucks hardware wise. Embedded systems in general professionals yes, hobbyist no. Professionals yes because shaving per unit price to the bone can make dev time worth it. Hobbyist can buy a pretty beefy microcontroller so that they don't really need to worry about it.
Thanks for the response. My question wasn't really directed at you—I can see all kinds of ways you could justify the project, including just curiosity. My question was for the people who are putting money on the card.

I hope one of your other ideas works! Good luck! But I suspect a big part of the impetus behind the contributions is a feeling of reciprocity, which is a different impulse from charity.
Do they do this so they can show ads on multiple pages? I couldn't tell since I'm always browsing with an adblocker on
In your own code you can just wrap argument-less decorators in a function.

def decorator():
return some_library.decorator_with_no_args

@decorator()
> Mocks should be the last thing you add to any test suite and they should only be used to mock out external services or slow systems.

It really depends what you're trying to achieve from your tests. I find a combination of all of:

1. Mockist tests that mock /all/ dependencies

2. Tests that stub out interactions with other layers (e.g. test the entire model)

3. Full integration tests that test the whole system with real dependencies (real db, real services)

works quite well.

The first set help you design and document your implementation through mock specifications.

The second allows you to assert the intended behaviour of the code without tight coupling to the implementation. You're less likely to break these when refactoring.

The third is the most likely to find real bugs in my experience. They're also generally more difficult to write and take longer to run, but valuable.

Mock-everything tests aren't good at finding defects but they're not without value.
Sounds like the problem wasn't isolation, but failure to actually test the class. Once they had tests written for it (because they were adding a new feature) it became glaringly obvious that it wasn't working.
This might be the coolest thing I see all year
It's just possible this is a title which deserves to be editorialized to "Defcon Lockpickers Open Card-And-Code Government Locks In Seconds With a Hammer." Edit: Make that "With a Rubber Mallet."
Learning the job on billable time is normal in consulting.
> What was that economic theory that most of the colonial empires were run on, where the prime directive was that more gold needed to be flowing into the country than flowing out?

You may be thinking of mercantilism: "Mercantilism is the economic doctrine that says government control of foreign trade is of paramount importance for ensuring the prosperity and security of a state. In particular, it demands a positive balance of trade. ...It also was a motive for colonial expansion." [1]

[1] http://en.wikipedia.org/wiki/Mercantilism (emphasis added).
Yeah, this has been around for months with no push from Amazon for some reason. I'm not sure many Kindle owners are even aware that kindle.amazon.com exists and that they can view their highlights and notes there.

Seeing what your friends are reading and highlighting would be interesting.
But then @decorator doesn't work. I guess if I did that for every single decorator I use, I would at least have consistency. But that's not a very satisfying solution even ignoring the fact that now I have to wrap every zero-arg decorator I want to use.
I chuckled when rotating the image and seeing the Dell laptop in the back.
I always find articles about Minecraft interesting. I live off of Minecraft's success at the moment (I created the linked Minecraft wiki and also the Minecraft forum) and I often find myself disagreeing with articles about why the game is so successful.

I think the single biggest reason Minecraft has such success is completely accidental, something Notch never consciously caused: Minecraft is a creative game, a game that you need to be creative to enjoy properly, and what do creative people do? They share their creations.

Minecraft came at the perfect time, it came when indie games were becoming more popular, when Youtube video series about video games ("Let's Plays") were rising in popularity and at a time when the internet had become very social, it's so incredibly easy to share content now. If I want 100 people who don't play Minecraft to see a creation I've made in Minecraft it's very easy for me to do that, 5 years ago it would have been close to impossible to do this because the only real place to share content would be the forum for that game, and everyone on that forum would already know about it, so spread of the game would have been severely limited.

Minecraft is a fantastic game and of course if the game was bad it would never have been popular, but the success is in my opinion entirely an accident and a matter of being in the right place at the right time, nothing Notch could ever have expected or intended.
Will the iPhone/iPad version only work on jail broken devices? Because you can't access/change network settings on an non-jail broken iPhone/iPad from within a app.