skysight-inc/HackerNews huggingface dataset:
It is interesting to interpret the body of mathematics as you would a collection of fictional tales. However, the philosophy begins to unravel (to me) when it asserts that "8 is larger than 5" is false while "Sydney is larger than San Francisco" is true because the latter statement "has referents".

What is it that makes Sydney and San Francisco real objects with meaningful sizes while 8 and 5 are not real and do not have meaningful sizes? Sydney and San Francisco are defined by political and legal "stories" in the same way that 8 and 5 are defined in mathematical "stories". The theory only seems to be consistent if all out-of-context falsifiable statements are taken to be false.

This theory placates me, since it leaves the truth value of mathematical statements (in the context of the mathematical story) to mathematicians. However, it renders any conclusions meaningless to mathematics, even if it is meaningful for a philosophy dealing with human stories.
If it is so obviously the right thing, then "being required to hack someone open" shouldn't matter. That is the point of the thought exercise: To ask what kind of sacrifice is a suitable deterrent to ensure that a counterstrike is only ordered when it is sufficiently obvious that it is the right thing.
How does this compare to https://makerbase.co ?
RAII is an automatic memory (more generally, resource) management scheme, but it isn't garbage collection. A garbage collector is a runtime component that reclaims unused storage. What RAII does is, at compile time, insert the appropriate resource-freeing calls at the right places.
1,000,000 requests in 52 minutes is just 320 req/sec.

Am I missing something? What's so amazing about this?

I just deployed some production feed that serves at 1955 requests/second on a cheap VPS in freaking PHP, one of the slowest languages out there.
I would argue that the repeal of Glass-Steagall in itself was a government intervention, because it happened after Citi merged with Travellers, and it was based on lobbying from Citi.

But there were other pieces of legislation, namely the Commodities Futures Modernization Act, that had a more damaging effect.

The more general problem is that the market prices risk based on the underlying assumption that if anything bad happens the government(s) will step in and bail out the bad actors. The mentality leads directly to risky behavior and, in fact, induces risky behavior. If you take away that inducement, these actors will behave differently.
woo my city is on HN!
this is cool, and like others have said Europe got this down ages ago
Booting a Kindle DX Graphite Without a Battery
I'm from country without nuclear weapons and even I think that idea is really bad.

Here's why, either Russia or China could launch a first strike if they believed USA wouldn't retaliate. Or simpler they would use conventional means more aggressively and if that escalated to conflict with USA then they would simply make first strike.
Key point is neither country should ever think USA would definitely NOT use nuclear retaliation on nuclear first strike. In a sense by making a major nuclear weapons power less likely to do use its own weapons increase overall chance of nuclear war.
And finally this system also gives additional urgency for aggressive actions for opposing great powers, by forcing them to act and finish all their aggressive plans during term of a president they perceive in capable of ultimate action.
The policy the above poster is referring to is No First Use [1], which is specifically about the use of nuclear weapons as a means of warfare. The Pearl Harbor attack, as it was not nuclear in nature, would not be relevant the No First Use policy if it were being followed to the letter and spirit.

How most nuclear powers would actually react to large-scale non-nuclear aggression is of course a whole different discussion.

