skysight-inc/HackerNews huggingface dataset:
Well, no one's saying it's easy to pick up and move. But sometimes it's just necessary.
Daily Bite of Python: eval() is exec's evil twin
The thing is, people do. That's part of the problem. Who leaves? The most able, the most motivated. Those left behind? Less able, less motivated. Which makes it worse.

This was my own father. He came from a little west of that belt, the tobacco farms of south central Kentucky. He got up and left as soon as he could. He never even graduated high school. When I was a kid, we'd visit my grandfather's farm. I thought it was heaven - Kentucky is extraordinarily beautiful. But they didn't have electricity or running water. Not really something a five year old notices, but an adult remembers.

Incidentally, the exact same problem has happened to inner city black neighborhoods. In the pre-civil rights era, blacks simply weren't allowed to live in white neighborhoods, so the doctors, lawyers, business owners, and other talented and determined black leaders lived in the same neighborhood as the poor. Once they got the ability to live somewhere nicer, they left, leaving ghettos full of addicts, gangs, the uneducated, the disabled, basically people unable to leave.

It's really difficult for people who have grown up with the privileges of middle/upper class to comprehend what it's like to live in poverty. It's not just that you're poor. It's that you're surrounded by losers, because all the people with talent have already left. When I was a kid, I didn't know anyone wealthy, except those men my father worked for, whom he hated. I didn't know anyone well-educated, except teachers. The most successful adult I knew owned a motorcycle dealership, and not a very big one.

And as soon as I was old enough to live on my own, I left. I went to a great college and met a whole new class of people. But mostly, I was running. I got up and ran, and kept running until the stupid racist redneck bikers were long behind me. Because when you have talent and you live in crap, that's what you do.
LLVM Meeting: Swift's High-Level IR: A Case Study
Police pull over self-driving Google car for doing 25mph in a 35mph zone
El Camino is annoying enough to drive on that it really would be quite frustrating. Depending on the time of day.
> Lua uses floating point by default, it can't make integer math at all

JavaScript does this too. The fact is that with 64 bit floating point numbers, you can exactly represent every integer from -9007199254740992 to 9007199254740992, which is larger than the range of `int` on most systems anyway. 5+6 resulting in 13 is not an artifact of using floating point numbers. CPUs or GPUs don't randomly lose precision like that.

32 bit floating point numbers can exactly represent every integer from -16777216 to 16777216.

See also http://www.lua.org/pil/2.3.html
does it still work if you have the xcode-project? (downloaded the file yesterday, but never tried it out)
It seems to me that transmitter chipsets should work with an optional resister/register that is hard-wired to the market.. in this way the device firmware won't be able to utilize the antenna out of band, or at least the drivers should/could use this as a guide, and with most device drivers of this type being included as closed/source blobs, it would be less of an issue while allowing for userspace mods like dd-wrt, open-wrt and tomato to continue working.

edit: Maybe having a dip switch panel under the cover, so it could be user modifyable, but not the "default" for a region.
As George Carlin said; your rights can be taken away whenever convenient. Thus, they are not really rights at all, but temporary privileges.

http://youtube.com/watch?v=m9-R8T1SuG4
Yep, I was backing you up.
Yes, but the town wouldn't exist at all were it not for the coal-extraction industry. I think that was the point being made.
This touches on an interesting topic: how robust implementations of most algorithms go well beyond what you're taught in an algorithms course. There are tons of optimizations that matter when dealing with real world data that don't matter for algorithmic complexity.

Two links on the subject:

Bentley and McIlroy on Engineering a Sort Function: http://cs.fit.edu/~pkc/classes/writing/samples/bentley93engi...

Tim Peters' Timsort: https://en.wikipedia.org/wiki/Timsort

https://mail.python.org/pipermail/python-dev/2002-July/02683...
I've played with micropython on an esp8266 board, this one in specific: https://learn.adafruit.com/adafruit-huzzah-esp8266-breakout/... and it is quite nice, although it still lacks much of stdlib as it all has to be written from scratch.

