skysight-inc/HackerNews huggingface dataset:
The Dassault Rafale and F35 are meant for two different types of missions, and can't be viewed as competitors.

Also F35s don't need to be ALIS enabled. Israel's Adir version of the F35 uses a separate set of parts and systems co-developed with France and India.

Realistically, I don't see Ukraine getting the Dassault Rafale in the near future. They'll probably go with either the Gripen due to it's lower cost or the Eurofighter due to Germany's strong relations with Ukraine.

I also wouldn't rule out the potential of Ukraine potentially rolling out it's own jet fighter program - much of China's jet program owes it's origins to Ukrainian firms in the 2010s
There's also Contabo: https://contabo.com/en/about-us/

They have mixed reputation in some cases, but honestly their pricing is great for side projects and such, maybe even running a small/medium business as long as it's within their ToS.
Some additional context. I was actually writing a benchmarking tool for certain kinds of search algorithm. I spent a long time reducing and controlling for external sources of noise. CPU pinning, doing hundreds of those runs with different data, and then repeating them several times and taking the best of each score with the same data (to control for transient performance issues due to the machine doing other things).

I got the benchmarking tool itself to give reasonably repeatable measurements.

The tool had high precision, but the accuracy of "which algorithm is better" was not reliable just due to these code layout issues.

I basically gave up and shelved the benchmarking project at that point, because it wasn't actually useful to determine which algorithm was better.
I was not challenging your conclusion, just not sure it's against China or the USA, both possible, right?

as for the thought exercise...

I have to say that the only way for the EU to be 'independent' is for it to be sanctioned by either China or the US.

For example, since 2000, China has attempted to develop its domestic chip industry with hundreds of billions of dollars, but this effort never materialized until chip sanctions were imposed under the Trump and Biden administrations

btw, i don't think this will come true:

> China says, 'Okay, I will put duties on the parts, chips and batteries you're buying from me.'

it's very unlikely that China will actively limit export for products, it harms more to China itself, it's more possible to limit export for resources like rare metals
> The judges who provide the last, best hope of constraining the President and the richest man in the world face a historic wave of threats.

The role of the judges is not to contain the President. It's exactly this idea where each department think that it's their role to stop the President which has lost them their job. You cannot operate a government successfully where large parts of it are actively trying to sabotage you.

What President Trump is trying to achieve is to take politics out of the permanent unelected state. Additionally, at the same time he is trying to find cost savings, because US debt is out of control [1]. The UK [2] and many other Countries are in the same boat. US spending on national debt is about $1 trillion a year [3], and it raises about $4.4 billion a year in revenue [4]. This is okay, as long as the US maintains growth [5]. Encase it wasn't obvious by now, we are scheduled for a massive economic downturn, and it is extremely prudent to reduce spending so that the US can still afford interest payments.

[1] https://en.wikipedia.org/wiki/National_debt_of_the_United_St...

[2] https://en.wikipedia.org/wiki/File:UK_Debt_as_percentage_of_...

[3] https://www.pgpf.org/article/what-is-the-national-debt-costi...

[4] https://en.wikipedia.org/wiki/United_States_federal_budget#/...

[5] https://en.wikipedia.org/wiki/Economy_of_the_United_States
It's more accurate to say that "a paper studied gender in mice" than to say "no papers studied gender in mice".

edit: Nevermind I retract this. I think you're right about this paper in particular. I guess it comes down to whether a study involving weird things with gender hormones is "about gender"? But it still seems like the core debate is ultimately not very much attached to actual reality.

edit: It's like the "chemicals in the water that turn the freaking frogs gay" Alex Jones meme - if you thought "no that's nonsense there were no chemicals in the water" you would know less about Atrazine than Alex Jones did, despite Alex Jones also being wrong about what's going on with the frogs. The way in which you think that someone is wrong can also be wrong, even if that someone is in fact wrong.
Really difficult to argue that “both sides are equally to blame for the bad discourse” when one side had a mob of terrorists storm the capitol (then pardoned all of them) and the other side held up tiny signs during a speech.
it's not that weird to explicitly limit the scope of certain variables that logically belong together.

