skysight-inc/HackerNews huggingface dataset:
Shameless plug. I always have trouble waking up. Since the Mac App Store came out this year, I've been working on a simple alarm clock app called "Mornings" to do just this (play iTunes or custom MP3s). It actually uses AppleScript to tell iTunes what to play for the iTunes option, so it works with whatever is in your playlists. (The "con" to this is that iTunes automatically opens when the alarm clock plays -- unlike other, more fancy apps, that load the playlists from iTunes but roll their own playback behavior.) Or you can just add your own MP3s and the app won't open iTunes.

I haven't posted it on HN before, but I'd be absolutely grateful if anyone tried it out. As a developer I get some promo codes, so here are some codes (hit Featured, then Redeem to grab it. Or if none of them work, e-mail me and I'd be happy to give you one.)

F7KTWHLM9H7P
3XKY3YEJX9EK
K63HX7WE9X77
3RX6ENHL34EE
WY7X3LRMHKPJ
JFXETAJH3XYP
XJXNHTXFEF4P
Why do you think the other method does not have the same weaknesses? If the browser is compromised the key that users enters into the web page is leaked, regardless of whether you use client-side or server-side crypto. The fact that in client-side crypto in addition to the encryption key the code itself could have been tampered does not add anything to the threat... does it? The key is already presumed to have been leaked, and things can not get any worse than that.

As far security is concerned, the two are equally (in)secure. And client-side crypto still has the advantage that key management is much easier to explain to the user, thus the app is more likely to be used.
Writing parallel code is easy only when compared to writing Erlang (or similar) code ;-)
I've got an old laptop running BSD, and for those days that I absolutely need to be awake at a certain time I tend to schedule, using at, for a cat /dev/random > /dev/snd. Never fails to wake me up :P
And they can switch places without hassle: labor mobility is a big part of what makes the US currency union work.
Best Web Design and Web Development Articles of June 2011
Content Negotiation is a critical part of REST APIs and it's my observation that most simply ignore or default to JSON in all cases. Good REST APIs allow the client to "choose" the mime type. Without this part of REST - you have no "representational".

On that topic, to rely on an 'Accept' header is pretty risky. That presumes the client will always have control over the headers. It is in my opinion always wiser to make the API determine mime type by extension (.html, .xml, .json etc).
I really dislike creating resources to represent transient actions. Not a big deal in the case of a bank transaction as that is something you could easily imagine needing to be stored for later retrieval. A different example is relating one social network friend to another or searching for specific people on the site. Those are things that, to me, are much more borderline and I would err on the side of not representing them as resources.
you can use papasketh, it is a powerpoint like tool, can make interactive wireframes, very cool.
http://www.papablue.com
Facebook's all-or-nothing default privacy model
Really? You are from Greece, and you're serious about this? I didn't expect that this would be a serious alternative. OK, suppose that government debt gets defaulted as Greece leaves the Euro. What about private external debt, which I think is also pretty significant? Will businesses struggle to pay this in a strong currency as their own currency depreciates, or does the private sector default, too? I just thinks this sounds like almost a pure loss.
Sorry, mistype. And now I can't edit the title, so far as I can tell.
Because the implementation is everything, and because Facebook added them after the fact, while Google+ is built with them from the ground up, as a central feature of the product. Facebook realized people will want to be separated in groups, too, that's why they launched both Lists and Groups, but they did it too late, and almost nobody used them.

This is why maybe 5% or less people use Lists on Facebook, and everyone uses Circles on Google+, even if they are just using the default ones in the beginning, but they are using them, and learning to create others later on. It's really easy to do and intuitive.
I meant this to apply in general. Rather than try to correct people we should introduce people into the architectural style and since REST already means something to many, it only seeds confusion.
More detail: http://resonaances.blogspot.com/2011/07/d0-4-sigma-like-sign...

