skysight-inc/HackerNews huggingface dataset:
Ask HN: European online payment preferences?
We're implementing online payments for a subscription service used about equally by American and European clients.

We've already decided, for this first iteration, that we'd prefer not to get a merchant account, and that it's acceptable to bill in USD. (I know this isn't an ideal solution for Europeans.)

I would prefer to use a service like Stripe, where we don't have to store credit card data but the payment itself feels 'native' - it seems to take place entirely on our own site.

However, the European developers I work with tell me something like PayPal would be preferable, because the payment forms are not on our site - instead, the user is redirected to a third-party service they're more likely to trust. They tell me that apart from a few large services, this is the way it's done in Europe.

This fascinates me, because in my head, redirecting to a third-party site for payment feels amateurish. But this may just be my preferences as a Canadian who's only worked in the United States, and lacks extensive experience dealing with Europeans.

So, my question, primarily for the Europeans: taking both European attitudes towards security and European attitudes towards aesthetics into account, do you think European small businesses would prefer to pay for a service on that service's website or on the website of a third-party service like PayPal?
24% of Americans Plan to Buy the New iPad
Dutch Group Pioneers Mobile Euthanasia
Indeed.co.uk does the exact same job. You simply select 'Direct Employer' jobs only and there you go.
Open Source or Custom CMS
What is the best and easiest option for web development project start-up nowadays?
Django - Avoiding dog-piling or thundering herd in memcached
cool little app
Now that you think about it, they probably chose the wrong guy to make an example out of. A rich nerd who likes attention? of course he's going to make this into a big deal (whether he's right or not)
I've thought about this a lot over the past few years. I think it'd be awesome to be able to compile your web app into a bundle that gets loaded by some Objective-C server.

That being said, I think the performance improvement would have to be substantial to get me to switch from a scripting language.
Not only do I understand that code, and agree it's reasonable C code, I suspect you made a mistake when copying the memmove line. I think it should be:

memmove(nvtab.nameval+i, nvtab.nameval+i+1,
(nvtab.nval-(i+1)) * sizeof(Nameval));

Experience C programmers will know memmove - it's been a long time since I even saw the signature, but I thought it was going to be source, destination and size. (Looked it up just now to be sure.) These "inline transformations" are common on addresses in C.

I personally like braces around for loops, but things like Nameval being the struct type for a nameval variable is common C practice.
Report: iOS vulnerability sold for $250,000
Part of me wants to accept this information, but I am worried that some kind of Freakonomics will come into play and we'll find that the reason why there appears to be less poor is because X is no longer being considered as Y.
Ask HN: APIs for student hackathon
I'm organizing a hackathon for my school and we are struggling to find a "focus" (API, area, etc).

What are some awesome APIs and/or tech areas that you've used in past hackathons?
No, it was not at all explicit or obvious for the average internet user.

The "premium" download button was prominent, and the other options were not, and sometimes hidden.

They made a science of maximizing the clicking into the premium download funnel, because that was their business model.
http://en.wikipedia.org/wiki/Dokk%C5%8Dd%C5%8D
Striking collections Of Illustration Fine Art
then s/prosperity/wealth :)
Well, it's evident to you that having all methods/functions/X be mockable/pure/Y is the best thing since sliced bread because your bacon has been saved so many times by testing/referential transparency/Z; but to someone who has not been saved?
Patio Furniture Toronto - Leather Furniture Mississauga, Oakville
Destination Furniture Serving Burlington, Milton, Pickering, Ajax, Whitby, Vaughan, Markham, Brampton, Cambridge, Hamilton, Stony Creek, Guelph, Niagara Falls, Kitchener and Barrie with a Vast Selection of Home and Patio Furniture in a Number of Materials at the Best Value.
TAS WANITA PRADA (TWPR-01B) | Toko Tas Wanita - Aneka-Dompet.com.
TAS WANITA PRADA (TWPR-01B) Warna :Biru Include : Tali Panjang Harga : Rp. 320.000,- Toko Dompet Wanita | Toko Tas Wanita | Toko Aksesoris Wanita - Aneka-Dompet.com.
Calling The Economist "capitalist" isn't much of an aspersion, even if it was meant that way. And an aspersion isn't an ad hominem.
Great work from a technical perspective!

