skysight-inc/HackerNews huggingface dataset:
Yup. Android Intents provide this system perfectly. Any app can hook into the intent, provide you a list, and you can select action defaults.
This may be of interest: doesn't seem to be Android-specific, and is open-source, so porting to iOS shouldn't be extremely hard. http://www.mnxsolutions.com/security/two-factor-ssh-with-goo...

Edit: it seems that the functionality already exists for iPhones; not sure whether this requires communicating with a third-party (Google) server in addition to your device and the target.
Why do you think this is Apple's fight? The iOS 6 comes out 5 years after the original iPhone. That's a nice round number and it's highly likely that there was a 5 year contract and Google simply refused to license Maps to Apple at any reasonable rate (take for instance people moving to open street maps instead of Google Maps because of the recent rate hikes). Hell they bought a whole company for what $15 billion seemingly just to sue over patents.

You know, maybe Apple is in the wrong here, but without actual evidence I don't think it's safe to say which company is the greater evil.
Hmm, I didn't even realise it, but that's exactly why I didn't read the article too.
That's a programmers' saying about projects completion, not a comment on data transfers.
Not everything has to be a startup with some grandiose exit strategy. Making a great product and a solid living off of it is perfectly viable, and quite preferable for many people.

But you're right about being aware of what apple may do in the future. I'm not convinced they'll add public transit (back) into their core mapping app though, as you imply. I think apple has made the decision to optimize for drivers, which tends to be the majority especially outside of huge cities.
London Transmedia Fest 2012 Announced
They're doing the same here in Brazil: http://translate.google.com/translate?twu=1?sl=auto&tl=e...
The same way you handle error return values in multi-threaded programs. Exceptions don't mean you simply ignore all errors all the time. They're just a different mechanism for communicating failures across function calls. You can code with exceptions the same way you do with errors.

Really the two styles of error communication are very similar. The default behavior for exceptions is to abort and let the parent deal with it, but you have the option of continuing on instead (catch). The default behavior for returned errors is to keep going, but you have the option of aborting and informing the caller. In either case you have to examine the code you're calling or its documentation to find out the details of what could happen when things go wrong.

Exceptions have the advantage of the abort-behavior requiring zero code, but it may be less obvious to beginners what is going on. In either case, people just don't like to be surprised, so they prefer what is familiar.

In C#, which has Tasks for concurrency (very similar to goroutines), an uncaught exception in a Task will bring down the entire program at some non-deterministic time, unless you make sure to observe it somewhere. So generally you're using some extension method so that invoking doSomething() in a Task looks like:

Task.Factory.StartNew(() => { doSomething(); }).OnException((ex) => { /*log it*/ });

Either that or you just make sure to catch anything at the root of your Task block.
Vanity Fair profile of YC
Just a remark: It 's often in american politics that public spending is referred to as "government spending", as if the government is just another corporate entity.
> Not horrible as a first approximation, probably, though clearly not "right" either.

You really do have to leave any hope of perfectionism at the door when it comes to migration data.

Even if record-keeping were consistent, a considerable amount of migration goes unrecorded — mass migration due to environmental disasters or conflict, illegal immigration, etc.

There are very few countries that can claim to know the exact number of people within their borders at any given time, let alone where they came from.
Indexing many columns individually won't give you best database performance
Anybody happen to know if the lightning port, in theory at least, can support Thunderbolt? In the future, I'd really like to be able to plug in a nice A/D audio converter to the iPad and use it as a DAW.

If it's not theoretically possible, then the lightning port really isn't future proof.
I am surprised no one mentioned web intents. It is happening and it is happening quickly. Launch chrome canary to see some UX (although not completely working yet)
Why not let users decide? Let it be in browser settings and the users can choose which service they share to, by default.
A subtle advantage of static typing is documentation: you can see what kinds of arguments are required. This can also be used in auto-generated documentation, creating hyper-links to the type and implementations. (I noticed this in python docs vs. javadocs.)

There's an old question: which benefits of static typing are needed - and are they worth it? (to the extent that static typed languages are successful). Performance is obviously important. But if dynamically typed languages were fast enough for most needs, would the bulk of users switch to them? (note: it doesn't matter if static typing is faster still, just that dynamic typing is fast enough.)

Would it follow the long-term trend, of performance being traded for developer productivity? The real question behind this being whether dynamic typing actually increases developer productivity (and if so, for which tasks). Obviously, dynamic typing requires fewer keystrokes, less up-front design, and is more flexible (when iterating lean/agile). But static typing prevents some bugs, aids documentation, and helps manage projects as they increase in size.

However, this may be moot. We're no longer getting the long-term increases in single-core performance, so this trade-off may no longer apply. And, note: we do actually have some excess performance, and what has happened is in some cases it is absorbed by dynamic languages (python/ruby on serverside), and it is used to create smaller computers, lower performance, using less wattage (smartphones/tablets). iPhones use objective-c, androids use a java variant.

