skysight-inc/HackerNews huggingface dataset:
The US is the guarantor of stability in the region. The problems with the base in Japan are classic NIMBYism, and I don't blame the residents. A bunch of boisterous 20 year old Americans will probably disturb a peaceful Japanese town.

Is the US claiming vast swaths of other country's territorial waters and building military bases on artificial islands? No, that's China. The US defends the countries that China is trying to bully that way.

South Korea, Taiwan, Japan, America. Seems like a righteous alliance of free people defending themselves against evil from China and North Korea. The evil of a boot stomping on a human face for eternity.

Edit: Any arguments from the downvoters?
To all the above - Vulkan is a next iteration of open API, not of MS lock-in. All this "lost" or not is irrelevant. Try using DX anywhere outside of MS systems, and then come back and propose using it if you succeed.
Here: "Extremely Beautiful. Very Cool."
People point to a few abuses and then say the Apartheid government was so terrible. But it did a decent job of providing safety and security, which is a basic human right.

The ANC undermined the police service when they were unbanned When they took office, they ran the police service into the ground. They do not protect the rights of minorities.
I found Yokoto air force base did not have anything written on any of the roofs. And even then, what would I need to see to believe you? "The US military is in full support of the North Korean dictatorship?"
There are plenty of cheap candybar phones that last more than a week on a single charge. I use a Wiko Lubi, it cost me around $25 and does calls and SMS just fine.
Our tool[0] for using persuasion principles on your site to increase conversion had a UX problem when setting things up. We'd like to have a generic way to detect what type of page a certain url is. Most obvious way was to go with regular expressions (/.\-.\-d+\.html for product pages for example).

Turned out this was by far the most misunderstood setting while it was most of the important ones. Target audience had something to do with it (marketeers), but even when Google analytics or google tag manager is widely used by them, setting up these expressions is really hard.

We decided to built an internal tool that generates a regular expression based on examples for which the regex must hold. We called it the regexhelper. It was so successfull that we made it into an external tool[1].

It's not perfect (in terms of generating the most efficient regexes), but it works fantastic for our audiences of marketeers. Planning to open source this as well!

An visual UI when dealing with regexes that are the result of our helper using this idea could be beneficial.

[0] https://www.conversify.com

[1] http://regexhelper.conversify.com/
Ancient Greek as a gateway drug to Mastery
All the prepaid phones I've found seem to have minutes that expire. That doesn't seem ideal for something I'd never use.
The top Google result for 'blockchain' is a scam ad
How much are the ongoing costs though?
> This is a strange thing to say.

That's a normal thing to say. One shouldn't assume student has to pay a tax to learn (i.e. Windows tax). It's inappropriate.
How is it a pyramid scheme? Investors pool funds and proportionally vote on what to invest in. There's no requirement to recruit new investors.
Cut the server hard line!
Exactly, I dont mean to beat a dead horse, but most bog standard web apps have the quoted items in a db anyway, and these are very common problems.

For example if we have a few tables we can determine which menu items a user could eat:

users
user_ingredient_exclusions
ingredients
menu_ingredients
menu

-- items a user can eat based on not having any items in the excluded list
select distinct m.*
from menu m
inner join menu_ingredients mi on m.id = mi.menu_id
left join user_ingredient_exclusions e on e.ingredient_id = mi.ingredient_id
inner join user u on u.id = e.user_id
where e.id is null
and u.id = @id
DAO stands for 'decentralized autonomous organization'. 'TheDAO' is an instance of a DAO, in this case their stated mission is to fund various projects related to IoT and the sharing economy that its members vote for. Apparently this is for-profit and proposals are expected to provide some kind of ROI, perhaps financial returns or physical delivered product.

Ethereum provides the decentralized infrastructure to support the voting and disbursement of funds from 'TheDAO' to the winning proposals. I don't know enough about ETH to understand the high level view of how it really works. It seems like all the websites devoted to Ethereum/DAO write in this entirely-devoid-of-substance style which is so breathless about how much it will change the world, it can't seem to actually tell you what's really going on.

