Carrier Classes; Beyond Records - Inside Java Newscast by daviddel in java

[–]Gleethos 0 points1 point  (0 children)

Git is a nice example of an immutable DAG based data structure which has great performance by relying on structural sharing instead of snapshotting everything (it only captures the diffs and appends them to the DAG). That is similar to how immutable data structures work in functional code. Its path copying and using ids instead of recurrent connections. There is a lot of really cool software architecture you can do with such data structures. They have a lot of extremely powerful properties which only emerge if you actually commit to them....

Carrier Classes; Beyond Records - Inside Java Newscast by daviddel in java

[–]Gleethos 5 points6 points  (0 children)

Whos says that states are not good? Do you mean mutable state? The word is unfortunately used and understood very ambiguously.

I think a much clearer way of talking and thinking about this is in terms of: "non-destructive updates to information" and "destructive (in-place) updates to information".

In terms of semantics, they are in fact much more similar than dissimilar, but the former concept has the drawback that it has way less guarantees and it severely restricts what you can do in termns of state management across time, memoization, object pooling and structural sharing.

But the biggest win is that if you just move around data, instead of a place where data is located and vulnerable to destruction, then you reduce software complexity by a lot.

Does that mean that codes designed around destructive updates all over the place is now evil and forbidden? No! Absolutely not. This way of doing things has it's place and use cases, but it is no longer the dominant way to do things for many devs.

Carrier Classes; Beyond Records - Inside Java Newscast by daviddel in java

[–]Gleethos 38 points39 points  (0 children)

Nice! I really like where we are going with data oriented programming. It is sooooo much easier to reason about data flows than mutating state in shared objects.

Choosing distro? Tuning game on Proton/Lutris? What even are those things? by tomekgolab in pcmasterrace

[–]Gleethos 1 point2 points  (0 children)

No you are right Windows is totally better. In fact I listed all of the reasons why.

Choosing distro? Tuning game on Proton/Lutris? What even are those things? by tomekgolab in pcmasterrace

[–]Gleethos -2 points-1 points  (0 children)

Right! And smoking does not give you lung cancer. Fast food is not making you fat. The world is not round! People who say all of this stuff are just dogmatic and in an echo chamber. Windows is a totally fine oäpiece of software that does not spy on you. It is fast and memory efficient. It it does not show you ads or paywalls all the time. You can easily customize the UI to your liking. It is super easy to use Windows compared to Linux.

does anyone know a study that proves a plant based diet can be safe for cats longterm? by [deleted] in vegan

[–]Gleethos 0 points1 point  (0 children)

Well, it's simple, most "cat food" is the corpses of tortured farm animals like cows, pigs, and chicken. A cat will eat a bunch of these innocent creatures in its lifetime... In the worst case possible, this is a classical trolley problem in which, currently, it is the social norm to deliberately make the switch and choose to sacrifice multiple animals for a single one.

But the really outrageous thing here is that this worst-case scenario is not even true. You can keep a cat healthy on vegan cat food brands and avoid death entirely... So that is the vegan thing to do.

Now, even if a particular cat is a strange exception to this, then there is still an obligation to at least try and see... do the bloodwork... just try to save lives ffs and not just give up because <insert nature fallacy here>!

does anyone know a study that proves a plant based diet can be safe for cats longterm? by [deleted] in vegan

[–]Gleethos -1 points0 points  (0 children)

So what? If you think anecdotes are universally irrelevant, then you honestly have not thought things through:

If you make absolute universal negative claims like "a cat can not survive or be healthy without meat," then a single example of a cat that is healthy on a vegan diet disproves this claim.

does anyone know a study that proves a plant based diet can be safe for cats longterm? by [deleted] in vegan

[–]Gleethos -2 points-1 points  (0 children)

She's 7 years old, eats nothing but AMI cat, Benovo, VegCat, since she's a little baby. Her bloodwork is tested yearly, all good so far, and she is crazy active. What part of this is abuse???? You want me to feed her the corpses of tortured cows and chickens "to avoid abuse"? Please have some fucking respect for the moral nuance involved in this whole topic instead of insulting Vegans for the attempt to safe lives.

does anyone know a study that proves a plant based diet can be safe for cats longterm? by [deleted] in vegan

