skysight-inc/HackerNews huggingface dataset:
Really? Seems like a pretty silly conclusion. If you have important stuff on your phone, you should back it up. If you back it up it's not a deal to wipe it.

Wipe it, restore after crossing the border, it's not really a big deal.
I think you might be able to define the vector space "NoiseSpace" in which the random noise is generated as a subspace of the space of all images "ImageSpace", and generate an adverserial example using the quotient space ImageSpace / NoiseSpace.
Have you considered learning a valuable skilled trade? There's plenty of opportunity in construction, welding, plumbing, electrical work, etc.

You could still make mobile apps as a hobby.
Ask HN: What is your advice on coming up with online business ideas?
Yet true in my corporate environment. Corporate environments can differ.
Chile had a key role in helping out the Brits in the Falklands.

The US, or more specifically Reagan, offered Thatcher use of a carrier or two if one of ours was lost. Supposedly it was going to be navy to navy with as little involvement of politics as possible. Oh, and they sold us a bunch of extra sidewinders at zero notice.
For a second I thought he indeedd built a tool to apply to a million jobs at once. That would have been impressive.
The profits one makes should not impact the number of regulations they endure. The regulations should have merit on their own and be only out of necessity for the replenishment of the common goods utilized by the individual or corporation.
Duplicate. It's been on the homepage for 3 hours. https://news.ycombinator.com/item?id=13661865
As the article indicates, they're similar to ioctl, which is a system call that, roughly speaking, allows arbitrary opaque blobs of data to be passed back and forth between a user-mode -process and a kernel-mode driver. This is intended as a generic mechanism allowing drivers to expose arbitrary functionality to user-space. This enables the implementation of functionality that would not otherwise be possible because it was not foreseen and enabled by the design of the operating system.

Bear in mind that the system call ABI changes slowly and with much difficulty: once a version of a kernel is in production, it can stay in use for a long time; it can take a long time for new functionality to be broadly available, and breaking back-compat with applications compiled against older ABIs is Not Done. Dynamically loadable kernel modules and ioctl-like system calls make it much easier to bring new functionality to all the various kernels running around in the real world.

Given the complexity and rate of change in graphics tech, it makes perfect sense for there to be a general-purpose arbitrary functional-call mechanism for interaction between user-mode and kernel-mode graphics driver components. Microsoft (or the linux graphics subsystem maintainers, etc) just doesn't know enough about Nvidia/AMD's current and future requirements to nail down a more rigorously defined API.
Returning multiple values is the norm. But these values are immediately unpacked, cannot be passed around as a whole, or have methods.

It would be great to have something like a conditional return to get rid of the endless `if err != nil`, or, while we're at it, from endless `.then` that futures-based programming ends up with:

foo_result, err = foo(...)
on_failure(err, "foo failed")
bar_result, err = bar(foo_result, ...)
on_failure(err, "bar failed though foo did not")
return bar_result + 1
https://github.com/duckduckgo
You're the 25th result on Google for me. How are you testing non-personalized results on Google?

It could be that it's localising the results geographically better. DDG's results have improved enormously for me recently, to the point that I completely forget it's not Google these days, whereas I used to use the !g bang about 80% of the time, but the one thing I do still fall back to Google for is local non-US-centric content.
> So we're not catching "real" spies and terrorists; we're catching nannies trying to get paid under the table; do you think maybe we've got bigger fish to fry? This is a bad precedent, and what are we gaining? Nothing.

A country which controls its borders gains … control of its borders. If it's illegal to enter a country as a tourist in order to live with one's girlfriend, well it's illegal to enter that country as a tourist in order to live with one's girlfriend. That doesn't mean the law is right, or good, or desirable, just that if one enters that country as a tourist in order to live with one's girlfriend, one will be breaking that country's law and is liable to be deported.

Although I tend to favour open borders, myself, I think it's perfectly reasonable for the customs police of any country to turn away people trying to enter that country illegally.
A Moto E 2013 is still pretty usable... Using one right now.
Seoul Court Approves Arrest Warrant for Samsung Heir Lee Jae-Yong
Official release blog post https://blog.golang.org/go1.8.
Features page says "Develop interactively on the cloud using Jupyter Notebook. Your code, results and outputs are always preserved."