Crucially, I'm not sure it's quite fair to describe this as $100m in funding. You can get your share of ETH back at any time, minus amounts that have been committed to approved projects. Ethereum must somehow guarantee this property.... It is amazing what a large percentage of all ETH (currently stands at 13%) has been committed, but I assume the refundable nature of it all is what's driving such large involvement.

One thing I found interesting is that the first 'Proposal' on TheDAO is for Slock.it, which itself is run by a team which was highly involved in starting Ethereum. If you read Slock.it and try to understand what they are doing, you will find it's exactly like trying to read and understand TheDAO -- so many words which just totally fail to make any kind of discernible point.

[1] - https://daostats.github.io/tokenvol.html
It is a natural thing to want to own the property you live on at least, even lions urinate on their turf to mark it as theirs. How would you start preventing humans from doing what every mammals has ever done ever?
>you should be using regexps all the time

Personally, I try to limit my usage as much as possible. Regexes are basically only useful for things I do in my terminal and occasionally verifying that data is well-formed. For practical parsing, it's almost always better (and runs faster) to use a more robust solution like parser combinators or lexer/parser generators. Even oftentimes for things that are seen as perfect regex use-cases (validating data or splitting strings), using a parsing solution will work better -- for example, you can't be sure that all the numbers in your data are small enough to not overflow the integers using regexes alone (or at least not without resorting to extremely long and unreadable regexes). Regexes are a tool that's easy to reach for, but a lot of the time it's a tool that will end up breaking on you eventually.
It's all completely transparent on the Ethereum blockchain. No other middlemen holding any funds, except the code. http://etherscan.io/token/TheDAO
> [...] there is no freaking way I can remember all the details of linux, python, bash, regular expressions, flask, elasticsearch, redis, haproxy, postgresql, mongodb, Google Cloud Platform, kubernetes, logstash, kibana, Java... that's a real list from my last project.

Sounds like badly written thing (probably not designed at all). And you do
know that there are archaic things like documentation and own notes, right?
I wrote a custom skill so I can say "Alexa, ask the bus stop, when is the next bus?" ... and she responds "x minutes" for the bus-stop outside my house. I use it everyday - such a time saver!
A fool never learns.

A man learns from his mistakes.

A wise man learns from the mistakes of others.
How do you control your lighting with Echo?
Get ready for Google I/O 2016
My TempleOS compiler only supports 64-bit, not 32-bit. My system is so new and perfect it does not support 32-bit compiling. Any imperfection has been eliminated no matter compatibility. God said it must be perfect.
why should i be using regexps all the time?
Yes, this would work in most languages. I also like CoffeeScript's multi-line Regexes where you're able to add comments. Example: http://elijahmanor.com/regular-expressions-in-coffeescript-a...
I will add a couple books I've read so far in 2016, both of which are not from 2016:

Sapiens by Yuval Noah Harari. This book was an unexpectedly amazing overview of the history, current status and possible future of human beings.

The Emperor of All Maladies by Siddhartha Mukherjee. I put this off because I'm not very interested in medicine. It was a mistake, this is one of the most well written non fiction books I've ever read.
Any currency that has a supply decoupled from the macroeconomy is doomed to failure as a currency, either through deflation or inflation. Deflation results in hording, at which point there is insufficient exchange and another currency replaces it. Inflation results in divestiture, at which point another currency replaces it.

Maintaining a currency requires threading a needle. Only strong governments have ever been successful at it.

Perhaps there is a technological solution, but it's not bitcoin or any of its brethren, because their growth rate is decoupled from the economy.
The part where they feel the need to point out that shoplifting is a crime is a bit condescending, but if a polite pamphlet is the worse form of discrimination you're facing in Japan then you should probably not complain.
WISP is a very hard business, so they can only survive by cutting corners. For many customers it's still worth it since they have no alternative.
I loved Pagemaker. Much better than Quark.
Also consider that the brain already corrects for the upside down image on the retina, and the stereoscopic input due to having two eyes. The brain's plasticity is slightly underrated.
It says "107.21 M USD EQUIVALENT" without any evidence. I highly doubt that amount is legitimate.