Off-topic: Best way to read HN on mobile IMHO is just to take the Android stock browser, surf to HN and forward the article links with a long press on the article titles to Readitlater or similar services without opening the articles. Fast, simple and convenient (and a great example for Android's intents). I think on iOS there some more steps plus the HN site isn't well readable in iOS' stock browser because of the missing word wrap—maybe that's the reason why there are so many HN apps on iOS while we have only one on Android.
> For instance: center-left party gets 48% of the vote, communists (they still exist here) get 4% of the vote. To form a majority, the large party must strike a deal with the small party, which can dictate conditions...

Or they simply look for someone on the other side. E.g. in Germany, SPD (social democrats) routinely ignore Left (socialists and communists) and instead deals with the conservative CDU. It's not like they have only one alternative, nor like they need a majority to form a government in most countries with PR.

I don't see this as a downside. If you only get 48%, you don't even have a mandate from a majority of voters. It is only fair that you will need to negotiate with other parties to adjust how you govern to the benefit of a larger part of the population. For that matter, this shouldn't just change at 50% either - having parties representing 50% + 1 dictate policy still leaves half the population subject to the whims of a narrow majority.

> Another flaw is that, in Italy at least, since it is not the voters of a given district who decide on one of several candidates, it is the political party who decides who actually gets to be on the list of people sent to parliament. This gives a lot of power to the political party itself, and whoever controls it.

Why is this a flaw? If voters are not happy with the candidates that are nominated, they can a) join the party and vote for other candidates during nomination, or b) vote for a different party (or form one...). With proportional representation the barrier to starting a new party with a chance of taking a seat is much lowered, and it is fairly common in European politics for candidates that does not get the support of their party to get a list together as an independent and win a seat. Sometimes that even ends up forming the basis of a new party.
Intel's Valleyview Atom SoC will come in multiple SKUs
Am I the only one who noticed how ridiculously flimsy this article was? Let me sum it up:

Kim Dotcom says he did nothing wrong. Legal documents say one thing but they're wrong because Kim says that they're wrong. Kim Dotcom would never lie, right? So he must really have never done anything wrong.

There's also this weird backtracking that goes on in the article. First the article claims that Mega is in the clear pretty much based on what Kim Dotcom says and nothing more but then goes on to imply that even if Mega did do something wrong it's totally cool because there are some people using it to share photos and videos of themselves. And those people are US soldiers so the Feds just have to forgive Mega because after all, we can never imply a US soldier would do anything unethical!

Then the 50 Cent thing... "Well, yeah I uploaded the 50 Cent song but I totally bought it first and it was random and the the link was private! Just take me at my word TorrentFreak". And TorrentFreak does take him at his word.

Then, because some big media companies wanted to do business with Mega it somehow absolves them of any sin related to hosting and facilitating the piracy of those same companies' works. Really?

And it just goes on...

Basically as long as what you say supports the TorrentFreak agenda they'll just take you at your word and report what you say as truth. This is 5th grade expository writing, not a news story. The sad thing is that people will read this garbage and take it as truth because it sounds bad like you should be outraged and it kind of sort of includes some semblance of fact.

I can't say if MegaUpload did anything wrong or not based on this story because it's such a terribly written one. Lots of topic sentences, little to no supporting details, and no one seemed to check if what Dotcom was saying is really accurate.
Looks great. I love the amount of effort you spent in CSS to make it look native. A couple feedback notes:

1. You might want to add the following to remove the Mobile Safari UI chrome when users add the app to the Home Screen:

<meta name="apple-mobile-web-app-capable" content="yes">

<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">

<link rel="apple-touch-startup-image" href="img/splash.png">