That being said, the project is fantastic and they're on github, so send them pull requests:

https://github.com/micropython/micropython
Well, it depends on what I'm doing.

If I'm doing some front-end stuff, I'll use Javascript. I most certainly will not use something like GWT because I want my entire codebase to be Java-only.

I've used Ruby, Python, and others. I'd like to get back into Haskell at some point when I find the time. My current little side project is written using (mostly) Go and Javascript (I'll have to post a "Show HN" sometime, maybe).

Right now I'm really digging Go for network services :)
Few people care about IT security; it's not just in healthcare. It doesn't matter how high the stakes are, for some reason people just don't feel threatened. To see the pattern think of the attitude in almost every context you can think of:

* Business

* Individual citizens, who seem to care little about the confidentiality of their personal information

* Government

* Developers of most software. Even RSA was hacked.

* Even national security organizations: The OPM hack; Snowden walking out of the NSA with all that secret data; CIA leaders taking home top secret information, etc.

Perhaps it's human nature. On the other hand, when it comes to physical security, people often tend to overreact.
Wouldn't it just make the money worth less?
Right now every one starts at $0, after the change everyone will start at e.g. $1000, so you just move the axis, at some point prices in stores will increase because people have more money and this will eventually lead to the point where $1000 is worth almost the same as $0 where we started.
Just as native as French Wine vs Italian wine. Ingredients and production process are what create the product - the optimization is local to the potential flavors inherent from those ingredient processed in that way.
I've been using Scala primarily for a few years now after using Java since the 90's. Well written Scala code is much more pleasant to write and maintain than Java (true even for JDK 8). Scala's feature set is great, but you need to have good taste to use it effectively. It's a bit like the gang of four design patterns which some developers, especially Java developers, go looking for places to apply as many of them as possible. Rather consider where the features add value - they are very useful when used appropriately. When used sensibly Scala is amazing. You just have to keep an eye on the new guys so that they don't just use advanced features all over the place where they aren't appropriate. Fortunately that type of behaviour isn't that common but does feed the Scala is complex meme. After a few years with Scala I consider my time spent primarily with Java as lost years.
The list of countries that the UK hasn't invaded at some point is actually pretty small:

http://www.telegraph.co.uk/history/9653497/British-have-inva...
On Intelligence: A Dialogue of Pamphilus and Euphorion
Next Time – Ask for $1M. A Year. I’m Not Kidding. – SaaStr
Which just goes to show that mining coal at the exclusion of all other economic activity in pursuit of the almighty dollar doesn't mean you'll have any at the end.
Federal Reserve Notes are bearer instruments. If my wallet has any indication of who owns it, the presumption is that the owner of the wallet is the bearer.

If you really want to get hairy, put the cash in an unmarked envelope and put it on the front seat of a car owned by someone other than the driver. Now prove who owns it.
all the smugness of RadioLab mixed with the talking-down-to-ness of VOX. Thanks, #content internet!
Images of german police taking action against squatters 25 years ago
The right to unreasonable search and seizure at the Federal level supersedes all state law. This was just a bad Supreme Court decision, morally in the same "ballpark" as Plessy vs. Ferguson
> How very undemocratic of you.

Yes, it is. So what? Democracy is not a silver bullet. Some problems it solves well, others it can't tackle.

> Sometimes the law from top down is incorrect.

Sometimes it is. And sometimes it isn't. I argue this is a case where top-down approach is the right one.

> The experiences of stakeholders matters.

I think health and life of innocent third parties should matter more.
Sure, but the underlying primitives are better. Specifically it supports quite flexible binary replication including the new logical replication features.
With this you can build things like Manatee[1] which enable effectively seamless HA. The platform I am currently working on Flynn[2] uses a variant of this state machine to implement an effectively maintenance free Postgres cluster.

In future though there will be support for bi-directional replication in Postgres, i.e true multi-master support.

[1] https://github.com/joyent/manatee
[2] https://flynn.io/
there was a recent discussion about this from Cato: http://www.cato.org/multimedia/daily-podcast/policing-profit...

here's the web site by the people who gave the talk (the paper is downloadable from the right margin) http://ij.org/report/policing-for-profit/
Mac Store Apps Stopped Working Due to Expired Security Certificate
Didn't seem to work for me in Chrome. I got a face outline, but it never drew the overlay.
How Chinese Tinder clone screws you
I wish at least beginning science and math books had been written like this :)
The Right to Fright (The Economist on Safe Spaces)
Israel is only "widely believed" to have nuclear weapons.
What if you were just passing through and they hit you with a bullshit charge, the fine for which is "give us your gun?" That's the way these laws often work. They snag people who don't live in the area and don't have the resources to fight them in court (especially if you seize their money).
The only real reason blatantly anti-constitutional law such as blanket seizure/confiscation hasn't happened on a large scale yet (because they've sure as hell tried) is that, if such laws were passed, the powers that be would suddenly find themselves in front of an enormous number of very angry gun owners who (hopefully) would be less than willing to cooperate peacefully.
Are you implying you're not supposed to use joins in SQL?
Arguments like this are why it's a good thing we don't base our criminal justice system on statistics.

