skysight-inc/HackerNews huggingface dataset:
Regarding constitutionality, FYI:

Back when the U.S. constitution was written, visas did not exists, and getting permission to immigrate was uncommon. You could literally walk into most countries without any papers. As such, the enumerated powers of Congress actually only contains the power "To establish an uniform Rule of Naturalization" (Article I, Section 8, Clause 4). Nothing about restricting immigration.

The US did not regulate immigration at all until the passage of the Chinese Exclusion Act (1882). The Act was challenged in the courts, and the SCOTUS ruled that Congress' power to "To establish an uniform Rule of Naturalization" meant that it could also exclude people from entering the country – which is quite a stretch. For more, see: http://openborders.info/blog/immigration-

Popular opinion at the time was that Chinese and other Asian people were unfit to be part of American society, and the SCOTUS was willing to stretch the meaning of those words in the Constitution to grant Congress the new powers necessary to exclude them.
well whilst hardware tokens are not always the right answer, there are good reasons to resist their replacement with things like "SMS 2FA" which isn't really 2FA at all ,as you have no control over the receiving device, leading to it becoming 1+1FA in a lot of circumstances (e.g. apple continuity, skype account etc)

I've actually been disappointed to see the opposite (companies moving away from providing hardware 2FA) as other options are perceived as cheaper, despite potential weaknesses in the security model.
The UK is still printing its laws on vellum
You need to provide the Tails ISO, downloaded separately from Tails' website. The installer does not download or reuse anything from host machine.
I am a big fan of people making their own tools. Making tools for other people is harder because other people don't already have all the bits and pieces of experience that the tool embodies living in their head.

Over the long term, I think good "keystroke saving" shortcuts requires a help system and documentation...the forty year old example is Emacs:

the extensible customizable self-documenting
display editor

Otherwise, it is hard to come back and figure out the context...It's a lot of work, but pays off many times over the long term.

BTW, this might make a good "Show HN".

Guidelines: https://news.ycombinator.com/showhn.html
The glowing Apple logo has to have some mysterious purpose I don't understand besides drawing attention. Apple knows perfectly who their users are.
Ok, I thought "breaktrough" brings you closer to something.

Eg. saying that "switch to Heliocentric worldview was a major breakthrough for Geocentric theory" sounds really weird to me.
>> These found success with their "poor" design and discovery

To be fair, both Digg and Reddit have very simple interfaces which work quite well from a UI/UX perspective. And after Digg's redesign, it's actually much easier to find stuff I want to read. Reddit for better or worse, has stuck with their simple design and the users still love it after all these years.

I will agree however, both sites lack of a decent search functionality, Can't remember how many times I found something interesting on Reddit and tried to come back the next day to find it and only found stuff from a year ago after entering the entire title of the post. Digg is the same way.
Building an online bookshelf with Go
Golang news
One of the silly things about member functions is the effect that they have on argument ordering when ordering is not supposed to matter.

For example, consider "operator +", which can have in-object or function implementations. The ridiculous thing is that, for any two types in an expression like "+", you can't tell from observation if it will compile! Is it only available as a member function? If so, then any primitive left-hand argument in this supposed-to-be-commutative expression must be swapped to the right side, or wrapped in a pointless object. The same problem can exist for non-operator functions.

At least now with "auto" and other implicit typing (and even tuples and std::get<needed_type>), there is a chance to write single functions that work around messes such as these.
10 Years of Thinking about Pair Programming
Aah got it. Will look into it. Also if you are on iOS check out the native app?
> Is that possible with shell [...]

#!/bin/bash

set -eu

<actual work>

Explained:

-e Exit immediately if a simple command exits with a non-zero status, unless
the command that fails is part of an until or while loop, part of an
if statement, part of a && or || list, or if the command's return status
is being inverted using !. -o errexit

-u Treat unset variables as an error when performing
parameter expansion. An error message will be written
to the standard error, and a non-interactive shell will exit. -o nounset

