HN user

apelapan

294 karma
Posts4
Comments177
View on HN

Sure, of you are a one-man shop trying to sell IT services in a regulated category to banks, hosting is not something you want to add to your list of problems.

This is not comparable to the situation in a company like Airbus, with perhaps 10k people of every imaginable expertise employed in just the IT department. Not comparable to most companies that are 1/50th of Airbus size either.

For a largish company (1000+ people, 500M+ turnover), assigning ten FTE:s to managing the racks and general core infra on a 365/24 basis and another five lawyers and general bureaucrats to deal with the general paperwork is nothing.

The reason for the big cloud shift in the 2010s was other things. A lot of hype/lies about how fast, cheap and easy things would be. And in many companies probably also a feeling that internal IT were a bunch of morons who failed at anything you asked them to do, and that anything else must be better.

It is only pyright/basedpyright that flags Optional[T] as deprecated as far as I am aware. Optional isn't actually deprecated by Python or anyone else.

You can disable it in the pyright settings. In my opinion T | None is not a meaningful improvement and insisting on changing it everywhere causes a whole bunch of churn and needlessly makes code stop working on older Python versions.

On the A380 you get to enjoy the higher ceiling also in economy. It does make quite a difference for how cramped you feel, even though the leg room might be the same.

And both B747 and A380 fly much calmer than the smaller, lighter widebodies, which is equally nice for passengers on all classes.

Scandinavian scrap metal thieves organize trucks and cranes to steal copper roofs from old churches and rip down railroad overhead lines all the time.

Free healthcare and education, guaranteed housing and social safety nets make little difference.

Some people will stop at nothing to get more, no matter how much they already have. (Applies to billionaires and paupers alike). I guess you could call it having an entrepreneurial spirit.

No one steals car stereos anymore though, because you can't sell them to anyone. That mechanism could be put to more work. Heavy, EU-wide supervision and enforcement against scrap metal dealers would probably make a difference.

Minimum wage is set by the states, 7.25 is just the national minimum. California has 16.90, Washington 17.13 etc.

If I'll update the icecone example to a single vanilla scoop costing $8.45 it still stands for a Californian.

By the way, USD 16.9/hr is on the low end of normal pay level for a IT technician or junior nurse in Sweden. Tax is highly progressive, so at that point they'd only be paying about ~18% total income tax though, perhaps that would be higher in most US states?

I don't think people should get ripped off just because they can afford it.

If you visit Sweden, don't buy ice cream in the historic area of Stockholm ("gamla stan").

As an American you might think "$10 for a single scoop of vanilla, that's nothing. A minimum wage worker packing groceries earn twice that in an hour back home". But you are not helping a starving ice cream labourer with your purchase, you are simply being taken for a ride. Walk a couple of blocks more and check the signs, and you can buy it at half price from a respectable establishment instead. Most likely the ice cream will be better at the next place as well.

The well that you drill will last a 100 years if you don't have bad luck. That is half the cost of installation.

The water/water heatpump unit in my house is 20 years old and has not had any major failures yet. I hope it will run for another ten years before the compressor gives up, but it is indeed approaching its calculated technical lifespan. I estimate it will set me back €10k to have it replaced.

Air/air is the cheaper option over time, even in most of Scandinavia with coldish winters. The main drawback of air/air systems are that they are loud and ugly and therefore annoy both yourself and your neighbours.

€200 buys you a 1tb ssd even at todays elevated prices. That has no problem giving you 10gbit of sequential io.

Four or five 7200rpm disks in an array can also sustain it for sequential reads of big files. That costs less than a gaming laptop.

A potato can saturate a 10gbit line if the data is mostly in memory.

For lots of small files in random sequence and cold caches it gets a lot harder.

I can't see the cable jackets. There's just outlets in the walls. I ask building management to make a link between outlet X and Y and then they make it happen via one or more patch panels that I don't know where they are. :-)

People downthread has written, cat6 was already the goto thing 15+ years ago so perhaps that is what they put in when the office space was built. It is a well built office!

I don't agree that it is insane. It is less efficient than ideal, but 10gbit over copper is not necessarily dangerously hot or difficult to power.

I have a MikroTik CRS304-4XG-IN on my office desk with three out of four ports at 10gbit and it is perhaps 20 degrees above ambient on the outside. Warm but not hot. Passively cooled design.

A normal Windows laptop runs hotter than that when idle.

I might have been lucky, but in the one home and one office were I've connected 10gbit switches and PCIe cards, it has just worked. Especially the office was a nice surprise, because it is at least 20 meters (probably more) of unknown cabling and at least one unknown patch panel between the utility closet where the NAS lives and the desk area. The cables were run 15 years ago, so I expected it to be cat 5, but clearly not.

It is nice moving/streaming large files across the network at 10 gbit. It really is ten times less waiting than with plain old gigabit.