Maybe we've reached a point of equilibrium in the trade-off, if we include the end-user's demands?

BTW: I'm personally at home with stating typing, but I can't remember the last time it prevented a bug for me. (other people using it in others ways might have different experiences).

PS: to give another answer to your question: Flash's ActionScript 3.0. It's javascript plus optional static typing. Coincidentally, flash is dying/dead.
In our case we had to simply use two different country tables. One for geolocation and film rights that matches our CDN's database, and one for historical film data such as the production country.

This is one case where I think DRY would be worse because the special cases that apply to one do not apply to the other semantically, and therefore the logic would get very subtle and muddy.
Why would he do that? Large parts of the kernel are designed using OO concepts :S
A good start would be to have the user's identity to be managed by the browser (with something like browserID). The rest could just be extensions, for those who care.
Google on the other hand is a massive Innovation factory, churning innovations by the years. No body really is close to them when it comes to search, on line advertising etc.

I'm wondering a bit about search. The few times I've bothered to use e.g. Bing, I wouldn't say the search quality was noticeably worse, and the emphasis on organic over paid links was... refreshing. When I think back about my search engine switches in the past, they rarely happened because of search algorithm quality per se, but mostly because the previous search engine was getting clogged with ads. That definitely drove me away from lycos, and I seem to remember it also happened with AltaVista.

Google may be unrivaled in online advertising, but to me as a consumer, that is not necessarily a benefit.
How does this improve on Quickdroid? Can I run scripts with it? tasker integration?
> Should there be any problems in mixing indy and static compilation, please report them, they would be bugs

Looks like I misread the announcements about the 2 jars in Groovy 2.0. Perhaps someone should have corrected me when I first misexplained it in my blog 3 months ago (http://groovy.codeplex.com/wikipage?title=Blog02#13).

There are, however, other issues that go back much longer. During 2006-2008 I wasn't welcomed but instead ignored then ridiculed by many in the Groovy community. Besides the public stuff, there was much more through back-channels, which appeared to be instigated by the project managers. Regarding Groovy++ and static compilation, I started building "GRegexes" atop it so had a stake in its success. So when in July last year, those project managers started a parallel project under VMware control to do the same, it looked like they were again squashing anything not under their own umbrella, despite advertising API transformation hooks allowing others to independently plug their own functionality into (Codehaus) Groovy. I started speaking out publically about their behavior then. Not wanting to give up on Groovy, I started building a version atop Clojure around December last year. Lo and behold, within a week after 8 years of neglecting JSR-241, the Groovy project manager starts writing a tool to generate a "TCK" from the Codehaus Groovy tests, from which he intends to generate a "spec" automatically. Whatever tests the current version of the Codehaus implementation of Groovy happens to pass at the time becomes the latest version of the "spec". Any changes to the "spec" will effectively be discussions on the Codehaus mailing list and Jira issues.

After all this it looks like VMware don't really want anything related to Groovy that's not under their own direct control. Other languages embrace the anarchy: Perl has CPAN, and v6 has a spec with different implementations. Ruby has gems and an ISO spec with many implementations, and Rails was built outside Matz's control afaik by 37signals. Haskell has Hackage and a spec with many implementations, but the VMware project managers seem to be discouraging independent development like Groovy++ and GRegexes, and even stonewalling regarding a spec. I have only respect for your contributions to Groovy, as well as those of Cedric, Paul, Jeremy, and others I don't know about, but I have a lot of mistrust with the non-technical overlords at VMware. Perhaps that was how I misread what they said about the two jars in Groovy 2.
Pacman reconsidered ...
Why has no one mentioned that this already exists.

Web Intents, borrowing in fact from Androids ability to share from anywhere to anywhere. (and it is actually rather Android unique)
It's less fraught than exceptions in the sense that it offers more options for recovery. With "regular" exceptions by the time your handler executes the stack's been unwound and the context of the error vanished; you only have what information the exception itself provides. Not so with CL's exceptions.
There was an article on here yesterday that they'd submitted it to the store. I'm not following this too closely other than listening to folks at work bitch about it. (And on HN.)
Structurally fixing injection bugs [using Scheme]
Olympic-style weightlifting. It's taught me an awful lot about the power of diligent practice.
There have also been reports that Apple offered to purchase exclusive access to some of TSMC's foundry capacity in order to diversify away from Samsung for processor fabrication, but TSMC prefer to keep their options open. Apple's problem is that only Samsung operates at sufficient scale to be able to guarantee delivery in the volumes Apple needs.
Ask HN: How to automate functional tests?
What is the easiest way to automate functional tests for my web app? I just want that there is a test registration/purchase every 10 mins. What do you recommend?
This is sort of thing people want to own, not subscribe to, IMO. So please, let us know how does the subscription pricing work out.

Also, good job with the simple graphic design of the website, it really works!
This requires modifications to the server. I want to use normal public/private keys, without any special configuration, but instead of storing the private key in ~/.ssh/id_rsa, I want to store it in my iPhone, and authenticate via the PKCS#11 protocol.

This would mean 2-factor security for all my servers and services relying on SSH, such as git, without any modifications on the server side.

You would push a button on the iPhone to verify you want to authenticate, instead of typing in digits like with Google Authenticator, which is a bit of a hassle.
The python mechanism is more general, you can use the /with/ construct with locks for example.
I think this kind of profiling will be done on baby-boomers and gen-xers, too, using records of purchases. I believe every US store records who buys what when. This information will never be erased. It will end up being sold to aggregators who will then be able to sell the record of everything you bought since you became an adult. Even using cash will not protect you once face recognition becomes cheap. I think the only way to prevent this scenario is with legislation, as Europe is doing.
Apart from the merits of Google+ per se, are there any data on how it's doing on mobile? My impression is that on mobile, shorter form media tend to do better, so Twitter's rise seems to be correlated with smartphone adoption, while Facebook is not quite as popular on phones.

From anything I've seen with Google+, its culture tends to be much longer form than Facebook (In fact, I pretty much gave up on reading it because it's such a Pontification Platform that I found it to be too wordy even for the desktop). Are there really people who find Google+ a great experience on Smartphones?
The World's First Intelligent, Wearable Camera
That's not a strong argument for them. They could just stick with Google Maps
Dear internet please remove share button from the web. From EVERYWHERE. :)
Well, latest version of Safari has gone along this road which is nice but completely limited, but I've found that I prefer being able to use bookmarklets from the Bookmark Bar to have sharing, but then that's dependent on the user having X installed for Y and there's no clean way to check. Plus you'd need the ability to rapidly update for multiple services, deal with sharing changes and so on, so it's a sticky issue.
"It's just a phone". A phone that is Apple's flagship product. An app that's a core use case.
If you can, write a more concise code with exceptions which will automatically show you which call failed and what the error was. If we include all the declarations, I claim that your solution wouldn't be shorter or more readable than my C variant I'll write, which would only declare error code values, or even return strings as error reports.