But http://docs.floydhub.com/guides/jupyter/ says "IMPORTANT: Floyd does not save your Jupyter notebooks after you stop the floyd job. So you need to download any relevant notebooks by selecting File > Download As menu from the Jupyter notebook."

Which is it?
Agree:
https://hn.algolia.com/?query=Go%201.8&sort=byDate&prefix&pa...
Which is complementary to the point about it being anti-social. If everyone got into it, it'd be worth it and wouldn't be so anti-social, within certain aggregates (like a family that games together). Whether those aggregates are worth it or not to the individuals depends on the quality, or aesthetic, of the experience.
The preliminary human trial and the animal experiments have been discussed on HN before: https://news.ycombinator.com/item?id=9741137 https://news.ycombinator.com/item?id=8831739

Fulltext: https://www.dropbox.com/s/ajmrgno9b38ncgi/2017-wei.pdf

"Fasting-mimicking diet and markers/risk factors for aging, diabetes, cancer, and cardiovascular disease", Wei et al 2017:

"Calorie restriction or changes in dietary composition can enhance healthy aging, but the inability of most subjects to adhere to chronic and extreme diets, as well as potentially adverse effects, limits their application. We randomized 100 generally healthy participants from the United States into two study arms and tested the effects of a fasting-mimicking diet (FMD)—low in calories, sugars, and protein but high in unsaturated fats—on markers/risk factors associated with aging and age-related diseases. We compared subjects who followed 3 months of an unrestricted diet to subjects who consumed the FMD for 5 consecutive days per month for 3 months. Three FMD cycles reduced body weight, trunk, and total body fat; lowered blood pressure; and decreased insulin-like growth factor 1 (IGF-1). No serious adverse effects were reported. After 3 months, control diet subjects were crossed over to the FMD program, resulting in a total of 71 subjects completing three FMD cycles. A post hoc analysis of subjects from both FMD arms showed that body mass index, blood pressure, fasting glucose, IGF-1, triglycerides, total and low-density lipoprotein cholesterol, and C-reactive protein were more beneficially affected in participants at risk for disease than in subjects who were not at risk. Thus, cycles of a 5-day FMD are safe, feasible, and effective in reducing markers/risk factors for aging and age-related diseases. Larger studies in patients with diagnosed diseases or selected on the basis of risk factors are warranted to confirm the effect of the FMD on disease prevention and treatment."
https://warisboring.com/missiles-in-a-box-and-more-at-russia...
I personally learned Go about 3.5 years ago myself by following tutorials on tour.golang.org, reading the Effective Go document and other blog posts here and there. Then I bought the book last year just out of curiosity. Honestly I find that the experience you gain by reading/writing Go code and consuming online content is more beneficial than the book. The book has some good parts, but I don't think it’s as practical as online resources.
Trump's body language
Python PyWren Brings Easy Scientific Computing to AWS Lambda
There's nothing wrong at all with being an exterminator – but in general you probably don't want people to assume you're something you're not. The name doesn't help with that.
Big Nerd Ranch books - at least the Android one

https://www.bignerdranch.com/books/
> Why in hell would you spend hours of work on your free time for this ?

Sure, you can either return the items, or report the bug, or hope that you've managed to find a workaround.

There's no need to discourage people who want to spend their own time on getting the bug fixed so that others benefit. Not everybody thinks the same way you do.
It is pretty much just the name for their API.
IPv6 adoption hits a wall
Trying hard not to read too much into what is clearly a small number of datapoints, but it sure looks like IPv6 adoption hit a wall on January 1. Is this an artifact of the data collection process or a real effect?
The French used the same nuclear reactors in their aircraft carrier as is used in their (many) nuclear submarines, and have had many problems with the system. Making a CVN is not easy.
Hmm, interesting. Sounds like a problem with a Postgres, not Citus, but it still sounds like a disadvantage compared to competing products (RethinkDB also comes to mind).

I haven't implemented anything for that before personally; would a tool like Bottled Water [0] be helpful for this usecase?

