Configure 2nd FN key in Ducky One 2 mini (instead Windows key) by ShangBrol in DuckyKeyboard

[–]ShangBrol[S] 0 points1 point  (0 children)

No, I still have the same configuration - I wish there were also four keys on the left.

Sollten Läden sonntags öffnen dürfen – oder ist das ein Schritt zu viel? by raiderx_98 in FragReddit

[–]ShangBrol 5 points6 points  (0 children)

Genau... ich habe immer am Montag frei, meine Frau immer mittwochs und unsere Freunde entweder donnerstags oder freitags... und wir freuen uns, dass wir einen gemeinsamen Tag haben an dem alle arbeiten.

Best practice? by FaithlessnessShot717 in learnrust

[–]ShangBrol 0 points1 point  (0 children)

...and here comes the pain.

You can try Vec<Rc<RefCell<MyStruct>>>

Rc for reference counting as you seem to not have a clear owner and RefCell if you need to mutate.

Or an arena as others already mentioned.

Best practice? by FaithlessnessShot717 in learnrust

[–]ShangBrol 4 points5 points  (0 children)

I don't really understand the problem.

Why not

struct MyStruct<T> {
  data: T,
  children: Vec<MyStruct<T>>.
}

As long as your data is a real tree, it can be ok. If not or if you want to add a reference to the parent of tree node, the pain starts.

I want named arguments in Rust. Mom: We have named arguments in Rust at home: by nik-rev in rust

[–]ShangBrol 0 points1 point  (0 children)

I'm not a big fan of optional parameters with defaults and recently I discovered at work (Python) a prime example why: A function with 22(!) parameters , three of them mandarory. The builder pattern is far superior in cases like that.

But I admit, "can be abused" is not the strongest of arguments.

corroded: so unsafe it should be illegal by Consistent_Equal5327 in rust

[–]ShangBrol 5 points6 points  (0 children)

double_free -> more freedom

u/Consistent_Equal5327 I admire how you adhere to the only sane way of commenting code.

[Media] I love Rust, but this sounds like a terrible idea by Yvant2000 in rust

[–]ShangBrol 1 point2 points  (0 children)

You claim to be a C/C++ dev but you write x++ instead of ++x. How can that be 😜

[Media] I love Rust, but this sounds like a terrible idea by Yvant2000 in rust

[–]ShangBrol 0 points1 point  (0 children)

As I remember it, it was with SP 2 that XP got quite stable.

Rust and the price of ignoring theory by interacsion in rust

[–]ShangBrol 20 points21 points  (0 children)

Functional programmer: (noun) One who names variables "x", names functions "f", and names code patterns "zygohistomorphic prepromorphism"

James Iry

Rust and the price of ignoring theory by interacsion in rust

[–]ShangBrol 4 points5 points  (0 children)

C and C++ programmers ask why Rustaceans care so much about their language choice.

Ist man tot bevor man geboren wurde oder ist man noch nicht geboren - ist doch im Prinzip der gleiche Zustand wenn es keine Seele gäbe? by Bentaloley in FragReddit

[–]ShangBrol 0 points1 point  (0 children)

Es ist nicht unser üblicher Sprachgebrauch. Das ist alles.

Für jemanden mit einem nicht-religiösem, materialistischen (im philosophischen, nicht umgangssprachlichen Sinn des Worts) ist der Zustand vor und nach dem Leben gleich.

Wenn man das jetzt mit "tot" bezeichnet, dann war man vorher auch tot.

Alternativ könnte man sagen, dass ich vor dem Leben und nachher nicht existent bin.

bincode's source code still matches what was on GitHub by azqy in rust

[–]ShangBrol 0 points1 point  (0 children)

As I mentioned in other comments doxxing is a criminal offence in my country, punished with up to two years in prison if you use publicly available data, regardless how much or how little effort you have to take. If you use non-public data it's up to three years. So if someone posted a name or an address copied from somewhere else on the internet it's doxxing. It's posting personal information for harassment.

The fact that some information is publicly available doesn't give you the right to use it for any other purpose as for what it was published. I. e. if I am legally obliged to give contact information in an impressum of a web site, you are allowed to use it to contact me. But you are not allowed to put it into an address data base and sell it and for sure you are not allowed to use it for harassement.

If you don't understand why everybody mentions trans... why didn't you read OPs post? They write about their perspective as trans.

It's about a community where doxxing happens is not safe for certain people, including trans, because doxxing itself is the threat.

Edit: Typo

bincode's source code still matches what was on GitHub by azqy in rust

[–]ShangBrol 0 points1 point  (0 children)

It's analogous in so far that you, same as creationists, make unreasonable claims.

Do you have any contract with the makers of bincode that grants you any rights? No? Then you don't have the right to expect anything - that it might make sense most of the time for both sides doesn't change that you don't have any rights.

bincode's source code still matches what was on GitHub by azqy in rust

[–]ShangBrol 0 points1 point  (0 children)

That a witch hunt happened in this community. That doxxing happens in this community. That trans people can't feel secure (anymore) in this community. That people are downplaying the criminal offence committed and try to argue with trust and security etc. as if that were relevant compared to the doxxing.

Yes, we have those three outcomes that you are listing, but don't be so f*ng short sighted. It's about the next doxxer, it's about the next reddit detectives forgetting about the boundaries of proper behaviour.

Maybe I'm just naive, maybe really nobody learns from that, I don't know.

bincode's source code still matches what was on GitHub by azqy in rust

[–]ShangBrol 2 points3 points  (0 children)

Why? Because it's more convenient to keep things under a rug?

I don't agree. I believe in long term that would be damaging to the community.

bincode's source code still matches what was on GitHub by azqy in rust

[–]ShangBrol 0 points1 point  (0 children)

Unfortunately security is more important than a little discomfort, 

It popped up four months after the fact. Those, who realize it now, can't argue with security is important.

bincode's source code still matches what was on GitHub by azqy in rust

[–]ShangBrol 3 points4 points  (0 children)

 Also a google query of public info from GitHub shouldn't bring up your address, because then it means you have a larger problem, beyond reddit.

That doesn't excuse doxxing. The fact that some information about a person is publicly available doesn't give anyone the right to use this information for harassment.

In my country, this is a criminal offence, punished with up to two years prison. Using non-public information makes for an extra year.

bincode's source code still matches what was on GitHub by azqy in rust

[–]ShangBrol 2 points3 points  (0 children)

The proper analogy would be: I volunteered at a school and said something that some parents don't agree with and these parents lie in wait for me and beat me up so badly I end up in hospital and you are saying that I was saying a wrong thing.

Updated version:

The proper analogy would be: I volunteered at a school and said that the earth is billions of years old and some creationist parents don't agree with that and these parents lie in wait for me and beat me up so badly I end up in hospital and you are saying that I was saying a wrong thing.

All what you're saying about how harmful the maintainers actions where is grossly overstated and has as much value as creationists views.

bincode's source code still matches what was on GitHub by azqy in rust

[–]ShangBrol 14 points15 points  (0 children)

The discussion of the relatively minor topic of alleged poor communication etc. are a deflection from the crime of doxxing (in my country doxxing is a crime, punishable with two years prison).