Worth a read: http://ss64.com/bash/set.html
I thought we already knew that current tokamak designs were very poor in containing plasma due to unpredictable turbulence — ever since the 90s (I remember writing that in a senior high school-equivalent report on fusion), even. Hence the reignited interest in stellarators.
Dibs on the name Clockchain. We're fully logging every second that elapses. You'll be able to verify how many seconds were in every minute, how many minutes were in every hour, etc. Very handy for generating test cases that expose subtle bugs involving leap seconds. Check us out at clockchain.io.
I've got a wedding tattoo. That's more permanent than any ring, and a better proof of commitment, at much less cost.

Though the best proof of commitment would be to invest in and provide for a common future. Buy a house, take care of kids, etc. That's real commitment, not just some hollow symbol at extravagant cost.

But if you do want extravagant expense as proof of your commitment, you could also spend it on the wedding itself. Why not go for a $10K wedding instead of a $10K ring?
In my neighbourhood it is normal to hire people for a trial period first, up
to three months (this timespan is regulated by law).
I go one step further - I block all access to Adobe's update servers at the router so it can never get there.
Based on the price of the hardware. I remember purchasing Mac OS X Snow Leopard for 20$, I don't even count that in.
Not really. My Japanese roommate would say いただきます when by himself at his desk before eating a candy bar. It would be surprising if even one English speaker in the world regularly says "Bon appétit" in that situation.

The question isn't, "How do you say いただきます in English." The better question is, "Do English speakers have a set phrase they say right before eating." And the answer is no they don't.
Summoners War Hack 2016 No Survey (Android/iOS)
Also, a lot of the landlors just live outside of London (usually in a cheaper city/country).
> It's easy to imagine how this sort of thing would happen - manual test guys don't have hidden folders in their root directories because their boxes are locked down by corporate IT and they can't create any folders in the root directory.

This is what QA is for. It should be thorough, more thorough than you imagine and performed by someone other than who wrote the code.
It is indistinguishable to any individual consumer or producer, and usually to the government, but in aggregate, it is distinguishable by comparing the amounts of the deadweight losses before and after the change. The consumers only see where the market is trading relative to their position on the demand curve. The producers only see where the market is trading relative to their position on the supply curve.

Any party persuasive enough to know the total price and quantity traded in the market might be able to estimate deadweight losses by analyzing the market data before and after changes in the magnitude of manipulation, and extrapolating from the slopes of the two curves.

If a reduction in a tax is paid for by an increase in another tax, the effect is determined by the shapes of the supply and demand curves in those different markets, and is not easily calculated, as any given consumer or producer only knows a tiny fragment of the information needed.

That's the problem with the science of economics as a guide for political economic policies. No one gets mad about the numbers they can never calculate. Even though every tax and every subsidy inevitably results in the metaphorical equivalent of digging a huge hole, throwing tons of other people's money in, and lighting it on fire, no one really knows whether that bonfire is a net benefit or detriment to them, personally. Some people would be quite happy to burn $100k of other people's money if they got an extra $10k for themselves as a result. Some people would be happy to destroy $100k forever, just to reduce the total number of tobacco cigarettes sold by 0.5%.

As a thought experiment, imagine an economy with only two goods: Foo and Bar. Now copy it. In your copy, you tax Foo by 10% of its final sale price, and every last penny collected from that tax goes to subsidize Bar. Run both simulated economies in your head for a few years, and try to determine the effects.
Obviously, that just makes a very bad situation much worse :-)
Aussie education officials bought shares, took jobs in sub-contracted IT company
Mark Zuckerberg hired 16 bodyguards to protect him at home
This wrapper[1] helps me edit LaTeX fragment in Vim/Emacs...

[1]: https://github.com/linktohack/lyxit
No. Structural types are called structural types. The best known typeclass implementation is that of Haskell where they're built into the language, but Scala has them as a pattern implemented with implicits; I can try to explain the concept here if you like but honestly there are probably better explanations out there.