2. On the iPad, the clickable regions are a bit awkward. The external link takes up a good 95% of the menu item. The view comments link is (logically) the button, but it's too small relative to the importance of the discussion on HN.
The Top 10 Unused Features in Java
It's interesting that with a modern C++ compiler all of these programs are equally valid. This is both the biggest strength and the biggest flaw of C++.

I imagine the size differences are overhead from bringing in STL and maybe template instantiation and are relatively fixed? I would have liked to see performance benchmarks as well as executable size to see if the program has gotten slower, faster, or remained basically the same.
Columbia acupuncture
Mike Daisey Apologizes for Falsehoods in Monologue About Apple
Feel free to crucify John Bentley.

I know I'll learn more out of the book if I don't care of the small nitpicks like "gets()".
Forget Snow, here's how you write good PHP
I think I get where you're coming from. A lot of this can be interpreted as a way to shun yourself from the world and not face reality. But can't anyone do that with anything helpful?

I lived in Colombia for a while, and partied a lot. Met tons of girls, along with guys who tried using what a lot of dating coaches teach, but it only restricted them...they defined themeselves absolutely by what they did.

Then again I met a ton of guys who used what a lot of dating coaches teach to be awesome confident guys that get women.

Maybe it all comes down to striving to be awesome confident guys, and defining yourself by anything--especially in absolutes--goes against that. That's why anyone that says they're a samurai, or a pick up artist, might not go very far.

Hence the idea that philosophy or dating lessons are not at fault, it's the people who interpret them.
Remember when they shut down conficker? when they disabled gazzillion of c&c domains.
Aspiring UK & Other European Interactive and Game Developers Get Funded Now
Microsoft discussing HTTP 2.0 with IETF this week
Many of the people Obama has appointed to top positions in the DoJ are ex RIAA/MPAA folks.
No, he's not saying that at all. That's explicit if you just read his last sentence.
Open source author Glyn Moody's letter to MEPs urging them to reject ACTA
Bitcoin Paper:

http://www.scribd.com/doc/86764784/Diepenbrock-BitcoinReport...

Due note that the paper was written in April of 2011. However, this shouldn't change any aspects of the legal analysis.

If you have any more questions, or just want to talk, let me know!
> How do you conclude that a good with unlimited supply (which is I suppose what you mean by 'no limit to scarcity') would lead to bubbles or economic breakdown?

If I can take an item of IP (a music download) and sell it indefinitely at fixed rate, and distribution costs are very low; what is the basis for pricing that item when it isn't linked to anything concrete in the physical world?

Could the attribution of money to virtual goods without any link to a physical resource lead to bubbles / economic breakdown, because there's no ceiling on the amount of wealth that can be generated from it?

> The whole point is that prosperity isn't measured relatively.

I'm (incorrectly) using 'prosperous nation' as a synonym of 'wealthy nation'.
It's a meta-search, in a sense. A search for search queries.
Yes. But a focus on volume might produce better things in the long run than a focus on quality. You can and should also rewrite your prose, cut and edit.

Just don't make volume the metric to go for for any production artifacts (like the published novel or published software).
What does Google get out of Voice?
So happy to see Scott get a bit of recognition on HN. This was my graduate PL text last semester, and I enjoyed reading it before class every week.

As a clear, well-written, thorough text on PL, I can't recommend it more strongly.
Thanks for everyone shabble, fduran and willvarfar's responses; I didn't realize The Code Book's depth and am really excited to see the positive responses here.
Of course I would. Accused pick pocket is not a convicted pick pocket, so limiting his access to funds is immoral. Not sure about the legality, to me it absolutely should not be legal but I do not have enough knowledge to claim that it is.

To better illustrate the problem with your devil's advocate approach ask yourself the same question adding in the words in brackets: would you permit a person (wrongly) accused of being a pick pocket to use (his) funds (incorrectly assumed to come) from stolen wallets to pay for his defense?
(NYC Class) Dive into haml & sass
-For some reason it thinks I'm part of the University of Toronto. I'm in the UK!