"Innocent until proven guilty" is very different from "Guilty because most people in similar situations are guilty, so let's not bother to prove it in this case."

The cops would have a field day, for instance by arresting college students at random on the weekend because statistically most will test positive for controlled substances.
If this group has had enriched uranium for sale for the past sixteen years you would think that they would have sold it to North Korea or Iran a long time ago.
Didn't civil forfeiture take off as a way to counter the rise of drug monies making kingpins? If to a great degree it's true and simultaneously we're reëvaluating cannabis and society and reëxamining three strikes laws, etc., I would hope we also take a critical look at this shift in burden of proof transferred to the accused with the hope it goes back to the prosecution.
Why is this a bad thing? We don't want to pay ANY taxes, so this way only THE BAD PEOPLE pay to fund the municipalities that do this. ARE YOU A BAD PERSON? OR ARE YOU ONE OF THOSE TAX US TO DEATH PEOPLE?

Obviously I'm not serious in what I wrote above. The serious point I want to make is that this is one of the many unintended side-effects of the whole 'lower taxes for the sake of lower taxes' movement. Don't say I didn't warn ya.
It becomes much simpler to setup replication in PostgreSQL than before.

reference: https://www.digitalocean.com/community/tutorials/how-to-set-...
Rousseau's social contract, while a fine piece of work, would almost certainly advocate a monarchy for a state the size of America. Its use here seems to be an appeal to authority, which seems odd as there are no mentions to it anywhere within our governing documents, upon which a less spurious legitimacy is bestowed.

Beyond that, categorizing anything as "inherently legitimate" is fraught with peril. One could perhaps surmise that all things are legitimate within a democracy, but so long as the favors of the majority come at the expense of the minority, that claim is disputable.

Beyond that, I don't really know that Rousseau's contract would invalidate a North Korean government as it exists, and North Korean citizenship precludes the option of defection.

The biggest flaw I see with the assertion that "if you want to live here, you agree to pay taxes" is that there's no opt-out policy in America as it is. If you object to the taxation, and wish to opt out, your only path is expatriation, with its associated expatriation taxes.
Tuning Django ORM (part 2): Many-To-Many Queries
XaaS Distribution 101: 10 “Partner  the Core” Growth Modalities
I had read somewhere that there were talks of creating a smaller subset of Scala, one that's easier to learn. I believe it wasn't going to have implicit arguments (or conversions?).

I think Odersky had mentioned something of this kind. Anybody else remembers something of this sort?
So, this is a great explanation. I have never heard it expressed this way and I love it.

However, I am a little confused. In your first paragraph you say that 10's prime factors are 5 and 2, so 1/10 can be expressed cleanly. In paragraph two you say that binary only has a prime factor of 2, but 10 is divisible by 2, so why doesn't 1/10 express cleanly in binary?
Weren't breeder reactors solving that problem?
Exactly. In a weird way, it feels a little more like physics - like you are tracking the position and momentum of a single rigid object while all kinds of things are trying to move it forwards and backwards.
Managing a crowd – Would you like to start a border crossing business?
>Mercenaries will be seen as a foreign defense mechanism against terrorism, like what we see the TSA doing at home.