There's no advantage in exceptions, except when you use them for "hardware-like" generated exceptions (which is where they belong).
Not only remove them, but OP is requesting to move them. I've been using a Chrome javascript bookmark button implementation for a while now to post to social media. I'm sure much better exists or could easily be made.
So, I rarely see eg Java code that actually handles the exceptions it receives. Usually its just "Oh, I got an exception, so I'll print an error (or silently fail) and blindly keep going".

Given this, I don't see how Go is any worse with respect to sloppy programmers. They'll Always Find A Way.

Also, why couldn't your second example be nested? It seems like either of those two examples could be structured identically to the other.
Bspwm - A Tiling Window Manager Based on Binary Space Partitioning
You had to manually advance the instructions and if you went off route you had to go back and generate a new route from current location. These are pretty fatal limitations if you are using it while driving although it worked fine for walking.

As others have said without knowing the Google/Apple maps contract details we don't know if Apple could have given customers the choice.
Well, as no one knows why they didn't sign a new licensing agreement with Google the only thing we know is that they couldn't stick with Google Maps, for better or worse.
One way or another people will opt out.

Betting on the integrated browser's support for sharing might be better than plastering ugly overlays over interesting content. Most 'this makes the site unreadable' stuff these days are 'Share on ..' widgets.

Today, most people around me (somehow inspired by my rants) block this stuff, unconditionally. Because it is 99% crap and the 1% where you want to share something there's the old way of copying the url to your social platform of choice.

So - I'd put it different: Dear Internet, please restrain yourself in the use of obnoxious "share" widgets and thingies or people will treat them just like ads. By ignoring or filtering them.
You can do the same with Java. Both are in a sense trying to re-gain the most useful parts of RAII semantics from C++: making it much more difficult to forget to clean up resources after you've finished with them.
Former discussion: http://news.ycombinator.com/item?id=4505701
Not for everybody. I remember it being bloated and easily tricked. SEO in those days was just jamming keywords into the page repeatedly. I also don't remember exact pharase searches.

If AltaVista had been fine, Google wouldn't have grown so easily.
This is probably more appropriate over at stack overflow - there is a lot of intelligent discussion on just these subjects.

I would have more than just one end to end test - if it fails how do you know where?
Those aren't 'share' buttons. They are tracking pixels. They are just disguised as buttons.
The loop variant does know which call failed, and could easily be modified to know what the error was (if the underlying callSql had more than just a boolean failed/success return value).
LG ND8520 : une station d’accueil sobre et élégante
Interestingly, which was glossed over and pretty much ignored on TC, it sounds like Apple has been ramping this up for a while. If people were enquiring about jobs based off the rumours that Apple was working on a mapping application then you're going back a few years really, at least two.

