AngryPancake

@AngryPancake@sh.itjust.works
0 Post – 21 Comments
Joined 10 months ago

Honestly, the small scale racism is a huge issue. These constant small arguments is what manifests it in people's heads.

But yeah Trump is an ass, fuck him.

Given that you probably are using pointers, and occasionally you are allocating memory, smart pointers handle deallocation for you. And yes, you can do it yourself but it is prone to errors and maybe sometimes you forget a case and memory doesn't get deallocated and suddenly there is a leak in the program.

When you're there, shared_ptr is used when you want to store the pointer in multiple locations, unique_ptr when you only want to have one instance of the pointer (you can move it around though).

Smart pointers are really really nice, I do recommend getting used to them (and all other features from c++11 forward).

1 more...

There's also IRC

5 more...

Just wanted to mention at this point that the quantum computers in this post are the so-called superconducting quantum computers. There are also other architectures like ion and neutral atom quantum computers which are basically steel tubes with viewports that contain a ultra high vacuum. Lasers are used to control the ions or atoms.

There's also photon quantum computers, but they are even more different and not in a really advanced stage yet.

It's really useful for programming. It's not always right but it has good approaches and you can ask it to write tedious parts of your code like long switch statements. Most of my programming problems were solved because I just explained the problem like Rubber Duck Debugging.

7 more...

Mozilla has been building gecko for decades, why would they cave to a conglomerate and invalidate their principles?

As a computer science problem it ends at position = window center / 2 - object width / 2

Because everyone can spin up their own irc server. It's not federated though.

I think it would help if people used the cross posting feature

Denying entry for people in need can't be the answer. Honestly, it's unfair that we were lucky enough to be born into a stable country. It's unfair that other people have to live under dictators looking only for their personal interest. It's unfair that people have to live under the consequences of global power struggles and it's also unfair that Western countries exploit other nations and then don't lend assistance when everything turns to shit.

How can you justify sending away these people that are fleeing from warzones or due to global warming. They are losing family and their homes and yet, they spent their life worrying while we can go to restaurants, cafes, play in parks, go hiking, swimming or biking without ever having to worry.

Leaning into the immigration policy of the right cannot be the answer, there has to be another solution.

3 more...

Or right click the back button

1 more...

I'd like to tinker with the hardware but unfortunately it's just not necessary. Love the device

You got it pretty much on point. Shooting a laser at atoms is like shooting a machine gun at an indestructible target. If it moves towards you, you can slow it down. But preventing it from accelerating when the target is stationary is where quantum mechanics comes in. That is your explanation: The laser light only acts as a force when the light is resonant with the atom and the Doppler effect means that the resonance condition changes depending on the speed of the atoms.

Adding to what DmMacniel said, it's a hardware interface, often accessed via a USB port (which after all, is the universal serial bus).

1 more...

There are amphetamine antidepressants. You can ask your doctor about it (e.g. bupropion, which is not addictive).

1 more...

In what sense for bad?

Your user is still linked to your home instance. If that goes down, you don't have access to it. You can still browse Lemmy from other servers.

3 more...

Maybe it's not automated and whoever is responsible isn't awake yet.

Yeah I've been on bupropion for about 1.5 years. Had an increased heart rate in the beginning as well so we started at a very low dosis, then went up step by step. However the side effects vanished after 2 months. I don't feel hyper active, I just don't feel super low anymore. It doesn't make the depression go away but it allows me to work on it, because otherwise I couldn't even get out of bed

100%

Especially painful on steam deck. If you get it working, it adds a good minute to the launch time