skysight-inc/HackerNews huggingface dataset:
CheckiO Python Learning Resource Offers a Code Review
CheckiO www.checkio.org is one of the most popular Python learning and practicing services for Python programmers.(more like a game) It is suitable for for beginners and more advanced programmers.

Now it offers a code review of your mission solution, simply tweet your solution link and add #reviewmycode hashtag to it!
To the point where the majority of university students would never consider dating someone who went to the army

But they would never consider dating street sweepers or shop workers or manual labourers either, or anyone else they see as beneath their social status as "university students", despite relying on those people every single day of their lives. It's pure class snobbery, and this is why many people hold "students" in contempt.

Fortunately most grow out of it when they graduate.
I've never used emacs - Is that 'select word'? I have that system-wide by putting

"^w" = (selectWord:);

into '~/Library/KeyBindings/DefaultKeyBinding.dict'. There's a load of information online about the customisation that can be put in this file. Here's a comment of mine with some links in it: https://news.ycombinator.com/item?id=6718604

Annoyingly, Xcode stopped paying attention to this file at some point around version 4, so now you have to maintain a separate version for that.
Subscribe to new and useful articles about IT
David! I met you at Better Software in Florence a few years ago, not long after I had finished scrounging up 2,500 euros to start Balsamiq SRL (I had to give my mother 1% of the company, otherwise I would have to deposit 10,000 euros, which I didn't have at the time).

I remember thinking "I hope this guys is successful" when I talked to you, and when the new law came into effect, I remember thinking "I wonder if that guy had anything to do with this awesome change". :)

As an Italian entrepreneur, thank you. I meet with lots of wannapreneurs, and I alyways tell them "it's cheaper now!". Now I can tell them "thank David Walton!" too. :)
QV the UK press "hacking" scandals.

The problem is the role of press and activists as a sort of citizen's law enforcement branch. The rule of law is not strong enough that crimes committed by powerful individuals, companies, militaries, and so on will be actually investigated. So scandals must be uncovered from the outside. But the public is also quite hungry for non-illegal scandal.

WRT "Collateral Murder", what do you think is the correct way to investigate war crimes when you know the military involved will not punish them internally?
Here's an example: https://wikileaks.org/sony/emails/emailid/112147

In 2014 Sony's German website was hacked and a file was replaced that served malware. The site inlcuded a database of 50,000 people's names and email addresses. Sony didn't tell anyone there had been a hack. The news of it broken in December[1] because of Wikileaks. Corporations cover up things that affect their customers. That is wrong.

[1] http://www.forbes.com/sites/thomasbrewster/2014/12/15/sony-p...
I've been contemplating death a lot lately - from this HN comment thread with @sago

https://news.ycombinator.com/item?id=9260286

to being at my uncle's bedside as he passed away earlier this week. There was undeniable pain in watching him go, even though I barely knew the man - we were all still rather struck by watching someone breath their last breath.

