Better HN
topnewbestaskshowjobs
Log inSign up

TacticalCoder

10,596 karma · joined Dec 4, 2013 (12y ago) · 4,865 submissions

email: I'll add a suitable email one of these days
Submissions

comment 2y ago · link · parent

That "car is slower than train" really only works when everybody happens to live near train station A and when the group of friends plans to take its vacation near train station B.

By plane it can be even worse : time to go to the airport + buffer of one or two hours to not miss the plane + landing and waiting for luggage and then time to go from the airport to your destination.

For our usual vacation, car takes 8 hours (950 kilometers) while plane takes 6h30... Still a win but then you're left with no car or having to rent a car: renting the car is another 30 minutes. So 7 hours vs 8 hours and you re stuck with a car inevitably (for me) shittier than yours.

Train isn't even close to competing time wise in our case. But I have fond memories back when, as a kid, we d put the car on the train and then take the same train.

I have nothing against rail and it s great it s developing in the EU. But on many cases it's simply not a time saver compared to car.

comment 2y ago · link · parent

Maybe it is, maybe it isn't. But the one thing that is sure is that their previous model didn't work. Everybody cheated the state. The state itself cheated and lied to the EU.

And it ended up with Greece defaulting on its public debt.

It may be yet another disaster but let's not downplay what created an actual disaster.

comment 2y ago · link · parent

Le met hazard a guess: that blog post was not written by a LLM!?

comment 2y ago · link · parent

> Because it's the only logical conclusion and multiple Russians have already been arrested in France for plotting to disrupt the Olympics

In Belgium they arrested seven muslim terrorists who were planning a terror attack during the Olympics, they were from Chechnya (so, technically, russian but it sounded like the usual islamic terror attacks that was planned and not some "russia vs the west" thing).

comment 2y ago · link · parent

> Interesting fact from the article...

That was the case in many countries. In France for example a huge part of the resistance was way too sympathetic with Stalin's ideas (and btw didn't join the resistance up until 1941 and Hitler's operation Barbarossa, when Hitler betrayed Stalin) so one of the very first thing the government did in France right after WWII was to disarm the resistance as much as they could. Most people don't read about that but it's well documented.

These (back then) superpowers were paranoid and rightfully so: the cold war started right after WWII and both blocks were very careful not to have ennemies from within.

comment 2y ago · link · parent

Polish mathematician had the Polish "bomba" in... 1938 (which is actually right before WWII):

https://en.wikipedia.org/wiki/Bomba_(cryptography)

comment 2y ago · link · parent

I really enjoyed TFA but this:

> Technically, you could get extremely unlucky: at each step, you could pick the largest element as your pivot. Each step would only remove one element from the list and you’d actually have O(n2) performance instead of O(n)

If adversarial input is a concern, doing a O(n) shuffle of the data first guarantees this cannot happen. If the data is really too big to shuffle, then only shuffle once a bucket is small enough to be shuffled.

If you do shuffle, probabilities are here to guarantee that that worst case cannot happen. If anyone says that "technically" it can happen, I'll answer that then "technically" an attacker could also guess correctly every bit of your 256 bits private key.

Our world is build on probabilities: all our private keys are protected by the mathematical improbability that someone shall guess them correctly.

From what I read, a shuffle followed by quickselect is O(n) for all practical purposes.

comment 2y ago · link · parent

> ... and we had all those doomsday articles about inflation. Now it's reversing, and... it's still bad. Economics discussion can't win, pessimism rules.

The US did grow its public debt by 50%, from 22 trillion to 34 trillion in... Four years. +12 trillion in... Four. Years.

The cost of servicing the US debt is going to be the most important government spending two years from now.

US debt has to be something like 135% of the GDP now (roughly 100% public and 35% foreign).

Care to share some of your optimism on these issues?

comment 2y ago · link · parent

Don't know about OP but I generate such tables using Emacs.

comment 2y ago · link · parent

> The only way for this not to happen is AI controlled robots first gaining complete control of massive chunks of the economy.

So they do that because they plan to annihilate all humans. They succeed in both.

How does the AI deal with physics and the heat death of the universe?

comment 2y ago · link · parent