Of course, most of the time I'm working with lots of small files and then the spinning disk array in the NAS has no chance to saturated the this giant pipe, or even a normal gigabit connection...

Just as much as people are not entitled to lack of change, they are not obligated to enjoy, welcome or facilitate change.

What I learned about IPv4 at the turn of the century allows me to comfortably plan and manage networks up to a few thousand nodes, maybe a few tens of thousands.

I don't work in networking anymore. I really don't care about what those who are in that business. What you need to manage contemporary billion-node size networks and interchange between them is not my problem. You try to make it my problem, but I don't care.

I'll continue organizing the very few and very small networks that are still my responsibility using pre-CIDR ideas.

Maybe it becomes impossible some day. I'll deal with it then.

On the contrary, I threw a multi-threading optimization task on it, that 4.5 and 4.6 have been pretty useless at handling. 4.7 bested my hand-tuned solution by almost 2x on first attempt.

This was what I thought was my best moat as a senior dev. No other model has been able to come close to the throughput I could achieve on my own before. Might be a fluke of course, and they've picked up a few patterns in training that applies to this particular problem and doesn't generalize. We'll see.

Yeah, as a Scandinavian it is often hard to understand how people can feel that their existence is a secret. We've had public and fairly rich (family relations, profession) census data for hundreds of years. Tax records, school grades, property ownership. All of it public information available to and for everyone.

The right to privacy here never meant "noone may know that I exist".

What's the point of a three year window? It seems like a weird middle-point. Either you are in a position to choose/install your own interpreter and libraries or you are not.

If you can choose your own versions and care at all about new releases, you can track latest and greatest with at the very most a few months of lag. Six months of "support" is luxurious in this scenario.

If you can't choose your own versions, you are most likely stuck on some sort of LTS Linux and will need to make do with what they provide. In that case three years is a cruel joke, because almost everything will be more than three years old when it is first deployed in your environment.

I'm on my fifth decade living in the nordics. Strangers have conversations at bus stops and neighbours socialize by the garbage bins and across the hedges all the time.

Not as much as in some other places in the world, but it is not at all rare.

Does JIT Go Brrr? 6 months ago

I guess the benchmarks are run on nightlies from 3.15 dev branch? It doesn't say on the website.

I did some tests with 3.15-dev on my own reference benchmark a few days ago and noticed that the JIT is finally making a positive impact.

As it looks now, 3.14->3.15 will be the biggest release-to-release Improvement since 3.10->3.11. At least for streaming text processing with significant amounts of pure-python logic.

No need to bring the poor into the discussion. Of course they can't afford paying an equal share of their income as someone with average or above average income.

In the grandparent post I was first replying to, the poster stated that they were in the highest tax bracket that existed in their country, but said there should be more brackets for people who were even more well off.

My opinion is that it isn't unfair to the top 1% that the top 0,1% have the same tax rate, even though they are richer.

I do think it is unfair if the bottom 25% have the same tax rate as the top 25%.

What I am trying to disagree with, is the notation that it is unfair if high-earners and very-high-earners hand the same proportion of their wealth and income over to the government.

My take on the wealth-cap is that it isn't about fairness at all. Actually I think it would be mostly unfair, but that it would be good for society anyway. Fairness is an important value, but it is not the only value.

You pay the same proportion, not the same amount. 40% of 1M is 10x more than 40% of 100k.

Disregarding all technicalities about what proportion people actually end up paying after performing clever tax planning.

Why are you sure that someone earning 1M should have higher proportion of their income taken away than someone earning 100k?

At some sufficiently low level of income I think it stops making sense collecting taxes, but beyond that I'm not so sure from a fairness-perspeective.

I could perhaps get on board with a hard cap on wealth, for preserving democracy. It is dangerous to have single individuals and families attain too much power. But up to that cap, I don't see any inherent unfairness or inefficiency in that people of moderate to high wealth pay the same proportional rate.

Building a Quake PC 6 months ago

That Linksys card feels out of place in an over-the-top late 90s build.

As I recall it, the local LAN scene had an almost religious cult around 3com 10mbit ISA cards, that eventually morphed into a similar thing for Intel 100mbit cards.

Drivers and hardware were even more shit back in those days than today. Cards known to have worked in multiple motherboards and across multiple operating systems were held in high regard.

Thanks for the that bit of info! I was surprised by the speed difference. I have always assumed that most variations of basic string formatting would compile to the same bytecode.

I usually prefer classic %-formatting for readability when the arguments are longer and f-strings when the arguments are shorter. Knowing there is a material performance difference at scale, might shift the balance in favour of f-strings for some situations.

Python performance measurements done across nine major Python versions, five CPU architectures, and three operating systems. Plus PyPy and MyPyC!

The benchmarks are run on a highly compatible, pure-python library for producing and consuming typed CSV:s.