But in the end (and yeah, it's anecdotal) I find I've been spending more time considering what I want the remainder of my life to be, if the end is randomly assigned to be sometime between moments after I submit this comment to say, 60 years from now. It's focused my thinking. I've been more forgiving, less likely to take offense, kinder to my wife, more in awe of my new kid. Politics bothers me less, and I'm less likely to get hot and bothered about the latest scandal.

It's been a bit cathartic, while being intensely scary. I'm not looking forward to leaving this life (see comment thread linked above) but having the idea be so in-my-face in the recent past has, in some way, made me more thankful and reflective on the life I do have right now.
when you run out of money.
But it has nothing to do with Apple.

On the contrary. Part of the problem is Apple's backward compatibility, or relative lack thereof.

Apple's API stability is pure cowboy. I don't think we should pretend otherwise, just because we like their products.
First you have to get it into a court.

Compare the recent rise of public video documenting US police shootings. There's no way the alleged wrongdoing would be seriously investigated if there wasn't video widely available to the public.
>> "This is freedom and complete transparency. What is wrong with that?"

It's stolen documents of a private company. Most of the information is nothing more than embarrassing.

>> "If this level of openness is uncomfortable, so be it but there may be many who feel, this level is ok."

So you publish your communications openly then? Seriously, one minute HN is complaining (rightly so) about government invasions of privacy and the next it's congratulating theft of private communications from someone it doesn't like.

Wikileaks has lost what little remaining credibility it had in my eyes. This is little more than stolen documents to satisfy the kinds of people that read gossip sites.
Chocolatey NuGet Is a Machine Package Manager for Windows
>Apple has opted to transition from using a row of LEDs with a light guide panel, to installing individual LEDs beneath each key.

That's progress. Now, Apple, please replace each LED with an infra-red or a visible-light sensor, so that someone can write software to put a representation of the keyboard onto the screen that shows which keys have a finger hovering over them, so that the user never has to look at the keyboard except when the keyboard needs cleaning.
I tend to agree - the documents relating to actual abuses are worth releasing, - but releasing the entire trove (and granted I haven't looked at all of it) seems arbitrary and without principal.
Yes, but it is a 'LATIN CAPITAL LETTER O' on the text
I would be more inclined to agree with you if this company didn't have so much control over policy decisions in Washington.

Besides, it's /Sony/, who put rootkits on our PCs in the name of copy protection, and who have never respected individual privacy in the past.

You raise a good point: at what point do you draw the line. I don't have an answer for you, but this example is nowhere near it.
Codeship CTO: Technology is so easy compared to people
The Data Science ecosystem
I dont have any issue with publishing the video. I have issue with them spinning it. And they did not just spin it, they edited it for effect.

Pointing at other corrupt organizations and saying they also have done wrong that went unpunished (although as far as I know the UK hacking did not go unpublished), does not justify doing wrong. The irony of course is that Assange is hiding in London precisely to avoid appearing in court.

But I also acknowledge we all have a different set of morals. For some the ends justifies the means. I personally believe the ends never justify the means.

The ends justifies the means is usually what war criminals claim to be their justification.
Add it to the page then.
"Large scale eviction of Bhutanese citizens" and "shady regime" are highly simplistic or one sided ways to describe a complex problem that Bhutan does indeed have. Over the course of the last 4 to 5 decades Bhutan has faced a wave of economic migration that it has been (and continues to be) ill-equipped to manage. In trying to do so, yes, unfortunately and almost certainly some Bhutanese citizens have suffered. At the same time, many claiming to be Bhutanese citizens certainly were not.
Note that the search is not even an "equation" (that would be z = x*sin(y) ).

Google always graphed equations -- I often use a google tab like a nice low-memory-footprint version of MATLAB basically -- but I didn't know it assumed the third axis when you created a non-linear expression and made it an equation.
I like the axes. Those are usually really badly visualized in most 3D plotting software. Just indicate the origin a bit better and we're gold.
The truth about Vietnam is that it is an unpopular war now, and towards the end of it, but when American involvement escalated in the beginning, support was pretty widespread.

When thinking about war, it's better to exclude ww1 and ww2 from the sample as outliers. Of course they are the default war experience and the worst wars around, but they aren't typical.

It's emergent behaviour - it has to be, as it is endemic with human history - I think you're no more likely to stop wars than you are to stop men looking at women's breasts. You can temper the behaviour with morals and ethics but it's ready to surface at the slightest slip of those things.

It's not that young men want to go and start a war, but that some men crave power for powers sake, and it's easy to talk young men into getting involved once a war is in the offing.

Ironically the best thing you can do to temper the behaviour is to let men gather wealth and power via peaceful means, such as commerce and trade. Where this happens they usually don't go into war with their neighbours. Having the majority of the worlds people not under the sway of religion would be a good start as well, but I'm of the belief that religion is hard wired in as well - remove an ancient text and god and people usually start tot replace it with some other belief system anyway. And it would be those belief systems clashes that would probably be the 'cause' of wars down the track.
If you ever need to use Postgres I recommend using the gui http://www.psequel.com/ which is a pretty decent port of Sequel Pro to the PG world.
But has it always done 3D? I was completely unaware!
Ask HN: Why do people have a hatred for Scala?
I'm learning Java and Ruby, and I saw few posts about functional programming. So I thought that the next step should be learn a FP language. But I saw so many people hating Scala. Is there a reason for this?

edit: Ok, Hatred is a strong word. I shoud have used dislike instead.
You should look into Gladwell's history with big tobacco; I lost respect for him after I came across it, and don't mind at all that he lost $50k as a result of the Hachette issue.
Russian military rocket launch training fail
Here's something that might be surprising to some: package size is related to the number of pins mostly, not to the size of the silicon - and more pins if the consumption is higher

(Usually bigger silicon has more pins, and vice versa, but not necessarily)
Perhaps part of the reason that people are so OK with mass publication of private emails not specifically tied to anything is because they have lost faith in the laws and the institutions tasked with maintaining them. That I can relate to, but I don't think it justifies what WikiLeaks is doing.
Alternative to a login system on a seperate website, the seperate website would add functionality to HN and their would be a bot posting one valuable link to a thread ( if it's requested by the author).

It should be some sort of login, if i ask them to put it in their profile, they'll essentially would have to have 2 logins ( eg. oAuth and adding the HN profile string)... I'm thinking about an easier way to do it.

Still have to ask for permission though, but i'm first considering potential problems.
Was there a Papist plot to keep Europe at war? Between the establishment of the papacy in Rome and the downfall of Napoleon, there had been no decade that Europe was not at war.
Former sound engineer and small record label owner.

I use Audacity for any single audio file edit I need to make (I don't do that much anymore a video project here or help a friend there). I prefer Audacity to other programs (WaveLabs and Audition) and their crazy proprietary formats and copy protection. (Wavelab uses a USB key that cost $30 so you have the right to use the software you bought or to demo anything they have).

There last release is getting HUGE with real time previews of effects and spectral views. It really has everything a person needs for cleaning and preparing audio for video projects and single track projects. Really glad to see this to continue.

The new noise reducer is also being improved greatly.
These guys earn six figures just for being amazing at video games
I run a small company in Latvia (low tax, low income). I live in Belgium (tax world champion, high income). I am _extremely_ careful to play by the rules. That means things like:
* no company bank account or phone number in Belgium
* no meetings with my staff in Belgium
* no (tax deduction for) office space in Belgium
* fly to my company's country often
* a Latvian phone number for myself
* a _real_ _physical_ office in Latvia
* ...

On top of taking care of this, I also make sure I do not "awaken sleeping dogs":
* every single bit of fiscal administration both here and there is perfectly in order
* even if 100% legal and in order, I avoid creating visible links between myself and my company (bank accounts, ownership declaration, ...). (I make a small exception here, but I'm usually not very keen on it...)

You will find a lot more information on this subject area in the double taxation treaties between individual EU member states.

The general principle is very simple: the fiscal residence of your company is where your company's main and real activities are, as evidenced by facts. Unless you are a big multinational of course, in which case all these rules go overboard by using the tax avoidance loopholes and custom fiscal rulings.
The link doesn't work for me (Firefox). I have to hit Enter in the search box for it to work.
but I don't think that it applies very well to startups.

Do you mean contemporary tech startups? As you may know, startups are businesses after all and the rules governing their operations are the same. When your business runs out of cash , you need someone to throw you a lifeline (debt or equity), or sell some assets to raise money or unfortunately file for bankruptcy and let nature take its course and creditors to recoup some of their investments.
Ask HN: What project are you currently working on? – April
There used to be this type of questions on a monthly basis and it was always fascinating to see what people were working on. :) So I thought I might post it up again since I haven't seen one in awhile.

What side project are you working on right now?
I thought WebJobs had more of a batch/queue processing focus, whereas Lambda is realtime?
Content is inaccessible in the UK. Can someone repost?
User upgrades don't make much difference to the waste. If anything those types of users are likely to have power heavy desktops using up more energy and precious metals. The average user's waste is reduced because the motherboard is much smaller, as well as Apple's general efforts to stop using some chemicals. My first iMac had a warning about mercury in the screen, the second doesn't.
Migrating Gerrit from Google OpenID to Oauth (deadline: April 20th)
Why should we pay more? Same product available at cheaper price $60 for 1 year as well alphassl wildcard at $42. https://www.ssl2buy.com/cheap-wildcard-ssl-certificates-ads
No, because the money would still come from "everyone", and the government would still be "doing" something.

If the NSA was a completely privately-owned corporation without any ties to the government, yeah, the judgement would be different (likely still negative, since no private actor can legally compromise networks like they do).
If any Googler is around, it would be nice if one could do 4d representations as well. (As in 3d that evolves in time, with a slider to go back and forth in time.)
I'm having trouble falling on either side of this whole-heartedly. On one hand privacy, rights… On the other, secrecy at the heart of how our societies function, trivialization of democracy, public interest, free press.

Take this example (pointed out by randomname2):

"NY law only allows corporations to give him $5,000 (which we’ve done)… and, with Michael’s support, we are trying to raise $50k overall. This means I need to ask individual senior execs for support… ..consider contributing $5,000 to Gov. Cuomo?"

This is at the heart of how a lot of our democratic systems work, the money-in-politics question, the corruption of our systems of government. Surely that's something that is important to bring into the light, no?

The criticism I've had with wikileaks from the start is still somewhat valid. Wikileaks are press. We have a culture of protecting, empowering & respecting the press. We have legal protections for the press. There are cultures within the press for balancing need to know against other considerations. But wikileaks (mores earlier on) never really saw or projected themselves this way, free press. To most people, including their supports they always seemed more like activists than journalists.

When Assange was originally targeted I stopped to sign a petition in Melbourne. I read it. A Caricaturized synopsis might be "Free Assange! Free Gaza. Troops Out of Iraq! Fuck America! Abortion! Gays! Aboriginal RIghts! Like I said, caricature. But I don't think these guys were a million miles away from how wikileaks saw (or at least presented) themselves. Activists more than press.

I think that's part of the problem you are sort of pointing to. Activists stealing documents sounds different to journalists with secret sources. The latter is an important part of democracy.
>> The Bernie Madoff ponzi scheme alone

People who invest tons of cash in schemes like this, or in fact make investments at all, should be doing a lot of due diligence. Investment is not something that Joe Average thinks about much, if he can help it. He doesn't have millions of dollars, he probably has small-scale retirement funds managed by companies he didn't even choose by himself, just some default adopted at some point. Any cash he's sitting on is managed by other people as well, and is protected and insured in a variety of ways.

Joe looks at Bitcoin and sees there have been scams and hacks by the dozen, and that when they happen there is little to no comeback, legal or otherwise. Some of the perps were the people running the services. He's probably also heard about the Silk Road. When it comes down to it he probably doesn't have a clue about computer security so there's no way in hell he's going to keep his cash on his own computer in a file he could lose with a hard-drive crash, that a hacker could steal from an infected machine. And if he's going to trust a third party with his money, why a bitcoin third party? There's no compelling reason to use bitcoin anyway when he has a credit card, and the credit card has the insurance and chargeback facilities that make Joe feel comparatively safe.

I realise that from a technology standpoint most of this stuff is not specific to bitcoin. But where money is concerned I doubt the technically-correct* standpoint is going to win.

I think the fear of distributed consensus might well be there too, but it's probably waaaay down the list of concerns, if most people even have any idea what it is.

(*the best kind of correct!)
Hatred is such a strong word ....
Hackernews tends to skew a persons perceptions about how hard it is to start and run a business. It's fickin ruthless and you have to be damn lucky. I feel very uncomfortable selling myself or my product to someone who can't really afford it, know damn well that I'm charging 10 times what it costs me.

But that's what you need to do to run a start up.

For the other 98% of people on this forum, a corporate job that pays the bills is all we're going to get.
I predict this might give me a lot of hate, but these people coming back is the worst possible outcome for (not only german) society. I don't believe for a second that at least most of them are not properly unbalanced (or worse) and will do no good to society for rest of their lives. I cannot imagine myself doing something like that, and I was no angel when teen. You can see in all media how war looks like there, so they cannot say they simply didn't know.

They wanted war, let them have it all the way to the bottom with all the (percieved) glory of death. They had chance offered to become members of society they were living in, and they refused. Okay, we should respect that choice, but with all consequences. Younger age is no excuse for such mistakes.
Ranking of doing business
The free market is the biggest driver in this case. We know this to be true because cars designed by companies who have lost their way and don't car anymore are typically poor. And cars designed as national projects are typically terrible. The engineers do the work, but it's the fussy and fickle customers who are their ever present, unrelenting boss.
Chrome here, with the same issue.
Oh wow!, just wow!!. Maths FTW!
Because this stuff is incredibly important? Because, as it turns out, most things in this world are not decided on merit or logic or laws, but in social systems and a big big helping of inertia?

Frankly, we should require every company to turn over it's archives after a 20 year or so grace period. This is extremely helpful in a quest to understand how the world actually works, and not archiving and analyzing it dooms us to continue the mistakes of past generations. You ask why there are not more women studying STEM or in CEO positions? Well, answers inside, partially. Pick any other social issue, you'll learn something here.

Stuff like this and the diplomatic cables should be required reading in schools. Otherwise students could get the idea that what you read in a newspaper or hear in an interview reflects reality in any way. The best way to teach critical thinking is to show people how friendships and informal alliances and intrigue are the principal components of any decision process.
Gotta be a hardware issue of some variety. I'm running Yosemite on a MBPro Retina mid-2012 with zero issues at all.
I wonder if you could achieve that today with the webcam at the right angle? ;-) it'd be a lot cheaper...
9 Things That Make Online Shops Successful
The worst is a zombie business; the ones that earn a bit, seem to be on the cusp of success, but also won't ever give you the clarity and just die.

Your business doesn't sound like a zombie, though. It is time to shut it down and move on.

I've been where you are a few times and I know the incredible paralysis that sets in when this decision needs to be made.

You're doing this so that you can do something else (even if you don't yet know what it is) and to be kind to yourself. No-one deserves that sort of punishment.

And, if it helps even a little, know that you can walk away and you can start again. The sun also rises.
Mildly interesting, if you search for:

x * tanh(y)

you get the graph for:

x * ​(exp(​y)-​exp(​‑y))/​(exp(​y)+​exp(​‑y)).

[Edit: asterisks on HN are hard]
In-flight Wi-Fi can be an open door for hackers
>If people recognise the banality of war, there will be no more wars

It's not that wars are seen as heroic, or religious differences and other such BS.

A lot of modern wars can be explained as the results of colonialism (either traditional or in its current covert form). Larger countries have interests in exploiting less powerful countries, to get control of trade areas, cheap oil and labor, etc. Of course they say the bring "democracy" etc, even when they leave chaos and hell on their way out (plus some profitable contracts for them).

Before the 60s the did it directly, literally enslaving 7/10 of the world in their "colonies". After that they do it by proxy (e.g. by drawing borders in such a way that establish countries and "nations" that will fight between them so that they can more easily control the area, install lackeys in power, etc.