- It tells me to find people in order to add connections but there is no obvious way to do that.

- Why can't I just add one line skills? Do I really need to describe what "responsive web design" entails?
Web2py - good framework to learn?
I'm trying to choose a framework to learn and have been looking at web2py. It seems to be a solid framework that comes with a lot of built-in features and easy deployment, and I like it better than Django and Rails.

I'm wondering why web2py seems to have a relatively small community compared to Django and Rails. Does it have problems that I'm not aware of?

Would the lack of a large community hurt significantly? I'm also interested in freelancing, and learning Rails seems like it would be the better choice for that. Thanks for any advice.
Eclipse tip: how to close all open tabs
Thinking in Java[1] is a nice, thorough book geared toward people with prior programming experience trying to learn Java. It's mainly geared at C++ programmers, but knowledge of C++ is by no means a prerequisite and probably only minimally enhances what you get out of the book. The book has been thoroughly vetted by the community, so it includes few errors.

The older, third edition is also free[2].

[1] http://www.amazon.com/Thinking-Java-Edition-Bruce-Eckel/dp/0...

[2] http://www.mindview.net/Books/TIJ/
Forget distracted driving; time to worry about distracted doctoring
Rainbow.js - code syntax highlighting in 1.2kb
> git push heroku staging:master

Without the shortcuts, this command would be:

git push heroku refs/heads/staging:refs/heads/master

"refs/heads/master" is literally the branch location in the $GIT_DIR on the remote. You could do something like:

git push heroku staging:refs/personal/phillmv/staging

to stick the branch in a non-standard location, or you could do:

git push ssh://hostname/path/to/repo staging:staging

or:

git push ~pyre/work/repo staging:pillmv-staging

to push to a location that you don't have specifically defined as a remote.

E.g.

% cd /tmp
% mkdir test1 test2
% pushd test1
% git init .
Initialized empty Git repository in /tmp/test1/.git/
% popd
% pushd test2
% git init .
Initialized empty Git repository in /tmp/test2/.git/
% git ci --allow-empty -m 'ini commit'
[master (root-commit) 54ec2a3] ini commit
% git push ../test1 master:test2-master
Counting objects: 2, done.
Writing objects: 100% (2/2), 168 bytes, done.
Total 2 (delta 0), reused 0 (delta 0)
Unpacking objects: 100% (2/2), done.
To ../test1
* [new branch] master -> test2-master
Some historians even use the term social-monarchy (as opposed to social-democracy) to describe the last German Empire.
Wouldn't that depend on where you live?
Timeline Graphics for Web, Mobile, and Print Design
Sunk costs are not always fallacies: http://www.gwern.net/Sunk%20cost If people like OP engaged in sunk cost fallacy more, they'd be better off.
That is quite amazing. I am writing this as someone who has just rewritten an Access piece of crap for a construction company. I charged them $15k for 4-5 months of part time work. It is not a rewrite of their original app, it is an order of magnitude better, but if they saw your git versioning WINE running frankenstein, i wonder if they would have chosen that. Now i am off to sell this software again now that i have been paid to write it once. I wonder if you could get a nice income stream by referring companies who want to upgrade their application slowly. Now I am living in the USA, if I lived in another country I could take that $15k and live for 1 year. Here it is hardly much at all. I would love to take US jobs for $15k and finish them in 2-3 months. Low end US freelancer rates, but do a high quality job.
I would second this, while I am sure there are many on here in which Objective-C fits the way they think, I personally would hate to have to use it for the server side of the equation. Apple and before that NeXT did a lot of work to make developing UI based system, with Objective-C easy. The efforts for anything on the other end of the pipe seem to be more developed out of necessity than inspiration. Cappuccino, which is external to Apple, and has created Objective-J (GWT for Objective-C) seems to have put more inspirational work into Objective-C for the server side, that being said, it's still not my thing, but I know others that have used it and love it.
Right you are. Thanks, and fixed.
It probably has just as much to do with the speed of the "thing", as the size of the "thing".