But i agree the C++ if(init;cond) thing was new to me.
It means that "a += 1` is easy to understand as incrementing a numeric value by 1" is not true and instead "it can be really difficult to map between the original source and the machine code".

More examples of non-trivial mapping from C code to generated code: https://godbolt.org/z/jab6vh6dM
There used to be train service on that ferry as well. Fond memories, in particular from the time when it was operated with the ICE-TD pseudo HSR (a diesel train, because German railroad is embarrassingly allergic to investment into any parts of the network that might be involved with crossing borders). Train goes into the ship, passengers disembark the train to stroll around the ship, just enough time passes for two cans of Tuborg out in the wind (benefits of not driving) and then it's back to the train again.
Honestly, scientific papers. The pain of jargon will be less than the pain of a popsci book. Especially with all the tools to rewrite/summarize/search these days.
In Switzerland amazon never bothered to enter the market, so local competition filled the gap, and it created much better service while doing it.

I speak specifically about galaxus/digitec which often have more and more available stock than actual amazon in EU, any category has 1000s of items, much better organized and findable. Plus it has many great features not seen or usable elsewhere - directly showing evolution of price across the time, reviews which are absolutely not gamed due to tiny market, so I can rely on them very well (while on amazon its tricky at best). You can easily buy used versions of same item at fraction of the price, its showed at top of each product page.

Their guarantee handling is stellar. And for stuff in stock its next day delivery.
I see it a lot too, and it's called the Nirvana fallacy [1]. We shouldn't do anything about tax evasion because people will evade taxes anyway (ignoring that you reduce the total amount of tax evasion). We shouldn't ban drunk driving because people will drive drunk anyway (ignoring that you reduce the total number of drunk drivers). We shouldn't trust non-profits, because they seek revenue anyway (ignoring that it's much less severe for any non-profit in comparison to a for-profit company).

[1] https://en.wikipedia.org/wiki/Nirvana_fallacy
maybe spend the time talking to his voters?
Reading that you are extremely embarrassed and sorry that you made such a huge oversight, I was imagining you had broken something / worsened CPython's performance.

But it's nothing like this. You announced a 10-15% perf improvement but that improvement is more like 1-5% on a non buggy compiler. It's not even like that 10-15% figure is wrong, it's just that it's correct only under very specific conditions, unknowingly to you.

IIUC, you did your homework: you made an improvement, you measured a 10-15% perf improvement, the PR was reviewed by other people, etc. It just so happens that this 10-15% figure is misleading because of an issue with the version of clang you happened to use to measure. Unless I'm missing something, it looks like a fair mistake anyone could have reasonably made. It even looks like it was hard to not fall into this trap. You could have been more suspicious seeing such a high number, but hindsight is 20/20.

Apparently, you still brought significant performance improvements, your work also helped uncover a compiler regression. The wrong number seems quite minor in comparison. I wonder who was actually hurt by this. I only discover the "case" right now but at a first glance it doesn't feel like you owe an apology to anyone. Kudos for all this!
Somewhat slow compared to what, though? It didn't cost a fortune. A 2.0L MX-5 ND is the nearest modern equivalent and they should both do the 0-60 in ~6s.

I mean, those two were never "performance cars" (though the S2000 should be rather good in the bends for a convertible), but this isn't slow nor quick in my books.
Same here about not wanting to compromise on email reliability. I self host most things, run Linux, DDG, custom rom without Google Play, etc etc.

But I've still got my @outlook.com email address.
What’s the problem with FreeBSD?

It’s been my daily driver for 20 years. That it has an open license is a good thing.
So the segments are allowed to fill with water, and then at the end it is all pumped out ? Or is each segment wrapped in plastic when it is dropped into place, and then they are somehow linked together without the plastic causing problems ?
Hi dang! Thanks for your moderation :)

