skysight-inc/HackerNews huggingface dataset:
> Their papers still have to follow formatting rules that include things like margins, for doucuments that will never be printed.

The reason for these rules is not related to printing. These rules are in place to enable fair grading:

- fixed font styling and page margins allow proper comparison of paper lengths (e.g. a student might try to use a bigger font size or bigger margins to get around a "submit 3 pages of text on issue xxx")

- fixed line height requirements allow teachers to print out the submitted document and annotate it - the resulting prints and the correction marks are usually archived to make disputes easier
hand-roll it. a 3-minute programming task doesn't warrant pulling in a graph of dependencies a la leftpad.
Ask HN: Anything we can do for those impacted by the US immigration ban?
Just posted this on my FB wall, figured someone around here might have ideas.

r.e. recent immigration policy changes, practically speaking: Anybody here, or know someone, who's stuck in an airport/country they expected to leave today, and needs a sandwich/a ride/a place to stay/a friendly ear? Seems like we're going to need a network of care to look after the stranded.
It's an executive order, so outside a court challenge that rules this whole class of procedures on immigration unconstitutional, he can do this ad infinitum. But then of course he also frequently invokes Andrew Jackson, whom history remembers as the populist who told the Supreme Court to fuck off when he was behaving unconstitutionally and proceeded to commit genocide against Native Americans.
For developers is a bit harder, as sometimes a project requires the Facebook API and you only can use it if you have an account there. And what about the events and groups created there to organize meetings, manifestations etc?
Implying Trump voters aren't already defended? They are not some oppressed group.
> Yes, we can rightly rail against the people abusing the system, but ultimately there are 7 billion people and expecting all of them to be ethical is foolish.

I don't really get this. You seem to agree with me, but then also seem to be chastising me for blaming individuals here proudly abusing the system?

> By all means, keep fighting the good fight, but the only thing that can realistically improve the situation is Twitter.