[0] https://github.com/confluentinc/bottledwater-pg
Debugging a failing test case caused by query running “too fast”
I'm going to be the dissenting voice here and say: Use whatever name you like as long as it isn't something like cuntbagDB.

CockroachDB accurately and immediately conveys meaning. It'll survive when nuclear war happens just like a cockroach. And I might work in the games industry but I would never have a hard time selling this. I would basically force them to use it and explain the benefits.

If your company wont adopt technology because it uses a bug as it's name then your company has much greater problems than technology adoption.
Yes, well said. I consider myself more of a Peter Thiel type of republican who supports the party on an economic basis but would really love to see the party abandon its culture wars.
No, you've misunderstood. OP said:

"only language for full stack of this app"

The sites you mentioned used JavaScript on the client side, so Python and Ruby were not used as the only language for the full stack of those sites.
I don't think that's true at all. I suspect many people don't have the obsessiveness, attention-to-detail, memory, and perseverance that a programmer needs to fix a hard bug. And not many people would enjoy a job that requires sitting motionless in front of a computer for long hours. (I love it, though!)
Everything you need to know about Theresa May's Article 50 nightmare
I'm very curious what happens with this IPO, and if it has a downstream impact on other start-ups' valuations.
> somehow seen as bad

I've noticed a certain utopian streak in some urban planning enthusiast communities --- one that's not compatible with the automobile as the primary mode of personal transportation. The general thinking seems to be, "$PROPOSAL reduces the number of cars on the road? Good!"

Back when I lived in Buffalo, NY, there was a group of people who'd write editorials in The Stranger (the local alternative weekly) and various blogs demanding that the city or state tear down the "Skyway" (a large bridge for NY 5), rip up expressways, narrow roads, and so on. Buffalo is not a wealthy city. The city is lucky to have inherited this infrastructure from a more prosperous era; it'll need this infrastructure if it's to become prosperous again.

It would be ridiculous to spend millions destroying this infrastructure when the city can't even afford to remove condemned houses in abandoned sections of the city. Yet week after week, people would publish articles demanding that the city do just that. It was incredible.

The only explanation I have for this impulse is that these advocates of infrastructure removal were really motivated by an aesthetic romanticism, an impractical idea of what a city should be, and a general dispositional aversion to modernity generally and to internal combustion engines specifically.