I have not created dozen accounts and the 3 parent comments are not me.

Someone posted a broken link, claimed it was HN censorship (which I found surprising & concerning), I got curious & re-posted it to test. I found it was actually not censored by HN and edited my comment to disclose that to others in the thread.
I think you don't understand the situation.

The situation with China hasn't fundamentally changed in the last two months. People operate under the assumption of some kind of stability in this relationship. The West imports and exports products from/to China, with some restrictions: critical infrastructure like antennas cannot be built by Huawei in many countries, for instance. People in the West wouldn't use a Chinese email provider, etc. Today China is not an ally, but not an enemy either; rather a partner. There is no reason to expect a change in behaviour right now. It doesn't mean that the West agrees with everything that China does, of course.

Now regarding the US, it has fundamentally changed in the last two months. From the US government threatening to invade allied countries to actively destabilising them through people close to Trump downright making nazi salutes. On top of threatening militarily, the US is attacking its ex-allies economically with tariffs. The people in power in the US are explicitly talking about destroying Europe, and the US is now becoming an ally of Russia (which again makes it look like an enemy to the West).

Two months ago, people were operating under the assumption that the US was an ally. Now it's a partner that is going down the slope of becoming an enemy. Go ask if Canadians or Europeans feel threatened by China right now. Ask the same question about the US.

So yes: people are more scared of the US right now, and the US look more like enemies than China right now.

> This tells me the resistance isn’t principled at all, but simply grandstanding.

TL;DR: It is obviously resistance, against the US becoming an enemy. There are two obvious reasons for finding alternative to US products:

1. If it hurts the US economy (and therefore the US citizen), the hope is that maybe they will realise that Trump is not helping them and push for stopping this madness. The US won't get back to beeing trusted allies anytime soon (that ship has sailed), but they could stop from becoming enemies of the West.

2. National security: the US cannot be trusted, so it is very urgent for the West to turn to alternatives and run away from the US as fast as they possibly can.
I didn't say don't tip, I said don't use Uber and use a taxi instead (and keep tipping if you want). I don't know what the situation is in NYC, but the last time I visited the US in Illinois, my taxi driver told me he also used Uber when he finished the hours he could legally drive a taxi for. To me that's scary on so many levels: both from the point of view of exploitation, but also personal safety.
This comment makes me laugh.

When was the last time Woz worked at Apple, and what was his rate of creation while there?
Contabo is garbage. They'll scam you with every trick in the book.
I'm kind of curious how they have houses in the US. I'm from Europe but I would have kind of assumed that banks aren't willing to lend to someone without residency pinned down or would only do so at extortionate rates. I also kind of assume most wouldn't be able to pay for a house outright.
Get an iso, burn it on a cd. Take a second computer and execute the xp keygen generator from endermanch. Use that to activate windows
Only if they return Constantinople.
that's great, we can only move forward if we keep looking back into our history
Bruce Artwick's Flight Simulator was one of the programs that blew my mind in the very early 1980s and convinced me that computers were the best thing ever. Other programs in the same category are muMath (symbolic math with a side of LISP) and Visicalc.
Neither C nor Rust have exceptions. Rust has unwinding, which are kind of like exceptions. And indeed `assert!` will do unwinding (although applications can be built in a way where it will be an abort) that can be caught.

> Its only "hard" because languages make it hard and implicit what the std library itself is doing.

This is an extraordinary claim that requires extraordinary evidence. I absolutely don't buy this for one second.

> I don't have anything public really to show this but at my work, our library written in C++ have like gazillions of checks using macros, every single invariant is checked and they all crash at debug and throw exceptions at release.

This isn't good enough to demonstrate that your advice is broadly applicable. Nowhere near good enough. Other people in this thread provided examples of what they thought were the same thing, but it actually turned out that most broken internal runtime invariants would just lead to UB, despite having error codes like "this only gets returned if there is a bug." So I can't tell if you're making the same mischaracterization.

