squaresinger

joined 8 months ago
[–] squaresinger@lemmy.world 2 points 4 hours ago

A murder is a murder, legally speaking.

Tbh, the big issue with why nazis exist in these large quantities is that the financial situation of people is going down. That's the one big thing there. And left-wing parties mostly all over the world did nothing against that.

The rich, the billionaires and all that lot are siphoning wealth off the rest of the world and nobody does anything against that. Instead, left-wing parties got entangled in social justice topics (which are important) but completely forgot left economics (which are critical). Left-wing discussion moved from important but rather boring topics (e.g. how to distribute wealth better) to extremely polarizing but not that critical-to-daily-life topics (e.g. "This politician used a word wrong!").

That was basically the whole 2000s and the first half of the 2010s.

In the 1990s, nazis were hardly a thing because people had jobs, housing and food. That's changed now. And since the left-wing parties aren't about to change anything, people are flocking to right-wing parties and -ideologies because they are literally to dumb to understand that the change that right-wing is going to effect is change against the people.

But if we actually wanted to stop nazis, we would have to abolish billionaires (and pretty much anyone who has more than >50 million) and redistribute wealth. We need a new new deal. Because what killed the nazis wasn't WW2, but new deal economics.

[–] squaresinger@lemmy.world 2 points 14 hours ago

No, it's whatabputism if it has nothing to do with the original argument.

[–] squaresinger@lemmy.world 1 points 15 hours ago

Works fine in any language I ever used.

I'm honestly quite surprised that this very basic language feature is even a matter of discussion here.

[–] squaresinger@lemmy.world 1 points 15 hours ago

Nope, it is not.

x = 5
i = 2
x -= i // x => 3

while

x = 5
i = 2
x = -i // x => -2

x=-i is the unary minus operator which negates the value right of it. It doesn't matter if that value is a literal (-3), a variable (-i) or a function (-f()).

x-=i is short for x = x-i, and here it's a binary subtraction, so x is set to the result of i subtracted from x.

[–] squaresinger@lemmy.world 1 points 15 hours ago

Find me a language where it doesn't work like that, and we'll continue the discussion.

Unary - operator is standard in every single language that I used so far, including C/C++, Java, Python, Kotlin, Lua, JS/TS, Groovy, PHP, Visual Basic, Excel, Mathematica, Haskell, Bash.

Here's more info btw: https://en.wikipedia.org/wiki/Unary_operation

[–] squaresinger@lemmy.world 13 points 1 day ago (2 children)

That's a pretty strong case of whataboutism. Nobody said that anything was fine and dandy in China. Only that they planned to build a high speed rail and they did it, while the US repeatedly fails at the same thing.

[–] squaresinger@lemmy.world 13 points 1 day ago (2 children)

Yeah, generating test classes with AI is super fast. Just ask it, and within seconds it spits out full test classes with some test data and the tests are plenty, verbose and always green. Perfect for KPIs and for looking cool. Hey, look at me, I generated 100% coverage tests!

Do these tests reflect reality? Is the test data plausible in the context? Are the tests easy to maintain? Who cares, that's all the next guy's problem, because when that blows up the original programmer will likely have moved on already.

Good tests are part of the documentation. They show how a class/method/flow is used. They use realistic test data that shows what kind of data you can expect in real-world usage. They anticipate problems caused due to future refactorings and allow future programmers to reliably test their code after a refactoring.

At the same time they need to be concise and non-verbose enough that modifying the tests for future changes is simple and doesn't take longer than the implementation of the change. Tests are code, so the metric of "lines of code are a cost factor, so fewer lines is better" counts here as well. It's a big folly to believe that more test lines is better.

So if your goal is to fulfil KPIs and you really don't care whether the tests make any sense at all, then AI is great. Same goes for documentation. If you just want to fulfil the "every thing needs to be documented" KPI and you really don't care about the quality of the documentation, go ahead and use AI.

Just know that what you are creating is low-quality cost factors and technical debt. Don't be proud of creating shitty work that someone else will have to suffer through in the future.

[–] squaresinger@lemmy.world 1 points 1 day ago* (last edited 15 hours ago) (2 children)

Why would they not let you do that? I honestly don't know a single language that wouldn't let you do that. Same as basic math notation allows you to do that.

x = -i

is a totally valid mathematical equation.

For the downvoters: Find me a single language that supports operators but doesn't have an unary minus operator

[–] squaresinger@lemmy.world 2 points 1 day ago

In general, Tree support is easier to remove but has a higher chance of failing. Tree support also only really makes sense if you can get it to go around a part.

So say you are printing a standing O shape. With regular support the support will touch the bottom of the O and will be printed on top of the bottom part of the O, which will make that surface look rougher. Tree support will start sideways of the O and will only move into the O towards the top, so it will not touch the bottom part of the O, leaving it in good condition.

In the case here there's nothing underneath most of the floating surfaces, so regular supports will be better.