The HN mods could grab the IP history of the fraudster user and pass them to twitter. That'd make the world incrementally better for a small period of time. Who knows, maybe Twitter could bring a lawsuit to bear. Technically that dude is describing a felony.
Yeah, but you are forced to rate every Uber ride. If I'm being forced to rate something I'm indifferent about, I'll go with the indifferent option every time, namely, the middle of the scale. Most restaurants I'd never bother rating (they'd implicitly be getting ~3s); it's only the ones that I really loved or hated that I'd bother rating, and then likely with a 1 or a 5.

The only Uber rating I actually ever cared about was a terrible unsafe driver who got into a yelling match with another driver who I gave a 1 and then wrote a lengthy report about. Every other rating has been mostly indifferent, just a ride from one place to another.
Cuts both ways tho. There are developers (some good, most not) who are notorious about not testing their code. "I don't know dude, it doesn't seem to work -- did you test it?" is fair game in these cases, especially once a pattern has been established. As in, why don't you look into it and figure out why it doesn't work instead of asking me to do it for you? As in, letme-not-googlethatforyou. Of course, depending on severity, action should be taken right away to address this bad habit.

Re: "no hello", I'm not fully with it. Some developers enjoy a more human-like interaction which doesn't play into the unfriendly programmer/BOFH stereotype. Lack of testing will cost the company a lot more time and have more damaging effects than people saying hi to each other (which could be argued to be worth the little extra time it takes to play out):

1. Dev commits untested code
2. QA has to catch it
3. QA has to fill bug report
4. Dev not known for testing has to read bug report
5. Dev not known for testing has to fix bug
6. Dev not known for testing has to test reported bug
7. Dev not known for testing has to commit fix
8. QA has to look at again, and either approve/close or send back to step 3.
- versus -
1. Dev commits tested code
2. QA tests change
3. QA approves change

One pet peeve is people who ask "can I ask you a question?" - this doesn't have the same positive benefit as "hey, how's it going? how was your wknd?", it doesn't seem to serve any purpose. I typically ask people, nicely, to just ask the question directly next time and I'll answer when I'm able, if can't right away. Especially in a chat-type environment in a geographically/timezone-diverse team.
Because advertisers.
You think I'm being a little disingenuous? I think you're being a LOT disingenuous. It is VERY common for conservatives to espouse 'libertarian' principles as a criticism for liberals while then not applying those same principles to conservatives. And since you've been a libertarian for some time, I know you know what I mean.

Bob Barr, any sort of a libertarian? Please. He was the original drug warrior. Gary Johnson was quite willing to imprison drug offenders in New Mexico.

Sorry, but y'all get zero credit from this liberal. None. It isn't a third way. It's a flag of convenience. Reason was even bought by the Koch Foundation.
Unfortunately, in the US, it's illegal to prescribe a drug to maintain an addiction. If we can change that aspect of the law, then addicts can get legal access to narcotics until they voluntarily decide to quit.
>Those polls were broadly accurate, as has been heavily reported.

The polls about The Donald losing were also heavily reported:
http://www.politicususa.com/2016/10/26/polls-shatter-myth-pr...

In any case, unlike you, I'm more interested in abstractions based on large historical body of evidence (for not trusting pollsters in general) than in specifics (evaluating a particular poll, especially in hot political and partisan issues, which presupposes that I can trust what those that created it say, that is not only trusting the methodology as they describe it, but also that they followed it -- and we obviously have no way of knowing the latter).

How did you verify the poll? Because this is not some scientific paper where one can retract the steps and redo the numbers. Just trusting the methodology reported (a meagre page with a 10-mile high view of the procedure and no specifics in the case of Pew Research Center, for example?) and having faith that no poll and/or research center would ever misreport or falsify?

Maybe my mistrust is wrong, but I don't see the trust as being any better, especially with so many off the mark polls that been shown in practice to be so (the actually verifiable and falsifiable ones, like the ones on voting preferences).
This may come off as cynical but I think Travis, and similar SV figures like Elon Musk and Sam Altman are giving Donald Trump too much credit.

He is a 70 year old man who just won the presidency with no prior political experience, spewing angry divisive comments against all sorts of weak minority groups. He has a massive following who cheers his divisive comments against foreigners and and against the press.

Yet in spite of this, some commentators (see Travis) think that "if only" he gets some good advice, everything will be just fine. This is a bias of smart, reasonable people: they assume others are the same. They are treating it as a reasonable person who is just misguided.

In fact, the opposite is true. Trump has shown that his values are not aligned with traditional free democracy as we've known it in America. Giving him some good advice or trying to talk reason is futile, and moreover will result in endorsement by association.
Except that logically if there is ample evidence of a person meeting people for the first time and telling them verifiably true information about their birthdates, it is very unlikely that he just happened to luckily review that exact info the night before. So either it's a massive conspiracy with multiple independent media entities in on it, or he actually does have an excellent memory. I know which seems more likely to me.
What are you going to do when they start taking drugs again and die? Or kill someone? Pass down some moral judgment?
Browser WYSIWYG editors are full of dragons. I'd give you that exception.
I'm rather sick of being blamed for Trump's election. How about the people who voted for the candidate from the party of personal responsibility take the responsibility for choosing who they voted for?
This concept is fascinating to me, but I've never used Haskell and was lost about halfway through. Would love to see a simpler approach to explaining the mechanics of how this works.
Arguably, the city should dispatch a traffic guard to deal with the situation.
Federal immigration law also includes Section 1182(f), which states: “Whenever the President finds that the entry of any aliens or of any class of aliens into the United States would be detrimental to the interests of the United States, he may by proclamation, and for such period as he shall deem necessary, suspend the entry of all aliens or any class of aliens as immigrants or nonimmigrants, or impose on the entry of aliens any restrictions he may deem to be appropriate”.

http://www.nationalreview.com/article/444371/donald-trump-ex...
I wish you wouldn't just quote these numbers without any context. I will not say that Obama administration was Dovish. And I'm personally not happy with other things he did (expanding spy powers, the prosecution of whistleblowers)

If you look at the list and you see the top places Syria, Iraq, Afghanistan are all areas Obama inherited. If you remember Bush II our previous president got us into Afghanistan and Iraq. Syria and Iraq bombs are primarily us fighting ISIS which again is because Bush fucked up Iraq nation building.

There lots of good books / documentaries about the rise of ISIS, long. The long and short is we invaded iraq -> we fired everybody in government -> we occupied the country -> lead to resentment and extorts insurgency (pre ISIS) -> we left to early -> ISIS was allowed to form.

Then Lybia was a NATO operation to create a no fly zone (and destroy air defences) to prevent Kadafi from bombing his own people. If we remember correctly the Obama administration mostly stayed out the conflict. We didn't even arm the rebels that was Quatar. We we mostly ignored that or even secretly agreed, but we mostly stayed out of it.

So again, it's easy to throw out numbers. But without context your statements runup against false attribution fallacy.
What are the mechanics of this ban? I see student was denied from connecting flight. What happens if said student travels to, I don't know, Germany first. Spends there a day or two and hops on a flight to US of A?

I ask because I understand ban is for admission of refugees and travellers from seven countries. Not nationalities.
The order page definitely doesn't have any warning about the basic - even I would go 'Nah, what's the $720 for? Upsell?'

How about:

Glowforge Pro + Air Filter: $5,995.00

Glowforge Basic + Air Filter: $3,745.00

Glowforge Basic: $2,995.00
Warning: You may die when using Glowforge inside without Air filter (link). You may also die when cuting these materials (link) inside even with air filter.
I don't think you even remotely understand what a green card is or how difficult they are to get. Green cards indicate legal resident status. You must hold one for five years before even being able to apply for citizenship.

They are not H1-B visas. They aren't holiday work visas. Having a green card means you must always file taxes even if you leave (the United States is the only country to do this. The US is also one of two countries in the world that tax citizens who don't live there).