Once again though, we know nothing about the situation past rampant speculation, maybe Apple has had senior analysts and engineers in for a week or for years, who knows. It's easy to read a lot into recruitment postings.
I second Olympic lifts. Also teaches the tradeoffs of doing something correctly.
On the up side, it would seem from recent evidence that you're probably not at too much risk health-wise. High cardiovascular fitness seems (from a lot of studies, at least - IANAD) to correlate better with positive health outcomes than low BMI.

And on a side note - speaking as a fellow martial artist with flexibility problems, I'm envious of your flexibility!
Because technical users telling their non-technical family members "Whatever you do, do not upgrade your version of iOS to the newest version. Your map app will be completely wrong."

And "Print Google Maps instructions before you go on any trip, iOS Maps is broken"

Isn't damaging?

I don't know. The last thing I would do on my phone if I weren't a technical user is go to the Google Maps website when my default "Maps" app isn't working. If this was a consistent problem for me, for every or nearly every address I checked (I mean really, Berlin in Antarctica?), I would just say that Apple Maps sucks and refuse to use it and share this unpleasant situation with my friends and co-workers and other iPhone users that happened to mention they would just punch it in to their Maps program. That's just me, though.
What is freaking is that it may not be an "artificial restriction", but a VARCHAR(16) restriction caused by a plain-text storing.

We certainly all have done this error: you create a database with the table "User" with the password in plain text. So VARCHAR, and humm, a max size... my password is 6 character long, but some user may go to 8, ok to be sure nobody will never complains, let's go for 16 characters. With some luck, your database truncate VARCHAR that are too long into VARCHAR(16) without notifying you. In this case, chance are nobody will notices there is a problem.

I do not thing this is the current explanation for hotmail. But it is funny to see that it looks like a very basic error.
Atlantic Covering Business World With Quartz Site - Digital Only
I paint and play competitive beach(and indoor) volleyball. I also meditate.
Get Number of Images in a Slide or Presentation & Save Slide as Image
Saaspose development team is proud to announce the new release of Saaspose.Slides. With this new release of Saaspose.Slides, you can manage images in your presentations using Saaspose.Slides REST API. There might be scenarios where there are a number of images used in your presentations. Using Saaspose.Slides, you can get all the number of images in presentation. You can also get the number of images in a single slide. Saaspose.Slides allows you to get image count from a presentation uploaded at Amazon S3 storage. Saaspose.Slides offers another aspect of images and presentations i.e. you can save slide as an image. You can also save a slide as an image with specified size and use it accordingly in your applications.
Not sure what's you're referring to here. Maybe it's your local rendering engine... Screenshot please?
I read the article. You didn't go to my high school. Once the students were to get wise that the tests could get a teacher fired things would get ugly.
Have you try to enter some quote in your password?

http://xkcd.com/327/
iPhone5 Users report damaged handset exteriors out of the box
It only uses foursquare for suggestions. Read up my comment above that explains how it works.
Obama's Cyber Attack
What about someone who don't use Facebook, linked-in etc? When the resume is sufficiently high in the hiring stack, the automatic online crawler could very well respond something like "no sufficient data for analysis".

I would not be surprised if the blame avoider that passes for a recruiter chooses the safe route and do not hire the person.
Malware Uses Google Go Language
I actually have a copy of that still.
I find Java exceptions quite good for cases where you want to fail at a much coarser level than the specific problem, but finer than the whole program. E.g. my previous^2 job was essentially a message-processing system; it had a bunch of loops that took messages off queues and processed them one at a time. If processing any given message threw an (uncaught) exception, it marked that message for retry or as failed and carried on.

You could certainly argue for handling each message in a separate process a la erlang, but this approach worked well for us.

I think checked exceptions were a mistake (IIRC Gosling agrees), and Java could do with better support for multiple return values (which exceptions get abused for), but I like Java-style runtime exceptions.
Zero to Code Monkey: Learning to Code in 9 Months
Squash, riding my motorcycle, hiking, started with arduino recently
Burning Mercury Thiocyanide Will Amaze You
When I am clicking on any thumbnail from the Supported Cities section, a lightbox appears, but I cannot close it.
1StopEsolution – Never Playing with Customer’s PCs   
1StopEsolution is a computer optimization and technical support provider. We know how important is a computer and the stored data in it to you. So when other service providers like to assign your system to any inexperienced service engineers, we are against it. Every service engineer in our team is expert and experienced. They resolve the issues completely and safely. So without worries contact 1StopEsolution.
> The only people who are "meant to be big" are those with hormonal imbalances. And even then, modern medicine can address most of their problems.

Apparently you don't watch rugby.
Vayable (YC S12) is hiring designers and developers who love travel