skysight-inc/HackerNews huggingface dataset:
So, it's not entirely Adobe's fault is it?

(disclaimer: MB Pro, iMac and iPhone owner, not looking to start a flame war or whatever)
I came here expecting to see how to do this with CouchDB. It's already been done a couple of times.

CouchDB provides data synchronization protocols and the simple rules for what acceptable incoming data looks like. Properties within the documents define all of your "labels" and any other features you might find interesting (which are later trivially indexed for retrieval).
It's not useless. With cat, I don't have to remember the order of grep's arguments.
>Cash prizes are less interesting for this kind of thing.

I've read the same, but I don't believe it. For example people will say that fame is more important than money, but I would argue fame leads to more work, or more free stuff which in turn leads to money or more money than a set cash incentive. Or the case where people do things for points, but when those points are redeemable for physical items or discounts again this leads right back to some sort of cash savings. I think it always go back to some sort of monetary incentive.
I know it is a fictional movie but if you haven't seen it, "Pay it Forward" is a movie that might make you briefly think about your impact.
Am I the only one who thinks it's a massive flaw that decorators that take args and decorators that don't are inherently different? That extra level of anonymous functions feels awful, and it's really confusing because a decorator that takes no args is @decorator whereas one that takes optional args is @decorator() if you just go with the defaults, and there is no way to make them both work.

Also, I wish they would integrate some of the stuff from this answer into the documentation, as it took me almost an hour to figure out how decorators that take arguments work and to discover that @decorator and @decorator() are irrevocably different. The documentation I found on decorators that take args was very brief. (I can't remember if I found any mention at all in the actual Python docs. I ended up learning it from mediocre, old blog posts)
The errors shown on the site was actually from a misguided hack I performed to log all search variables into a database, unfortunately I forgot to apply the correct SQL protection techniques that I normally do throughout the rest of the site and created the vulnerability slaps self on head.

Apologies for the confusion I am not actually using a SQL cleaner, in-fact with brutal honesty I don’t actually know what one is. I was using the term to reference my usual methods/techniques for keeping SQL ‘clean’ from injection attempts.

I am fairly happy with my current SQL setup and the way it protects from injection, obviously when I code it correctly, however I will certainty look into using fully prepared SQL, currently I do something ‘similar’ using my objects so it would probably be very easy to implement.

Thanks for all of the feedback so far and pointing out the flaws, in fact the logs I have gotten from people ‘testing’ my SQL protection has helped a lot!
Previously discussed: http://news.ycombinator.com/item?id=2850191
That still doesn't quite answer the question: If the money is paid, there is no crime to begin with. The transfer isn't selling the right to go to the authorities, it's resolving the crime of non-payment in the first place.
interesting experiment, but all it takes is one troll to ruin the whole thing.
Hours of Entrepreneurial inspiration...
At least on OSX, that isn't the case. Even the DNS requests are being proxied through the tunnel.
Clickable: http://songsp.in/

ADDED IN EDIT: What I really don't understand about HN is the people who downvote the small contributions that are intended to help others. I added this link to make it easier for people to see what it's about, to make it so they don't have to copy the URL and paste it into a browser. Someone upvoted it - which was nice - and then someone downvoted it. I really don't understand why.

I don't care about the karma. It won't get me another coffee, it won't fix bugs in my code, it won't make my in-box any less full. I do care about understanding the systems I interact with. I've given up trying to understand people in general, but thought I had a chance of getting along with the people on HN.

So, can someone explain?

Thanks.
Space Shuttle Flight Deck
Defcon Lockpickers Open Card-And-Code Government Locks In Seconds
They're doing business at a loss— they're doing negative business.

So, okay, maybe they're going to become profitable (in real life) at some time soon in the future and we'll all feel a bit silly. But if that's the case, then why would they be using investment capital to pay off early-stage investors now— when they're just on the brink of profitability, starting an IPO, their value sure to skyrocket? What employee decides to cash out under these circumstances?
IPad rental service for tourists. Security implications?
The same way you justify spending $n on any luxury product you don't really need.
This reads like NDF to me. Minecraft was not engineered to be all of these things; it just happened. Notch had a vision of what he wanted to do, tempered by time and skill constraints, and the resulting game is an accidental success, not a carefully constructed pillar of solid game design.
Standard & Poor’s Predatory Policy Agenda
Who would use our upcoming service LinkCatch
Darpa to Fund Hackerspaces?
So what does it tell you that the earliest investors are all cashed out already?
This isn't really about the post, but after the article about Dwarf Fortress a couple of weeks ago, I decided to give it a try. I find the gameplay fun and there's definitely a lot to master, but the UI and the difficulty of visualizing what's going on are big obstacles. (There's a program called Stonesense that does isometric drawing of the world, but that seems to be it.) The Minecraft graphics are pretty basic, but even such a simple movable 3D view in DF would do wonders for situational awareness.
Again, you’re entirely missing the point, namely that they decieved the viewer about how this came to be, not whether it was inconvenient to run out of charge.