Or they may be laundering money as well, I wouldn't spend too much time thinking on this.
It's mainly about the fact that the job market is so fluid and what will sell. Tax policy benefits those who own houses. When you invest in a house and you don't know where (geographically) your career will take you, the ability to unload your real estate quickly is a really attractive. Big houses are en vogue and the economy and job market reinforce that.
Well, the OS I'm running is Ubuntu, and Kylin is "Ubuntu for China", with fcitx set up for Chinese already, and a separate Software Center that has a delightful page that shows Linux alternatives for Windows software. Haven't quite gotten around to playing with other linux distros to be honest.
Interesting, my Apple Watch is virtually perfect. It actually really surprised me the other day, I was listening to Dan Carlin's Hardcore History the other day, and forgot what a satrap was, and it wasn't clear from the context. Paused the podcast, asked what a satrap was, and it returned a definition.
I live in Europe, so it's probably not comparable. Around here you can get a prepaid plan with no mandatory payments, the only requirement being making a paid call every once in a while to keep it active.

T-Mobile seems to have a prepaid plan for $3/month, it's still expensive but not that bad. Alternative, you can just get the phone, then switch the SIM cards if your main phone is broken (doesn't work if you lose it instead, though).
1) Not everyone can do that, physically or mentally
2) Costs have increased so much, wages have not kept up to allow that to be possible for most people: http://www.vox.com/2015/8/28/9220705/college-working-map
Full disclosure: I work in marketing at Domino.

Domino offers prebuilt deep learning environments on its data science platform. Tensorflow, PyCUDA, Theano, H2O, a variety of R deep learning packages, and many other tools are available.

The environments run on Amazon's Nvidia GRID and Tesla instances.

This post is a little old but will give you an idea as to what you can accomplish:
http://blog.dominodatalab.com/gpu-computing-and-deep-learnin...

We offer select prospects access to GPU compute when trialing Domino. Let me know if your team is interested.
I'm one of those who won't sign up to try something. Let me try without any friction. If I like it, I'll sign up to try more advanced features and if those fit my needs I'll probably purchase. If I sign up to try and it doesn't seem to be what was promised, it just feels like you are collecting my email.
I absolutely agree that it is a bad bad bad idea to have admin endpoints for your routers visible to the public internet, and that anyone with real responsibility for networks or infrastructure of any kind needs to know that. Moreover, no matter how much improvement there is in software quality, that will probably remain good advice--why not add an extra layer of protection?

On the other hand, it makes me sad as an industry that it's certain doom if you don't follow that kind of advice. Why don't we have simple web servers that offer secure admin interfaces that can be plugged in for various products? It's not as if the user interface for a router's configuration is bleeding edge technology.
That's what the script is doing, waiting until ssh is available so he can login as soon as it's back responding.
Hmm, I guess there's a point there, since it only has 0.1 mm accuracy. I think it'd still look cool with satellite imagery though.
The headline is misleading, it's not the routers (EdgeOS) but the airMAX wireless sytems (airOS) affected.
Share please
The Devils Hole Pupfish Just Can’t Catch a Break
x86-64 is really oriented around integer values being 64-bits. For example, 32-bit operations will zero-extend the result to write the full 64-bit integer register. The ABI also assumes integral values are promoted to 64-bits and the stack is 64-bit aligned on calls.

That said, as long as you keep RSP aligned you can do whatever you want. Consider this code:

extern void value(int* a, int* b, int* c);

int main() {
int a, b, c;
value(&a, &b, &c);
return a+b+c;
}

This is how LLVM compiles it:

subq	$24, %rsp
leaq	20(%rsp), %rdi
leaq	16(%rsp), %rsi
leaq	12(%rsp), %rdx
callq	value
movl	16(%rsp), %eax
addl	20(%rsp), %eax
addl	12(%rsp), %eax
addq	$24, %rsp
retq

Note that the int values are allocated at 4-byte alignment, but rsp is aligned to 8-bytes. If you add an additional parameter, 'd', you'll see that the compiler still allocates 24-bytes of stack, and stores the additional parameter at 8(%rsp) (which is unused in the code above).
I don't understand why this comment is being downvoted. I agree with the premise wholeheartedly: any ideology taken to the extreme is horrible and creates more problems than it intends to solve. Most Western countries today are capitalist and yet have some form of socialist programs and laws to prevent the unrestricted expansion of capitalism to such an extent that it becomes a liability to society rather than benefiting it.
Warren Buffett 'joins bid for Yahoo'
This seems exactly like Pertino. http://pertino.com
Her. Beautiful. :)
Weather, kitchen timer/alarm to start something at a specific time, control a few LIFX bulbs, the common household shopping list, a bluetooth speaker. Occasional sports scores.

The microphone is really good and I can talk to it from a room over, so it's the sort of thing I can ask it about the weather as I'm walking to the door to put the leash on the dog and not break my stride.