This mentality drove me up a wall. The automobile is an incredibly useful invention. It's allowed billions of people a degree of personal mobility that our ancestors could only have imagined. That's why we use the things so much. We can talk about how to make automobiles more efficient. We can debate the best schemes for allocating space in limited public infrastructure to the most important uses. (I'm a fan of congestion charges.) But just railing against the existence of automobile traffic is ridiculous.
> The US could at least help out covertly

There were a heck of a lot of USAF C-141s on Ascension Island during the conflict. We haven't even been told half of what went on, even the crews transiting southbound weren't privy to what was in them ( and I've asked a few ).

Over 100 AIM-9L missiles were delivered to the UK forces from the US production lines, and in some cases from USAF fighter units, within 48 hours of the request. The all-apect-seeking '9L was critical in achieving air superiority as the '9G model in UK service was basically tail-chase only.

Satellite imagery was also made available on a daily basis.

Mr Reagan also, apparently, personally offered a CVN for general support duties in the Atlantic ( SAR, refuelling etc ) though I haven't seen any official confirmation of that.
I loved the MINIX book: https://www.amazon.com/Operating-Systems-Design-Implementati...
Mark Zuckerberg: Building Global Community
It is very similar to an ioctl on Unix (DeviceIoControl on Windows), just specific to the Display/Video driver here. It is a way to send arbitrary data from usermode into kernelmode, for whatever reason.

You can imagine the usermode interface as:

void escape(int command, void *param);

And then the kernelmode implementation would look something like:

void escape(int command, void *param)
{
switch (command)
{
case COMMAND_FOO:
do_foo((foo_param_t *)param);
return;
case COMMAND_BAR:
do_bar((bar_param_t *)param);
return;
}
}

The driver defines the params and what FOO and BAR are. This can be used to issue special commands that don't have an interface provided by MSFT. It is also used by any drivers that run in usermode (e.g. OpenGL, CUDA, etc) that communicate directly with the kernelmode ones.
These interfaces are generally not public. The project zero researcher has disassembled the kernelmode driver and reverse engineered their format.

Does that help?
MIT Redefines ‘Battery Acid’ with Low-Tech Voltaic Cell Powered by Stomach Acid
If you don't care about retrieving them afterwards, we already can do that - they're called missiles ;-)
Best Practices Building a CLI Tool for Your Service
That doesn't leave very many places to go.
Hmmm, I'm not sure there is an Excel style graph wizard, although there's this package which is close https://www.r-statistics.com/2016/11/ggedit-interactive-ggpl...

For PML() kinds of functions, I often just google something like "Excel PML() function in R" and something usually turns up:
- https://cran.r-project.org/web/packages/optiRum/optiRum.pdf
- https://gist.github.com/econ-r/dcd503815bbb271484ff

Another good tactic is to follow some of the R quants on twitter. A really popular package for this is http://www.quantmod.com/
Does that only work if your a US citizen? If your not then bye bye visa?
Iranian hackers behind the Magic Hound campaign linked to Shamoon
Ty, I will try it
Why LINQ beats SQL
Such drone swarms already exists in particular scenarios against mobile AA units to overwhelm and make them use up all of the AA missiles. I can't remember what it's called but the #1 weakness is reloading times and limited quantity of defensive projectiles against a potentially numerically overwhelming independent flight vehicles tricking the radar into thinking they were legitimate jets or ATG payloads.

CIWS seems like an answer until you realize you can't shoot all of them down. Just a few that will bypass is enough to take out the C&C for AA mobile units.

Extrapolating that further, I shudder at the thought of a black cloud emerging over the horizon only to discover they were military drones powered by AI, all independently communicating and strategizing against human operators.
You're missing my point entirely:

People do 'login with Facebook'; people will (perhaps grudgingly) log in for them/hand over their password.

You won't, I won't, but people will because they're asked to by the uniformed officer, despite how mad it is.

I'm just amazed at the lack of significant opposition to this, there doesn't even really seem to be any opposition. Here on HN where one might expect it to be most opposed, we're merely discussing how to mitigate the effects (you can't, don't go - or be prepared to be turned around).

I wouldn't pay for my own travel to the USA (while I've been before, and enjoyed my trips, etc.) because I'm not an idiot - and handing over a password is idiotic - and I can't really afford a wasted trip. Sure, sunk cost, whatever - the cost/risk isn't worth it, at least for now until it's shown that they rarely do it, and really it's only x,y,z countries from where I do not hail.
It bugs me when people always talk about "neuromorphic computing" and explore crazy ideas that never work and look at them in awe, but when anyone brings up a somewhat novel architecture for deep learning (nets that are being used today, successfully...) people say "that'll never work".

For example, our startup uses analog computing to achieve accuracy roughly equivalent to digital circuits, yet we're told that we're crazy? Meanwhile people dreaming about memristors are showered with grants and money....
Ask HN: What Node.js framework should I learn to get a job?
I'm a front ender, I used to be full stack with Rails few years ago but specialized into SPA app's after that.

I would like to get back into full stack but looking at nodejs frameworks there's alot to choose from (eg, http://nodeframework.com/index.html#mvc, http://nodeframework.com/index.html#full-stack).

It was easier with ruby, at the time there was only one framework to learn.

My concern is that I choose something which then turns out to not be applicable for the majority of jobs.

So, HN, what would the best node js framework to learn to get a full stack nodejs job?
You definitely can't expect map data to be reliable enough to be the only source of truth for something as important as stop signs.
That is hilarious and depressing in equal measure. One of the much trumpeted features of the QE class is they were going to be modular and upgradable to cats and traps for little cost. When new govt tried to exercise that option turns out the upgrade would increase the cost of a ship by about a third or thereabouts.

