skysight-inc/HackerNews huggingface dataset:
That's an interesting idea: to only catch exceptions at a very high level (for fast prototyping). I tried it out with this test program:

http://pastie.org/4791686

Though it works, one potential issue I found with it is that it does not give enough context as to where in the program the exception occurred. E.g. if I have more than one open() call (all for read mode) in the code, it will give the same error message for an exception occurring on any of those open() calls (as long as the exceptions all happen for the same underlying reason, such as "file not found". E.g.:

Exception occurred:
IOError(2, 'No such file or directory')

Had you come across this and found any way to handle it? I though of passing some unique code for each case, but there seems to be no way to do it, because we are not calling the except clause ourselves - Python does it.

Edit: just thought of a (crude) way to handle that issue: declare a global variable, say, "location", and set it to a different numeric or string value at each place in the code where an exception may be thrown, or at least at one place, say the top of the function, in each function or method. And then in the single except clause, print the value:

print "location=", location

This will at least help narrow down the area of code in which the exception was thrown.
Code Like a Chef lightning talk from WindyCity Rails
Bad developers never learn.

Progressive enhancement is the best design pattern for web development, and more developers need to design in this way.
It's not exactly surprising that someone sees their own way to be the correct way. The political liberal has been taught to live inside the "true dissident" box, and by and large, they've clung to it like a life raft.
Great idea. Love it.
http://www.debian.org/donations
Honestly, what I get from your comment is that you don't like ads. If you don't like them, don't click them: problem solved. I have to grant you that Ubuntu hardware would be awesome but I'm afraid that it might create an incentive to drop support for non-Ubuntu hardware.
Frictionless Sharing Hits the Skids at Facebook - Technology - The Atlantic Wire
System76 doesn't have the brand recognition of Ubuntu, though.
I pay $20 for triple pay, with 100 Mbps Internet.
Santa Tracker App to be Acquired generating $20,000 Revenue every Xmas Eve
Python is interpreted, but Objective-C is compiled.

There are plenty of lisp compilers out there, but people still consider lisp a dynamic language.
1. Correlation != Causation.

2. You just picked random companies that support your point.

3. I don't understand the logic behind "accelerators slow you down." Most accelerators encourage you to do a ton of customer validation and to pivot - or ditch your idea completely - when necessary. By maintaining a fast paced environment with a lot of mentors around, they help you move faster, not slower.
Better donate to the projects doing most of the work (i.e. "upstream"):

GNOME: http://www.gnome.org/friends/ (tax deductible for U.S. citizens)

KDE: http://www.kde.org/community/donations/ (tax deductible at least for German citizens, don't know about the rest)

Debian: http://www.spi-inc.org/donations/ (mention "Debian" in the memo field (if cheque) or in the reference (if wire) (tax deductible for U.S. citizens)
Can someone amend this post to include the project name?
Encryption is not a panacea. As more websites use HTTPS, more corporate networks are installing content filters that passively filter HTTPS content.

Yes. I just said corporate networks are spying on HTTPS connections.

It's really simple to implement. Get some kind of web proxy that has support (Websense is pretty popular, amazingly) and generate a root cert on the box. Then use a group policy on your AD server to distribute the root cert to all the client systems. Now Websense can decode the HTTPS traffic by issuing its own fake certs to clients and handle the "real" HTTPS handshake on the frontend proxy side.

Result? Your websockets are still going to get fucked with by proxies. Can we please stop building fake protocols on top of real protocols now?
Ask HN:  Review EventDroid.com
Hello Hacker News,

We created a new event recommendation website, http://eventdroid.com, and wanted to get your feedback on our beta version. It only works for the San Francisco Bay Area right now. We will expand to other areas soon, when we gain more traction.

Here’s the gist of our idea: We navigate the maze of events, you find something fun to do! You tell us what your goal is, whether it is go out on a date, take the kids somewhere on the weekend, or just have fun with your friends. We then suggest a small number of events that are relevant for you. No more sifting through hundreds of events on various sites to find the one you’re really interested in.

Please visit our site and let us know what you think.
Exactly, now that I know exactly what keeps me satisfied, I can make sure that my environment is just that. It's better for myself, since I'm happier, which means I'm willing to work harder and am more productive, which makes it better for the company as well.

I also know exactly the things I feel before I get burnt out, so when I feel that happening, I can take a short 2-3 week vacation and don't need to do something drastic again like taking a year off.

Overall, it just teaches you about yourself and how to be more efficient at whatever it is you want and need to do.
They are already exerting control over what their vendors can and can't do. See asus aliyun debacle.
Yes coincidence. I have no affiliation with YC. Okay so take the biggest consumer apps in the past 5 years- Instagram, Spotify, Pinterest, foursquare, tumblr. They all pass the smell test. I threw in FB, Youtube, Twitter (on the bubble of pre/post accelerator), and a few others...
Now we have advanced frameworks like Bootstrap and Zurb, and HTML5 boilerplate, that serve boilerplate css, js, and other components, Open source is working very very well, but people still seem to focus on the negative and make rants using blogging platforms like posterous and wordpress that basically contradicts what you are saying because these sites use different fonts and techniques that you said were "bad". We live in a sub-par world with continuous deployment running free, are people going to complain and complain over literally words, because code is made up of letters! The energy is better served contributing to the cause
YC is by no means the first incubator. There were hundreds in the late 90's in silicon valley. Lots of junk, and few that turned out big businesses. Some of those big businesses failed in the .com crash simply because the capital markets imploded (and others because their business had been over-valued).
Fat chance. It's already hellish to properly secure one JIT, a multiple-JIT browser would quickly look like Swiss cheese.

Face it: unless something miraculous happens (like Microsoft, Mozilla, Google and Opera all agreeing on a brand new language), javascript will likely remain the only choice for "in-browser" UI development. Unless the browser gets replaced wholesale, we're screwed like that.
"If you don't like them, don't click them" is a terrible solution, because I don't even want to see them.

Is it so wrong that I don't want "free" things if that means I'm the product and not the customer? Is that really such a hard market opportunity to exploit?

I'd rather pay money to not see them. Problem solved.
In theory the lack of context problem only happens if you use Maybe's Nothing to signal errors. Something else such as Either should allow you to include extra data on the error case.

As for the error collecting bit I think Haskell can do that as well. Errors are just regular values in Haskell and its just a matter of not using do notation or using a diferent error monad if you want to create a list of errors instead of getting out when the first one occurs.

Ill have to agree with you on the control-flow at a glance issue though. This gets really tricky in Haskell, especially when you take lazy evaluation into account.
Deals were similar to Groupon coupons - the customer pre-paid for the coupon and the business got a cut.

Offers are more like normal coupons - they don't cost the customer anything, but the business has to (now) pay to advertise the coupon.
Arduino tweet notifier built with Johnny-Five
You make it sound as if there's any doubt that Google will continue to control Android for the foreseeable future. There is none.
As a PHP developer slithering away from PHP at great speed on the back of Python, I am excited about its future.

Yes, I would love to be able to use Python for games and mobile development too, but I do not expect to be able to use it for these things, just as I do not expect to be able to build web apps with Objective-C (even though some do).

For me, the power, elegance, philosophy, and community that sustain Python are enough to make it a worthwhile choice in a finite but important number of domains.
And is impossible to find.

To find that, you have to go to the home page, click on "community", then "get involved", and then find the little "donate" tab. I went looking the other day and gave up.

Put a friggin' button in the dock on every machine that shows whether you've donated recently. If they can put Amazon affiliate links in the main interface, they can just ask me directly for money.
Google Nexus: HTC rumored to launch 5-inch Nexus among 5 nexus devices this fall
The other juror's statements make it clear that there was confusion on the jury, and instead of asking the judge (as jurors are supposed to do), they relied on the foreman's personal experiences.
Is Broadband for All Even Possible?
You should - it's really heart-warming, and a clever piece of animation.
I have a problem with some of Google's web apps, where they don't let me middle-click a link to a separate document. I use the heck out of tabs and I can't stand when they mess with that ability.

I CAN middle-click the following Google link types:

- Search Result

- Plus User Name/Icon

- Plus Link in Post

- Some links in Google Help.

I CANNOT middle-click the following:

- Map Search Result

- Plus "Fun & Interesting" results

- GMail Message

- Some links in Google Help.
There's nothing stopping them from charging and offering it for free.
Building Your Own Gmail in a Day
I hope that one day Penn will be the university which will be compared to.
Check your facts, please. ATF has its own share of assholes, but from personal experience I'm inclined to attribute its failings to incompetence in upper ranks rather than malice.

http://features.blogs.fortune.cnn.com/2012/06/27/fast-and-fu...
Have you gone through any accelerator programs? From some friends I hear the mentorship can very much slow you down- constant meetings. Maybe they just did it wrong, but I hear accelerator programs can slow you down in certain scenarios.

Company's are not random. They are mainstream consumer apps. The next big consumer app = mainstream. Does that not make sense?
About information in a peer-to-peer society
Cool - thanks for the link!
Do you store the entire set of 1.7 million entries in redis? Or is redis an index to data stored elsewhere, in a relational DB perhaps?

I was under the impression that redis wouldn't be all that useful to store a lot of data. Would be great if something as quick as redis could work with large data sets.
The iPad app we've been working on is currently
using a very useful plugin that can only be found
in the Appcelerator ecosystem. I shall be ripping
that out and finding some other solution to the
problem. There are plenty of competitors in this
space.

If you were writing a native app you wouldn't have to rip anything out or have to find it elsewhere. Just sayin'.

I have a fairly aggressive lack of sympathy for phonegap/titanium/"cheap shortcut" users in general and this whole incident is just sort of confirmation to part of the reason why.
If NIST pick just one and they later find a issue via research in that one solution then the whole standard is dust and if SH3 becomes no more. If they pick more than one as I said all of them for example then if one of those vatriations is found to be flawed later on then that subset can be dust and the SH3 standard and implementation can carry on moving on without have the issue of suddenly having nothing to fallback upon. Sure there are other standards that currently can be fallen back upon but if some kit supports SH3 only then with SH3 having variations as a standard can only be better thing than not. These finalists have been tested alot already, more so than previous so it is not a case of making it up appraoch at all, they would of had to pass alot of standard/hurdles to get this far. But what I'm saying is if they all pass all the tests then picking a winner gets down to other nuances and the abilty to have more than one winner add's more rubustness to the standard in that any single solution found later on to have a flaw would negate the whole standard as apposed to a subsection of it by having more than one option, hence the SH3.n.

That all said if everybody agreed on everything then life as we know it would be boring and we would all be fighting over the same women at some stage, which would not work out well.
Why would I want to create an account and then manually enter in my favourite artists?
Not reading the documentation (or hell, the red "note" text under each 32 bit download link at http://www.mongodb.org/downloads) for basic limitations will bite you in the ass in 2022 just as easily as it will in 2012.
ALSO- not sure if you know, but there were incubators and accelerators pre-2005 (year yc started)...
Just read the documentation and learn the APIs, this is what happens when you just copy and paste code from a tutorial.
(iOS + Android + Blackberry) - WebOS = Mobile Success on Google
That's not even close to the same thing, whether an online retailer should charge taxes or not is a matter between the state and the retailer to settle and is currently up in the air; though I hear amazon will soon charge but will also introduce same day delivery. That's nothing like lying about my history to an employer to get a job or promotion.
This won't work with our games. We verify that the certificate was created by our CA and reject anything else. Someone would have to patch the game to bypass that. It also won't work on mobile phones that people use themselves.
Why Blogging is so hard for students
As always, it is necessary to point out that Foxconn has 1.2 million employees, most of whom live in company-owned accommodation. Foxconn's HR issues are in many ways better understood by regarding them as a small country rather than a company. With a population of 1.2 million, all sorts of very unusual things become statistical inevitabilities. By any reasonable measure, Foxconn is in fact exceptionally safe and peaceful.

On the topic of whether Foxconn workers are underpaid, they are clearly not - they perform work of exceptionally low value, most of which is performed by hand for no reason other than that Chinese peasants are cheaper than machines. Foxconn operates on very low margins and earns only a tiny fraction of the retail price of the devices they manufacture. The value in consumer electronics is primarily R&D; Without the investment of hundreds of billions of dollars in microelectronics research, these workers would still be peasants and their American and European counterparts would be working 10-hour shifts manufacturing vacuum tubes and phonograph needles.
Getting the Most Out of Guchex - Guchex
I realize this is going to be an unpopular opinion, but I think that for the long term sake of the language, the 3.x schism was bad, and will ultimately be regarded as a big mistake.

In the time the community has spent dealing with/bickering about the transition, other languages have continued to forge ahead, while python just hasn't kept pace.

It hurts me to say that - I like python a lot, but lately it just doesn't seem to have it's mojo.
Erm, something is dodgy here. Either this article is completely fiction or the CEO's response has been edited since this was posted (2 days ago).

Here is the original post, the CEO's response is the accepted answer at the top:

http://developer.appcelerator.com/question/142516/warning-li...

EDIT: Oh these quotes are from a comment by the CEO on the accepted answer.
No last.fm integration?
Circus is just the process and socket manager. You can bind anything to Circus' FD. The WSGI bindings I used are through Chaussette, which, as far as Circus is concerned, is just a process bound to a socket.
Dart Javascript Interop is here
Not yet, but it's on my list.
From the comment:

> We're starting to land a Dart-JavaScript interop library here:

https://github.com/dart-lang/js-interop/

It can be pulled into Dart projects via pub. Preliminary dartdocs are here with pointers to some samples:

http://dart-lang.github.com/js-interop/docs/js.html
My non-software hobbies are mountain biking and working on old porsches.
How? Is this some JavaScript magic i'm unaware of? Because the actual connection from the proxy to your site uses your site's valid certificates; only the client to the proxy uses a "self-signed" one. Are you using client certificates?
Except that it was hidden deeply in the documentation. It's like making a car that has the gas and brake pedals switched, and then blaming accidents on people not reading section 5 of the owner's manual.

I'm hardly an inexperienced programmer. I've used Cassandra, SimpleDB, Voldemort, etc. I wrote part of the Inktomi Search Engine in the 90s, and plenty of (what today would be called) NoSQL stores over the years.

A default that's so counterintuitive for a database should be featured prominently with a huge neon sign. It wasn't in the Ruby tutorial, or in any of the many documents I read. It's buried deep in the Mongo website, and the first Google match about the 32-bit limitation is a blog post from 2009.
It seems to let you load artists from your last.fm and facebook profile, as well as manual entry.
Clojure MindMap
In the lucky position to have programming as a hobby (and not as a full-time occupation).

That next to enjoying time with my wife and kid; reading and playing tennis.
Your location would be relevant here.
The thing that bugged me the other day is _just how far_ they seem to think their ownership extends.

I plugged my iPhone into my MacBook, just to charge. -- This MacBook knows of my iPhone because they are both linked to one Apple ID. However this laptop is _not_ my primary sync agent. In fact, this computer doesn't have any backups for my iPhone, nor does it have _any_ of my music library, photo library, etc.

---

So Apple thought it'd be a great idea to go ahead and start downloading iOS 6 for my _jailbroken 5.1_ iPhone.

---

Now a few things anger me regarding this "reasonable" default:

(1) This is a major OS upgrade. Windows has never even _asked_ me to move from XP to Vista, Vista to 7, and so on...

For that matter: Apple doesn't do major upgrades without user confirmation, either.

Even major upgrades of the same family (MS' service packs) usually require confirmation or an explicit download.

So why is it OK to do this on my phone? [Which, by the way, has auto-updating explicitly turned off. Rather, auto-updating is turned off on my main machine. Why this setting is stored on a per-iTunes-install basis, rather than a flag on the phone, escapes me.]

(2) This hardly constitutes an OS upgrade. This is a firmware update; an important distinction.
There is now a non-zero risk that you are about to _brick my phone._

Leaving the OS itself, or possibly just the baseband, corrupt and unusable.

Thanks Apple, I'm sure you had my best interests at heart when you [could have] left me stranded at a customer site, unable to call for directions, looking like a buffoon as I realize I left my maps in my personal vehicle!

Why? Because I _plugged my phone in so it could fucking charge._

(3) As I mentioned: this computer doesn't even have any of my iPhone's content. You'd think there'd be a sanity check here, but no, I have no doubt Apple would've happily deleted gigabytes of data in their quest to have every user on the same, crippled version of their mobile OS.

Why? Because they've _wiped my devices in the past._

---

Given how they execute their update, it does not make sense for it to be an _automatic_ action.

With all that aside: my phone being upgraded would've made it inherently worthless to me. A non-jailbroken iPhone is basically unusable in my daily routine.

---

I can't stand these companies parading around like they own my hardware. I wish I could say it's limited to Apple, but this behavior has swept the industry. I've owned a number of PVR/DVR devices that have similar restrictions. Sony's PSP is another community where the jailbroken experience is a _major_ usability enhancement, yet Sony fights the homebrew community at every available opportunity (read: FW update).
> PushState, for example, is not a bandaid, and for those not-so-modern browsers there are hashtags (let's be frank: 99.9% of users don't care about how beautiful or ugly their URIs are and even less about one particular character).

Keep in mind that using the history API (push|replace)State is not so much about making the URL pretty as it is about page refresh semantics.

With a hashtag the page refresh loading the correct content requires at least one more trip to the server to load the content represented by the hash and relies completely on your JavaScript not breaking.

With a url "fixed" by (push|replace)State the server can respond directly with the content speeding up the response time and removing a point of failure.
I'm genuinely curious as to why you're using Foursquare first and geocoding as a fallback.
I'm having a hard time giving this current dust up any credence. There has been one user who has come forward saying there was unethical behavior from the UK sales office, the CEO said there have been a couple reports. I'm not seeing a wide spread change in their behavior or offerings as this blog post suggests. While something to keep an eye on, I hardly think it warrants the attention it is currently receiving.
Nice idea, would use it if adapted for last.fm.

Your survey contains "FooBar" as a listening option - assume this should not be on there ?
Excellent article, thank you for sharing.

As someone who has implemented a WS server and client and would like to be able to host them in Amazon's cloud, the notes about ELB are worrysome.
IKAT VI – Beating Heart Edition
The article doesn't really answer why the services cost so much. The higher fees aren't going to the margins of the telecoms. Verizon has a revenues of $39.14 per share and earnings of $2.31 per share for the past year.
Dear Apple, please fix this Safari security issue
Most bank websites (at least in Turkey) open a popup window to enter your credentials. I realized there is no way to tell if HTTPS is used if you use Safari.

Here are some screenshots: http://i.imgur.com/71G2Z.png http://i.imgur.com/vHQEa.png

This is very dangerous since it is not very hard to use mitm attacks to show user a different website.
Increase your productivity through the Pomodoro technique
Intel Inside Branding Expands To Smartphones
That's not "nailing" social media. That's creating a clever marketing trick and then being happy that people shared it on social media. Did PSY "nail" social media because people "Liked" his video? Did <insert group name here> "nail" social media because your aunt forwarded their spam to you? Did some band "not nail" social media because their video didn't go viral?

Coke advertised their product. Some people got excited, and told their friends on social media. Just like other things. Coke didn't do anything special with social media, they just counted on people using it. Big deal.
Battle-Fin's Quant Tournament
I was surprised too, but it is actually a music player that some of my early testers use: http://www.foobar2000.org/.