> I have difficulty understanding what the transformed image is equivalent to.

As a non-photographer with zero knowledge about photography, the fixed image, with straight lines, feels much more natural to me.

I'd say it reminds me of 3D games like, say, 3D game simulators?

Are 3D games not reproducing lens deformation more or less correct from a "physics" point of view? I happen to be on vacation atm in an apartment on the beach on the ninth floor with a clear view: what I see is much closer to the "corrected" (not my word but TFA's author's one) version than to the other one.

comment 2y ago · link · parent

> ... is disproved by the numbers the author themselves shows.

Yup I just made a similar comment (but using other examples). TFA is contradicting itself and another linked article (from the same author) is also contradicting itself.

comment 2y ago · link · parent

I've read TFA and another one linked by TFA. I did enjoy the reads and the links but... In both articles the author seems to contradict himself, more than once.

For example:

> The affluent have decoupled social status from goods, and re-attached it to beliefs.

> it is those who have more to start with (i.e., upper-class individuals) who also strive to acquire more wealth and status.” Plainly, high-status people desire status more than anyone else.

So which one is it to achieve status: goods/wealth or beliefs?

Or this:

> It used to be high-status to hold a job and take care of your family. Not so much anymore. Those who sit at or near the apex of the social ladder (who decide what behaviors are prestigious) have decided that family stability is unimportant.

> The people with the most money and education—the class most responsible for shaping politics and culture and customs—ensure that their children are raised in stable homes.

Once again: which one is it?

Then in both articles there's the same mechanism of saying basically "it's not visibly the fault of X, but under the hood it's actually the fault of X".

I mean: how can you argue with people who consider that everything that is wrong on earth is the fault of the "rich" and that even if the rich have good values, it's their fault that the poor have bad values?

"They do A, they say A. But they think B. Hence the poor are suffering".

Another take is that intellectuals, including in universities, have been very hard at work in the west (both in the EU and the US), since decades, to push the religion of the state. And what stands between the state and the individual? Religion and family, for a start.

And in a deliciously ironic turn of events, it's the one class leftist intellectual from universities (there are no right-wing intellectuals in universities anymore) hate the most, the "rich", that managed to push back against that narrative and raise their kids perpetrating the notion that being a united family is a good thing.

I really don't buy it that the rich are oppressing the poor by showing united families. And no amount of quoting french intellectuals is going to change my mind.

comment 2y ago · link · parent

I love burntsushi's ripgrep and certainly use it all the time, calling it directly from my beloved Emacs (and I do invoke it all the time). If was using ripgrep already years before Debian shipped rg natively.

I was also using JodaTime back when some people still though Eclipse was better than IntelliJ IDEA.

But there's nothing in that document that contradicts: "just represent duration as nanoseconds".

Users needs to see timezones and correct hour depending on DST, sure. Programs typically do not. Unless you're working on stuff specifically dealing with different timezones, it's usually a very safe bet to: "represent duration as milliseconds/nanoseconds".

That humans have invented timezones and DST won't change the physics of a CPU's internal clock ticking x billion times per second.

Just look at, say, the kernel of an OS that didn't crash on half the planet a few days ago: there are plenty of timeouts in code expressed as milliseconds.

Reading your comment could be misinterpreted as: "We'll allow a 30 seconds cooldown, so let's take the current timezone, add 30 seconds to that, save that time as a string with the time 30 seconds from now, complete with its timezone, DST, 12/24 hours representation and while we're at it maybe add exta code logic to check if there's going to be a leap second or not to make sure we don't wait 29 or 31 seconds, then let the cooldown happen at the 'correct' time". Or you could, you know, just use a freakin' 30 seconds timeout/cooldown expressed in milliseconds (without caring about whether a leap second happened or not btw because we don't care if it actually happens after 29 seconds as seen by the user).

comment 2y ago · link · parent

OVH of course. Hetzner is a name that comes up often too.

Note that you can have a dedicated server, not just a VPS, for as cheap as 5 EUR / month (and you can go up to insanely powerful stuff with bandwidth and CPU power sufficient for 99.99% of all the SMEs in the world at a fraction of the price of cloud offerings). They automatically come with quite beefy DoS protection too.