Moreover, you don't state the domain you're in. I could absolutely believe that there are some domains where it is acceptable to invest huge resources into eliminating all possible aborts, even for broken internal runtime invariants. But I'd expect them also to eliminate all possible instances of UB as well, because, well, UB can result in aborts! (And often does, via a segmentation fault.) At this point, you're in "prove your code is correct" territory. Sometimes that's warranted, but your comment was made without any of this nuance at all.
Yeah, but ships of this size or larger are required to transport the drones close enough to the target.
If you do not trust France and Germany because of proposed laws against privacy that did not pass there then who do you trust?
I recall hearing a lot of assembly engineers not wanting to let their skills rust either. They didn't want to be a "4th gen engineer" and have their skills replaced by proprietary compilers.

Same with folks who were used to ftp directly into prod and used folders instead of source control.

Look, I get it, it's frustrating to be really good at current tech and feel like the rug is getting pulled. I've been through a few cycles of all new shiny tools. It's always been better for me to embrace the new with a cheerful attitude. Being grumpy just makes people sour and leave the industry in a few years.
thx for reminding me. The Cliqz story was absolutely insane. I think they burnt over 100 mio euros for basically nothing. They had no strategy whatsoever.
Yes, obviously the license can change by the author. The same can be done with GPL software.

But what has once been licensed under a permissive license, will remain free forever.

Only the changes will be affected.
Yes, but which ones? There are so many out there... It seems like you're educated on the subject, so you may be able to recommend good ones.
I feel bad for you since a change on the order of 5% would still have been seen as a very nice bit of work. I appreciate the class with with you’re dealing with an honest mistake, and all of the hard work you’ve given the Python community.
Thanks for the constructive answer. Why would Google care? And if you do, why don't you install Debian directly instead of Android?

I understand how it's fun. But fun is not a reason to put resources into pushing something into production.
Human senescence consists of many different processes, telomere attrition is one of them.
We could have avoided so much hardware and OS complexity if we'd instead (mostly) discarded the idea of shipping and running compiled code directly on the hardware.

TL;DR: we are doing things in hardware that ought to be done in software, and we're giving software too close to metal access.

User mode should be something like the JVM, but more language-neutral, something based around WASM for example. The runtime for this should ideally be written in a memory safe language and very extensively tested. User mode code should not have access to raw pointers, raw CPU, etc.

If we'd done this we also could have elevated things like the common API beyond the lowest common denominator of C. We used to have a ton of research and some fielded systems like this: Smalltalk, LISP machines, the JVM, the CLR, etc. The JVM and the CLR are still quite alive and well but the HN world seems to hate them for some reason. Smalltalk and efforts like the LISP machines died out.
In the US, the CEO/executive director of a mid-size non-public company would probably expect a few hundred $K/year. Which isn't starvation wages, especially by European standards, but is something a lot of individual contributors in Silicon Valley would consider a relative pittance. And toss in no equity.
Why not try Kagi? Serious question.
I agree that what I predict is speculative, as predictions usually are, but I think this is the most likely outcome.

It’s interesting the point you make about political dynamics - elections mainly, and indeed that is a core part of my thesis: American democracy does not cause meaningful changes to the long term strategic direction of the country. Some things are decided by elections, but these things are not.

All highly speculative, yet we will see how it plays out in time.
Helping coders use AI to cheat in tech job interviews
What is coming? AGI that will destroy any notion of property rights or freedom that you ever held? Or something better?
> Then in March 2011 the Fukushima nuclear accident happened, and public opinion took notice.

The public didn't "take notice" on their own, they were manipulated by a scare campaing from the public news broadcastets.
In the Netherlands we have Bol.com which also offers one-day delivery for many (most?) products.
>I guess the argument is did they break X's ToS?