That blog is good, he reports all the exciting things that come out of the world's colliders.
Cyanogen uses ADWLauncher, not the one that Google provides :)
The biggest problem with today's REST implementations is that they're essentially a database serialization layer. Consider how a RESTful Rails model is typically represented as:

{
book: {
id:1,
name:"To Kill a Mocking Bird",
author_id:2
}
}

How do you get more info on the author if you only have this piece of information? Rails/ActiveResource guesses through convention: "/authors/2", but that might not be the case, which makes this approach very brittle.

A better more "RESTful" approach might be:

{
book: {
href:"/books/1",
name:"To Kill a Mocking Bird",
author: {
href:"/authors/2"
}
}
}

The REST client would then be able to traverse the representation without making guesses at the URL, and if the end-point of '/authors:id' changes for whatever reason, the href would be updated accordingly.

Pagination/large data-sets could be solved as well:

{
books: [
href:"/books/1",
name:"To Kill a Mocking Bird",
author: {
href:"/authors/2"
}
}
],
rel: {
prev: "/books?page=1",
next:"/books?page=3"
}
}

... and a bajillion other common RESTful API problems through better convention.

I'd agree with the author that REST is misunderstood, but my opinion is that its misunderstood on the grounds that today's "REST" implementations are lame database serializations. The web has been doing this since the <a href/> tag was conceived, but for some reason, modern REST implementations left this out.
Thanks, used the first code, will see how I like this compared to Awaken which I have used for a long time.
The data you point to are for 2010, when greece entered the EU/IMF mechanism and govt spending stopped. This does not have to do with the global economic recession that started in 2008.

I am Greek, and know that Greek banks were very little exposed to the international toxic assets. None of them collapsed, in fact they chose not to take govt-offered support money they were offered (28 bil. euro or so) in 2008. There are structural problems here, and although measures are being taken to rationalize the market, it's gonna take years to see the results.
No need to be overdramatic about this... I doubt the average mom is worried in the middle of the night about what circle a friend belongs to. .
Git is a good place to rip that kind of stuff out of.
Golang: bcrypt, Blowfish password hashing
parts 2 and 3 to this article:

http://fgiesen.wordpress.com/2011/07/02/a-trip-through-the-g...

http://fgiesen.wordpress.com/2011/07/03/a-trip-through-the-g...
It's not only about copying and sharing, but also who has the right to sell and distribute. If you create software, you are copyright owner of that software, which means I can not take it, sell it and take credit for it. I don't think I get to control what other people do with information, but you should have the right to control what others do with your work.
Wasn't this an April Fool's joke a few years ago?
You haven't really explained why you don't like creating resources to represent transient actions. What's wrong with POSTing to /friend-requests with requestor=stanleydrew&requestee=mberning? There's no need to keep a log around if you don't have use for it.
HSO's original comment was sarcasm posed as a question. Poorly executed, but that's where his original point was made ;)
Backdoor in vsftpd download
Generally, I'd say yes.

Being high-rated in these competitions requires quite a high amount of practice and participation, so in that time, you could've been learning a lot of new skills and building things.

However, knowing a lot about algorithms can be very useful in many situations as well.
And for instance, Google has those (in)famous algorithms questions in their interviews, so I guess you'd be more confortable in them.
You may find that Sling supports you're request here.

But to the extent that they are all "lame database serialization" layers, I'd have to say "well - ya". REST is kind of just that.

I think that what you're really trying to say is that implementations you have found don't do HATEOAS.
> If you create software, you are copyright owner of that software, which means I can not take it, sell it and take credit for it.

Ug.. it's pointless to state how things currently work in a meta discussion about whether the current method makes sense.

I'm asking you to justify copyright, not explain it. I repeat, why do you think you should get to control what other people do with information?

> I don't think I get to control what other people do with information, but you should have the right to control what others do with your work.

