[-] livingcoder@programming.dev 1 points 2 years ago

There's a patent on the game mechanic?

googled it

Yup, that is crazy. At least it's only for another 11 years. Just think about how old you will be before you'll ever see that game mechanic again.

[-] livingcoder@programming.dev 1 points 2 years ago

Great list! I would just add The Majority Report if you're looking to learn more about politics while also trying to understand what is happening today. They do a ~2.5-hour live show every weekday which includes a quick overview of the latest headlines for today, an interview of someone with knowledge about some politics-related topic, and then an hour of mostly right wing videos that they discuss, argue with, and vent about.

I love it for how informative it is and for keeping me sane.

[-] livingcoder@programming.dev 1 points 2 years ago

That's an interesting take. I didn't know that the tool screen even existed, so I had no idea that it would be nice to have in my toolbelt for future needs. A README also helps those that may already know a lot about screen and want to know the differences between screen and their implementation.

There is nothing better in open source than a thorough, well-written README at the root of the project. Wanting others who don't understand the source of the inspiration to be completely clueless is unfriendly (at best).

[-] livingcoder@programming.dev 1 points 2 years ago

The README helped a lot, thanks. Just wanted to point out a minor typo, I think the second word under the "Client" section is meant to be the word "client".

[-] livingcoder@programming.dev 1 points 2 years ago* (last edited 2 years ago)

I'm not sure that you need a range when pulling the character from the input variable. Simply input[i] and input[input.len() - i - 1] should work.

[-] livingcoder@programming.dev 1 points 2 years ago* (last edited 2 years ago)

Even if you were using the builder pattern, this maintains the immutable variable in the parent scope while you use the mutable variable's builder pattern methods (basically exactly as my example demonstrates) in the inner scope.

edit: Oh, I think you mean you would chain the builder pattern calls and assign it to an immutable variable. Sure, that makes sense if you own the struct.

[-] livingcoder@programming.dev 1 points 2 years ago

He gave them the weapons and is STILL giving them weapons today knowing exactly how they're being used. "We're trying to hard to stop this" while handing them the bombs they need to continue uninterrupted.

[-] livingcoder@programming.dev 1 points 2 years ago

They say it just tastes better. idk. I'm going to try it soon.

[-] livingcoder@programming.dev 1 points 2 years ago

I save "template" SQL queries in a special directory so that I don't have to google how to do specific things. It's basically my own personal "examples" folder.

[-] livingcoder@programming.dev 1 points 3 years ago

Is this a problem today? I'll scan through the code of less popular crates, looking for reasonable TCP std library usage and such, just to be sure, but I haven't found unusual networking crate usage (yet).

That said, the repository may not actually contain the code compiled in the crate. I've found situations where the source code is impossible to find.

view more: ‹ prev next ›

livingcoder

0 post score
0 comment score
joined 3 years ago