1 - https://en.wikipedia.org/wiki/No_first_use
One of the major drags on WebGL was a lack of iOS support. Once that was in place there was an explosion in usage. I suspect we'll see the same here.
I'm a fan of Java in some senses, but curious to here what things you discovered in the language or JVM that changed how you thought about programming
I disagree that there's such a thing as THE right mix. Some people will prefer the wild west, and others will prefer heavily moderated forums. From the looks of the cartoon characters on the home page, Imzy looks like it's targeting the infant-to-toddler demographic.
This has received lots of love on Reddit already - once at /r/python and at /r/programming today. Let's see whether there will be some HN love...
A friend from Sweden told me that they have a family (regional?) tradition: Get out in shorts and a shirt only at a specific time of the year (not too many mosquitoes yet or when they are very young?) to get bitten as often as possible as a measure of immunization for the rest of the year.
Why is that so interesting?
Why you say is not amazing? Honestly curious here :)
First off, awesome to see more benchmarks (even if it's just personal experimentation) for synchronous vs asyncio performance. I think the real argument for asyncio right now is that it makes it very easy for you to write extremely efficient code, even for hobbyist projects. Even though your experiment is only handling 320 req/s, that you were able to do that so quickly and with very, very little optimization is, I think, a testament to the potential for asyncio.

Some pointers:

The event loop is still a single thread and therefore subject to the GIL. That means that at any given time, only one coroutine is running in the loop. This is important for several reasons, but probably the most relevant are that

1. within any given coroutine, execution flow will always be consistent between yield/await statements.

2. synchronous calls within coroutines will block the entire event loop.

3. most of asyncio was not written with thread safety in mind

That second one is really important. When you're doing file access, eg where you're doing "with open('frank.html', 'rb')", that's something you may want to consider moving into a run_in_executor call. That will block the coroutine, but it will return control to the event loop, allowing other connections to proceed.

Also, more likely than not, the too many open files error is a result of you opening frank.html, not of sockets. I haven't run your code with asyncio in debug mode[1] to verify that, but that would be my intuition. You would probably handle more requests if you changed that -- I would do the file access in a run_in_executor with a max executor workers of 1000. If you want to surpass that, use a process pool instead of a threadpool, and you should be ready to go, though it's worth mentioning that disk IO is hardly ever cpu-bound, so I wouldn't expect you to get much performance boost otherwise.

Also, the placement of your semaphore acquisition doesn't make any sense to me. I would create a dedicated coroutine like this:

async def bounded_fetch(sem):
async with sem:
return (await fetch(url.format(i)))

and modify the parent function like this:

for i in range(r):
task = asyncio.ensure_future(bounded_fetch(sem))
tasks.append(task)

That being said, it also doesn't make any sense to me to have the semaphore in the client code, since the error is in the server code.

[1] https://docs.python.org/3/library/asyncio-dev.html#debug-mod...
What a ridiculous and insulting proposal. People in the military agree to serve the country within certain bounds defined by tradition, they are not simply meat that can be used for any purpose.

How about use any politician who has every voted for the use of US military overseas. Or even better, a volunteer from their families. Or any professor who has advocated for such, or their families. Because I think that this would cover a lot of people who smugly accuse others of being drive by an "us vs them" mentality.
It is exactly this line of thinking that makes it worthwhile creating extra barriers to make it harder to launch a strike to force the person responsible to be very sure.
I don't know, it may be the current intellectual culture's speciesism that we often think that. For instance, they may have many modes of perception better than math. Or even if they have a "math" sense that's oddly like ours, they may be unaware of it because it's unconscious... in their underlying circuitry... just like we're not built to directly introspect many of our own capacities.

We may even be in constant contact with "aliens" now, but unable to perceive them meaningfully. Like most lifeforms maybe couldn't tell us apart from a rock or rubber.
"Natural" is a misleading word. Trees are natural. Earthquakes are natural. Bubonic plague is natural. Death is natural.

Our economy is a machine we built, and we built it to fulfill a purpose. We can build other machines with different characteristics. Markets can be important and useful components of those machines, but they are not the point.

A few people will always try to get around the laws. That's not a reason to give up on laws. Viruses always try to get around our immune systems, but that doesn't mean we give up on finding new vaccines, new treatments, new preventative measures.

I think the important thing is for us to distinguish between three kinds of economic activity: 1) creating customer value, 2) reducing waste, and 3) extracting wealth. The first two are useful behaviors. The third, pursued exclusively, is parasitic.