And I say you shouldn't, so justify your belief. You should be able to control yourself, that's it; not the products of your labor when copied. Information is not property, you don't have less of it if I copy it and you should have no say over me copying it regardless of who produced it.
Facebook, Twitter, LinkedIn, and all those started life as experiments and evolved to become what they have today. Google+ is the first product I’ve seen that is designed and implemented in the acknowledgement of the outcomes of those experiments, having made some mature decisions about what it is people actually want from social networking. I feel like the web is finally starting to grow up.
I'll try to reset the plist, then, thanks for your help.

Battery Power Adapter

Computer sleep: 10 min 45 min
Display sleep: 2 min 3 min
Put HD to sleep: Yes Yes
Wake up from LAN: Yes Yes
Dim before sleep: Yes Yes
Boot after power failure: No
Arvind, I had JUST published a blog post on this very topic, though not nearly as articulate or in-depth, when I saw this. All very well said indeed, and agree on all fronts.

I think all can agree that Circles is a great technology; the struggle for Google is going to be 1. convincing most of the world that there is an alternative to the all-or-nothing default of Facebook, and 2. that it is good. Great write-up.
fsalemh cheers!
Martian “Rust” Could Possibly Point To Past Water
The latter, I'm sure. When you are a war economy, the military rules supreme.
good article but...he says version numbers in the url are bad but doesn't say why. using accept headers for versioning is a hassle for every client and makes browser based testing much more difficult. also a v1 user really might not be the same as a v2 user so they shouldn't be the same resource.
How tech companies really work
I grabbed the second and will check it out. I was using Awaken until I got my iPhone last year.
Businesses will be called to pay in either case, either through higher taxes and emergency taxation (as is now), or through a devalued currency. Besides, private debt is actually low in greece.

http://www.businessinsider.com/portugal-irelands-household-a...
Speed Bumps on the Road to Virtual Cash
"Jumping into the open source and js world"

I have a slight suspicion that the problem might be the latter part. The whole web frontend world is balkanized as hell, pretty young and mostly not too demanding. This is often reflected in the community and leads to some heated (and often rather silly) arguments…
Point taken. I agree that there is a lot of waste of EU funds. I could tell you stories about my native Bulgaria that would surely make you very angry.

I still think this is a separate problem. I think right now it would be more efficient to stimulate the Greek economy than it would be to just bail it out with austerity provisions. The analogy would be to finance your friend to go to school for a year or two and earn a degree to get a better job and pay you back - he wins (gets money in both the short and long-term) and you win (get your money back and a functional friend).
My friend recently went to Chiang Mai. His decent hotel room cost something like $3 per night and his meals were about $1.

I went to Thailand in 2002 and stayed in an awesome resort right on the beach. It cost $8 for the night including food. Thailand is really cheap as long as you don't spend all your money on beer and liquor. A few hundred dollars per month goes a long way.
Methane-Spewing Martians?
Ah, cool, they... did what Elliot Kember did with Twitter a year or two back.
Me too. Lovely sound to wake up to.

sleep 6h && cat /dev/urandom > /dev/dsp
I don't think this is a valid argument. By the very definition of search engines and the web itself, tech-related stuff will be more highly-ranked than less-techier alternatives (to a certain level, obviously).

It's a self-reinforcing cycle. My favorite example is Googling for "wine" where the emulator comes in first place. There are many other similar examples as well.
So he wants info about 'pdf reader software' but only searches for 'pdf' and doesn't get what he wants? Duh. Guess what happens when you search for what he really wants?

Google's search isn't psychic. It also isn't personalized.
It will give you the best guess it can make based on your search terms. But just like almost everything else in the world, if you don't supply enough information, you won't get what you want.

If I want a car repair shop, I don't search for car. If I want a pet crematorium, I don't search for pet.
As I said copying is only one part of copyright. If you spend a year in production and spending a large amount of money in the process. You should be the owner of the product, or anyone could just make a copy and sell it at a heavy discount with no associated costs of production.

