skysight-inc/HackerNews huggingface dataset:
“Python is not slow by design”

Everything in Python is late-bound, untyped, and mutable by default. Straight off the bat that’s three key design decisions that make for a slow interpreter. Defining numbers as heap objects, implementing structures as hash tables, and poor parallelization (<koff>GIL, dumb POSIX threading) are three more.

Sure, you can throw huge amounts of brains and resources at code analysis, opportunistic JIT, and the rest a-la V8, but at some point you have to say “Is this an effective use of those valuable resources?” Especially when every such optimization could potentially break existing, stable user code running in production.

..

But, let’s get back to larger perspective:

Faster overall takes into account not just the time it takes to run a user program, but also the time it takes to learn, implement, debug, and deploy. Only one of these is machine time, which these days is cheap as chips and nearly inexhaustable; all the rest are human labor, which is both expensive and limited.

Which is not to say that Python is faster at all those human tasks than other languages. To determine that would require real-world practical testing, plus a willingness to accept what those tests tell you (which might not be what you wanted to hear). But I’m willing to bet that the time spent on all those manual tasks vastly outweighs the time saved by 20% faster runtime for the vast majority of use cases.

So at some point you have to stop and ask: Are these fundamental changes adding genuine, measurable value for real-world users solving real-world problems? Or is it just code masturbation basement nerds whose idea of productivity is playing with internal guts in pursuit of some trivial abstract benchmarks?

Because, honestly, “20% faster” is an absolute joke. If I can’t make my program 200% faster just by adding a second hardware box, then I’ll want to know why. And if the answer is no more complex than “because the language isn’t very good at parallelism”, then all other arguments are completely moot.

..

Look, I’ve written slow interpreters. Implemented in Python, no less. A not-very-complex program might take 2 minutes to run. But then, 80% of that painfully long run-time is actually IO-bound operations, and even that is totally irrelevant when those 2 minutes of machine time have replaced 20 minutes of manual work.

That’s 20 minutes of paid human labor, eliminated by a really-slow custom interpreter written in pretty-slow CPython. You can easily put a dollar cost on that human time (salary, etc) and multiply it by the number of work units in a year, and you’ve calculated its real-world benefit.

Let us know when you can calculate the real-world benefit of a 20% quicker proprietary Python-like interpreter that may or may not execute user programs exactly the same as CPython. Otherwise, as I say, anything less than a magnitude’s improvement isn’t even worth getting out of bed for.
> It's a war crime to attack hospitals and the risks of escalation for nation state actors are not aligned with their incentives.

The primary point of nation-state cybercrime is that individual citizens have not yet established at any large scale if they would support a physical response to a cyber attack.

If you have a physical attack political leadership can be pretty sure the people will support them in retaliating.

But with cybercrime, without big pictures on the TV of death and destruction that support does not seem to exist. Combine this with an opposing party willing to capitalize on public doubt and inaction is a political certainty.
is there a source for five attacks, other than this nitter post?
I foresee see blitz build up of troops within the next week in eastern Fujian.
Some good tips, but I read the section on nominalisation three times and I can't for the life of me tell you what nominalisation means or how to apply it (or not).

However, it piqued my interest in the concept, and this article helped me get a little closer: https://unilearning.uow.edu.au/academic/3b.html
I guess a verb phrase comes up naturally when you are eager to implement a new function and think of all the steps required to calculate the result. However, a noun phrase is a more proper abstraction since the implementation may change to simply return a cached value. (see also the Uniform Access Principle).

Anyway, here is my naming strategy:

1. Boolean pure function

Use an adjective phrase where the adjective is the last word, for instance UrlValid or DefinitionFound.

2. Non-boolean pure function

Use a noun phrase where the noun is the last word, for instance CurrentDefinition or DefinitionUrl.

3. Non-pure "function"

Use a verb phrase where the verb is the first word, for instance PrintError or ReadInput.
Another example of the Linux Kernel not scaling because of the lack of stable driver API.