I used to work in the financial industry, but I likely never will again, because most of it is about wealth extraction. One practical thing we can do is to treat people differently based on the extent to which they are economic contributors versus economic parasites. In America we tend to honor wealth much more than contribution. If we reversed that, if investment banker and financial trader were lower than garbage man, I think that'd do at least as much as tighter regulation.
Like Zimbabwe? Seriously?
The argument of the paper (which I do not find compelling) seems to be that the sentence "all even primes greater than 2 are divisible by 1001" is 'false' because "the words prime, 2, divisible, and 1001" are undefined.

(In the framework in which those words aren't undefined, then sure, we can talk about whether that sentence is true or false and have an interesting discussion. In formal logic it's definitely true. But that's not the discussion the article is interested in, as far as I can tell.)

To which OP (and I, and I think most people..) would say: we accept that you're being clever by declaring that "outside of mathematics, these words are undefined". But calling a sentence with undefined terms "false" is absurd. Just call it "meaningless" until all the terms are defined.

Then you avoid making statements like "'8+5=13' is false", which at first glance seems absurd, and at second glance seems like "you're saying things that are absurd to raise eyebrows instead of taking the easy alternative of saying things that are reasonable."
Clever solution. Is there a more general principle? I thought that most MNAR problems were hopeless, but maybe not.
Yes, I use free CF with both hops encrypted. There's no way for my visitors to know this though. IMO CF should require both hops be encrypted.
I have poor recall for faces but I am able to recall voices with surprising clarity.
It appears the starcraft developers had the same conversation we are having here.
Defeating the NPM Worm
wanting to emulate the music that they like.

Yes, but the reason they like this music, is (to a substantial degree) because others (in their relevant peer group) like that music. Ultimately a lot of people like a specific form of music, because it has been mass produced, and mass marketed to them.

One of the social functions of pop-music is to help form and sustain group identities. E.g. Reggae is associated by some/many with being relaxed, easy-going, liking ganja etc. For such group formation to function, it is vital that a lot people do in fact listen to this music.

The best way to get a large number of people to like a small number of musical genres, is truth heavy marketing and restriction of products on offer.

In the past, production and distribution of records was only economically feasible for a small number of products ...
I made a robot to help me argue on the internet
In the UK we didn't ban plastic bags - but introduced a small charge, there do seem to be way less of them blowing around in the wind.
Yeah, I wouldn't call it an LLVM alternative at all, because it doesn't support C++. But there is a comparison here:

http://c9x.me/compile/doc/llvm.html
Changing Education Paradigms
Yeah, my biggest complaint personally is that combining multithreading and async is a massive pain in the ass. Now, realistically, you aren't usually going to want to do that, except if you have multiple event loops, or are bridging between external synchronous code and internal async code. Otherwise, I really enjoy async python -- of course, I'm also the kind of person who has written my own event loops using synchronous code before, so maybe I'm just crazy like that.
News to me that he is moving to UTexas in Austin to build a center for quantum computing and theory. Terribly exciting! With the impetus being a state funded allocation of $4B+ for basic research. It really begs the question: are our governments spending way too little on moon shots? And what could have been accomplished in the last two generations if the focus had been on pure science rather than military technologies?
The point of this article is that typical code that deals with persistent/immutable data structures can be optimized to work efficiently in presence of cache hierarchy. That is, with persistent data structures one can keep code rather abstract while still allowing for cache friendly implementation.
Why does someone have to face injustice themself to do something about it? White people faught for abolition and in the civil rights movement, straight people are the reason we have gay marriage...

Or is it just that you fundamentally disagree with the "need" for gender neutral pronouns and this is your way of ridiculing it? I'm afraid I don't follow your logic at all.
But there has to be an "us" and "them" unless we live in a truly post-scarcity society.
Sleep with Me: the podcast that bores you to sleep, on purpose
The answer is to vote into power people who don't wish to dominate other countries.
I tend to agree. Granted, my first speeding ticket was coming back from the Gorge (rookie mistake, but at least I was not drunk and/or high!), but the cops are EVERYWHERE in the metro area. Last time I was there, I rented a car in downtown Seattle to go see the tulips, and saw 8 speedtraps, each with a cruiser clocking people with laser and multiple moto chase units, up and down I-5, in the 8 hours I had my rental car. I can go MONTHS in the SF Bay Area without seeing a single speed trap.

Eastern WA is just so much less populated.. maybe they stand out more, but they're not as common IMO. Granted, your speed will be higher when you DO get busted, and there are definite speed trap downs like Ritzville and Colfax, but I never found it to be anywhere near as bad as the metro areas.

And yeah, they can just fire all those assholes. They're absolutely terrible and do nothing to promote road safety -- it's the exact opposite.
That's a thesis that noted survivialist Bruce Clayton developed in the early '80s or so, although he went with whole wheat, and add some salt and powdered milk for the Mormon Four plus the oil, which is needed by children for them to thrive (see more details in Nuclear War Survival Skills if interested, which Clayton recommended before any of his books).

In my world view, you're better off with "A kind word and a gun", food etc. plus the ability to restrain bad actors, should any turn up. Some just might, as seen when an EF-5 tornado roared through my home town of Joplin, MO, but tornadoes, at least, have very limited effects, you don't have to walk far to get out of the areas of destruction. If the New Madrid fault goes you've very much want such preparations already in place.
I think the real threat are the flies. The ones that take a chunk of flesh out of you when they bite and hurt like a bitch
The company we keep- the gains and losses of pres. candidates preferred stocks
Let the AI use USB for keyboard and mouse, and hdmi to see; then you don't have to modify the game.
A VC on losing money as part of being an investor
Actually I think there's a reason for this. I took a cognitive science class once where our professor said that many believe that the portion of the brain responsible for recognizing faces is separate from the portion that does all other visual recognition. Perhaps that's why people have a hard time remembering what a face looks like. It's also why some people can lose their ability to recognize faces but can still recognize all other objects.
Well, 520 used to not have any SPACE for cops. Occasionally they'd hide out at the little cutout for the bridge maintenance people. I'm not sure how this has changed, didn't they widen the bridge or something? Maybe there's more space for cops now.
Great article!

What is the overlap between aphantasia and absence of memories? The example you gave was that you couldn't remember going to see Les Mis a year before, so that's not stored as a fact somewhere?

There was a (possible hoax) story a while back about a guy who could only remember the previous 15 or so hours of his life. He kept journals and had to jog his memory daily. One interesting proposal was that he was in a unique position to re-watch his favourite movies and compare his previous reviews to see, unbiased, if there was any change in opinion. Aside from the awfulness of the condition, that particular aspect sounded quite cool - you could experience things for the "first time" multiple times.

Does the same thing occur with aphantasia? If you see a movie that you love, presumably you can't remember any scenes from it later (though you I assume you would remember the plot)?
We had unpaid interns manually running SQL queries during their lunch break against our transactions table and then lighting one of two beacons based on the data we get back: the purple flame (if we have a revenue increase) or the red (meaning our dark lord Zy'kul has finally awoken)
I've always considered true and false to be properties of models, which are (necessarily) approximations of some underlying reality. So I'd say "8 is larger than 5 in some sense" and "Sydney is larger than San Francisco in some sense", where we might admit that the senses differ, and maybe 8 > 5 is 'truer' because the senses in which it are true are more general and require fewer experiences to verify.

But at the end of the day, you don't want to just say "everything can be true if you stretch far enough", you want to say that things are true only when we've demonstrated some utility in saying that they're true. So we just defer the issue: if you want to say something is true, you always need to know what difference it makes.
Fictionalism, and other formalist theories, will have to confront that problem that when we speak of mathematics as abstract rules governing strings of symbols, these rules themselves are mathematical. So it only replaces "numbers are real" with "abstract symbols are real". There are axiomatic systems that are strong enough to express manipulations of abstract symbols, but weaker than the usual systems that mathematicians deal with (e.g. see the work of Edward Nelson on so called predicative arithmetic). But to my knowledge these have not been explored much.
That "get an invite" business is really annoying. Do they want people to join or not? It's an antiquated way to get attention...
Worse yet they are typical behind Microsoft Exchange and I believe it does not support DKIM out of the box.
App Maker: The 10 Best DIY Online Mobile App Builders
The problem with Java off-heap designs compared to C is that many Java language features become useless (e.g. instance variables, polymorphism, ...) and you lose the standard library as well as almost every single third party library out there.

In my view, sun.misc.Unsafe is extremely unproductive to work with. But I will say that it may be the right solution for adding a small very spcialized feature to a larger Java application.
1. What is your product?

2. How's the quality of engineers in Pakistan as compared to SV?
Because it's trivial.

I would be interested in anything doing 10,000+ req/sec on a cheap VPS. 320 is nothing.

People achieve 2 million requests/second with C++ on EC2:

https://medium.com/swlh/starting-a-tech-startup-with-c-6b5d5...
If you have C++ skills, contact me - I live in Sydney and I'd love someone else in Australia to talk to about LibreOffice code!

My email address is in my about page.
“Small things can make big differences”Why Apple doesn't improve a main feature?
William Shockley on what makes a person who publishes a lot of papers
I do wonder for how many sites does this actually make sense to do. Take the number of users who use NoScript and are not willing to turn it off when the site doesn't work without JS, and then take the subset from those who would actually be willing to pay for using the website. [1] Do these niche users really generate enough revenue to pay for the toolchain & work culture changes necessary to have this progressive enhancement? What's more, this group of users doesn't even receive the charity boost that some other niche groups like the visually impaired might receive, that would lead to changes even without direct financial sense.

[1] Being NoScript users, they most likely also run some sort of ad blocker, so ad revenue from them is likely zero.
I really keep wishing that there would be benchmark comparisons of asyncio/aiohttp with gevent/python2 . Performance would be a killer reason to migrate immediately to Py3.

What I suspect though is that asyncio is not all that better than gevent. Can someone correct me on this?
But he's promised to give it all away within 10 years of his death. So this is a null point.
Postfix has the feature you require[0]. Does google support anything along these lines?

https://serverfault.com/questions/321109/how-to-prevent-remo...
Robotics Specialization from UPenn and Coursera
I'd say that scientific fields being "opinion based" or forming around "mutually exclusive schools of thought" is a reaction to "the sheer dimensionality of the problem combined with the difficulty of precise measurement".

You see similar social phenomena in other fields with a measurement problem, for example programming language research ...
The last chapter in Oliver Sacks' book "The Mind's Eye" discusses this phenomenon and how people who became blind adapted and compensated. Highly recommend it. He suggests a phenomenon like this is primarily biologically predetermined.
English is the Microsoft of languages. Embrace, Extend, Extinguish.

Part of the insanity of English grammar and spelling is that it's a weird polyglot mashup of Old English/Frisian, Norse, French, Latin, Greek, and then whatever random bits of a hundred other languages. This flexibility is also a strength, in comparison to more ossified and standardized languages. To borrow another software analogy, English is the bazaar.

On a completely different front, gendering sexless nouns is just silly, as an English-native speaker. At least German mostly puts things that don't have an actual gender as neuter.
Peter Norvig: Experimental Design and Interpretation
Why Uber Won
> they really just had 10 x 1 year of experience

Brilliantly said.
Read a history book. The human nature is well documented.
No, you just missed out on some bad professors. ;)
In the MAD era, there was the theory that we (the US) had a sufficiently robust retaliatory infrastructure that we could ride out the first wave of a first strike and only launch, or in the case of bombers give the PAL codes to arm the warheads to the crews, after the first nuclear explosions happened and were sufficiently confirmed. Launch on Warning was always recognized as an inherently dangerous doctrine.