

Backdoors are features, not bugs though.


Backdoors are features, not bugs though.


That’s called immediately mode gui (or imgui). It has nothing to do with think about elements or pixels. You do have elements, it’s just that they’re rendered directly (immediately) instead of stored.
You have a panel+border+text “primitive” drawing functions. Nothing is stopping you from creating a single function that calls all 3 of those. You probably should, since it’s probably a common pattern. You could call it DrawBoxedText. There is no difference between a DrawBoxedText function and a BoxedText element with a draw() method.


The first problem is a you problem though. There’s nothing stopping you from dividing your global god-class into smaller ones. For example, you can have one state struct per windows. So windows wouldn’t have access to the state of other windows.
The second problem is also the reason I don’t often use imgui. Imgui is great for introducing UI to applications that would re-render every frame, like a video game. But for every other application, it feels like a waste. If I wanted to waste resources I would write it in python or JavaScript.


I swear it’s impossible to get to that menu via the start menu. Every time I find a way to make it the first result, they seem to change it after a few months. I’d say it’s the hardest settings tab to get to.


So if you are that dude with the mining rights, you would sell them at the same price before and after discovering the gold right? Since the discovery of gold hasn’t changed its value.


Their app being so bad is the only reason third party apps were even a thing. The official reddit was just unusable on mobile.
It is the only social media that had a significant user base using third party apps.
The same is true for the search. You had to use their party (google) search engines to search for something on reddit.
Not even the desktop website is good. I don’t even remember the name of the extension, but that one extension that every power user had brought many simple features that reddit didn’t add after years of existing.
Their multiple redesigns were universally hated. The reason they haven’t shut down old reddit is because a non-insignificant amount of traffic uses that frontend, even though it is 2-3 redesigns old.
Basically anything that reddit did was shit. It only was popular because the core features worked and were free with very little ads. And it had a massive (and active) user base that posted content, so basically every google search contained a reddit link with a decent answer.


I don’t know you. My comment doesn’t apply to you, sorry.
Knowing what a symlink is doesn’t make you a programmer. It’s just that I don’t know any non-programmer that knows what it is.


Let’s do one with raw material in the ground:
There is a mountain that is 99% made of solid gold, but none bothered to check. Some random dude has the mineral rights for that mountain.
Suddenly one day, that dude wanders in his mountain and makes a 1m deep hole and finds the gold. He has not yet extracted a single gram of gold.
So you say that mountain has no value?
Or has the analogy have to be lithium now?
I believe it was a joke where real maths refer to maths dealing with real numbers.


Lithium is literally named after stone. No one ever claimed it is rare.
When an X deposit is found, it means that a place has been found where an unusual concentration of a material in an easy/cheap-to-extract form has been found.
There are thousands of tons of gold in the ocean water. But no one would call the ocean a gold deposit. Because it would require a ton of effort/money to extract a tiny amount of gold from the ocean.


I can get to my house, and I can value it at 5 trillion €. That doesn’t make it worth 5 trillion €.
If an actual person/company that values things for a living, does an analysis on the value of my house, and it is valued by X€, then it is probably valued at X€. If someone says “pff just because they say so? I’ll buy your house for 5€”. Then a lot of people will come and say “5€? That’s a steal, if you’re gonna give it for such a low price, I’ll get it for 6€”, and it will probably go on until it reaches an amount very close to X€. If it ends up way below X€, the ones that did the analysis would probably want to buy it themselves, because they actually think they can make a lot of profit on that.
I don’t know why I have to explain this. This is very basic economics.


Putting folders and symlinks in the same category is wild. Most people I know (basically every non-elderly non-toddler person) knows what a folder is. Yet only some of the programmers I know know what a symlink is. Not even a chance for non-programers.
At most they’ll know what a shortcut is. Which is not the same as a symlink.


Not too long ago, in the internet explorer era, Firefox had a huge market share. Something like 30%. Even if they didn’t use it themselves, they probably knew someone that did.
They may not remember it, but at some point they knew.
They may say they don’t know firefox, but if you ask them “do you remember there were some people that didn’t use internet explorer before chrome?” They’ll probably remember, even if they don’t remember the name.


Not saying that named parameters are bad, but the builder pattern serves the same purpose and imo it’s more ergonomic.
TrainBuilder::new()
.with_electric_motor(true)
.with_width(1.0)
.build()
I don’t care about the color of the train or the amount of wheels, I just want the default train with a few changed parameters.
If you do named parameters in rust, you would need to set every parameter. The only way to not set every parameter is to give a special meaning to the Default trait. But that is uncommon to happen in rust. And many structs that could easily derive Default don’t.


Again, those 2 are smaller than half the size of the random steel skyscraper I’m comparing it against. I could make a 1m tall sandcastle and claim sand is great at building castles. IDK if skyscraper has a formal definition, but I think you’re missing the point.
Something being cool does not make it objectively better. Of course, we don’t have to do everything the same way. Maybe the builders of the buildings had unique constraints that made wood better than steel in their case. Or maybe they did so for artistic reasons, which they deemed worth the cost or not using steel. Or maybe they just put an arbitrary constraint of themselves of “we must use wood because we want to”.
Tall buildings made out of wood existing does not mean that it is a good default choice for building skyscrapers.
Sure, you claim that there are actual skyscrapers planned/being developed. But I wonder what sacrifices, if any, they had to make.
Maybe we have been using steel all this time because nobody ever thought of wood. But I find that unlikely.


I searched for “tallest wooden building” there actually is a list in wikipedia of the tallest buildings.
The tallest of the list is not even a building, it’s a radio tower. At ~110m.
The closest city to me that has a skyscraper has a single skyscraper, and it is >150m tall.
I would not build a skyscraper out of wood.


Wood is cheaper than steel. Which apparently is the most important way to be better in. But I wouldn’t build a skyscraper out of it.
Saying that energy density is not important in energy storage technology is as stupid as saying that material strength is not important in building materials.


I already quoted you. I don’t need your permission to do it.
If you’re not gonna even try to defend your position you’re just spreading misinformation.


In only a few years, most batteries will be made without lithium anyway.
Citation needed.
I’ve heard people argue in both sides of “is 0 a natural number?”. But I’ve never before encountered the “there are no natural numbers” argument. It’s like flipping a coin and having it land sidewise.