1,304 karma · joined April 5, 2017
This is an array of pointers, I mentioned it in the post you're replying to. It completely obliterates the "cache-friendliness" argument, making it worse than linked list (now you have same indirection overhead plus overhead of copying minus benefits of being able to CAS your value atomically into a list making it lock-free)
In what way? It's the same thing with additional overhead on copying the vector when adding/removing elements.
Not to mention you can have a lock-free intrusive list, and with vector well, you just can't.
> Copying the whole vector is usually better
With linked list you don't need to copy anything when you add/remove.
1. When you need a persistent version of sequential data structure. I.e. you need addition not to change the previous version of list. Very useful in traversals which can fail and/or have multiple routes. C++ list obviously fails here because it's a mutable data structure and each addition is mutation. The proper interface is cons(head, old_list) -> new_list, where old_list exists after new_list is constructed.
2. When you need the values be never moved in memory. Aka intrusive lists. Can be optimized for more cache friendliness by having lists of big chunks of values instead of just lists in some cases. Useful in operating systems and many low level apps. Alternative is usually a vector of pointers which still gives you indirection.But then the platform decides what to show and to whom. It's not an impartial medium anymore, not since the engagement algorithms become a norm.
My opinion on that is, it's not such a big gain compared to legacy banking with checks, phone calls etc. All the operations you can do now you could do with legacy banks, just a bit slower. Given banking is not something you do every second, the overall speedup is tiny.
Everything IT does is slightly simplifying things we already could do. We could already telegraph someone across Atlantic, we could extract knowledge in library, we could do accounting. The speedup is small compared to horses vs steam power for transportation for example.
The economic reality is perfectly compatible with finite reality, because growth is not a function of resources.
An email is more economically valuable than a paper mail despite requiring much less resources (and leading to a much less CO2 emission)
But now we delegate thinking itself, so I wonder what is left.
100k is small, but you're right, it can be millions. I usually skim through the code tho, and it's not that hard. I don't need to fully read and understand the code.
What I look at is: high-level architecture (is there any, is it modular or one big lump of code, how modular it is, what kind of modules and components it has and how they interact), code quality (structuring, naming, aesthetics), bus factor (how many people contribute and understand the code base).
I think as a proxy it fails completely: astroturfing aside stars don't guarantee popularity (and I bet the correlation is very weak, a lot of very fundamental system libraries have small number of stars). Stars also don't guarantee the quality.
And given that you can read the code, stars seem to be a completely pointless proxy. I'm teaching myself to skip the stars and skim through the code and evaluate the quality of both architecture and implementation. And I found that quite a few times I prefer a less-"starry" alternative after looking directly at the repo content.
It can't. It can't even deal with emails without randomly deleting your email folder [1]. Saying that it can make decisions and replace humans is akin of saying that random number generator can make decisions and can replace people.
It's just an automation tool, and just like all automation tools before it it will create more jobs than destroy. All the CEOs' talks about labor replacement are a fuss, a pile of lies to justify layoffs and worsening financial situation.
[1] https://www.pcmag.com/news/meta-security-researchers-opencla...
What is equivalent adjusted income level? PPP between Russia and USA is around 1.8. Median annual salary in the US is $57 ($1196 per week), median salary in Russia is $13200. Even if you adjust it, it's roughly two times smaller.
As someone who lived in a bunch of countries, some rich and some poor, no, living standards among the avg. Joes of the world are not even remotely the same.
Poverty levels are measured relative to median. Poverty in US and poverty in Bangladesh, Russia or Vietnam are completely different things.
In the US poverty line is about $16k, while in Russia for example it is $2300. Even considering the PPP it's like 4 times the difference in living standards. I guess Vietnam or Bangladesh are far worse.
Upd: downvotes with no counterargument. Orange site is becomming more and more a reddit.
Yes bc now this worker works same 3-4 hours but 4 days instead of 5.
You are proving the point. The avg. person gets an enormous benefit from it, even in countries like USA, Japan or Korea with far less generous welfare. The gap in standards of living of somebody in the US and somebody in Georgia or Vietnam are ridiculous.
I'm not. If you are european and will inherit something it's fine, but if not you'll barely be able to afford a house and a tiny investment portfolio. And at the face of the immense collapse of a pension system it's pretty grim.
In DE I would argue that this is due to punitive taxes and I wouldn't call it progress.
Poor people work their asses 40+ hours and up to overwork since it's always paid here. White collars work less time and often switch to 4 days because at this tax progression working your ass is not worth it. Time is more valuable, indifference curve is screwed.
It also have negative effect on women's careers in combo with 3/5 tax classes thing. And it hurts EU economies very hard since the most productive ones are disincentivized to work more.
I'm not saying that this is necessarily too much, I'm genuinely asking if this is a bloat or if it's justified.
Isn't it a simple REPL with some tools and integrations, written in a very high level language? How the hell is it so big? Is it because it's vibecoded and LLMs strive for bloat, or is it meaningful complexity?
You get a little more stability for a lot of headache but nobody guarantees that in a few years political stance won't change drastically and the fund won't be cut or even closed.
I would argue that the split existed before AI and these camps were not the same.
There were always "Quality first" people and "Get the shit done ASAP" people. Former would go for a better considerations, more careful attitude towards dependencies. Latter would write the dirty POC code and move on, add huge 3rd party libs for one small function and so on.
Both have pros and cons. Former are better in envs like Aerospace or Medtech, latter would thrive in product companies and web. The second cathegory are the people who are happy the most about AI and who would usually delegate the whole thing to the agents from start to finish including the review and deployment.
is_done = False
while not is_done:
if pattern1:
...
if pattern2:
...
if matched == "SUCCESS":
is_done = True
break
if pattern3:
...
It's usually correct but extremely hard to follow and reminds of the good old asm code with convoluted goto's.And the colleages tend to do reviews with the help of the agents so they don't even care to read this mess.
But in case of layoffs you will be kicked out first and he would be kicked out the last and with a far better severance package.
As someone who lived in a handful of countries with GDP per capita ranging from $3k to $70k I must say that GDP is a great proxy of the QoL and median citizen wealth. Not the only one and not the perfectly correlated one, but a very good one.