They don't have the same goals, nor characteristics.
Numba and cython are rarely used to write the entire program, you usually apply them on your bottleneck, and compile just this part.
Also JIT, like for numba or pypy, compile when the program runs, but projects like cython and nuikta compile ahead of time. The performance characteristics are very different, since the former need a warmup but the latter don't, however they need to be manually built.
Solutions like cython or mypyc require type hinting for getting the best speed up.
All of them except nuikta target better perfs, some in general (pyston, mypyc, cython), some targetting specifically numerical calculations (numba).
nuitka doesn't care about any of that, it takes regular Python code and compiles it. While it does provide some speedup (up to 4x), it's not the goal at all. The goal of nuikta is to able you to ship your python program as a standalone executable to the end user.
It's the most reliable way to do it, as, just like the tag line says, it's "extremly compatible". I've yet to find a Python program that nuikta couldn't compile, including one with PyQT + numpy. It's very good at it.
It's always been there. 20 years ago my father went for business in Turkmenistan, and all this was already in place. This country is one of the biggest producer of fossil fuel, it's an ultra-dictatorship, and has strong commercial partnerships with France. It's very well known.
So why is there sudden medias coverage of this?
I'm now doubting more and more that the politicians and medias really care about any environmental issue and that, like terrorism and pedophilia, it's used to motivate another agenda.
The problem is, unlike terrorism and pedophilia, climate change is an urgent issue that affects every single human in the world, so I really want this to be a genuine concern.
But some part of me now always wonder if somebody, somewhere, is not preparing us to invade Turkmenistan 2 years from now.
Media coverage of methane leaks is going up because:
a) progress on various other sources (e.g. coal) means remaining issues move up the priority list
b) new satellite measurement techniques let us pinpoint blame, rather than do back of the envelope calculations based on educated guesses and global averages, which were bad enough but less actionable.
2023-05-09: The Guardian publishes the follow-up submitted to HN here.
Lots of long-running situations are like this, constantly getting reported on at a level below most people's awareness threshold, and then when you stumble across one such report, it suddenly feels like a flood. See also the Baader-Meinhof phenomenon.
Twitter started like this as well, let's see their real policy in 10 years when investors, law makers, medias and advertisers pressure them before getting too enthusiastic.
Because insurers decide if who is at fault and to pay or not. This system is creating bad incentives since the entity at fault and the entity deciding who is at fault are the same on one side.
The problem with American society, as your comment reflects, is that culturally every discussion always goes back to money.
But money, while quite a good proxy for many things, reduces the human experience to a simplistic model.
It's like game theory: beautiful in a lab, but a parody of life interactions IRL.
You have to shape the system so that the emerging behaviors take in consideration justice, happiness, sustainability, etc.
> Because insurers decide if who is at fault and to pay or not.
In my experience, insurers decide the other party is at fault, unless they are proven wrong. As such, there's no reason for a company to _not_ self insure, if they have the bankroll for it.
I'm divided on this one. On one hand, I can see a lot of good in this, because, well, I'm on HN.
On the other hand, I think people would find it weird that anybody would be allowed to do that IRL with physical building, so why allow it on the internet?
Given that the consequences of probing a website are less than cracking on an office, and the surface of attack bigger on a website, with potentially a larger cascade, I think I can find more arguments for than against.
The physical world and the Internet are completely different environments, and analogies don't transfer. In the physical world attackers are resource constrained, create evidence that allows for attribution, post-facto enforcement is mostly successful, attacks are mostly destructive, and security can only ever be "good enough" bar.
Meanwhile in the electronic word, many attacks can be easily scaled/automated so they're always happening, attribution is very hard, there's little post-facto enforcement especially across borders, most attacks don't do much damage in and of themselves, and most security problems are logic bugs which are yes/no affairs.
It's not particularly interesting if a "white hat" physical attacker demonstrated they could get into a safe with a drill over the course of a week. And one probably can walk down a street testing businesses' doors after hours without too many repercussions if you're dressed nice and don't fit the cops' stereotype of "criminal".
Also there's a huge tendency in the digital security world for system owners to play up damages from minor break ins or even mostly innocuous actions (eg port scans), to distract from the humiliation of themselves having failed. And if we did want to make punishment more in line with real world analogs, then the penalty for most unauthorized accesses should be akin to misdemeanor trespassing.
Like with physical business, if you can't guarantee proper security - you should not be in this business.
Companies cut costs on cyber security whenever they can. And if you try to expose it you can get sued. It's about time this ends. Hopefully everywhere soon.
There are millions of small businesses that have an online presence and no way to protect themselves against a physical building penetration.
Heck, most administrations can't. A small town city council cannot be expected to have the budget or expertise to deal with someone trying to break in.
> Like with physical business, if you can't guarantee proper security - you should not be in this business.
What's an example of a business that can guarantee proper physical or computer security? I can't think of any. All I know about managing security is that you first acknowledge that you can't ever be completely safe. I'll assume you mean they guarantee that they have done due diligence to reduce their threat profile — which isn't really saying much either.
I find this weird also. The explanation I've been able to come up with is that there isn't prosecution on the internet the way that there is IRL. You're just screwed if you got hacked by someone whose VPN provider didn't already have a tap order in place on this customer. Without deterrence, the only remaining thing you can do is make it impossible to perform in the first place.
No, it's a straightforward legal hack to preserve the "full faith and credit" of the United States in the event that the political party that markets themselves with "fiscal responsibility" kayfabe forgets they've only been acting.
The reality is if the people managing the massive funds that run the stock and bond markets don't think it's different than the government doing what they normally do, then they'll be find.
This loophole keeps getting brought up, so I just wish someone would do it so we get an answer either way.
(If they are smart, they will mint $1m coins, or $500m or $1 billion; some of those would get snapped up by collectors immediately)
If a million $1M coins were minted, they would be too plentiful to be collectors items. If a thousand $1B coins were minted, there aren't enough billionaires to afford collecting them.
I suspect the markets will simply be thrilled that US debt that is constitutionally sacrosanct, is no longer held hostage to the whims of a few legislative terrorists.
If the govt mints a $1Tn platinum coin and the SC does not intervene to overturn it, it would boost markets significantly because it would permanently eliminate 1 class of financial terrorists in the legislature.
If you read the article you'll see they mention that this is only possible with platinum coins. So I think their motivation for using a coin is because it's only possible with a coin.
Django comes with a lot: auth, caching, csrf protection, an orm, the admin, form workflow, templating, migrations, i18n, and yet doesn't come with thousands of deps.
I know of a 15 years django project that runs on 2.7 that is still making money. It got reinstalled this month on brand new Ubuntu servers out of a rubbish requirements.txt, and it worked.
Django can also serve a boatload of concurrent users, way more than one would think. It is a boring, old-fashioned, but stable and very functional framework.
Maybe django is less so a dependency bloat than most other frameworks. Just called out the common consequences of getting more. You get more.
Npm projects are likely the most bloated by far, but also are java based projects, just look at Spring.
Calling out a python framework or some Go lean solution being the exception of the rule is fair enough, my point is developers expect everything and have little to do but rapid painless developement
I would love to hear about those asked to migrate their python 2.7 django ecommerce app to python3 since v2 is totally dead and unmaintained posing serious security risks. But sure if we forgo these things, and don't ever need to touch the code again, some frameworks have no downside. Makes a certain kind of developers finally be right.
Numba and cython are rarely used to write the entire program, you usually apply them on your bottleneck, and compile just this part.
Also JIT, like for numba or pypy, compile when the program runs, but projects like cython and nuikta compile ahead of time. The performance characteristics are very different, since the former need a warmup but the latter don't, however they need to be manually built.
Solutions like cython or mypyc require type hinting for getting the best speed up.
All of them except nuikta target better perfs, some in general (pyston, mypyc, cython), some targetting specifically numerical calculations (numba).
nuitka doesn't care about any of that, it takes regular Python code and compiles it. While it does provide some speedup (up to 4x), it's not the goal at all. The goal of nuikta is to able you to ship your python program as a standalone executable to the end user.
It's the most reliable way to do it, as, just like the tag line says, it's "extremly compatible". I've yet to find a Python program that nuikta couldn't compile, including one with PyQT + numpy. It's very good at it.