The US doesn't have a "permanent resident without travel restrictions" type visa, so it is literally the highest visa short of citizenship you can hold.
Ubuntu 16.04: “Out of memory” errors after upgrade to 4.4.0-59
The worst has got to be ssh keys. Getting students (even Masters Computer Science students) to properly configure and handle ssh keys is the worst ongoing challenge I have.
> I'm not an Obama supporter, but I gotta wonder why he wasn't even more aggressive than he was with the orders.

Republicons constantly accused Obama of signing too many "unconstitutional" executive orders.
If illegal immigrants are not a burden why control immigration at all! Let's just let anyone that wants to come here fly on over.

This would lead to the country being completely overwhelmed like is happening in Europe. Did Germany stop letting in unlimited refugees because they were helping the country so much?
> "Premature optimization" is a dangerous concept. It tends to imply you can defer all consideration of performance

At a deeper level, the problem here is cargo culting of rules or heuristics.

Another example is the proscription of "security through obscurity". It's perfectly valid as a component of a larger, more comprehensive security strategy. But you're gonna get hurt if it's the only component.
Sorry this is entirely off-topic, but what do you use while swimming to listen to audio?
From my experience, there's almost no such thing as good political discussion via the Internet. I browse headlines from various sources.
Peter Thiel’s monstrously naive case for Donald Trump
The Case for Taking a Very Little Bit of LSD Every Day – Mother Jones – Medium
Canada has an awesome tech scene and is a great place to live :)
Toronto/Montreal you'll likely find the most opportunities, or if you prefer a smaller city Ottawa and Waterloo have lots of tech jobs and less big city problems.
I'm not sure it's that easy. For one, it might not be a lot better where you're from. But more importantly, your presence also can influence (small impact on an individual's level of course) where things are going. There's also the issue that depending on your field there's simply more interesting jobs available locally in the US than in a lot of other countries.