The interesting thing is that the same argument can in fact be made for property. How can you claim to own something at all? It's related to labor, having spent x amount of time working to buy something.
I'd say your friend has bad taste and shouldn't be allowed to design the URL structure of your site. Your style is better, but neither is more or less RESTful because REST doesn't say anything about pretty URL. URL's don't have to be hackable to be RESTful, but it's nice. URL's don't have to be pretty to be RESTful, but it's nice. You have better taste than your friend. Your search however, is more RESTful than his as all of your searches use the same URL. You understand what a resource is, he doesn't.
To your first point - point taken. A better reference would have been the fact that the World Economic Outlook Database reported Greece had entered a recession in 2009.

I'm Bulgarian and none of the Bulgarian banks had any problems, but the Bulgarian economy has definitely suffered, for the same reasons as Greece. Both are relatively small European economies, so any dip in the European market has a pronounced effect (easiest to see in tourism). So, you're not proving anything by saying your banks had no problems.
I am so sorry. My condolences for you and your family.
Our society is built upon capitalist competition. Being fair doesn't count unless you can see its impact on the bottom-line and unfortunately it's difficult to quantify something that's qualitative. Also, fair leaders are rarely shown in tv, propaganda, etc. which makes it harder for people to see them as having power.
Yes. Hypermedia references are a requirement for something to be considered RESTful: http://roy.gbiv.com/untangled/2008/rest-apis-must-be-hyperte....
>You're selling a service by saying that "we'll store your secrets for you and you don't even have to ever give us your key, so it's more secure than keeping them in a notepad file", but that's demonstrably false.

Now, aren't you getting carried away? Physical loss of a laptop will compromise the notepad file, but not the client-side encrypted data. Malware on the laptop will compromise the notepad file 100%, but any crypto-based solution will only be compromised if it's been used during that time. Fire/flood/theft will deprive the user of his secrets altogether.

Seriously, are you claiming that a notepad file is more secure than a server-based storage with client or server encryption? That's an extraordinary claim.
So if you want to order pizza, you ask for "Food" ?

Anyway, searching for PDF might well mean you are looking for any pdf file (to test your shiny pdf reader maybe?) so its reasonable. I m surprised that there's no wikipedia result for probability distribution function though.
Indeed, it's why they should grow an ethical/moral portion in their brain as well -_-'

Being a professional doesn't mean you should ignore ethical or moral concerns.
This is the definition of a corner case. Google is smart, but it can't read your mind. Give it a hand, and think like a computer.
I have to agree. While I prefer both in a boss, it's totally possible to have either one without the other. And I'd prefer fair over nice if I had to pick.
I'm working on a gem backbone-rails to help people quickly get going with backbone.js and rails 3.1. https://github.com/codebrew/backbone-rails

Rails 3.1 asset pipeline greatly helps/simplifies building modular client side apps. I highly recommend trying it out.
Except that it's currently significantly less useful than Facebook, and whilst it's pretty, the main draw is basically hype, GApps integration, and circles.

Plus whether a social network is good or not misses the main point - popularity - people don't care about features as much as they care about being able to talk to the people they want to talk to. If G+ were to be exclusive to Android (though as far as I'm aware they do intend to make an iPhone app), it would hurt them as that prevents G+ users talking to their friends who have iPhones.
No better way to learn than to do so great advice and post about strategies to do just this. Although I do wonder if this all can be realistically achieved in 6 weeks.

The only thing I'd disagree with esp given the finite time available is that you should focus on meeting (or getting meetings) with potential customers and partners exclusively.

Sure Meetups are great but the signal:noise ratio for content is generally low. Lots of startup platitudes like "build something people want" with little useful, credible, actionable insight. And then the ratio of quality people to wantrapreneurs and service providers often leaves much to be desired and makes the networking goal difficult.

With regards to reading blogs, there is lots of great insight out there (many that you highlighted) but you can chew up your day reading through lots of entreporn as well which talks about the vagueries of the VC industry and other non-useful content which while interesting (and sometimes dramatic) doesn't really help you build or validate an idea/real biz.
I'll buy that IF you can tell me what innovations in 1961 were affecting the general public, and who was driving them.