What reason do we have to believe the ToS is being enforced fairly and not at the behest of the current regime?
I don't think that's much of an issue on this side of the pond. Trust has been low enough for a long enough period of time that packages don't get left on porches.
All the apps use the norwegian service anyway
Which part?

Apple is already using the secure enclave for key derivation, PIN/password rate limiting etc. (that’s what it’s for), but my point is that there’s currently a gap in that you can often not really know if you are actually talking to the secure enclave or OS-level malware.
Night Mission was great. It felt so different from other Apple II games. I can't quite put my finger on it, but there was something about it that felt like a real arcade game in a way other programs (and certainly other pinball simulators) didn't.
> I increased performance of some ActiveRecord queries 1000x by simply rewriting them in SQL. (No hate against ActiveRecord, I use it regularly. It just takes a lot of discipline once you hit queries of a certain complexity.)

ActiveRecord is the problem there, though. Or any active record-style ORM. That's why Hybernate/SQLAlchemy-style ORMs are so useful: they don't suffer from the same issues as ActiveRecord-style ORMs.
International freight shipping is incredibly cheap per kilogram (1 TEU/20ft shipping container costs about 6000 euros to ship, with a max eeight of about 28900kg, so about 20 cents per kg), at least by sea and rivers. Many of the costs come from the moment products arrive on land. Land-locked countries and countries with major population centers far away from docks and freight terminals pay the price.

Shipping individual packages within a short amount of time costs money. The solution is to do what companies like Amazon and AliExpress do: stock up products in many different companies in bulk so that packages can be dispatched locally for much cheaper.

Many of the shipping routes between countries go by plane rather than by boat, filling up unused weight in passenger planes or being shipped in bulk by passenger planes. Planes are a lot more expensive, especially by weight, but you'll get your products within days rather than weeks.

If you're a business importing goods in bulk, you'll have to deal with weeks or even months of delays between ordering and delivery, but international cargo delivery per product is essentially free unless you ship things like cars.

Things will become cheaper as warehouses are spread wider and transport legs get optimized more. Currently, there aren't many companies shipping from Italy to Romania, so there aren't many boats or trains making the journey, and shipping is expensive. When demand grows, more availability will follow, and prices will drop eventually.
Reminds me of Apple’s CoreFoundation.
As far as I am aware Contabo has a pretty bad reputation and not a mixed reputation.
It's no longer about democracy when public opinion is largely dictated by government funded television. And yes, the government forcing it citizens to pay directly doesn't make it any less government funded.
The list reflects mass hysteria, not free speech oppression, because it exaggerates Trump’s actions. The 2024 landslide mandate is to purge “Woke Ideology” from public institutions. These policies and actions target government speech, not private expression and reflects voter will in a democracy rather than silencing dissent.
Show HN: iblncr, a cli tool to rebalance your Interactive Brokers portfolio
Hi HN, I hacked this together a couple of weeks ago to take the toil out of rebalancing my Interactive Brokers equity portfolio.

It's not battle tested by any means, but it works sufficiently well enough for my purposes. Maybe you'll find a use for it too.

Blog post with a bit more context:

https://riazarbi.github.io/quant/iblncr-trading/
I ran out of fast requests and using my own API key
They will change the paragraphs only wrt infrastructure, defense (and possibly climate things to get the votes of the greens). Meaning that the debt brake will still exist for all other things, basically. (but yes: creative bookkeeping will become easier ;))
Have you never heard of snowden?
Oh I think a war with Russia would override those concerns!
>But they have no obligation to provide it to you right now.

Yes we're posting on HN, I think we all know that...
It took me far too long to realize you meant nautical miles and not a mistyped nanometers. More coffee needed.
It’s only cheap until you or someone who uses one of these images gets sued for copyright infringement and loses. I, for one, will be rooting against you in that court case, pot-stirrer.
Swissto12 to build small Asia-focused direct-to-device GEO satellite – SpaceNews