skysight-inc/HackerNews huggingface dataset:
Just combine two browser extensions in Chrome:

1. Adblock Plus [1] to remove in-site social widgets [2] and ads.

2. A social extension, pick your favorite, there are too many.

[1] https://adblockplus.org/en/

[2] https://adversity.googlecode.com/hg/Antisocial.txt
That's really a non-problem since how could you ever know?

The only way to verify that A's keys are legit is to use a secure channel first. Then you can leverage that over any number of insecure channels later to reconnect with A.
I tried that out for a while when it was first announced, but it didn't seem to work as well as, say, Android's Intents. And as you say, appears to have gone stale.

I suppose this is the scenario that Web Intents (http://webintents.org/) are intended to deal with.

EDIT: specifically http://webintents.org/share
I don't think you're the average user. When I temporarily removed sharing buttons from a site I work on, we received a number of support emails complaining that it was "no longer possible" to share the content on Facebook. Many people simply can't be bothering opening Facebook, copying and pasting and link, and clicking "Post". For many, if a site doesn't feature a "Like" button, it simply can't be shared.

Unfortunately, your solution of enabling the user to install an add-on is not tenable for the vast number of users who don't even realise what a "browser" is. Apple's Mobile Safari solution works because it makes sharing simple and frictionless for the majority.
> Web page creators: It is not your job to make sharing easier.

Actually, it pretty much is. That is one of the key ways in which sites gain audience, and it's a huge topic of concern among website creators, owners, and programmers.

Shares drive traffic, and both the website owner and the social network want you to ask yourself on each shareable page, "Is this something worth sharing?" Some people will say yes and that's a win for everyone.

You can say the on-site button doesn't do anything, but it really does. It sends a signal: Other people think this content is worth sharing, you might think so too.

There are other models for sharing content, for example a site only needs a few self-interested posters on HN or Reddit to get traction there, then the voting system and "front page effect" take over. But for a decentralized social site like Facebook, you need a good number of seed posters to decide, "It might be in my self-interest to share this." That only happens with prompting.
I agree that exceptions can be cumbersome at times. And I do prefer the Go parsing float example to the try/catch one if my entire program is only one line.

But in order to live in peace you have to either:

* Force every programmer to always check all the error values.

or

* Allow errors to pass silently.

So either you accept Go as a heavy-duty, heavy boilerplate error handling laden language. Or you accept it as a flaky, risky language.

Exceptions are the better compromise in my opinion. You get much cleaner code.

If this is the more common pattern for your programming life:

try:
f = float(someText)
use_it_here(f)
use_it_there(f)
catch Exception:
# I wanted to do things, but something went wrong.
# Here's what to do now, this is easy

Then you're better off using exceptions. If you need to check every single call (e.g. NASA or Kernel programming) then you might prefer this:

if f, err := strconv.ParseFloat(text); err != nil {
// do something
}
if f, err := use_it_here(text); err != nil {
// do something
}
if f, err := use_it_there(text); err != nil {
// do something
}
I guess you didn't read much of the article - the goal is stated in the title.

There's a ton of stuff out there on plant-based diets like the one described here. See the video Forks Over Knives on Netflix.
Isn't the problem rather that it is difficult to stick to a diet? The illiterate cultures you cite probably don't pass a McDonalds every day on their way to their hunting grounds.

How to make diets stick is simply another field of science, which apparently still needs a lot of work.
Interestingly there is hardly any information on weight loss. I'm quite sure that there are not many people taking as much as I do (the effect occurs with 2 teaspoons daily). I know for certain that this dose has quite quickly done away with candida (no white tongue anymore, and IBS almost gone), while lower doses were not as effective.
> dynamic (or "duck") typing

Nit-pick: This post seem to say the dynamic typing and duck typing are the same thing. They're not. Duck-typing means looking up method names runtime by name, and not compile time by interface. Dynamic typing is a much bigger concept.
Mashant, the social network for developers, releases a free books repository
I work in retail, and the amount of times I'd see customers moving coke bottles all over the shelf just so they could find particular names, it was just astounding. Infuriating, but somewhat clever marketing.
Yeah, the problem is that users don't do it of their own volition. Social media buttons do change user behaviour. It might not sway you, but if you track social media activity on your site with analytics, you'll see a large difference.

http://www.currybet.net/cbet_blog/2012/05/give-share-buttons...
I don't know about Dean Ornish, but Gary Taubes is a journalist, as far as I know, not a nutrition expert. Maybe his research on his books turned him into an expert, not sure.

I have to admit the Good Calories, Bad Calories book seemed a bit unstructured to me. In the end it was just listing a load of studies in favor of his thesis. It left me wondering if perhaps he only selected those that supported his claims.

The problem with researching diets is probably the long term aspect of it. How do you make people stick to a diet you randomly assign to them for 20 years? It also has an ethical component, because you might assign unhealthy diets.
I wouldn't agree, as when I'd code it in C I'd have a function callSql which returns false and write the code you describe as:

if ( callSql( s1 )
&& callSql( s2 )
&& callSql( s3 )
&& callSql( s4 )
&& callSql( s5 )
&& callSql( s6 )
&& callSql( s7 )
&& callSql( s8 )
&& callSql( s9 )
&& callSql( s10 ) ) {
endTransaction();
return true;
}
logAndAbortTransaction();
return false;

No need for exceptions at all, and it's very clean and clear what's going on.

I wrote the same code to my young exceptions-indoctrinated colleague who asked the same thing like you, and he couldn't believe at the start that that's all -- that much he wasn't used to a plain control flow. It's even obvious how it can be generalized for any sequence of commands:

for ( int i = 0; i < n; i++ ) {
if ( !callSql( s[ i ] ) {
logAndAbortTransaction();
return false;
}
}
endTransaction();
return true;
They are using a combination of different sources, but OpenStreetMap is on of those sources.
Tennis (obsession maybe), photography, reading fiction, New Girl TV show (don't judge me).
"(yes, there needs to be some open bring-your-own-service functionality like we already do for search)"

There is, actually. At least on my mobile operating system.
Coca-Cola is experimenting with a "smart" soda machine (dubbed "Freestyle") that lets you share personalized mix/match flavors with your friends. It comes loaded with over 100 brands.

They also had a mobile app to send a Coke to a stranger, which was part of an advertising campaign.

http://www.youtube.com/watch?v=45Z-GevoYB8
Like someone already said, embedded buttons can be turned off with AdBlock. Normal users won't do that, but they won't tweak their browser settings either.
This is exactly that, and more. Thanks.
This isn't and was never Megaupload's purpose. I'd imagine most of the people awaiting Megaupload's ressurection are those who make affiliate commissions from uploading high traffic files (38 part movies, books, applications, etc).
Vedett, a Belgian beer brewery, has been doing something similar / doing it better.
It prints user-uploaded pictures on all their bottles. It's pretty cool and has made the beer quite popular among the 'creative avant-garde' (or whatever we call 'em these days):

http://www.vedett.be/
As a user I would love to agree but I can't. On a https website Chrome blocks additional JavaScript. Thus I don't see another way than having share button on the web page. Am I wrong?
They don't produce that much profit in China. Companies compete all the profits away, and the big profits in many profits are overseas. Which is not to say they are not necessarily underpaid but it is not a simple calculation.
Adblock for Chrome with this filter https://adversity.googlecode.com/hg/Antisocial.txt does exactly that
How IBM Conned My Execs Out Of Millions (2005)
...and there actually seems to be something going on with regards to sharing in Firefox still. According to [1] it's targeted at Firefox 17, though I haven't noticed anything yet (I'm on Firefox Aurora 17 now). It seems like it has a much broader scope than just sharing.

[1] https://wiki.mozilla.org/Firefox_Social_Integration
Interesting comments. I've been working with an APL-derivative and this sounds similar to how I have been thinking about things. It's a matter of massaging the data to get in into a certain representation, e.g. a matrix, then from there it's very, very easy to work with using APL. As you say a few operators is all you need. The code is very terse. Very powerful. The real work seems to be shaping the data into the right representation first, a matrix. I use non-APL-descendent programs, the usual UNIX utilities, to do this for now.
It really is rare to encounter an expert in whom you can have some trust.
http://www.camphoroilexporters.com/
While this code is nice and concise, the problem is that you don't automatically know which call failed or what the error was.
It's already built into modern operating systems. (OSX, iOS, Android)

Your request should really be "Please get rid of share buttons from websites"
Try RockMelt
In my years of programming, I have yet to stumble on a other programer who even knows that one should be doing this

That's a bold statement. Nice to meet ya! I'm no PC-Luser! ;-)

The PC-lusering problem is mentioned in "worse is better", so I would hope a fair number of folks know about it. Every good code base I've seen uses EINTR wrappers, but it is true that many folks I've met don't know about it.

Hey now.. it's not just C programmers, though. We have to use the same EINTR-retry loops in python too, sometimes:

https://github.com/git-cola/git-cola/blob/master/cola/decora...

I like C, Python, and Go. There's no reason to take sides, IMO. These are all highly effective tools.
Unrelated to the app, the typography on the app intro page badly needs some pixel-fitting.

http://dcurt.is/pixel-fitting
> the same old mapping/directory companies that do most of the work

In that case, wouldn't it be mentioned in the copyright at the bottom right corner of maps.google.com when looking at US maps? I only see "Map Data (c) 2012 Google".

The Atlantic article mentions that they started with the TIGER data, not something from a mapping company.

http://www.theatlantic.com/technology/archive/2012/09/how-go...
It might be worth writing a letter/email to some different companies in different countries explaining your situation and what you want to do aslong with your cv and experience.

It also might be worth getting a decent website setup and writing some blog posts telling people what you want to do.

Depending what language you use it might be a good idea to check out the local user group for that city and ask a few members if they know of any good companies who are hiring etc.

Also depending where you are originally. For instance it might help if you are from Europe you might not need a visa for any other European countries.
Theres no way to avoid the sort of "corruption" that you speak of - when an individual (or entity) has money, it can be translated to power thru the use of it.

The difference is that at least donations are (supposed to be?) listed and tracable, and can be scrutinized if necessary.

Compare it with the sort of corruptino you find in countries like india, and china, where you _have_ to give money to the official to get your paper signed to do somethign that ordinarily you should'nt have to (e.g., may be you'd like to open a car import/export business. you'd be paying quite a few visites to gov't officials with expensive gifts or unmarked bills).
Windows 8 tries to solve this problem with sharing built into the OS, similar to how intents work in Android.
Qlikview and Google BigQuery - Data Visualization for Big Data
Mark Zuckerberg Says There Are Only '6 People In The World With Good Ideas'
Go actually returns true multiple values, not a structure. You can't assign it to a single variable, for example, you actually have to assign it to N variables, with N being the number of values the function returns.
The Pragmatic Programmers have a book on learning called "Pragmatic Thinking and Learning". I own it and would highly recommend it, one of the more underrated books. It covers the Dreyfus learning model which was mentioned in the article.

The examples and language tend to be programming related (for example one chapter is titled "Debugging your Brain" iirc) because that's the intended audience but I'd also recomend it for non-programmers.

Very good blend of theory (Dreyfus model, r-/l-mode) and practical advice on how to improve your learning and generally use your brain better.

http://pragprog.com/book/ahptl/pragmatic-thinking-and-learni...
Not going to work.

A website operators won't take a gamble that a visitor may or may not have a sharing widget built into his browser, so it's a safer bet for them to keep the sharing buttons on the page.
Honestly, I don't think that's their reason for choosing something proprietary over usb. I doubt their first priority was to create something so that they can license, control, and collect royalties on -- if that was their motivation, they would be doing that to the audio jack too. After 10 years of their 30 pin connector, I'm sure they've collected a good amount input from manufacturers & users and engineered something to fulfill those requirements.

I feel like people tend to have these same knee-jerk reactions to anything Apple-designed; they always feel it was designed for the purposes of collecting royalties because Apple is "evil".

I think it's a bit too early to tell if the device connector will lead to confusion over "old" and "new" lightning supported devices considering nobody has released any lightning devices yet. Your FUD is based on existing intermixed standards that have nothing to do with a connector design created by a single company.
How to Protect your Mac from Hackers?
Cross company travel may not be much of an issue in the longer run, as the transit apps are not restricted to be offered by the companies themselves, so the apps offering an integrated view should win out.

Hoever, planning e.g. a trip from London to Paris, with local transit on both sides, may be difficult.
Ask HN: iPhone PKCS#11 SSH-key "SmartCard" over Bluetooth?
I would like to use my iPhone as a security token, to generate and store my SSH private keys.

Whenever I would like to connect to a remote server via SSH, the SSH program would communicate with the iPhone, requiring me to press a key on the iPhone display, thus verifying I am the one who requested the authentication and not some malicious user controlling my computer.

Smartcards are an option, but its nicer to use something you always carry with you.

I am thinking something like:

ssh-add -s iPhone.so

And then the iPhone.so module would connect to the iPhone over Bluetooth or Wifi or perhaps via the cable.

Does anyone know if there is any open source project working on this already? Otherwise I'm thinking of working on it.
Well, "next to no corruption" is still within bounds...
To increase what you get from books you read, maybe this:

http://en.wikipedia.org/wiki/How_to_Read_a_Book
Will it have turn by turn?
Flock tried it, a bunch of different ways. People just weren't all that into it.
Could it not be said that, "Turn-by-turn is not a very big advantage. It is only useful for the handful of people who are too poor not to have a navigation system built into their car?" It seems like the divide between the "iOS 6 maps suck!" crowd and the "iOS 6 maps are awesome!" crowd is whether a private car or public transportation is the primary method of getting around.
It would be great if the sharing functionality is built in browser, but the control on what sharing services to show remains with developers.
This could be achieved with some meta tags, or something. But it'll make sense if the developer can choose which all sharing platform link should be shown while sharing.

I said so, because there are a different kind of audience for different websites, so generic sharing options wouldn't be a good idea.
I use Trello for my learning as well. I have a board called "Self Investment" that roughly corresponds to a mixture of SMART goals and other concepts. It's one of my two long term boards, the other being "Ideas".

Whatever tool you use it's a pretty good idea to keep your long term learning goals stored somewhere and get them out of your head (fairly standard idea in time-/selfmanagement)

Edit: I actually have a third "long term" board called "Books etc." where I store the titles of books that look interesting, interesting youtube videos, elearning courses etc.
I'd kind of like to integrate that with the "Self Investment" board but haven't found a good way yet...open to suggestions.
This is already becoming a new stab-in-the-back legend: it's not Apple's fault, it is Google's fault. That seems very unlikely to me, but I guess it will just end how it always ends. Apple fans will keep believing it was Google's fault, Google fans will keep believing it was Apple's fault. (Disclaimer: I am a Google fan).

Also, I wonder if Google really was the only player who could provide a maps app? What about Microsoft/Bing, or Nokia? Nobody wanted to play nice with Apple? And why not?
Perl6 also has optional typing:

sub fib (Int $n) returns Void {
my Int ($a, $b) = 0, 1;
while $a < $n {
say $a;
($a, $b) = ($b, $a + $b);
}
}

NB. At moment Void doesn't appear to be implemented in current version of Rakudo. Removing returns Void will make it work!
I always do it the other way around (when starting software from scratch):

0. write the simplest mock/pseudo-code I can think of for the business logic that needs to be implemented

1. extract from this ideal code the data structure that it needs in order to actually be so simple and write real code that implements these ideal data structures

2. write the real code that actually does the work

I think Linus means the same thing, but he doesn't get it that in order to imagine those "perfect data structures" he has to start with some idea of the code that will be using them, otherwise they will not be "perfect" for his program. I'm sure he's just smart enough to go through my "0" step in his mind without actually writing things down.

It's an obvious case of very smart people omitting the steps that are obvious/implicit to them when expressing their ideas to "lesser minds"...
Geonames has a bunch of freely-available location datasets. I've used it in various apps for cities, countries, postcodes, etc: http://www.geonames.org/export/
I have installed Tweet extension in the morning. Chrome canary version installed share button on the right side of navigation bar, it's very useful feature!
Sorry, terrible phrasing, and I can't seem to edit it.
>>As this government would do absolutely anything to get closer to the US, I suspect nothing will come of any investigation. Even the previous government tried fairly hard (troops to Afghanistan for example), but this governments pandering is shameless. The Dotcom case being a prime example.<<
Does this even matter ? "Average" income hasn't been growing now in America for about a decade. If you look closely there are 2 factors at play :

1) increase in population
2) stagnant (not decreasing) wages (even inflation adjusted it's a tossup at this point)

Combined these lead to decreasing average wages. Not all that many people have really lost income, but there are more people for the same jobs, so many people have lost jobs entirely. There are more people with essentially zero income.

The easy solution, stopping 1) from happening (immigration controls, population controls, ...) won't work due to massive state obligations (some inflation-adjusted to make matters worse) to the soon-to-be-pensioned. It's even impossible to stop immigration and replace it by increased fertility because increased fertility is a net-cost to society until 20 years pass.