No, you're missing the point that it's a television show. As such, things must be done in a predictable, safe, and visually appealing manner. They can't have the crew sputtering to a stop on a blind crest or busy highway.

The show you want would go like this:

Clarkson: "Welcome to Top Gear. Tonight, our challenge is to drive electric cars from X to Y!

hosts climb into cars

May: "Oh, the on-board computer tells me I can't go that far."

Clarkson: "And on that bombshell, thank you for watching!"

That version communicates exactly the same point, but with zero entertainment.

Your SCUBA example is ludicrous, and completely the opposite of what happened here. i.e. increasing danger.
Not sure where he gets that Python ships a memoize decorator.
While in general I agree with the fundamental issue in this post, I can't help but think each time that people, when they write lists like this, write down the things they themselves know very well. And then call those 'indispensable for all programmers out there'. Yet every single list is different, because everybody encounters different specific details in their careers. I guess the only conclusion is that, in the end, these specific details aren't that important after all. But I do understand that it's hard to admit that - I spend years to get to the relatively detailed level of understanding of the win32 api that I have, yet it's mostly useless now already, and will only get more useless with time. The irrational part of me is bothered by that too.
Use one of these sites to prove you know what you're doing and get hired at the same time. Good luck.

http://www.interviewstreet.com/recruit/challenges

http://www.codeeval.com/

http://www.gild.com/
KDE 5.0 roadmap released
I'm working to launch an iPad rental service for tourists in Barcelona and I want to discuss here the security implications for me and for my customers.

It'll come with unlimited 3G data plan but the sim card will have voice calls locked (just voip). I'm trying to think of a way to not charge the customers if an iPad is lost/stolen/broken but anything brilliant didn't come yet. Also, I need my customers to be safe knowing that all the data will be wiped when they return the iPad. With iOS 5 I probably could do it without iTunes, but is it really safe?

Do you see any more problems that I haven't think about?
>If Google doesn't use that data for it's own corporate advantage it's stupid.

Maybe they don't do some of the things you're saying because its illegal and in 13 years of business where their business relies on a public reputation.. it would do more damage to their business then the minor wins of spying on some startup that they can probably out compete anyways.
I'm certain that Apple has provided the APIs that would be necessary for Flash to use less than 100% CPU, the problem is that Adobe has decided it's not worth their time to make use of them.
That was me. One latte plus $25 worth of food for two homeless guys outside. Turns out they didn't want any of it. I think I might've insulted them by bringing them food that they hadn't asked for. :/
Actually, the iPad's screen is 9.7 inches.
Using investment money to pay off earlier investors while claiming to be profitable to drive further investment is the definition of a Ponzi scheme.

They probably don't mean for that to be their business model, but it is what it is.
Very few commuters into San Francisco would require charging while in the city, as the majority are commuting in from near distances. For those who do require power to continue their journey, it could be provided at a cost far higher than home charging.

It's rather silly to take the total number of parking spaces and multiply it by total possible charge to get your estimate of demand.
Postman's book is fantastic. I read the book > 10 years ago and still talk about it. One of his points that stuck with me was that if television were actually entertaining we would never be able to leave it.

Also, have a look at some of his more famous quotes: http://www.goodreads.com/author/quotes/41963.Neil_Postman
Debtors Beware - Valuev may be on your case
Contest idea is great, will work on improving that now :)
Just wanted to leave a quick message, thanks everyone!

This is probably some of the most helpful feedback I have gotten in a long time, on any project :)
And the "obvious" problem is...?

Seriously? The problem is that range is rather limited, but more importantly, refill stations are hard to find and take a very long time to complete, compared to refilling a gas tank.
This is a really inspiring article. Jason, I don't know if you're able to comment on this or not, but do you have any kind of vocational education projects brewing?

> Oh wait, venture capitalists think social media is a better investment than education.

I fully agree that education is a much more socially valuable investment than social media. But it seems the reason VCs go for social media kinds of things is because those are more likely to be profitable.

Any thoughts on how to change that?
Is Lisp better than other languages at AI?
A lot of the links I post to Twitter come from Reddit or Hacker news, so no
I think google hires a lot of low-level systems programmers, as should anyone running thousands of datacenters. After all, the power and network savings you can get from bit-twiddling, when multiplied by the number of computers in these networks, is worth quite a lot in dollars.
Seeks Project — An Open Decentralized Platform for Collaborative Search
The code and hardware behind the badge for the Chaos Communication Camp 2011
It would be cool if you could see who paid for your coffee and also who had spent the money, and let them communicate.
Today I Got Burnt by Isolated Tests
It's likely anyone who makes a "10 people who don't matter list" will look like an idiot in 5 years, because there's little insight to be gained from trying to understand the tech scene as a series of people who "don't matter" -- a poorly-defined category of people whose "best days are behind them." And the inclusion of Torvalds is bizarre, regardless of whether he "matters." Everyone else on this list is a founder or an executive, working in worlds with entirely different definitions of success.
It's possible someone could abuse it. It will be interesting experimental data to see if this happens, how often it happens, and how much it happens.
Splitting a 30" display (2560x1600) in half vertically (editor|browser) for web-dev feels natural. It's 2x1280 displays, no bezel, effectively.