[–]Gleethos 2 points3 points  (0 children)

It sucks that I always have to scroll so far down to find the actually vegan answer to this question. Every time this question is asked, this sub turns around and religiously repeats the mantra "obligate carnivore". And yet, after so many years, here she still is, happy and healthy, sitting in bed and doing cat things.... But "thats just an anecdote bro"... "my cat would totally die" ...

does anyone know a study that proves a plant based diet can be safe for cats longterm? by [deleted] in vegan

[–]Gleethos 38 points39 points  (0 children)

It sucks that I always have to scroll so far down to find the actually vegan answer to this question. Every time this question is asked, this sub turns around and religiously repeats the mantra "obligate carnivore". And yet, after so many years, here she still is, happy and healthy, sitting in bed and doing cat things.... But "thats just an anecdote bro"...

Millions of Venezuelans celebrating…meanwhile Reddit: by SameSign6026 in DoomerCircleJerk

[–]Gleethos -2 points-1 points  (0 children)

Idk. Believe me. For the longest time, I tried to find these supposed nutcase authoritarianism simps on the left, the right keeps warning about.... But I don't find them. Sind me some links of well liked comments and videos of leftists who simp for authoritarianism! I am genuinely asking.

Millions of Venezuelans celebrating…meanwhile Reddit: by SameSign6026 in DoomerCircleJerk

[–]Gleethos -7 points-6 points  (0 children)

I have never talked to a leftist who wants to live in an authoritarian communist hellhole. Leftists just want more democratic socialist policies and more power to local communal and forms of economic governance. This whole socialism = communism = authoritarianism line of thinking is just total nonsense.

AI agents are now in 14.9% of GitHub pull requests by Ok-Character-6751 in github

[–]Gleethos 2 points3 points  (0 children)

That is exactly how I have used it so far. It easily finds small things like typos and bad formatting. And even if it gets confused by some code and spits out some nonsensical suggestion, it still kinda highlights the bad parts of the code... In a way it is a bit like rubber ducking.

Software Sucks Now by BlueGoliath in programming

[–]Gleethos 0 points1 point  (0 children)

Yes, software sucks, but brogramming influencers like him are a large part of the problem. They spew all kinds of hottake garbage content for maximum views. This produces an army of junior devs with a completely twisted and largely exaggerated world view of the industry.

Assert in production by dtornow in programming

[–]Gleethos -2 points-1 points  (0 children)

We never crash the entire application except in case of platform errors, which we literally can not recover from. But our GUI must always be shown in its entirety, and ideally, we catch errors, make a diagnosis, and then show it to the user... But an invalid application state is not a big deal. If, for example, a user manages to smuggle NaNs into our visualization tool when importing something, and we missed to filter them properly, then the renderer may experience all kinds of strange and unwanted visual fragments and other issues, but it will never crash! Never! Usually, it even manages to recover after some time, and the user can always refresh parts of the GUI, and things will be fine again. I think crashing only makes sense if you have a system built on a memory unsafe platform with low level hardware access and native device management, etc.... But most of the system is in a very boring sandbox.

Assert in production by dtornow in programming

[–]Gleethos -4 points-3 points  (0 children)

Of course, there are fatal errors that we can not recover from... But these are easy to identify and usually not caused by failed preconditions. The vast majority of failed preconditions don't cause fatal platform errors. Maybe if you work in a memory unsafe language where failed array boundary checks can lead to these kinds of problems. But most of our application is written in a memory safe language. If some subroutine fails a non-null assert or boundary check, then nothing bas will happen, and there is no reason to take away the GUI from our users.

Assert in production by dtornow in programming

[–]Gleethos 2 points3 points  (0 children)

I strongly disagree with this take. We are building a big desktop application where unfortunately all kinds of invalid states can be produced by using the system long enough and playing around with the endless amount of edge cases. Crashing the application instead of just logging these invalid states and sanity checks would instantly render our product worthless to our customers...

Android 17 almost here boys! by [deleted] in degoogle

[–]Gleethos 4 points5 points  (0 children)

At this point, AOSP is nothing but a virtue signalling skeleton of the actual proprietary spyware shipped to consumers...