It's also depressing how little we learned from the air war over the Falklands. Presumably because it was the Fleet Air Arm rather than the RAF. RAF contribution was the Vulcan raid which was a) ludicrous and b) needed our entire tanker fleet airborne to get one (ONE!) Vulcan, equipped with a 1948 design bomb sight, there.

Meanwhile the Harriers turned out to be rather good dogfighters as they could essentially be put in reverse (viffing [1]). Rather than selling them off to the USMC we should have kept them, and worked on modern replacements. There was even a supersonic Harrier design produced at the same time Hawker were flying the Harrier prototype.

Meant the Harrier was the most impressive display aircraft ever. Flying sideways, check. Bowing to the crowd, check.

[1] http://jalopnik.com/5715656/the-eeriness-of-viffing-a-harrie...

The video that should be in the article can be seen here https://www.youtube.com/watch?v=XcPEvwHWu4g
Baapu – Ambi Dhanda Feat Sohan Shankar – Latest Punjabi Songs 2017
South Africa, a Nation with Sharp Inequality, Considers a Minimum Wage
Notable functional promise to reduce prevailence of clickbait/fake news:

> Fortunately, there are clear steps we can take to correct these effects. For example, we noticed some people share stories based on sensational headlines without ever reading the story. In general, if you become less likely to share a story after reading it, that's a good sign the headline was sensational. If you're more likely to share a story after reading it, that's often a sign of good in-depth content. We recently started reducing sensationalism in News Feed by taking this into account for pieces of content, and going forward signals like this will identify sensational publishers as well.
The problem with drones is that they don't really work against a country with air defense.

We essentially do this already with destroyers and cruise missiles. No real need for a drone middle man.

If you want a plane, it has to be big and fast enough to gain air superiority. Drones don't do that.
That's pretty unlikely IMO. Physicians are remarkably pragmatic. Diagnostic imaging tools like CT and MRI were created in order to avoid the risk of exploratory surgery. As a byproduct, they are also useful in medical research applications like these.

From the article:

> “We hope that this will help to reduce stigma that ADHD is ‘just a label’ for difficult children or caused by poor parenting."

In general, diagnostic imaging is funded to mitigate some other downstream risk. "Would the wrong treatment be harmful?" [not in this case, popular treatment is pharmeceutical - psychostimulants, pretty safe drugs]. "Would delaying diagnosis of a non-ADHD disease be harmful?" [not likely given the symptoms].

If you had an extraordinary case ("Patient is allergic to psychostimulants and alternative treatment X is expensive or risky"), this research might be used to convince the relevant parties that an MRI to rule-out ADHD is worthwhile.
The F-4 was likely deemed successful because it could launch off most US aircraft carriers, and it was the best they had at the time, so they made it work. The Phantom II was not a perfect machine, but the large radar, heavy weapons load, carrier-capability, and high-speed made it quite useful. On the other hand, it had no internal gun, guzzled fuel, had a very smoky engine, and wasn't very maneuverable.
I think you might be confusing state and values. Pure functional programming has plenty of values. If you need a new value, you just return the new value, instead of reaching into an existing data structure and messing with it.

If a function closes over immutable values, then the resulting closure is an immutable value. If a function closes over mutable state, then its mutable state, often even uglier then mutable objects or structs which actually make the exact contents easier to identify at least.
it is illegal to create a profile for someone else, i.e. to impersonate someone: http://blogs.findlaw.com/blotter/2011/11/fake-facebook-profi...
That's a good point. We actually recently starting using them for internal/dev resources. I'll definitely make a note of it for next year.
> Why I am so confident in this answer? 1) I've gotten every one of my jobs through networking (either from meetups or from former coworkers and friends)

This doesn't mean people don't get jobs through normal HR means. I've gotten the majority of my jobs through just applying on a website, although I do agree that knowing someone is better.
Yes Postgres has disadvantages (I accidentally posted my comment too soon so that might have caused some confusion) but like I said it is: 1. Mature, 2. SQL is damn powerful, 3. Memory friendly (aka cost).

RethinkDB is cool. I just never got into it to know how well it actually works. As for bottledwater we use Postgres + AMQP aka Rabbit + Listen/Notify. I'm not really a big fan of kafka even though it does have amazing scaling ability.