You are supposed to put your driver in the tree for it to stay compatible, but it gets removed if there are too few users!
I don't think the OP was advocating for punishing the hospitals, but rather the ransomware authors.
If the bad actors are halfway around the globe where they have zero jurisdiction, what can you reasonably expect US law enforcement to do? It's a bit like getting mad at police for not investigating your car getting broken into, because you left the windows cracked open.
This is the strongest argument against zero-tolerance policies (I don't think it applies in this case, but there are plenty). They are fundamentally inhumane.

(You find zero tolerance in schools too. It's heartbreaking to see children doing innocuous things and responsible adults completely vacating any kind of responsibility or accountability.)

If you get a group of people together, everyone's going to have to put in at least a little effort to get along. If the code of conduct doesn't enshrine this then it's almost inevitably going to cause issues.

You may be able to argue that it's not a case of bullying in this narrow instance, but if the policies lead to a one-sided situation with no recourse, then it's bullying at a structural level.
Can confirm, it's extremely off-putting to say the least. Having previously used Github, Gitlab, Bitbucket I find Gerrit very unusual. I have to Google on how to do basic stuff.
Following this blog post, the author teamed up with Ryan Levick and broadcasted a livestream about the subject, turning it into a two-part video series. Videos are avail on YouTube.

Part 1: https://www.youtube.com/watch?v=jR2hUhjcAXI

Part 2: https://www.youtube.com/watch?v=Mln3idSVsxg
> a diesel driven tunnel boring machine

!?
I'm not a tunnel building specialist, but a cursory search seems to indicate that tunnel boring machines commonly already are electrically powered by simply using a very long high voltage cable stretching all the way from the tunnel entrance.
Whether that cable then connects to the electricity grid, or to a bunch of temporary diesel generators stationed outside of the tunnel is a different matter, which in any case doesn't bear on the tunnel boring itself.
What is a "blub issue". I tried a slang dictionary but couldn't find anything. Thanks.
Harassment
If a robot is conscious, is it OK to turn it off?
There's a good website I use for this so I don't need a program, but I can't remember the one I use. It's not modern by any means, but it really does a decent job in the presentation of all loaded text types
> It's a war crime to attack hospitals

Bombing an hospital is a war crime. Letting some malware find it's way into misconfigured Microsoft computers is not.
iZettle vs. Square vs. SumUp vs. Verifone
CoCs were doomed to this from the beginning. Any set of strict/influential laws should be supported by a proper set of institutions like courts, lawyers, arbitration, judging practice. When you have rules and just a mob, you get nothing but a mob rule of power-hungry people.

Why don't contributors openly reject this stupid system (not the rules themselves, which sound fine) and unseat these self-proclaimed procurators is beyond me.
"There was plenty of it by western countries during WWII and the Cold War."

There were also plenty of atrocities commited by western countries during WW2 and after. Napalm, atomic bombs on civilians, ...

And George Orwell based his 1984 of his experience working for the BBC in WW2, btw.

In other words, no, I don't see a valid need for propaganda in democratic societies.

And the role of the military should be to simply defend the societey, not influence them in a sneaky way.
I know...civil discourse is required on HN... but it's so hard when people cite Project Veritas as if it is anymore newsworthy than the Onion. I can't even grok how someone could buy anything they're selling (or the Qanon crap). SMH.
On the other hand, I've found real value in actually adopting /a/ "productivity system". For a year now I've been following the GTD approach, and it has made my work more structured, and more targeted -- instead of floundering in my own scattered thoughts and notes.

But I do agree with you that constantly switching to find the new perfect system is very unproductive. Partly because of the pareto principle, and partly because you actually get better at using your current system overtime.
Hopefully they will make the fundamental connection: "backdoors for the government are backdoors for everybody else too".

I don't think they will.
In the UK the postcode would be often applied to only one street (or a part of a street). This means in practice you get small villages with a postcode that covers 2 houses for example. The local postman could likely know the residents well enough in that case.
Interesting point, but I think the academic culture has taken a pragmatic shift: there aren't many 'pure' bayesians or frequentists left anymore, and the boundary between the two viewpoints has softened. Stats has more of a 'shut up and calculate' mentality about it these days.
> If you look at gaming builds from the last few years it's always a 1080/2080.

Since you added this after I started writing, I think your idea of what hardware most gamers have is just plain wrong. One only has to look at the Steam Hardware Survey results to see just how few people buy the top-end cards: https://wccftech.com/nvidia-geforce-amd-radeon-discrete-gpu-...

You can corroborate this w/ JPR's market reports which consistently show that mainstream and midrange cards (<$250) account for almost 80% of AIB sales: https://www.jonpeddie.com/press-releases/the-add-in-board-ma...

This also doesn't account, as you've seen from the used market, that most gamers on a budget upgrading can simply sell their previous card and effectively only pay a fraction of the price every time they are upgrading.
They already did, EU has ruled multiple times that you should be allowed to re-sell your digital content. Companies keep being brought to court over it and losing consistently. In spite of that, I don't understand how Steam and other digital stores haven't been forced to implement this yet.
How to Make CSS Animations
Sounds cool, though I've seen this on hacker news several times already.

But this kind of regimental organisation would never work for me. I don't have the patience.

For me organising means putting all my stuff on the desktop, which then goes in a folder "Old Desktop" when my desktop becomes so full that I can't add more files to it :'). It's become a nested chain of old desktops over the years. Yet I never seen to have issues finding even old stuff back. In fact it's surprisingly effortless, somehow. When I navigate it, it feels like walking through an old neighbourhood I use to live in but haven't visited in a while. Same with my notes mess in OneNote. For some reason it makes sense to my brain.

I've been trying different organisation methods in the past but they never stuck. It was a lot of work and didn't really make retrieval easier because it was never that hard for me to begin with. So I'm taking that as a sign this lack of organisation is good enough for me :)
This is a great idea, great product. Pricing is very reasonable. I'll recommend this
Uh...they have already seen the "current events" three times by now. It gets old and very predictable.
> Now you have to manage large bills across hundreds of 3rd party services, vendor lock-ins.

A nightmare.

That said, I don't see any major problems in using Next with a monolithic BE. It's a viable tool to get things done.
If you just aim to provide static content, i.e. public web pages and articles I think you’d really have to “go out of your way” to break GDPR (which in this case is likely tons of ad network code among other shady things).
Is it different on GOG cosidering they "sell" DRM-free executables?
Maybe. But if dishonesty works, it's because the populace as a whole rewards it by (re)electing the liar. IOW a lot of people prefer to be lied to. Don't confuse the disease with the symptoms.
I think the multi-armed bandit problem would assume that the probability distribution, for each choice, would remain a constant for the duration of the problem.

Diminishing returns would imply that some subset of those choices would have decreasing probability of a positive pay-off the more they are used. This would be more realistic, and much harder to model. With the constant probabilities with the payoff being for a single score, it makes sense to just search for the highest expected value score. But that expected value relies on the probability distribution remaining the same!
Average number of properties per post code is 15 (max about 100), so a lot smaller than a route. And in rural area the routes are often kept to the same small group of staff for years.
Did you skip over the word 'assure'? The implication is that other projects aren't performing that particular assurance.

Problems such as a plague of racist jokes aren't omnipresent, but they show up often enough in the world that a little signpost at the front door about expectations can help with first impressions and understanding the community.
Example of NearBy Place Search – Site Kit
> Unless they (...) operate in China

Exactly. If you're operating in the EU, you are bound by the EU laws. But "operating" doesn't mean you have to sell something:

> The GDPR applies to US businesses, regardless of their size in terms of revenue or staff, if at least one of the following two conditions are met:

> 1. The company offers good or services (even in the absence of commercial transactions) to EU/EEA residents.

> 2. The company monitors the behavior of users inside the EU/EEA.

So yes, if the news website in this thread tracks me without my consent, they are violating my rights and the EU laws. I am not sure how realistic enforcing this law actually is, though, unless they have a EU branch (what you described as jurisdiction).

Source: https://termly.io/resources/articles/gdpr-in-the-us/
Click on the leaderboard and prepare to be dismayed. 255 WPM @ 99% accuracy doesn't seem real. A cursory YouTube search shows the best typers maxing out around 210...
Most likely the CMake build is simply building more code than Bazel is. I am 100% sure that this is not comparing apples to apples
Looking at the website, I can see it's not been updated in several years, so maybe the use of 'gay' as a filter can be forgiven, but I think I'd prefer that filter to be called 'rainbow' or something.

Edit: the links to the git repository are down as well.
Dark Patterns Trick You Online
>Letting some malware find it's way into misconfigured Microsoft computers is not.

Especially more recently, ransomware gangs have been deliberately targeting specific organizations. It's not necessarily just a matter of malware spreading rampantly and it happening to land on a hospital system before encrypting all their shares automatically.

I'm sure that still occurs, but a lot of them are now picking organizations ahead of time and doing more sophisticated, hand-tailored things to try to get in and encrypt as many files across the network as possible, then explicitly setting and negotiating a hefty ransom based on what they think the organization is able to pay.
Doesn't blaze build remotely via citc? I thought files were loaded locally for editing but built remotely.
You don't own the film on disk. You own a license which can be very restrictive, and you own a physical medium (i.e. the disk itself)

You cannot copy that disk, you can't play it in front of large audiences, you can't modify it and redistribute it etc. You don't own it, and the license can be revoked and changed at any point. It's not practical to always enforce this, but you agreed to the license when you purchased it, it's the same with online media, it's just easier to enforce, hence you see more application of licenses with online mediums.
Mimblewimble is about simplicity and elegance which benefit both scalability and privacy. It solves 2 of the 3 major privacy issues (amounts and addresses), while leaving potential to reduce the 3rd (linkability) by making coinjoins trivial (tx aggregation).
Monero has much better privacy, but it pays a heavy price in having 20x more chain bloat, and needing to have random access to some info of all spent outputs. It also lacks (scriptless) scripts which makes possible things like payment channels.
4 people working full time on anything can get quite a bit done over the course of a year.
IIRC antifa from the start is a violent group. Use whatever means necessary to stop fascism. What means are necessary and what is fascism is left as an exercise for a reader.
Indeed. When I saw the headline, my first thought was: it's 2020, so it's probably Earth itself about to rip apart into pieces come December.
Or could be a pulse that triggers a series of layered switches.
451: Unavailable due to legal reasons

Does it work for anyone?
> It's not interesting.

It's not interesting to you. Not every comment needs to be interesting to everyone.

> Every major thread on HN has at least one comment trying to force the America Bad angle into the conservation

This is an extreme exaggeration. Plenty of large threads don't discuss this. I'd wager the vast majority.

> If the primary conversation - derived from the linked article - is about the US and about a topic having to do with something negative about the US…

There are plenty of sub-conversations on every thread that aren't explicitly about the main topic. On this post alone, there are comments about the definition of terrorism, bitcoin, health insurance laws, American military action, etc. It seems like you're singling out "criticism of America" as the only taboo topic for no real reason.

> Imagine if every large thread had someone trying to force comments about all the bad things France or Britain have done.

Nobody is "forcing" comments. People are leaving comments. About all sorts of opinions, including those criticizing other countries. And absolutely none of this happens on "every large thread".

> someone being triggered and unable to control theirself

Didn't sound like the commenter was triggered at all.
> Letting some malware find it's way into misconfigured Microsoft computers is not

I believe it is. And if a nation were found to be attacking or knowingly permitting the attack of American hospitals in the midst of a pandemic, a physical strike against their military assets (though not personnel) would be proportional.

But this has to be made clear ex ante, which it hasn’t been.
It's still quite clickbate-y I'd say...
We need scientists to deconvolve the "more responsibilities" bit from a physical change inside the brain. It is easy to imagine that both are occuring at the same time. But it is difficult to prove this since they both confound the effect of the other.
Maybe just because it's lobbying by anyone in a completely non-transparent wya ?

This system isn't legal in other countries, lets call it what it is - bribery.
It seems kinda wierd when a Microsoft-made app is being presented primarily as a Mac app, with both its website and UX design seemingly more in alignment with Apple's design patterns than Microsoft's.
I think my dad took an IBM training on mainframe programming when he was in college getting his business degree in the 60s. My earliest "tech memory" is from the huge Digital TSR-80 desk computer he bought in 1980. He did a lot of dBase II/III/IV and Clipper back then, bought a load of PC and Byte magazine and pirated a lot of diskettes. You could say he's a quintessential MIS hacker type.

Today he's responsible for reporting the hell out of a telecom's database (Oracle DB for the most part) in a large IT department. He's an "expert", not a manager nor team leader. He does a lot of SQL wrapped in Java spit out by Tomcat (iirc) and uses a deeply customized Eclipse editor. He's also created several logistics sw on the side through out the years, launching a couple of startups in the 80s and 90s, mostly for automating shipping and manufacturing processes, and that's how he paid for my college degree in CS.

I remember when he bought one of the first IBM RISC 6000 computers ever in 1990 (he was even featured in an IBM paid ad-article), loaded with AIX (IBM's Unix flavor). I wanted to help him out setting it up or just hack on it, I logged into the console and I asked "how do you edit a file in this thing?" (I was doing PC and DOS back then). He came over and said "I think it's called `vi`". He keyed in `e` or `i` and said "there, now type ESC + :wq to save the file". It blew my mind. I was 15.
No, Bazel just fails to satisfy the very real need of building on less powerful machines because of its technological choice, a need served by other tools competing with it, and therefore is not really a truly general, one size fit all, solution.

The fact that you personally deem the needs of others illegitimate doesn't preclude them from actually existing.
There's a large number of games that use premade engines (eg. Unity, Unreal). As long as the engine supports Linux and Vulkan (I believe both Unity and Unreal do), there's no real issue in supporting that platform.
sounds like the same thing I wrote!

Rejection of the idea of progress.

Gray does not reject that things have happened in the past. He rejects the notion that the reason these things happened is natural and part of "Progress".
C is closer in syntax and how the language compiles to C++ than C++ is to Rust. People need to stop making this comparison (almost always made by people who have never written any Rust).
REvil ransomware gang claims over $100M profit in a year
Create new PostgreSQL database instance using Docker
Why would any ESP "researcher" need external grants when they could just arrange a simple demonstration to cash in $1Mil straight from Randi himself?
How about $280m? https://www.opendemocracy.net/en/5050/trump-us-christian-spe... Almost $100m of that is from Billy Graham, which is absolutely bonkers. They've already managed to turn Poland against abortion and were a big influence in the Irish constitutional referendum.
I asked a similar question about 4 years ago [1], I’m also curious..

[1] https://news.ycombinator.com/item?id=11658873
these might be separate groups closing positions almost simultaneously after learning that they weren't first to maximize their chance of not getting bulldozed out of compromised systems by coordinated fed and/or private IT security actions in the aftermath of the initial attack.
No, you still obtain the right to copy all or part of that book. The only right you do not have is to distribute your copies. But, as you say, you may distribute your original (bought) copy as you see fit.
They are correct, imagine if you had a subscription to prime and then copied / made all of that available on your own ad-supported service for free. So Amazon has to put a license on the content.

Whether the license is fair or not is up to the consumer to decide. The Buy vs Rent labelling is misleading - but as always, buyer beware.
If you add occasional pixels to skew the average then probably it will be noticeable in the original image. But the interpolation scheme that uses only the four corners while ignoring the rest can be easily fooled. You can blend an entire lower resolution image in the four corner.
You think it's only fair. That's not exactly an argument about legal grounds.