Typeclasses are more powerful than structural types in that the implementation doesn't have to be there already (i.e. you can have an automatically resolved adapter). You might be able to hack an implementation by combining extension methods with structural types (though given the internals of how extension methods are usually implemented on the JVM I doubt it). They also allow a way to do "static virtual methods" i.e. polymorphic methods that you don't need an instance to invoke, which are used for things like Monoid#zero. Finally they provide a nicer way to express F-bounded polymorphism (i.e. the constraint on Enum or Comparable that we try to express in Java as Enum<E extends Enum<E>> or Comparable<T extends Comparable<T>>, which is clunky and doesn't actually fully constrain implementations the way it's intended to).
I find it interesting however that even the more mature companies I interviewed also prefered using open source software. Like one of the CTO's who's company have 30+ employees.
How I Learned to Stop Worrying and Love Golang (2013)
Oil is the rate limiting reagent for industry, so causation goes the other way. A rapid oil crash is a clear indicator of a slowdown.
I don't think so, this time:

http://gamasutra.com/view/news/169296/Indepth_Functional_pro...

"My pragmatic summary: A large fraction of the flaws in software development are due to programmers not fully understanding all the possible states their code may execute in. In a multithreaded environment, the lack of understanding and the resulting problems are greatly amplified, almost to the point of panic if you are paying attention. Programming in a functional style makes the state presented to your code explicit, which makes it much easier to reason about, and, in a completely pure system, makes thread race conditions impossible."
People supplied small scale infrastructure for free

Maybe that's the answer, then. Speaking of media and journalism, I see very little of value coming from the large centralized outlets nowadays. There's entirely too much agenda pushing, non-objectivity being paraded around as if that's a positive, "native" advertisements, banality as "breaking news", and all the other nonsense everyone already knows.

Think about it - look at how guarded you have to be when consuming news to ensure you're not consuming an advertisement or a propaganda piece. Look how often you have to ask the question "What is this person trying to get me to believe?"

This shouldn't be necessary!

I think we can do better. And I think the problem isn't with the players per se, but with the game as its rules are currently written. That means we start over, with a new architecture, new everything.

Call me an extremist, but I'm quickly coming to the conclusion that things like news shouldn't be profit makers. The desire for more money in that industry perverts just about everything it touches. What good is paying reporters to go source facts if they're going to be distorted and manipulated by the time they're presented to the public?
Thanks for the feedback :) It's the first one - condensing the best news for that hour, from sources which have a lot of posts
It changes everything for consumers. I don't know about people around you, but around me 99% of people just use their smartphone to either 1) play such silly games that they make 80's Pacman look like a piece of Art, 2) use Facebook messaging/email 3) use it as a (poor) camera 4) consulting news/weather 5) use it as GPS for maps/directions.

I see about no productive work happening on smartphones. It's a leisure device at best, or something convenient, but not something that will ever replace a PC with a proper OS and full keyboard.

Sure, there will always be the 1% of folks who does something else with their smartphone, but that's a very, very small minority.
Ask HN: Is there an Israeli equivalent of HN?
I'm interested in knowing more about what's going on in the startup scene in Israel and was wondering if there's a platform that's used to keep the community together.
Noam Chomsky and Marvin Minsky on the History of Artificial Intelligence
Instagram seems to have largely been left alone.

YouTube was left alone for done time, and very gradual changes seem to have been made. Even then there were issues.

But these are indeed success stories. That's two well known takeovers. But for every Instagram there are 5 Tumblrs.
Five factors that help create strong company values
Who says there's a single justification? And how would you carry a gold bar about on your person? Part of the security of gold jewelry is arguably that you will have it with you in an emergency, or if you have to flee quickly. The gold bars sitting in your vault will be much harder to access quickly.
> (These are morally repugnant laws to be clear; the choice is between an orderly society with some bad consequences, or an anarchic society with different bad consequences. I choose order.)