The TSA is killing people and without trial at that?
Most likely the captain choosing to turn it off. If you look at Coast Guard & Pilot boats they'll usually leave it on as they leave the dock and make their way out. Then it's off. Not very effective at interdiction if you're broadcasting your location.
> So run for office.

No thanks. In my experience, participation inside the political machinery is a waste of time, about as useful as joining the KKK to influence its members to stop lynchings. I think non-violent direct action is a more effective strategy.
Agreed, love Scala, and I think it can lead to super maintainable code bases, but you do have to be careful. The worst offence is probably when people start to get comfortable with implicits, and start throwing them everywhere, definitely need a good code review process to stop that.

Also, the article left out probably my two favourite parts about Scala - awesome language level support for concurrency, and pattern matching. Whenever I go to languages without these features, I really miss them.
They should realize this implementation of the law is a moral hazard and it should be avoided.
Dang (or whoever is minding the store right now): A minor concern, but something is wrong with the time on comments:

* I posted the parent comment yesterday

* Currently, it says "2 hours ago"

* If I click "2 hours ago", the new page still says "2 hours ago"

* If I click "reply", the new page says "22 hours ago", which seems plausible.
I don't think North Korea or Iran have much need of a single bomb's worth of enriched uranium. They have far more interest in producing their own.
Browsers are likely the only place people are using v8 to run arbitrary hostile code.
Home office desk of an aspiring product designer
That assumes they are working in concert, and it's not a big set of affiliated but largely separate organizations working in their own best interests. I think it's far more likely that it's not cost effective to fight for the police if the person they seized from is motivated, unless really large amounts are at stake, in which case the possibility it was entirely legal is probably somewhat lessened, so the case isn't brought forth.
You would think that, but most people who retire early get really board in around 6-12 months.

Often your friends are working so they just don't have a lot of time to have fun on week days. TV is much worse in the middle of the day. Sure, it seems like adding 40 hours a week of free time would not change much, but it often feels like 4x as much free time due to all the unnecessary activity's around work that suck up time.

Finally, many things are fun while your tired at the end of the day / week to unwind, but get boring when your wide awake and full of energy.
Indeed. Income earners usually can't escape the income tax. Capitalists very easily can. Or they at least can defer it indefinitely and live off of investment gains (for example, by using holding and investment vehicles)

At the end of the day, it's simple math. Live in country X, pay 33% when sold. Live in country Y, pay 15% when sold. Live in country Z, pay nothing. When we're talking about millions in tax, Monaco/Belgium/Malta/the UK do become very attractive very fast. After all, you can always return a few years later and live like a king.
What I always wonder: why flare it off instead of using the gas to provide for electricity and heat for local usage?
1. `iw reg set JP` is exactly what this regulation seeks to prohibit, i.e. if you are selling WiFi hardware in the US, you have to be damn sure that no one will be able to switch it to channel 14.

2. Even with `iw reg set JP` you won't be able to go above channel 11 if your system contains an Atheros adapter certified for US market only. Even using other hardware, suitable for the job and certified by whatever agency Japan has.

The only solution is `rmmod ath` or patching the mac80211 stack. Or avoiding Atheros hardware, as I do. Not that I have anything against Atheros, I'm sure they wouldn't bother implementing this bullshit logic if they didn't have to, but their hardware is simply a PITA to use because of this.
So they changed the language, and the new language is

> Describe, if the device permits third-party software or firmware installation, what mechanisms are provided by the manufacturer to permit integration of such functions while ensuring that the RF parameters of the device cannot be operated outside its authorization for operation in the US. In the description include what controls and/or agreements are in place with providers of third-party functionality to ensure the devices’ underlying RF parameters are unchanged and how the manufacturer verifies the functionality.