It does require an optimal seating position though.

I also have a cheap 1080p next to it for testing and for secondary boxes/iPad dev or dashboards. Splitting a 1920 horizontal into 2x960 displays feels cramped.

There are displays that use the same 27" panel as Apple for less dough. The economics work out a lot better there.
Economics in One Lesson is a horrible book for people with no background in economics. Within economics there are several schools of thought, and this book is little more than an outright attack by a proponent of one (fairly niche) school on another (far more prominent) school. Despite its title it isn't an textbook, but a manifesto, and as such Hazlitt's goal isn't to educate you, but to convert you. Hazlitt sets out to do this with great skill, employing every rhetoric tool at his disposal.

And I'll admit he's really good at it as well. He presents theories as gospel truth, making no mention of any caveats or qualifiers that you'd find in a more serious work. There is a complete lack of any sort of critical analysis of the ideas present, or any notion that they may be anything other than universal truths. He greatly misrepresents the ideas of his opponents and loves to use quotes out of context. He makes great use of leading rhetorical questions to lead the reader to make incorrect conclusions, without having to stick out his own neck and make the incorrect statement himself.

So in my opinion the real problem with this book is that it is so convincingly written that a naive and uncritical reading of it will lead the reader to come away with the belief that economics is really simple and that all economic problems have trivial solutions, as spelled out in this book.

That being said, the ideas present in this book aren't completely without merit, it's just that the few actually useful and interesting nuggets are buried in far too much polemic brow beating
It can't be easy - I think desperation will help - look at Urban food in Detroit and Cleveland

I am doing this http://smartpei.typepad.com/robert_patersons_weblog/2011/08/...

Building out from what is where I live
just loaded $50 on the card, bought 10+ coffees for tech caffeine addicts, got a sweet tweet because I am looking for a tech co-founder for my funded cleantech startup. thinking outside of the box for recruiting... just saying. Oh, and if anyone is interested in joining wa.tt email me, james@wa.tt
I don't even have to read this. It's the Guardian. It's just a personal vendetta against people who question the religion of warmingism.
I wonder what the price difference would be for one shipment a month vs two?
Yep. Some more discussion here:

http://news.ycombinator.com/item?id=2441535

It sucks, but I can see the reason why they just blanket block EC2 rather than trying to find any more nuanced way to identify scrapers.

If I were running scraping bots on EC2, rate-limiting me isn't a real threat since the instant I get throttled for misuse I can just destroy the instance, start up a brand new one on a different IP address, and continue as I was before.
I think it would be a real cool concept if I could upload my list ahead of time or have my groceries retrieved from a conveyer belt at the market that's automatically retrieved similar to how Amazon's automated distribution systems work. Of course, I'm sure it wouldn't be cheap or practical for actual use.
We don't keep any logs.
I too would cat the file first, just get in the habit of doing it.
Indeed. Indie devs have been making really amazing games just because they want to for decades. It was just a matter of time before one of those became wildly successful.

It's also worth noting that Minecraft didn't spring fully-formed from the mind of anyone— the alpha version was out and in development for a year and a half before you heard of it. It's a beautiful demonstration of the power of an early MVP.

At the same time, it wasn't just a fluke; Notch was already an award-winning indie dev.
Dave, just did that. Looking for a co-founder for my cleantech startup who likes coffee... very important... Jonathan gave me a sweet shoutout.
Creating a generic standard is A LOT more work than creating an API for a specific application. Orders of magnitude more work.
Officially I'm contracted for 37.5 hrs/mo but I stay 1-2 hours more most days. I'm a student on a industrial placement so I might as well make the most out of it
I am fairly happy with my current SQL setup and the way it protects from injection

In all seriousness: you shouldn't be, because it clearly doesn't protect in all cases. ("Failed to wrap a query in a magic function to make it sort of safe" is part of "all cases.") You have demonstrated, by neglecting to use your "correct SQL protection techniques," why non-prepared statements are absolutely terrible. You cannot have the error you just did if you train yourself not to use direct SQL queries, regardless of library. Querying via MDB2 or PDO (or doctrine-dbal, which is a superset of PDO) means you have to intentionally and willfully do something very out-of-the-ordinary to pass in raw data as a SQL query, instead of being forced to wrap your queries in some slipshod, maybe-works-maybe-doesn't homegrown function that has not been rigorously tested.

