skysight-inc/HackerNews huggingface dataset:
Agreed.

The rise of China can be seen in other markets too, e.g. luxury car makers increasingly factor-in Chinese taste.
Exploiting WPA2 in a City Wide Wi-Fi
It's worth noting that governments contribute far more than private organizations to things like AIDS research. I should have mentioned that in the article.

See this article (fig 1) - http://www.avac.org/sites/default/files/resource-files/Resou...
coroutines and yielding are a pretty high-level concept that I wouldn't expect to see in a backend, but there's a really great explanation of how to map them to low-level concepts here: http://llvm.lyngvig.org/Articles/Mapping-High-Level-Construc...
Mind elaborating what's good about FreeBSD compared to Debian/Linux. I've heard such statements before.

Btw, I think bloat of linux distros (huge number of similar packages with slight differences have to be installed just because e.g., out of two of the tools I need, one uses libxml and the other perl module XML::Parse, etc, etc) is a problem, which has made me think about minimal cohesive distro that has minimum duplication. Wondering if FreeBSD can help in that regard.
> the focus had been on pure science rather than military technologies?

I find your question a little funny in that Aaronson has said the DOD is where much of the funding for his research will come from for the next 5 years[1].

So, the $4 billion in Texas likely funded his recruitment package, but it is the military that is funding his research.

[1] http://www.scottaaronson.com/blog/?p=2687
Is forgotten party death?
Can the link be changed? The DM is not only terrible journalism, it's a terrible business too.
Please don't post snarky dismissals to Hacker News. It degrades the community.

If you have a substantive criticism to make, please make it neutrally, so those of us who don't know what you know can learn something. Putting others' work down distracts attention from the subject matter, makes you sound like a jerk, and makes HN a bad place to be.
But you could know that it's obviously the right thing, and so know that it's the right thing to do to hack the person open, but still find it hard to actually physically do it.

Having the grit and resolution to hack someone open and being able to make a good decision about using weapons are unrelated. Why conflate them?
> mathematical truth has nothing to do with philosophical truth

This is not entirely true. Philosophy of math has a lot of influence on mathematical truth. Intuitionism, for example, is a strong one. Intuitionism's influence isn't just in mathematical truth, but also in programming languages.
>>JavaScript, unlike a lot of other languages, never blocks

I think that's a little strong. It's more like "The group controlling Javascript has mostly tried to discourage introduction of things that block".

You can, for example, do a blocking XMLHttpRequest. It's deprecated, but possible. https://jsfiddle.net/923d5sda/
Are you bothered by literature like Vladimir Nabukov's Lolita, as well?
Comments like this break the HN guidelines. Please post civilly and substantively, or not at all.
During Able Archer 83, the Soviet Union allegedly got close to launching a first strike against the US because they feared an imminent US attack because of what they picked up of the exercise.

Advertising to the world that you have a firm policy against nuclear attacks other than in very limited, clearly defined scenarios puts you at risk of the other side decides it is ok to strike you for their own gains, but it also protects you against potential adversaries who have no designs on you but who you might inadvertently scare.

Able Archer 83, and the realisation that it appears to have genuinely terrified the Soviet leadership is often credited with changing Reagans course and making him determined to sit down with the Soviet leadership.
They don't seem to be people I'd be too concerned with interacting with!
Ask HN: Should I spin up and spin down VMs constantly?
I was wondering if anyone had any suggestions on what the right 'cloudy' way of doing things are. Should I spin up a VM on the cloud and use it forever like I do with a physical machine? Or should I constantly spin up and spin down VMs daily? My VMs are stateless.

Are there organizations that have chosen one path or the other and have had success? Links to blogs/articles would be appreciated
Reddit's Global Traffic Rank is 31, according to Alexa[1], and 25, according to SimilarWeb[2] - that's already quite big in my books.

[1] http://www.alexa.com/siteinfo/reddit.com

[2] https://www.similarweb.com/website/reddit.com
> Its small size serves both its aspirations of correctness ...