I wish the Amazon shopping list had a better API, because I'd like to use that list for things outside of the Echo app.
It's done by taking the amount of Ether it has already raised * the current price of Ether. See it transparently on the Ethereum blockchain: http://etherscan.io/token/TheDAO
It's true that Sweden/Finland don't do quite as well in this area as places like Denmark (https://en.wikipedia.org/wiki/Student_loans_in_Denmark), Germany, or France, all of which supply are fairly generous with living cost grants for students.

Compared to US students, though, they're doing great.
The biggest effect of zoning rules and regulations is to prevent developers from building highly dense and efficient neighborhoods.

If zoning rules allowed developers to build larger, taller, and more numerous buildings, we would all have better, cheaper, and more transportationally efficient housing.
She's well aware that her experience is anecdotal and not scientifically rigorous. It's like the joke where the ad exec says "I know I'm wasting half of my advertising budget, I just don't know which half."
I definitely understand your concern, but in my opinion benefits for society outweight costs, and the leftist-leaning of modern society should be fixed not in University but in different places (direct democracy anyone?)
Judgmental tone notwithstanding, I resonate with this. The idea of an always-on, always-connected gizmo that I can't audit and that listens to everything in my house gives me the creeps. Why are security-aware people not bothered by this idea? Am I missing something?
In Global Shift, Poorer Countries Are Increasingly the Early Tech Adopters
This was hard to search for. Here's one that looks ok: http://www.amazon.com/Verbatim-Power-Bank-Charger-97928/dp/B...
Why would you want to build anything if anyone can come and grab it because private property is bad? My body belongs to me and so does what I build with it unless I voluntarily give it away. I don't need a state to enforce the protection of my property, I could do it myself or pay someone (a person, a private security agency or yes, a state).

> Your individualism involves people subordinating others with violence explicit and implicit if you really think capitalism is a pro-individualism system

What is capital(ism) if not the accumulation of things to build more things. In order to build anything, you need a certain capital even in a anarchy world, it could be pieces of wood, bricks, money etc. Now who is better suited to manage this capital? Everyone? Turns out, some people suck at managing capital and some people know best how to manage it because they're the ones who managed to accumulate enough in order to build this capital in the first place. Societies where capital was managed by collectives have historically not done well.

Also, I'm not for subordinating people with violence so not sure where you got this idea. I'm ok though with using force to defend your body and the property you acquired peacefully with it (because you built it or because someone agreed to give it to you).
I have the echo hooked up to a Harmony Hub[0], it's a universal remote that controls devices via IR or wifi that the echo can trigger via IFTTT. The Harmony Hub UX is annoyingly overdesigned IMO which makes it more complicated than it should be, but it still works pretty well. I can use it to turn up/down the volume of the tv, hit pause on the Apple TV when I get up to do something, turn on/off the fan if I get hot/cold, etc.

The TV use is pretty neat since it takes so many clicks to navigate those menus. I'm hoping the echo will integrate natively with Apple TV or Fire TV, it would be sweet to be able to say "Alexa, play the latest Game of Thrones" and have it just start.

[0] http://www.logitech.com/en-us/product/harmony-hub
That was a really interesting talk, thanks for sharing!
[50% OFF – UDEMY] – ReactJS and Flux Learn by Building 10 Projects
I was careful to point out that she did not eschew the standard treatment, and followed all of her oncologist's advice.
My nephew brought home a menacing maths problem
Home Assistant: Open-source home automation platform
Why does that sound like a badly written thing, you having no knowledge of the specific domain he's referencing?

Perhaps it's a web frontend in flask, load balanced by haproxy, uses redis heavily for caching, postgres for structured data, and mongo for analytics (yeah yeah, we can gripe about how bad mongo is). These applications run via kubernetes on GCE, the logs of which are forwarded to logstash, stored in elasticsearch (running on the JVM), and viewed via kibana.

> And you do know that there are archaic things like documentation and own notes, right?

Yes, hence his mentioning that he needs to Google to reference them.
I clicked, read the webpage, went back to HN for an explanation in the comments. Unfortunately there just other human beings as confused as I am.

So I googled it and found this:
“decentralized autonomous organizations” (DAOs)
https://blog.ethereum.org/2014/05/06/daos-dacs-das-and-more-...

The way I understand it, it is for building an organization that is somehow "autonomous" and decentralized. I put the autonomous in quotes because I am still not sure what that means, though I understand the decentralized part.

Two other descriptions, from slightly skeptical observers, were:
Decentralized Corporation
Decentralized Venture Capital
I understand that the first email regex is simplified and as a result doesn't handle oddities such as weird symbols, quotations and IP addresses, but it should be able to handle modern TLDs. Not only do you have names longer than 4 characters, but internationalised domain names starting with --.

https://en.wikipedia.org/wiki/List_of_Internet_top-level_dom...

Depending how simple you want it either:

\b[A-Z0–9._%+-]+@[A-Z0–9.-]+\.(xn--[A-Z0-9]|[A-Z]+)\b

or simpler:

\b[A-Z0–9._%+-]+@[A-Z0–9.-]+\.[A-Z0-9-]+\b

However you could argue that validating email via regex misses the point entirely. A simple, permissive regex is all you really need assuming you are actually sending an email to check that the account exists.
If electricity generation is simply off the table it is always possible to lift people mechanically. A good elevator/lift will be counter balanced so that with the operator it tends to rise "up" when the brake is removed, and 'down' when passengers are present.

Good point.
You think that list of technologies is unusual? It's not. And while I keep plenty of my own notes, I am not sure why you think trying to replicate the online documentation that can be quickly found through search tools would be a better strategy.
I've never lived in either a Protestant or a Catholic country (I've lived in an Orthodox country and a Jewish one), so the following guess isn't based on much first-hand experience, but I'd guess that "love your work" in the Protestant sense is probably closer to what I mean by my tongue-in-Bible "love thy coworker" than to "program for free during your weekends and publish code on github." That is, "work ethic" - yes, but because that's the proper way to get things in return for things in a society, not because nothing is more fun than neural monadic closures.
What a lovely tutorial. It should also be noted that autoencoders are useful for supervised learning as feature generator for more effective (problem specific) techniques than NNs like GBMs.
Uterine sarcoma
Ask HN: A good introduction to mysql book? please recommend
Hi . I am learning web dev. Can you recommend any good book about my SQL for someone who is completely new to databases?
it's a good solution to listening to the radio for me, it'll tune in any fm or am station by call letters, so i can keep up with news and everything. its great to be able to tune in more than just the local stations. a young relative loves to hear new jokes on echo as well.
A nearly perfect description, from someone who has obviously built similar systems :).