Why not a little of column A and a little of column B?

>I can't understand it and can't support it

Most people economically support slavery, albeit through a few layers of companies supplying companies. In the last 24 hours I ate a piece of chocolate from Nestle which I paid for, thus adding to demand that goes all the way back to child slaves harvesting chocolate.
How to make polished Jupyter presentations with optional code visibility
Mondo are looking at expanding outside of London. They have/had had an event in Manchester to onboard people
My understanding is that there is a preference in keeping the original source's title.
SaaS founders should be sending their new signups a welcome email
Typically you don't use dynamic allocation, making trees much more tedious to implement. The usual data structure is a stack allocated constant size array.

But if you really have to use recursion, you can always simulate it with a loop and an explicit stack. This way it's also easy to bound the stack size.
Your straw man is on fire
>most people are aware of population density

Half of Americans can not find New York on a map. Half can not find Mississippi. Most believe Alaska is more populous than any New England state etc.

>...they always show the total votes bar chart next to the map...

That image is used in at least 4000 places on the web[1]. Very few include the the vote bar you claim is always there. Even MIT omits it [2]

>I don't recall encountering sour grapes from even the least educated Republicans over the amount of the map colored red

And I have encountered quite a bit. Seems the people we happen to bump into at random are different.

>My point is the claim that these maps are being used to trick people, is exaggerated

Claiming that it is intentionally tricking people would be exaggerated. Claiming that it is incidental misleading people is spot on.

>the standard map is not useless

It is not completely useless. But is so nearly so that it clearly should not be the default means of presenting the information to the public.

[1]http://tineye.com/search/cdf0747ebb6fe87c0cc0f1dc1f21a35502b...
[2]http://news.mit.edu/2012/presidential-election-conference-10...
It's called 'election'.
> It means that oil companies have (collectively) predicted a much higher future demand growth than realized.

That might be an over-extension of the markets-as-preditive-tool view. I am more inclined to see the current prices as a consequence of latencies in the oil markets that prevent it from showing true supply and demand accurately. When prices were high, too many new wells were drilled at once because it takes a long time for the new oil to hit the market and bring prices down. When the new oil hits the market and starts reducing the price, none of the producers can cut back on what they send to market because they have to pay off the loans that they used to drill their wells in the first place.

The supply side is structurally unable to respond to demand, regardless of what they predict future demand to be.
What a knee jerk reaction. I agree that people shouldn't be shining lasers at planes, but ban them outright? I think that really there just needs to more education, and perhaps make people register if they want to buy the powerful lasers, so there's some paper trail in an event like this.
The person who clicked 'share' is the person who caused it to show up on my dash. If my dash gets too low signal-to-noise, I want to know who to unfollow.

Also, the original author isn't necessarily the main 'artist'. Sometimes most of the value comes from the replies.

I could pick words at random out of a dictionary and find something I'd change about tumblr, but that one doesn't seem too bad.
If you go to 'Manage sources' and set the default theme to dark - it will work for both 'News' and 'Inspiration'. But yeah dark mode everywhere (even in manage sources) is something we need to work on.
This is a big improvement over the previous setup, but I feel that it could do with handling the most insecure part of the process: downloading and verifying the tails iso.

It would be great if this installer could leverage the trust I have in my system to painlessly acquire and then validate the tails iso, without having to deal with

I just tried feeding a regular debian iso to the installer and it didn't complain at all. This shouldn't be possible - what if this was a bad tails iso?
And I'm 8 hours in to that process. Not 5 minutes. I've learnt a load of stuff I never knew about Android in the process, but the facts are it still doesn't work and I've wasted several hours.

And yes that's my fault. I probably started out by doing the wrong things and wasting a load of time. But I'm not stupid, I just didn't know where to begin.
>I think if we decided to strictly prosecute every transgression, we'd either end up in a police state or in a state where people rejected and amended dumb laws. I'm not sure which center of gravity is stronger.