I moved to the US ~a year ago, now as a permanent resident. Debating on what to do if things continue going down along the current course.
In my mind it is not even so much that I need 32gb now, but as apps get more bloated it may be useful in the future, and seeing how the RAM is pretty much impossible to upgrade it seems very short sited to not have any more RAM than I've had for the past 5 years.
I don't know what you're arguing about, but they're detaining and rejecting lawful permanent residents of the country right now. At LAX, ACLU is fighting for --- and is not at all assured of winning --- the admission of an 11 month old American Citizen and his LPR mother, who is two weeks from her citizenship ceremony.
> Here's a better approach to drug users: catch them, sentence them to mandatory cold-turkey rehab, don't let them out until they're clean.

Treating drug use as a criminal justice problem rather than a public health problem is more expensive and gives worse results.

I think it's weird to ask tax payers to fund a very much more expensive programme (of police officers catching heroin users; of courts prosecuting them; of prisons holding them) especially when that programme has provably worse results (more harm to drug users; more harm to society; more cost to society) than treating drug use as a public health problem and providing harm reduction measures.
The LD-50 of heroin is high relative to the recreational dose; it's widely regarded to be a relatively safe drug, when administered pure. Many governments have programs that administer heroin prescriptions to addicts, e.g. Switzerland [1].

Wikipedia gives the overdose level at 75-600mg[2], and Erowid reports the recreational dose at 5mg[3] (both for "opiate-naive" individuals, i.e. no tolerance). >10x is a high safety margin; alcohol is of the order of 10x for reference.

The piece you're missing here is that the primary risk of accidental overdose is greatly increased with illicit heroin where the purity is unknown, and can fluctuate wildly as it always cut to some extent, but seldom predictably so.

In the case of heroin, most of the harm from usage is directly caused by prohibition.

[1]: https://www.ncbi.nlm.nih.gov/pubmed/11705488
[2]: https://en.wikipedia.org/wiki/Heroin#Overdose
[3]: https://www.erowid.org/chemicals/heroin/heroin_dose1.shtml
That's the interesting thing, maybe Trump won because he was a smooth talker but why did the Democrats lose all those seats in the legislature? Does it just mean Dems never even voted? I guess why
bother putting the shoes on when CNN and NBC have been showing a solid blue map for months on end and experts discussing grabbing of genital parts for days and days.

In all the discussions I heard so far on Facebook and media I noticed a lot blame, name-calling, despair and so on. But I haven't seen enough solid self-reflections. Specifically focusing on why did the Democrats stay home that day. Without it we will have another Trump and then another ...
Line drawing colorization using Chainer and neural networks
The notion that that clause allows the President to override the INA's ban on country-of-origin discrimination was challenged in courts over 40 years ago and proved false. Further, it doesn't pertain at all to lawful permanent residents of the US, so you've also moved the goalposts.

The subtext of these arguments is that we should be less outraged, because green-card-holders were lucky to be here at all and reside in this country knowing they can be removed at any time. That's plainly, flatly, objectively false, in addition to being ethically dubious.
At least 50% of anybody will answer anyway you like to a loaded question.
> What are you going to do when they start taking drugs again and die?

Shrug my shoulders. Those things are banned because they're dangerous, and if people die while using them it's not like we didn't give them enough fucking warning.
I basically agree with you, but your analogy actually happened:

Woman says red zone painted after she parked:

http://abc7news.com/news/woman-says-red-zone-painted-after-s...
Trump Visa Ban Also Applies to Citizens with Dual Nationality
You're just being xenophobic. You do realize that all of America was built up by immigrants, right?
Fuck that, don't silence yourself. There's no reason why you can't get involved in other ways as well.
Raspberry Pi Zero – The $5 Computer
This repo was trending on http://www.gitlogs.com/ today, just thought I'd share it.
Not to mention releases and announcements that industry folks release on twitter. For me, it's usually JS related, and I hope that js.org becomes the go-to resource that it has the potential to be.
Maybe it hasn't been long enough since that happened, but it'll make for a hilarious story in a few years. Just trying to help find the silver lining.
> If Trump issues an order that Congress didn't like, what could they do?