Even putting aside the morality questions, (almost) stopping immigration might have worked 10-15 years ago, but today, it seems it will make matters worse, not better.

Worldwide the situation is even more striking :

1) massive rise in average incomes (factors, 2,3,4 depending on how far you go back)
2) more massive rise in population (let's say about 1.5*income rise)

For close to the last 4 decades, 2 has outstripped 1 to the point that a lot of people are claiming that we are within 10% of the planet's carrying capacity with abundant energy sources (read : cheap oil).

Jee, I sure hope nothing happens to that cheap oil ... Oops.

Very funny way to make the point, if you realize that this problem has nothing to do with America, beyond the idea that America is somehow supposed to solve it : http://www.thedailyshow.com/watch/wed-june-16-2010/an-energy...

Unfortunately renewable energy suffers from the reverse problem of immigration : right now, we have renewable energy with a EROI factors of 2-3 over a period of 2-3 decades. That means that for the first 10 years renewable energy INCREASES our dependance on fossil fuels. The only energy type that doesn't suffer this problem is nuclear energy, and it has other problems.
Not Palo Alto, Cupertino, and you might be surprised at how many employees commute by means other than their own cars, but yes, I've wondered myself whether transit directions wouldn't have a had a much higher priority if Apple HQ were located in, say, NYC.
They switched their Map Kit framework over, too. So all apps that use it have now switched to Apple maps. It's not just one app.
So who gets to decide which buttons should be in browsers by default? Sure, Facebook, Google+, Twitter are obvious. How about Pinterest? Or X, Y and Z which might be not popular in US but popular elsewhere?
I can elaborate -- the microusb plug is nearly identical on top & bottom, yet can only inserted in one orientation. That means if you're not looking at the plug, you won't be able to insert it. You don't have an issue with microusb because you always look when you plug something in.

When was the last time you looked at your headphone jack when you plug it in? It's probably second nature and you always get it right on the first try. Most microusb plugs have different "sheaths" so you can't remember the "feel" of the plug and insert it without looking at it.

The regular usb plugs are the worst offenders, they look identical on top & bottom. The only way to tell if it's the right orientation or not is to attempt to plug it in. If it doesn't go in, you flip the plug over and try again. It's a minor hassle, but it's something that could have been designed better.
The Importance of Record Keeping
and, at the same time, in response to proposals for federal laws to replicate successful SA and NT container deposit schemes, they were whining to government that the cost of printing '10c deposit refunded upon return' on their labels would be unbearable ...
Possibly there could be a meta tag describing which share buttons should be shown on the page--even what the particular share link should be when they're clicked.
I used reveal.js: http://lab.hakim.se/reveal-js/
what's a browser?
I never once saw a James (my own name). It could be confirmation bias, but I swear very common names were not printed as often to keep more people looking for their own names.

http://www.wolframalpha.com/input/?i=common+names