HN user

Zvez

247 karma
Posts1
Comments87
View on HN

Yes, horrible, but at what point does the consensus become that October 7 starts to look like a small event in light of the death toll on the other side

At the point when other side (free palestine and alike) start acknowledging it. Two wrongs don't make something right.

Start with teaching Palestine supporters that hamas is not the answer. And maybe, maybe after that people start seeing Palestine people as victims. Without it, most people will continue supporting Israel, not because they think that it does no wrong. But in comparison with hamas and their supporters Israel is lesser evil.

as someone who moved to Netherlands couple of years ago, I started to be much more annoyed by cyclist in other countries. In Netherlands if I hear ring I know I'm doing something wrong and I need to stop and pay asses whatever I'm doing right now.

In other countries rings now seem either unnecessary (they have enough space) or rude (I'm not on bike lane, why do you demand me to give you a way).

I hate to tell you, but you are doing it wrong

If infrastructure is shared it doesn't mean you have more rights to pass than pedestrian.

Moreover, bell as a way to warn doesn't work. Because pedestrians will mostly get startled because of it and can actually do this sudden move you are trying to make them not do.

So if you are on fast vehicle comparing to others in the same infrastructure, you need to drive in a way, that you can't be affected of sudden turn of someone in front of you. Which basically means you need to slow down or give enough space for others to do their sudden moves.

That's basically scaled up story of 'I store my files on my computer and it is 10x cheaper than using dropbox'

While disks fail rate is already explored in another threads here, there is one related thing that catch my interest. Disk failure in such setup is not just cost of new disk + replacement cost (someone has to go there and change it!). It also inconvenience with dealing with failing requests. Ok, you are willing to lose 5% of your dataset. But are your '200-lines of code' robust enough to handle such cases. What if disk didn't fail, but start to be veeeeery slow. Does your training process can efficiently skip such bad objects. Do you have enough transparency to understand how much data you already lost? Is it still below 5%? And so on and so forth.

I feel like this article was written right after they built this construction and before let say 6 months of usage. Because I'm pretty sure their costs will go much higher than they calculated here. Especially if they start including hidden costs, like the work needed to be done on training side.

Yes, cost for self-hosting most probably still be less than aws (aws is not cheap). But it might start to be comparable with storage solutions of small ('neo') cloud providers if you buy gpu there.

calling everything 'for AI' is the new standard

if you're reading from, like, big Parquet files, that probably means lots of random reads

and it also usually means that you shouldn't use s3 in the first place for workloads like this. Because they are usually very inefficient comparing to distributed fs. Unless you have some prefetch/cache layer, you will get both bad timings and higher costs

They shouldn't have sold the games on Steam in countries where PSN is not available

yep, as simple as that this would have made the situation much better. Game would have gotten lower scores and player base overall. Doing it now and like this leaves the feeling, that they got enough money from sales and now they want to bring some traffic to psn

If you give access to your DB directly, your API effectively becomes your API with all the contract obligations of the API. Suddenly you don't completely control your schema: you can't freely change it, you need to add things there for your clients only. I've seen it done multiple times and it always end up poorly. You save some time now by removing the need to build API, but later you end up spending much more time trying to decouple your internal representation from schema you made public.

Nintendo didn't really need to do any marketing

still they did.

I'm in Warsaw and I see countless of zelda ads: whole walls of huge buildings are covered with them. They probably spent insane amount of money if they advertise it like this everywhere

I guess it depends on what you do and your goals. It might be not necessary to do average developers job (and full disclosure, it wasn't necessary 10 years ago as well). But understanding fundamentals gives you insights to be better prepared to choose right 'interface' when you need to. Also you can see it as a way to stretch your 'programmer muscles'.

After going through lecture topics list, I think most of those you actually need to know as a working programmer. Not because they are prerequisites, but because after couple of years in the field, you will have to touch most of those topics anyway.

Let's keep in mind that modern hardware and software is very stable, generally

Not at any significant scale. dimm will fail, power will be down, disks will need replacement.

It is all about risks after all. If you are ok to have couple of hours of downtime if one of the memory sticks stops working - good for you. But generally any large enough business won't tolerate such risks.

I'm not saying that the cloud is the answer, but I don't see any future for single instance solution. And if you design your system like this, you are taking much more risks than necessary.

their point is simple: during the last 20-30 years we had efficiency improvements by orders of magnitude. Still we didn't have developers jobs reduction in any way. We evolved into doing more and more high-level and high-scale jobs. So no, -10% of time needed to build the same unit of functionality won't lead to -10% reduction of workforce. It will change the scope of said workforce.

using 'unclean' code practice will increase development costs. And more importantly - maintainability of such code.

Virtually every distributed service built today is able to take advantage of this

most of built today services can take much more advantage in using better system design practices.

Imagine replacing poor in-memory reimplementation of database queries that most graphql servers do with actual opttimised database queries. And a better code on top.

but you are actually talking about optimizing system design, and not reducing virtual functions calls :).

And that the point of this thread: you need to optimize parts that slow you the most.

So no, in most cases optimizing virtual calls won't bring you from 1s to 30ms

no take your tupical web service application. Even if you use design patterns that are 10x slower, your program will still be as fast as your DB and overall system architecture. And the choices on your DB schema, indexes and caches will have 100x more effect on your 99pp response time than design pattern you use.

all things being equal, writing code with virtual functions that do a tiny amount of work and "hiding implementation details" makes performance worse, sometimes by an order of magnitude

but all things are not equal. You can spend a lot of time improving performance of you function calls and get virtually nothing out of it. Because if you optimize something that takes 0.01% of overall execution time, 'order of magnitude' performance gain is still negligible.

Also articles like this usually fail to mention code maintenance cost. For example by reducing usage of virtual calls you can make your code unmaintainable/expandable and suddenly every new change will cost you 2x more in development time.

That's why in the real world most of the time you choose clean code and you use optimized nonclean code only on places where you need it. If you look at any lets say web framework internals, you will find a lot of non-clean code, which makes framework faster. But an interface will be done in clean fashion and most of user of the framework will enjoy clean code without need to care about unclean internals.

Write slow code now, profile and optimize later is how we got all slow software because second step

We got slow software because we were ok to get slow software. If being fast is not in requirements it means it doesn't matter (for whoever is responsible for defining priorities). Places where performance matters it is never sacrificed.

I remember how tdd (together with scrum) was basically a religion in 'large corporations'. How a lot of people talked about 'the right way to do things'. Your comment made me smile nostalgically...

But back to the topic. I'm pretty sure there are enough books about how to write tests. And more or less all engineers understand the value of testability and coverage (not necessary tdd!). At leas I wouldn't need a book for this. But books about building something closer to complex real world systems - that's a good stuff engineers would enjoy.

kafka is a good fit when you design modern system. As your system grows larger, necessity of message queue becomes obvious. And kafka is probably the most widely used general-purpose high performance distributed q

not a coincidence yandex has its own VCS (called arkadia). But not all services used it, some used github public and private. After war started, they had to migrate everything to internal vcs for obvious reasons.

So it makes sense they stopped committing to other repos somewhat around that date.

I don't have any inside knowledge now, but my guess would be that the leak is from 'on-prem' github.

The (not so) fun fact here is that majority of IT workers won't do this. While exec might want their mansions, we want our latte and iphones. I work at a company which recently had big chunk of layoffs and I can clearly see how a lot of people are just relieved that they were not laid off. Yes, there are talks how everyone is outrageous, they are mostly kitchen talks. The company literally fired thousands of people with a single email and now we back to corptalk about family and values. So I don't see any major changes in unification of IT workers.

the worst part is that even when economics growth stopped earlier this year, they didn't stop hiring. They didn't adapt fast enough to reduce the damage. They didn't try to optimize their workforce, they just went on with it till the moment they need to fire 12K

while I agree with the attitude you promote. But it is not that simple. If your visa is attached to your job, you are pretty much fucked. Same goes if you decided to leave your previous job just to join Google (because it was your dream) and now you are let go - you are fucked.

So yes, it is your responsibility to take care of yourselves. But it is hard to be prepared for everything and layoffs like this one doesn't make it easier.

Major companies are laying off now not because they don't have money. It is mostly because they have been hiring a lot for past year based on growth they had during pandemic. Now as economic situation has changed, they just revert their previous hiring decision. They don't want to risk their money by holding to people they hired 'by mistake'.

For me it is not about monetization anymore, it is about convenience. I would gladly pay netflix or any other provider to have access to movies I want to actually watch. Right now it is more about what netflix wants me to watch. So I usually pay netflix for month or two when I there is something I want to watch and cancel subscription shortly after. I think rent/buy model is more sustainable here then pure streaming services.

For games I rarely pirate something, steam/gog/xbox are just too convenient for me. Unless it is something on the platform I don't have, but I still want to play it in an emulator.

Music is sort of middle ground. I am ok with content selection major stream providers have now. So basically the only thing I care about is to platform to not mess with me with some bullshit features. I switched from spotify, because I got tired of how their android and mac apps work.

If the only thing you red was part of about Musk, you missed the point. Nobody cares about Musk in particular, he is just a good example of what can happen with a place you put your content on.