Don't reinvent the wheel. Safe SQL queries are a solved problem.
I am happy about the 'demise of low level programmer'. Why? Because for me programming is more about algorithms/data structures than circuits, microprocessors and caches. I am happy that I didn't have to write mouse handlers, keyboard handlers - because have I started doing that, I'd either got bored before managing to do something useful, or changed my passion towards low-level stuff before writing my first quicksort. I am also happy that I can write something without understanding all mechanismes behind it - that I can build some site with django not even knowing how http works, or play with some graphics having no idea about graphic cards. Sure, all of this stuff is interesting - but it's just too much! Low level guys did their job well, so now people who don't like machines so much can build cool stuff on top of that.

I don't want to praise ignorance - probably I will read some of the stuff he linked under the article - I just think it's ok that people can do something useful with computer not knowing all the details about it. It's worth knowing though - but just as you can have no idea about physics of sound and how piano works and write nice songs, you can build nice stuff with high level tools not knowing low level.
Don't forget that AltDevBlogADay is a game developer blog and games have very different requirements than most other software.
Weird. My Asus Transformer has a section in the Market that's specifically for tablets.

And the market will only show apps that work on your device... So non-tablets will never see that section.

Unless people specify the devices wrong, of course.
Very interesting idea! I tried to think of the similar in Russia, but came to conclusion that there is nothing interesting to export subscription way, we are consuming only country.
Emails will be sent out when the problem is more fully handled, as usual. HN is a decent place to get some info, but you should consider posting to the AWS developer forum as well, b/c there are Amazon people constantly checking on things and answering questions:

https://forums.aws.amazon.com/forum.jspa?forumID=30

Edit: I should add, they can look up your specific instances to get the exact problem.
[Disclaimer: I work for Twilio.]

It's actually not future-proofing, in that today we have different version of the API: 2008-08-01 and 2010-04-01. Some sort of versioning is necessary so that we can improve our API without breaking current clients or forcing all of our users to update their code. And while the goal of a completely discoverable API is laudable, I've never seen it work well in practice. We have a real service with real users, and we need something that works well and is simple to consume.

And I don't see how date-based versioning is any better than version numbers from a HATEOS perspective, since it's not really any more discoverable. There is however an argument to be made that version numbers are simpler, clearer and easier to remember.
Lessons from a Design Legend (a before-and-after)
what about buying a coffee and then loading the exact amount back on the card?
Math is probably the hardest thing you can study. You should do it if you can do so without hurting your grades. It will broaden your intellectual horizons.

As a practical skill, however, math ain't all that much. Learning how to write and communicate well and how to make people like you (i.e. social skills) are far more important in just about any industry (software included).
Why not spend 1/10th of the money and instead of paying people to train create online training classes. Thus basically we could train people over and over again for the cost of bandwidth. Didn't we hit the age of the internet?

I am sure we could video the class once, and for the same price or less buy them each a netbook/chromebook cheap get them internet access - and trained up, and could have advanced classes, so that people could get better.

The only issue I see is that although we would have people trained up, that does not create jobs. But its a good first step..
> Jon Stewart went on Hardball (or whatever it was called)

Are you referring to his infamous Crossfire appearance?

http://www.youtube.com/watch?v=aFQFB5YpDZE
Doing what wrong and how would you do it better?
Well yeah. What the hell are we doing as programmers punching tape for a Turing machine? That's robot work!

Our abstractions are still leaky, but they're getting better. Soon enough they'll be good enough that you mostly don't have to think about what's happening in the physical box at all— just like you shouldn't have to think about different kinds of wood when you're laying out a housing development.
This is what, the 3rd? 4th? power outage in that facility in the last year? I realize that it's not directly Linode's fault, since this is Hurricane Electric's facility that they lease from, but its still pretty frustrating. I have a personal VPS there which I use to do an hourly data grab, so I missed a few this morning. This is just a personal pet project so no huge deal, but if I was running some actual production-level stuff there I would be very wary of using that facility.
But we didn't cut that, the deal only cut about a trillion and kicked the other cuts to a super committee.
My understanding is that we wouldn't be able to pay 100% of all our obligations pretty soon after that. Yes, we could pay bond holders, at the expense of other obligations. I may have been misinformed, but that was my takeaway.
I get that your point is that since it’s “entertainment,” they have a blank cheque to do whatever they like to make whatever point they like, and that misleading the viewer about something other than what they want to convey is fine.

Believe me when I say, I understand you, I just don’t agree with you.
Where are you setting the proxy at, and what method of proxying are you using?
A must-follow Twitter feed for anyone using Amazon AWS is @ylastic: http://twitter.com/#!/ylastic

At the very least, even if you don't use Twitter, it's a good resource to check for up-to-the-minute info if you're seeing an issue and want to verify.