Also, tree support is better when it supports small areas, regular support is better for large areas.

[–] squaresinger@lemmy.world 3 points 1 day ago

This. No need to realize any gains at all. The same trick also works for any other expenses.

[–] squaresinger@lemmy.world 11 points 2 days ago (2 children)

This is a super difficult model. There's no good orientation for it.

I'd probably print it as oriented on the picture and use a lot of support. If classic support isn't working for you, try organic/tree support, but I think the regular support would be better. Support should cover the full underside with this print.

When printing in PLA make sure you have really, really good cooling for this.

 

There's really no limit on what can be made to sound good with enough time and skill.

 

First, so I'm not misunderstood: Science does of course exist and it is not religion. But:

  • Not all published science is, in fact, science. The Replication Crisis is a real problem, meaning that a significant portion of published science is actually incorrect.
  • Only a very tiny portion of the population reads scientific papers and has the ability to understand them. That includes scientists and other well-educated people who don't have any expertise on the specific field. Being a renown physicist doesn't mean you know anything about psychology.
  • Scientific papers are filtered through science journalists who might or might not have any expertise in the field and might or might not understand the papers they write about. They then publish what they understood in a more accessible format (e.g. popular science magazines).
  • This is then read by minimum wage journalists with no understanding of any of the science, and they publish their misunderstandings in newspapers and other non-scientific publications.
  • This is then read by the general public who usually lack the skills and/or the resources to fact-check anything at all.
  • These members of the general public then take what they understood as fact and base their world view on it. At this point it hardly matters whether their source of incorrect information is the stack of Chinese whispers I wrote about above, or if it's just straight-up made up by some religious leader.

There's thousands of little (or big) misunderstandings in non-science that people believe and have faith in, that forms people's world views and even their political views. And people often defend their misconceptions, like they would defend some religious views.

(Again, just to make sure I'm not misunderstood: I am no exception to this either. I got my field where I have a lot of knowledge, but for most fields I blindly trust some experts, because I have no way to verify stuff. I, too, for example, put my faith in doctors to heal my illnesses, even though I have no way to verify whether anything they say is true or not.)

 

Recently I had quite a few softporn images popping up on lemmy.world, e.g. from boobs@lemmy.world or porngifs@lemmy.world.

Was there a rule change that I missed that allows that kind of content now?

The content on that community is also not marked as NSFW, which makes for awkward moments when scrolling lemmy.world on the bus or in the break at work.

 

Well, not exactly modern social media, but very similar mechanics. His dad wrote a book with him as a main character, and he got bullied for it and ended up resenting his parents and hating Winnie the Pooh.

And in keeping with modern-day influencer parents: He actually never really had a lot of a relationship with his parents to begin with. He was raised by a nanny and then put into a boarding school, and only had very little contact with his parents. Later in life, he only sporadically visited his parents, never returned to his childhood home (which was the books were based on) and after his dad died, he completely dropped contact with his mother.

 

I guess, the limit doesn't apply for every country, but at least in Europe it's quite common.

Using an exoskeletton would also get around the speed limit for the pedal assist.

 

Take that (not) Einstein!

 

Ich frag mich echt wie blöd man sein kann. Sowas passiert hier echt grad im Zweiwochentakt.

 

If a country needs to overly emphasise an ideal, that's usually because that ideal doesn't apply in that country ("Land of the free", "Democratic people's republic of ...").

If a person needs to subscribe to patriotism, it's usually because they have never accomplished anything better in their life than being born in a specific place.

 

Eigentlich versuchen sie nur junge Muslimas zu nerven, aber beim letzten Anlauf in 2020 haben sie aufgrund des verfassungsgemäßen Verbots der religiösen Diskriminierung kurzfristig alles religiösen Kopfbedeckungen an Volkschulen verboten.

Hat blöderweise mehr Juden und Sikhs betroffen als Muslimas.

 
 

Disclaimer: Someone in the comments pointed out that this affects Nvidia only. I don't have AMD, so I can't verify if that's correct, but likely this is only for fellow sufferers of the Green Nightmare.

I had this issue for months. Randomly, the performance for games would be abysmal (I'm talking 5 FPS in 10yo indie 3D titles). Then it would randomly work again for a few days or weeks until it would become terrible again.

Turns out, the reason for that was that flatpak appears to cause trouble when the system GPU driver is updated, but flatpak update isn't run. So when I did dnf update (and it updated the Nvidia driver) without running flatpak update afterwards, the performance would suck, until something (or I) ran flatpak update again.

So if the performance in games launched through a flatpak version of a launcher like heroic sucks, run flatpak update.

And if that doesn't work, run

flatpak install flathub org.freedesktop.Platform.GL.nvidia-575-64-05 org.freedesktop.Platform.GL32.nvidia-575-64-05

(Replace the version with your Nvidia driver version, and in case of AMD, google whatever the appropriate way is to install the drivers for flatpak.)

view more: next ›