Speiser0

joined 1 year ago
[–] [email protected] 2 points 8 months ago

I thought more of local politicians for example being threatened by right winged people with phrases like "we will hunt you" and similar, who then also form mobs in front of the victim's private home.

And also if some random internet weirdo watches your steps for years, trying to dox you, and uses any private info they find to defame you.

[–] [email protected] 10 points 8 months ago (3 children)

As long as they don't have personal information about you, it's not that threatening. But otherwise it can be very harassing, and the topic shouldn't be talked down.

[–] [email protected] 82 points 8 months ago (3 children)

Yes, I'll name my child parent. This will reverse the tree, vertically.

[–] [email protected] 103 points 9 months ago (1 children)

Processors might no longer get twice as fast every few years, but now we can use the power of servers to write software that runs even slower.

[–] [email protected] 60 points 10 months ago (7 children)

Likely. Morticians ads that wish people to die are common in germany. We find this funny.

[–] [email protected] 14 points 1 year ago

I once heard in some history tv show that it's called "dark ages" not because of the bad living conditions, but because we know so few things about it, compared to other history periods.

[–] [email protected] 2 points 1 year ago

Just use str::as_ptr().

Here's an example (disclaimer: I haven't used inline asm in rust before, expect issues): https://godbolt.org/z/sczYGe96f

[–] [email protected] 6 points 1 year ago (2 children)

Mostly the missing listing of clobbered registers. Other than that it's mostly just that you're doing useless things, like manually putting the stuff into the registers instead of letting the compiler do it, and the useless push and pop. And the loop is obviously not needed and would hurt performance if you do every write like that.

asm!(
"syscall",
in("rax") 1,
in("rdi") 1,
in("rsi") text_ptr,
in("rdx") text_size,

)

("so many" was inappropriate, sorry.)

[–] [email protected] 14 points 1 year ago* (last edited 1 year ago) (4 children)

Definitely left. Right one won't be optimized. (And there are ~~so many~~ some mistakes in your inline asm...)

[–] [email protected] 104 points 1 year ago (2 children)

No way, you met json irl?

[–] [email protected] 5 points 1 year ago

Enter NaN. Or else your age is just a number.

view more: next ›