In terms of substantive, direct, responses (e.g., excluding retaliating against other Presidential initiatives and appointments), major notable options include:

(1) Expressly prohibit the things called for in the order by legislation (overriding a veto, of necessary);

(2) Sue the administration claiming the order violates existing (statute or Constitutional) law;

(3) Impeach and remove the President.
By sequentially transmitting whole directory trees? FTP-the-protocol never had anything useful to say here. It's always been about FTP-the-client and these didn't need things like "control channels" and "active mode" to do what they're doing.

FTP is a pretty conceited protocol, and one that deserves to go away. People say it made more sense in the 80's, but I was there and even then *NIX/Solaris admins found FTP to be about as much fun as that IRC pingback identd service; which is to say not very fun.
>Volunteer to help immigrants assimilate

I thought the idea of immigrants assimilating was considered "racist" nowadays.

Perhaps Trump really has moved the Overton window a bit?
>They are not moving to chip and pin, but chip and signature: very different.

No, that's not quite true. They are moving to chip+pin, but some card issuers are not currently issuing PINs. However the machines themselves fully support chip+pin (and I can confirm this, as most places in the USA now require me to enter a PIN for my card).

http://www.creditcards.com/credit-card-news/emv-faq-chip-car...
Admittedly, there was a much larger threat of large-scale foreign invasion at the time.
Prof. Nutt in the UK did some research on this, if you're interested in an objective analysis of this subject.

http://www.economist.com/blogs/dailychart/2010/11/drugs_caus...
Its just a sign-up page. Please read https://news.ycombinator.com/showhn.html

"If your work isn't ready for people to try out yet, please don't do a Show HN. Once it's ready, come back and do it then.

Blog posts, sign-up pages, and fundraisers can't be tried out, so they can't be Show HNs."
So, a bad design that sells well, but hides the important signal.

In case of natural gas, we have long long time ago started mandating odorization (after a lot of silent deaths): https://en.wikipedia.org/wiki/Odorizer

This time, we basically allow laser cutter manufacturers to ignore these lessons (learned with a losses of thousands of lives).
People have tried to take this "we're better than them" approach. The problem is that the other side isn't playing nice. Gandhian non-violence only works when the other side has a smattering of conscience; it is not so for Trump's administration.
Strictly speaking, the British PM's legal power comes not from Parliament but from the Monarch - they are a minister of the Crown, first in rank among the Lords Commissioners appointed to collectively exercise the office of Lord High Treasurer, one of the Great Officers of State. Now, as a matter of longstanding convention, the Monarch will appoint whoever commands the confidence of the House of Commons-but that convention is nowhere enshrined in law.

Turning to the US, under the US Constitution, Congress is arguably the most powerful branch, since Congress has the power of impeachment to remove the President and judges (including Supreme Court Justices), whereas neither the President nor the Supreme Court have any corresponding power to remove Members of Congress. Congress can impeach Trump but Trump can't impeach even the most insignificant Representative.
A great toolkit -- there's a bunch of goodies here, but tty-table is amazing, from the sensible API to the configurable ASCII to Unicode renderer. It compares favorably with Hirb, the only other library I know of that draws console tables and supports Unicode box drawing characters.
I'm really sorry, I'm not sure I follow what you're saying here, but I am confident that you're pursuing a different argument than the one I was, and I'm just not interested in it.
Travis Kalanick and "standing up for what's right" are mutually exclusive. I thought this would be about finally paying Uber drivers more than starvation wages, and was not too surprised to see it is just a PR stunt.
The really cool modems of the 1988-1992 period implemented proprietary on-the-fly compression on top of 2400 baud. This was standardized as V.42bis.

As a reference, I could usually read a text file faster than 2400 baud (roughly 240 characters per second) but not faster than 2400 baud with V.42bis compression.
But hand rolling is also hard and annoying to support if you want to support long-name options and short name optionals, out of order with potential spaces in odd places that still work as most users will expect them to along with reasonable usage-instruction documetantation.