I rather suspect cultural memory is short-term.
(actually, it is personalized somewhat)
They are relevant to him.* He is currently logged in, and his location is visible on the left side of the image. Google uses his previous search queries as well as information about him and his location to provide a relevant result. He has probably searched for Java and R before. If you try searching pdf in your own browser, it is likely there will be different results.

*I meant that it is what Google thinks is relevant to him based on the data that they have.
I disagree that "REST is just kinda that [database serialization]"; it is one approach to REST, but its brittle and tends to bias developers towards over-engineering their API into these tiny little pieces that correspond with each database table or model.

I'm designing the API for Poll Everywhere right now. Internally a multiple choice poll resource consists of several database tables and Rails models, but I simplified the externally facing JSON representation down to:

{
multiple_choice_poll: {
title: "Fav color?",
options: ["Red", "Blue", "Green"],
sms_enabled: true
}
}

Had I followed Rails REST conventions, I'd have an overly complicated chunk of JSON.

I'd love to implement a full HATEOAS stack on Ruby/Rails; we'll see if I get around to it.

---

BTW In case anybody needs to Google HATEOAS (like I did): http://en.wikipedia.org/wiki/HATEOAS
I 'm saying that the crisis would have emerged even if there was no global recession. It's a solvency crisis caused by rampant government lending for more than 15 years before 2010.
I think G+ will threaten Twitter quite a bit. I love being able to add people I don't know to my "following" circle and then watch people post interesting, deeper updates than 140 characters would ever allow. All the "hacks" like twitpic, tweetlonger, etc are no longer needed. So far my experience with G+ is basically "it's Twitter except it's useful"
Looking good at first glance, thanks!
Show HN: Weekend project - VS2010 CoffeeScript syntax highlighting
Much like the Google search engine was a calculated and intelligent response to Lycos, Altavista, Infoseek, etc.
I disagree. A resource is a concept, not a representation of it. A resource in a car dealership is a 'car', not an ' XML document about a car'. One of the examples given by Fielding are "today's weather in LA"; that's not the representation, it's the actual concept.

The concept of internal data structure doesn't enter the picture at all; for all the client knows, the response might even be generated by a monkey typing on a keyboard.

So if you're using different URLs, you're saying that those are different resources, not multiple representations of the same resource.

Sure, it may be useful and 'practicality beats purity', but it's bending the concept.
The NRC has no authority over nuclear aircraft carriers and submarines. The military's stuff is classified, and it does its own regulation.
At least they provided attribution, but I'm not sure that they had permission to reprint these from their source at http://www.bonkersworld.net/
At the University of Chicago it was called the "pic book" instead.
I also wonder if they even tested it on slow connections. Firefox 5 has hung at least once a day (every about 5 hours of browsing time) and forced me to stop and reload the current page to finish downloading it. That was very, very rare on FF3.
Equally perplexed why the author of those comments thought #3 was a "fail". In my eyes it is the most distinguishing, and important, feature.
But then it's important to document when you're breaking the constraints. Nowadays it's impossible to know if a web service is actually following REST or not because everything remotely similar gets the same label.
The militarization of American police units would tell a different story as to the appropriateness of the metaphor.

And don't try to distract from the point by implying I'm just an "anti-war-on-drugs activist". You have no idea who I am, how I feel on this topic, and why I feel the way I do.

Do you have a real argument to make for turning every police force in the US into paramilitary organizations?
Property underpins our ability to survive. All wealth is ultimately a product of the mind (whether it's writing a novel, or finding some oil and knowing how to use it), so as a general rule if a man cannot control the produce of his mind, he can't expect to survive. I see intellectual property as pretty fundamental to any society that respects individual rights.
You keep your practical considerations away from this man's ivory tower!