No, a compiler (hell, a software) written in C is not correct, period. If you want a C compiler that has slight chances to be correct, you use compcert.

The small size is an awesome property for education (both for the writer and the reader). For this purpose, it's absolutely great, so kudos for that. :)
They reprinted "Mein Kampf" (book by Adolf Hitler) lately in Germany. 50k books sold in matter of days...
Then maybe I did not express myself in the best terms. QBE definitely supports stack slots and their registerization! Minic, a small C frontend shipped with QBE makes use of them.

The difference is that LLVM forces you to use them even when you know your locals do not escape (i.e. your source language is Pascal), QBE doesn't.

So, LLVM makes you use stack slots for two independent problems: 1. Compiling languages like C where locals can escape, and 2. Avoiding to construct SSA form in the frontend. In QBE, you use stack slots (alloc4, alloc8) to solve 1, but to solve 2, you can simply emit non-ssa form and QBE will fixup things for you.
> cc gpio.c -lgpio -o gpio

Would throwing -O2 in there help? Spending almost 10k clock cycles to toggle a pin sounds bit excessive to me..
I seen pavement construction from the same type of bricks in Brussels and Warsaw and there was drainage underneath for sure.
See https://github.com/sindresorhus/awesome for more awesome lists.
I work with Play Framework (https://playframework.com) which is probably most well known scala MVC framework out there. Now I don't know about node.js based backends, but apparently Play can do 60K requests per second out of the box (https://playframework.com/documentation/2.5.x/Highlights25#p...) which is pretty good scalability.
I take this as a compliment. It means my design choice was totally valid, and maybe even a good one.
Apache Struts 2.3.20.3 GA and Apache Struts 2.3.24.3 GA (security: RCE)
I have a library for doing coordinated async IO in python that addresses some of the scheduling and resource contention issues hinted out in the later part of this post. It's called cellulario in reference to containing async IO mechanics inside a cell wall..

https://github.com/mayfield/cellulario

And an example of using it to manage a multi-tiered scheme where a first layer of IO requests seeds another layer and then you finally reduce all the responses..

https://github.com/mayfield/ecmcli/blob/master/ecmcli/api.py#L456
Oh I see now... This speaks by it self:

C++/Proxygen =1,990,130 requests per second

Python/Tornado = 41,329 requests per second

Thanks for sharing btw
http://mail-archives.apache.org/mod_mbox/www-announce/201604...
It's a thought experiment. It does not have to be hacking him up. The point is exactly to create a barrier that is sufficiently hard to cross to make the person think twice about making the choice.

An alternative might be to have the person carry the suitcase with orders never to surrender it, forcing you to be prepared to shoot him or order him shot if he can't be subdued, or any number of "easier" variants.

Part of the point is forcing people to think about why it is appropriate to order the murder of millions of innocent civilians if you are unwilling to kill a single person face to face.

There may be valid answers, such as if you have reasons to worry about further, more destructive additional strikes and want to try to take out their capabilities. But there are also many digusting reasons, such as being willing to carry out mass murder on innocents out of a desire for vengeance.
Interview: David Heinemeier Hansson on Rails Performance and Speed [video]
Which country has an economy that most closely resembles the ideals of this article would you say?

I would want to move there.
Apache Commons IO 2.5 Released
On Encryption Battle, Apple Has Advocates in Ex-National Security Officials
that's a line straight out of his book 'quantum computing since Democritus'. highly recommended if you want to get a bird's eye view of the foundation of quantum logic without all that pesky physics (and physical history) getting in the way.
Wicket and Tapestry IOC
Tribalism is a fundamental facet of our species. Aspiring to act as if it weren't is not a strategy likely to achieve much beyond lamentations.
At least, I can try!

And also, we are seeing more and more certified C programs: see the DeepSpec NSF expedition grant, the Verified Software Toolchain, and the CertiKOS project for examples. I work with these guys.
that's awesome! you win on quality hands down. I was writing jungle_smtp in like a chess clock running, code as fast as you possibly can, cutting every corner you can, just treat the fact that emails are currently bouncing from my domain as 100% unacceptable and save all those lost emails. For me it was definitely faster to code something like jungle than to setup any real smtp server.
I think async and aiohttp are game changes for Python 3.5. After working with Twisted callbacks for over a decade, it's a pleasure to write async code that does not use the callback approach (granted Twisted is a mature environment with lots to offer).

I've switched to Python3.5 and aiohttp for all new web service applications. The coding style is clean, enjoyable to write, and easy to debug.

Plus, I've never once been stymied for speed. I know there's applications out there where people expect to to be handling zillions of connections -- but the bulk of my use cases think 100 transactions per second is a huge through-put, and aiohttp handles that with ease.
This is awesome; funny that having Windows XP actually protects you from ransomeware in this case.
Cool, thank you guys!
Your comment started appropriately in that it acknowledges crony capitalism. Then it strangely diverts to decrying the government as if it alone created problems that corporations simply (and innocently) exploit.

You had it right at the beginning. It's the fusion of government with corporations that's the problem. Corporations manipulate and influence government for their benefit, not the other way around.
Show HN: WebGL Voxel Game Demo (Pure JS/ThreeJS)
Unhackable: The quest for an email the government can’t read
I would be. Manually written assembly is not necessary better than what a compiler would generate and with super scalar pipelined architectures, seemingly better assembly can turn out to execute in the same amount of time. The things that matter are algorithmic.
Even with perfect mouse control, the AI would still be limited by the viewport offered, which is a tiny sliver of the map, and the refresh rate of the monitor, which would be at most 120 FPS I'd think. Information gathering would have to be balanced against issuing commands, as both take from a shared resource pool of viewport time.

Forcing an AI to play with a mouse, keyboard, and monitor is a huge handicap compared to giving it a God's-eye view API.
And Reagan presided over two years of increase in tensions and hostility vs. the Soviet Union worse than any others since Kennedy, to the point where there's indications that the Soviet Union were concerned that Able Archer 83 was preparation for a real attack and considered a first strike.

It was first faced with the reality of the level of Soviet fear of an US attack that appears to have set him on a new course.

In '81, worrying about Reagans antagonistic foreign policy was quite rational.
Does there have to be? It seems more accurate to say that we like there to be.
Watch Gone Girl Online Free Putlocker – Putlocker – Watch Movies Online Free
For one thing, it is a real UNIX in terms of lineage and not a clone.

https://www.youtube.com/watch?v=ds77e3aO9nA

http://www.informit.com/store/design-and-implementation-of-t...
> the current concentrations are 209 460 ppm of O2 compared with around 380 ppm of CO2. So, it's currently a non issue.

I certainly agree it's "currently" a non-issue; but I would add that given the numbers in the article it's going to continue to be a non-issue for the foreseeable future. The key fact from the article is that the rates of change of O2 and CO2 are of the same order of magnitude: a few ppm/year. That change is a percent or so of total CO2 concentration, but only a thousandth of a percent or so (1 part in 10^5) of total O2 concentration. So it would take a thousand years at current rates for the O2 concentration to decrease by 1 percent of its current value (which is still negligible in human terms).

Plus, that assumes a linear decrease over a thousand years, which is highly implausible. The article notes that we have only been measuring atmospheric O2 concentrations for a couple of decades. No meaningful conclusions can be drawn from that about what will happen to O2 concentrations over a thousand years. The best current model we have is the simple and obvious one that O2 concentrations in Earth's atmosphere are maintained at appropriate levels for oxygen-breathing animals as part of the cycle of plant and animal respiration, which has been going on for hundreds of millions of years, including periods when CO2 concentrations were much higher than they are now.
Reason being it's a semi-private beta, not public release. Invite-only lets them ease into managing a larger userbase and the associated content.
Even while Captain Obvious is not wrong, eyes will rightly glaze over.

Double negative--I'm not a mathematician, I paint, but Mom taught me right and wrong, two of the latter do not make a right.

"All even primes greater than 2 are divisible by 1001." => "everything else in this analysis will be ignored"

(because it's not math)
I don't care for PHP as much as the next guy, but it's usually in the top 25 of the web framework benchmark (most of the other top langs are Java, Go and C++): https://www.techempower.com/benchmarks/
> From what I understand (and I admit, my knowledge is pretty lacking around what cloudflare offers) the free part is only the security between the client and cloudflare (and not the security between cloudflare and your server).

The free plan also supports securing the connection between CloudFlare and your server.
ironically, it was published by a state agency as the copyright expired. They figured it would be better to have a good, critical edition rather than wait for cheap reprints to flood the market. See
http://www.theguardian.com/books/2016/feb/04/mein-kampf-hitl...
Searching for "expand 32-byte k" would directly lead you to Salsa. The exact code used in the malware can be found here. I am using the word exact in a broad sense. If it had been a ditto copy, we would have no chance of breaking it. The original Salsa implementation uses 32 bit (uint32_t) variables. This salsa implementation uses 16 bit variables for the same purpose borking it badly.

:)

The author made it look so easy to reverse this. Kudos, and thanks for the community service.
> if you want to say something is true, you always need to know what difference it makes.

Absolutely. It seems that fictionalism avoids both the "in some sense" qualifications and worrying about what difference it makes by asserting that statements out of context are simply false. While consistent, I'm similarly not convinced that its useful.
Isn't the reprint an annotated version meant for analysis? That isn't to say a skin head can't pick it up and read it, but it's more than just a reprint.
The only way AWS is cheaper than other providers is if you take advantage of the ability to spin up an EC2 instance from an image for just the time you need it, and spin it down when you don't.

If you're not using AWS, check to see how up/down affects your costs. Some will still charge you for VM's that are "down", meaning there is limited benefit (to you directly) to spinning them down.
Eh, it was a propaganda attack on "Warmonger Reagan", who'd just become President, and the military he supported, disguised as a thought experiment.
I wish AWS would adopt HTTP/2 quickly (for Elastic Load Balancer). Hopefully AWS IPv6 adoption isn't any indication of how fast they'll get to HTTP/2.
I agree:

"I think that, if civilization lasts long enough, then sure: eventually we might need to worry about the creation of an AI that is to us as we are to garden slugs, and about how to increase the chance that such an AI will be “friendly” to human values (rather than, say, converting the entire observable universe into paperclips, because that’s what it was mistakenly programmed to want)."
Ask HN: How do you trade?
Do you manage your own portfolio? What tech do you use? What sources inform your trading?
Are you sure? They still seem backwards
For reference, this has been fixed in LuaJIT master (with an instruction length decoder).
Intuition can be simulated with algorithms and massive computing power.
the calculation of addresses for the XOR swap

I'd be interested to know more about the internal implementation, but I don't think that address calculation uses any additional registers (physical or logical). There are multiple execution ports dedicated to address generation, and I think they are self-contained.

multiple CPU registers to do the abs()

Likely yes for any library implementation, although this made me wonder if it's possible to do it in-place with constants. Turns out it is, Hacker's Delight to the rescue:

abs(x) == ((x >>> 30) | 1) * x

http://hackersdelight.org/basics2.pdf
I have zero difficulty with left or right, but great difficulty recalling which way is west and which is east.

Usually I resolve it by remembering that west is left and east is right when looking at a north-up map, but I have to recall it every single time. I have never been able to bind the west / east words directly to directions.
MAD predated "Warmonger Reagan" by decades. It was fully in place around the time of the Cuban Missile Crisis (1962).

As for "Warmonger Reagan", how many shooting wars did he actually get us into?

How many shooting wars are we in right now, under "Nobel Peace Prize Winner" Obama?
I've actually read it, I just didn't remember this line. Thanks. And I agree, great read.
Could you elaborate on what about those three languages? Are you talking about copying GCs vs mark and sweep? Thanks.
How is your statement not one by someone who would find the modification of any language considered comfortable to remove garbage collection and require explicit free operations to render it uncomfortable?

Also, Java is interpreted at the byte code level by default. The way the hotspot JIT works is by detecting hot areas of code and then doing JIT to be compiled.
Nice interview: Nice clarity on quantum computing and P versus NP.
What you're suggesting is that an AI can't really drive unless it's operating the car the same way a human does, i.e. with a steering wheel and pedals rather than having a direct digital interface into the car.
I can definitely visualise things in my head, but it takes effort to resolve things into clearer detail. It's more hazy and abstract than normal vision. I've never really thought about it until now. I would be fascinated to know if other people have a mind's eye on par with regular vision.
QBE [1] is also a query language, Query by Example, developed at about the same time as SQL in the 1970s.

[1] https://en.wikipedia.org/wiki/Query_by_Example
maybe they would be if Humbert were described in flattering terms.
I have been interested in trying psychedelics for this reason. I have some ability to visualize, but it's pretty limited. I experienced similar surprise when learning that doing things like picturing yourself on a beach was not meant to be a metaphor. I hope it's something I can experience at least once in my life.
"Speaking of which, when I look at the thrilling advances being achieved today in AI, I see all sorts of ethical issues that will need to be dealt with soon—like, how can a deep neural network justify to you why it turned down your loan application? Should self-driving cars handle crashes using utilitarian or deontological ethics?"
Reprogramming the meat behind the keyboard is often harder than reprogramming the machine.
1. Mailman - themailman.io - We're a priority messaging service. We're still in development, and while we have an MVP out, we're focused on product improvement right now and are holding off on marketing it.

2. SV engineers are better than most other regions of the world because SV attracts them. Are there engineers in Pakistan as good? Definitely. Are they as easy to find as in SV? No. Will our network make it easier to find them? Yes. Are they cheaper? By magnitudes.
The invisible hand of capitalism tends to let crime/manipulative videogames flourish and educational fail. Whats at fault here? Human instict? Marketing? Will censorship result in people not glorifying it?

I believe that games like Yakuza, GTA and movies like the Godfather are symptoms of a greater problem, "nice guys finish last". By imagining your a cold hard thug, you get the feeling of getting what you want, instant gratification, similar to masturbation. The solution isnt to take it away because videogames are practically sedatives, making people far too lazy to buy a gun. I would argue that virtues need to be shown in the positive light they create. As it stands, virtues are an excuse for storylines rather than practice or habit to feel. Difficult/competetive games are interesting in that they reward those who practice regularly. That is a life lessons. Organization can also be taught, as well as trying to see the big picture (cardgames and meta). Playing fair/empathy seems more difficult.

Ive thought a lot about this because I also don't want criminals idolized. But I certainly dont want censorship to be the solution either
Can you make it part of the guidelines to not use ego? Without ego, comments contain substance and are civil.
The problem isn't unique to Tor. It's anything that allows a spammer to use the same IP address as innocent people, including things that aren't exactly legal, like compromised PCs and routers. Which means blocking Tor blocks the people who follow the law but not the people who break the law.

And the problem is going to get worse as a result of IPv4 address exhaustion because some ISPs are going to have to start using carrier grade NAT (and some already are). The answer to that is IPv6 as ever, but that has the opposite problem. IPv6 addresses are too cheap to meter and using a thing for proof of stake requires the thing to be scarce.

So the thing to show for it is that you can field test your solution prior to the day of Spam Armageddon when a spammer realizes they have a botnet with access to a million billion IPv6 addresses.
I'm going to add the usual paywall warning (complaint) - there are only 2 sentences visible to non-subscribers of the WSJ. Hopefully people will stop submitting these sooner rather than later... no, I don't want to google the link to read the article, when I should be able to just click on it.
Thanks Stephen. Are there any large scale AWS implementations that you know of that spin VMs up and down? Also, besides cost, are there benefits to doing so?