These are remotely controlled: you can re-install another Linux distro in minutes. You can also boot to a Web console. I precise this because any time these names comes up some comments here invariably explaining that "I don't have the time to assemble a server" or "I don't have the time to drive to the datacenter to fix a failed machine" etc.

We're talking about companies managing hundreds of thousands of servers (since decades now?). They know what they are doing.

comment 2y ago · link · parent

What is needed are canonical representation of data and then you must parse, re-encode, and verify that the re-encoded data matches bit for bit what was parsed.

Not in unit tests but when the app is running: you take the data in, you parse it, you re-encode/re-serialize it/re-whatever it. If it's not matching the data that came in, the data that came in is rejected.

And that should just be one of the steps taken to verify that the data looks legit.

comment 2y ago · link · parent

> CrowdStrike's Falcon Sensor also linked to Linux kernel panics and crashes

How many Linux machines did crash a few days ago? How many Windows machines did crash a few days ago? Case closed.

comment 2y ago · link · parent

> "This is good for crypto" is literally a meme.

Trump is literally creating cryptocurrencies NFTs / tokens and he announced he'd speak at a Bitcoin conference.

I'm not a US person but Trump is very much pro- decentralized cryptocurrencies (and totally against a Central Bank Digital Currency).

I think in this case it'd be good for crypto.

comment 2y ago · link · parent

98% of women in Somalia are sexually mutilated. Guess what Somalis are doing in France to their little girls? That s right: they re mutilating them.

But I take it 98% of Somalis women getting sexually mutilated in Somalia is the fault of colonization or something?

comment 2y ago · link · parent

I saw hostages taken from a music festival hidden by Hamas soldiers in hospitals in Gaza. Hospitals funded by complicit NGOs who should be defunded. Even the WHO apparently had Hamas operatives on its payroll.

We will not forget who funded these tunnels and rockets.

We are in the "find out" part of "fuck around and find out".

comment 2y ago · link · parent

OpenSSH has seen one hole recently (and the failed xz attempt) and somehow SSH is less safe than a VPN? How the VPN configured? What is the client OS people are using to connect to the VPN? What's the track record security wise of the various VPN offering?

The "SSH has a wide attack surface as seen by RCE ..." is a bit dishonest IMO. How s any VPN more secure?

If you want configure SSH to be pubkey only and hand over Yubikey to your users.

I wonder: in all the recent data leaks leaking billions of users data where attackers were inside company's networks (and not just on online facing servers), was it through SSH holes that these attack too place? Or are we talking about a corporate culture of Windows+VPN?

comment 2y ago · link · parent

> where a mix of bots, humans, and accounts that were once humans but aren’t anymore mix together to form a disastrous website where there is little social connection at all

And in the case of zombies, let's not forget the "deadbook" phenomena, which many predicted already back when FB was only picking steam: accounts from dead people, but where others sometimes still comment / upvote / like / tag / whatever.

I remember a post saying "Hey xxx, long time no see, what are you up to?" to someone I knew who was dead more than a year ago.

That was chilling and eerie.

comment 2y ago · link · parent

Something however has to be said about winning a Nobel prize then using your model to lose billions and send your company into bankruptcy.

The market is incredibly efficient at pricing many things incorrectly and Markowtiz then BSM was no exception.

comment 2y ago · link · parent

Yeah managed funds sucks big times. They rip people off with fees, quite some have insane performance fees and they just don't beat the market.

Then I suspect that even with all the supervision in place, quite some manage to also do Hollywood accounting.

Not to mention the friend of the cousin of the fund manager's niece who happened to buy x shares of y or options before, shocker, the fund invested in y.

We know these people cheat. If they were so good they wouldn't need to leech on fees.

I live in a tiny country where lots of fund are managed (only second to the US). I know the drill. Most of them by very far are about suckering people's money in, no matter what the fund is about.

Creat 16 funds, after four years show the prospectus of the one fund that performed best. Rinse and repeat.

Actively managed funds are a scam.

Also depending on where you buy it, anywhere from zero (good) to 1% entrance and exit fees.

"Scam" is not a strong enough word.