Hardware locking to correct frequencies would satisfy this requirement. But it also sounds like getting in touch with the authors of common third-party firmwares, and getting them to agree to stay within FCC might suffice? That isn't totally clear, but it seems like that would be the ideal: hardware manufacturers some risk of power users reprogramming their radios incorrectly, but keep an eye on things so no one publishes software that leads people into doing it by accident or makes it too easy.
I live in Boston as well. What service provider do you use to get that speed?
They could call it Java.
Down voted to -4. Really? Are you guys just completely lacking in humor or are you just angry at anyone who laughs because you were brought up with no appreciation for laughter? What is it with super fragile egos? It's not about you! Don't be so vain. Jesus.
I think you should absolutely ask to go see them. Reason: you learn way more about people in person than you do on a phone/video call. In fact, if I was in the startup and I was planning on spending roughly 10X that amount every month on an engineer, I would want to spend that money to vet the candidate thoroughly.

Also, 1.2K+ ?! It costs me $800 to fly from NYC to Stockholm. Are you in Hawaii or something?
> For what its worth, perl6 passes this test with flying colours.

This is because Perl 6 decimal literals are stored in a built-in rational type called Rat, which internally stores numbers as ratios between integers. So that 0.1, 0.2, 0.3 are internally stored as the tuples (1,10), (2,10), and (3,10), and the decimal value you see is just the string representation and not the actual internal value.

If you want your decimal literal to be floating-point (called Num in Perl 6), you want to add e0 to the end.

To wit:

perl6 -e 'say 0.1+0.2-0.3' reveals '0'

perl6 -e 'say 0.1e0+0.2e0-0.3e0' reveals '5.55111512312578e-17'
How DevOps and Docker Are Changing Legacy IT
Even North Korea pulled it off. Nuclear weapons are 70 year old technology.
I think mechanism is a better lens to use than spirit of the law, especially since the US Constitution is framed with distrust toward the government, and a favoring for mechanism as a leash.

What are the mechanisms or processes by which we expect to be protected? Since this is a civil case, one would have to hire a lawyer with their own money.
Which is why either they have enough to arrest you, enough to get a warrant, or they don't take your property.
Some rights are inalienable, so they cannot be taken away, just violated. The right to justice is one of those. The right to life. The right to free expression.

It's pretty obvious that they exist, otherwise nobody would really care about murder, rape, theft, fraud, lying, etc. So the burden of proof is on those that want to limit or deny inalienable rights.

George Carlin is hilarious (at least in general), but ironically gives abusers a lot of ammunition with this argument.
I've heard it said (and I don't know how true it is) that during the Reagan (I think) administrations, they "convinced more than half of the people that they were in the top 50%", meaning that people began to think of themselves as more well-off than they actually were, and started spending more than saving.

I have no idea if that's accurate, but it's an interesting thought. For the economy overall, it's probably best if everyone buries themselves as far into debt as they can, because it increases spending tremendously. Max out credit cards, buy as much "stuff" as possible (cars, real estate, college degrees, whatever).

The problem is that when the first real bump in the road comes along, suddenly most people are leveraged to the hilt and can't absorb the hit. And it feels like as long as I've been conscious (and maybe longer, who knows), we've been in this cycle of "easy money, spend spend spend" followed by "crap, bubble". Sure there's money to be made on the upside, but there's even more to lose on the way down.
I believe the 20% threshold was chosen because that represents the largest plant and processing cost step in enrichment.

In other words once it is at 20% you can use a much smaller enrichment plant to take it to weapons level due to the nature of the cascade. My back of the envelope calcu-guess is that 20% enriched represents about 95% of the work on the way to weapons grade. [edit: guess based on only isotope ratios, not any specifics of yield of the various enrichment processes]
All browsers have vulnerabilities.
A fraction can only be expressed 'cleanly' if its denominator uses only the prime factors of the base.
> SQL is fine, no problem with it unless you are embedding queries in a OO application

which is essentially every single production deployment of a SQL database in the last twenty years. That's the problem.
We're drowning in low quality information