So aren't we already in an unfair anarchic system, so what then is the problem when people cry foul that the system violates its own principles to give benefit to those least needing aid while strictly enforcing itself on those who most need help?
You should read a bit on history, for example: https://en.wikipedia.org/wiki/Anton%C3%ADn_Svoboda

There is a reason why smart people flee from dictatorships to democracies.
Ordnance Survey releases digital map of Mars surface
Just want to add my voice to everyone hoping for a writeup. I'm especially interested in the cost comparison.
CVE-2016-1521 Webfont Exploit in Firefox Because of Graphite Library
5 (+5) Tips to Start Mapping the Digital Customer Journey
Which would mean that when other producers see that demand for _their_ products hasn't actually fallen (and hopefully rises because gas-buying consumers have more money in their pockets), we should see a nice bounce back in stock prices for everyone but oil?
Well if you want to get out the yard sticks I've been writing Python for more than 10 years.

Exhaustive case matching is very useful, I agree. It is a common error in Python code (and in a similar fashion, to catch all exceptions however inappropriate).

> A dynamic language can certainly be good enough, but in my opinion never ideal.

If I think about it scientifically there are many cases where Python is ideal.

For example the scientific Python stack, Jupyter, etc is very popular and, "ideal," in the sense that people frequently use it to get real work done. They don't have to categorize every expression and can instead focus on the data and transformations. As a data-exploration tool Python can be said to be ideal.

It seems ideal too as the implementation language of OpenStack where the community supports over 4+ million lines of Python code. Could OpenStack have been better written in Haskell? Maybe. However thousands of contributors seem quite comfortable with Python and the process around developing reliable infrastructure software seems to catch critical errors in practice.

I believe that strongly-typed functional languages are awesome. There are many situations where I'd prefer one over the other. However I don't deal in absolutes and don't believe Haskell is going to be the hammer that screws every dowel.
We've been doing this for a while for a website that receives not too much traffic:

- we use a single server and the domain name determines which white label we are on.

- we use LESS and everything is variable. We load a single compiled CSS based on the domain.

- we never hard code anything, unless we know it's a single page for a single domain (everything is internationalized).

- the database contains everything and we filter out stuff a particular white label doesn't want.

This is because the website displays content (it's not a service like shopify) and most white labels want most of our editorial content, so syncing DBs is not an option (is it?).
We have 40+ white labels and unless the customization is heavy we can create a new one in a matter of minutes.
I'm surprised you left out airliners...
I think they were used in the most devastating terrorist attack in US history.

Once we start talking about banning rather than regulating, we've mostly lost the rational battle.
I've noticed a lot of tumblr blogs I used to enjoy simply stopped being maintained by their creators. In some cases they've even been deleted.

There still seems to be a vibrant community on tumblr, but it's different from the one that flourished five or six years ago. A lot of the design-focused bloggers have simply left.
I don't see this mentioned anywhere but it might be possible to turn graphite support off entirely via about:config

gfx.font_rendering.graphite.enabled

Graphite was turned on by default after FF 28

http://scripts.sil.org/cms/scripts/page.php?site_id=projects...

CVE-2016-1521

http://www.talosintel.com/reports/TALOS-2016-0058/

Firefox builds before February 11 are vulnerable https://www.mozilla.org/en-US/security/advisories/mfsa2016-1...

The directrun function in directmachine.cpp in Libgraphite in Graphite 2 1.2.4, as used in Mozilla Firefox before 43.0 and Firefox ESR 38.x before 38.6.1, does not validate a certain skip operation, which allows remote attackers to execute arbitrary code, obtain sensitive information, or cause a denial of service (out-of-bounds read and application crash) via a crafted Graphite smart font.
It seems to work really well at agitating Android users...?
Making all the charts