If you could send a cluster of molecules at relative speeds (to c) through a double-slit setup, you might get the pattern.
Google has so far refused to take action, saying Japanese law does not apply to its US headquarters and its own corporate privacy policy, Tomita told reporters.

I found this quite funny given all the recent events regarding domain names, MegaUpload, PirateBay, MAFIAA etc etc. Now if only the US would take the same view and leave the rest of the world alone...
SR&ED This.
My first programming book was K.N. King's "C Programming, a Modern Approach" That remains one of the few programming-related books I own that has endured some wear.

I actually have read the GoF book, but I'm not sure that I'd recommend it to anyone.
Welcome: GridGain 4.0
That's a funny coincidence. I worked at one of the author's earlier startups and wound up working on a project doing exactly this.
I was trying to specify "within atmosphere" meaning it would be the furthest vertical distance two people could communicate from without being in space.

However I now realize that we have flown planes far higher than ~70K feet - which would have been a greater distance that what i was thinking.
But... you still use different windows and panes, right?
If I had scenes that were boring enough that I didn't want to write them, then there was no way in hell anyone would want to read them

I wish more writers would recognize this. It may be the most important revelation she makes in this blog.

Paralleling 9diov's comment (http://news.ycombinator.com/item?id=3755826), it would be great to come up with a way to think about app development that captures its essence.
I just use Console2+Cygwin
ESR had actually posted about this particular issue not too long ago and was looking for assistance with the 'Bufferbloat' project. Not my area of expertise, so I don't think I would be able to do much, but I thought this might be worth mentioning.

http://esr.ibiblio.org/?p=4171

http://www.bufferbloat.net/
Waste can be mitigated by designing the power supplies in the form of interchangeable packs, which can be moved from one generation of flying machine to the next. Risk can be mitigated with good design principles, overall, and advances usually aren't made by people who are afraid of handling risk. That only leaves performance as the real issue. If my quadcopter's chemical battery allows for 1 hour of flight with a load of 1 pound, then how do I increase the time or the load by a significant factor, when required? Unless there is some major breakthrough in chemical batteries, it seems that nuclear is the only real option here. Therefore: Can we build, using today's technology, a nuclear battery (or even a reactor) which can power quadcopters and mechanical bees [1]?

I use the combined example of quadcopters and bees because, perceptually, they appear to be on the same physical level (as opposed to a rock versus a molecule, for instance), but they require very different design decisions as to how they are powered. Chemical processes used for a quadcopter won't easily translate to a bee (unless we are using something exotic, such as ATP manipulated by nanotech), whereas nuclear processes could easily transition between the scales occupied by the quadcopter and the bee.

NOTE TO SELF: Write a children's technology coloring book called "The Quadcopter and the Bee", and after some initial success, turn it into a series of eyewatering, yet thought-inducing, books and movies, thus making lots of money, which would in turn be used for your "Nuclear Batteries Are Us" startup.

[1] http://news.ycombinator.com/item?id=3606394
You can't compare YouTube to MegaUpload. YouTube has Google levels of traffic which MegaUpload did not. YouTube lets you watch and listen but you can't take what you see and hear home with you (read: download it). YouTube is damn quick and transparent with their takedowns and has never encouraged piracy either directly or implicitly.

MegaUpload, at the very core of the idea behind it, really was a legit file locker service but that's not how it exactly worked in practice. MegaUpload has always been one of the go-to places for pirating media. They had ads on all the popular torrent sites that linked to the same files you'd download as a torrent. Everyone knew what MegaUpload was all about and anyone claiming they were just a poor innocent file locker service must be kidding themselves.

I have a hunting knife. I use it to hunt. No one will begrudge me my knife because I use it legitimately. If I kill a man walking down the street with it however someone is going to try to stop me and take my knife. I'll protest "but it's a hunting knife, it has a perfectly legitimate use!" but it won't matter because I crossed a line just like Mega did.