comment 2y ago · link · parent

Yeah. Some are saying passive investment is the biggest bubble of all times. The P/E of so many companies, not just tech ones, makes zero sense.

Mandatory pension funds are a ponzi. And btw the EU is hard at work working on one atm: they re currently thinking hard as to how to capture the wealth of EU citizens and the latest iteration would be a mandatory fund to invest in... State sponsored companies. They ll oc course not be presenting it that way but that s what it is. Then they ll kick the can down the road for years or decades by forcing mandatory contribution from new taxpayers.

Ponzi / pyramidal / state-mandated shenanigans never end well.

FWIW that mandatory fund in the EU shall be used to finance the army, digital transition (supposedly to counter the US but actually to siphon taxpayers money into friends of politicians creating companies that ll never compete with SV) and... Ecology.

I'm not thrilled that in a few months I ll be forced to invest in that.

comment 2y ago · link · parent

Yeah... At times I just take funds I like, read what they re actually made of, and replicate their holdings in IBKR. This way I dodge the fund's 0.5% annual fees and performance fees.

39 cents per transaction is hard to beat.

The lump sum of cash on the sideline gets you 4.83% on IBKR (as long you have $100K+ on he sidelines). Cash secured puts you sell bring you yield on the USDs securing the put.

Financial reports they make are top Noth and entirely configurable.

comment 2y ago · link · parent

> Noahopinion has a very recent interesting article on wealth and taxation

As this article explains: the US could confiscate all US billionaires' wealth and that would only pay for one year of public US spendings. Not to mention that confiscating that much wealth would crash the very value of that wealth, so they'd get less than that.

That's what I meant in my comment when I wrote that we know how it's going to end up: they won't stop at confiscating the billionaires' wealth. The state shall immediately run out of that. They'll then come after the middle class' savings (which the EU is preparing at the moment, should be coming out in a few months).

comment 2y ago · link · parent

> Wealth inequality is just a radical left fairy tale to villainize the hard-working 1%.

The problem with that mindset is that we know how it's going to end up: it's not only the 0.1% or 1% that are going to suffer the wealth tax. It's the 30%.

At first the "tax on billionaire" was supposed to be that: a tax on billionaires. But then there are already publications explaining how "taxing anyone who has more than a million (a million, not a billion) would bring x in revenue for the various countries".

Also note that it's never about distributing that money to the poor: it's always about the state getting more money. Money which is then spent in state-friendly companies.

For example the EU is hard at work now imposing a mandatory, EU-wide, tax on all its citizens to "finance EU projects". It's not a tax to give money to poor people. It's a tax to give money to companies like Thales and Airbus and a shitload of sycophantic companies that'd be bankrupt if not for the state' intervention.

Just look at how government are managing the insane money they get: do you think they're doing a good job when they're at, say, 130% debt-to-GDP ratio? Why would I want to encourage such irresponsible spenders by giving them even more?

When a country like France, which is badly in debt and has huge deficits, has about 60% of its GDP that is tied to public spending, it's not the fault of "the rich" if the country is not doing well. It's the fault of the people governing that country.

So, no, thanks but no thanks. I don't want any "let's tax the rich" discourse because I know that it's the middle-class, not the rich, that's going to end up getting owned.

Just like fighting the four horsemen of the infocalypse is an excuse used by the states to gain every more power, attacking the rich is an excuse for the state to gain ever more power. It's not about helping the poor.

comment 2y ago · link · parent

Well it seems like a huge leak. And if there's a place where there are illegal, woke, decisions taken it's Disney. For example there's a Disney exec who's been recently caught by an undercover journalist, on video, saying "we don't hire white men as such positions".

It is discrimination and it's totally illegal. I do personally find the "wokeness" of Disney also shows in their cartoons (it's just an opinion but several have that same opinion).

So for such things to happen, there may be a company culture of wokism in place at Disney.

If there's such a company culture and seen the size of the leak, it's very possible that they've been so dumb as to openly discuss how to be anti-white (e.g. both in hiring practices and in picking fictional characters) on their slack channels.

To paraphrase a well-known meme: *"You never go full woke: Disney went full woke".

1
858687
163