Show more
Halbeard boosted

facts about #rust

- you can get very wrapped up in it
- one solution is to use unwrap()
- if you're not an "Ok" value the thread will crash

| is gettings some nice new pattern matching features in the next stable release (1.42.0)

blog.rust-lang.org/inside-rust

in short:
• subslice patterns, e.g. [x0, .., x1] => match only first and last element
• nested-OR patterns, e.g. Some(x | y) == Some(x) | Some(y)
• binding inner fields with @
• move & ref bindings in same pattern

Halbeard boosted

Late-stage capitalism:

"Airlines are burning thousands of gallons of jet fuel flying empty 'ghost' planes so they can keep their flight slots during the coronavirus outbreak"

businessinsider.com/coronaviru

Halbeard boosted

@zudn

Sure, I don't disagree with that. In their position we would probably decide and act similarly.

But if the rules of our system are that strange, maybe we're playing this entire game wrong.

Halbeard boosted

Hardware Acceleration is approximately 9.8 m/s² and is achieved by tossing your computer out the fucking window

Halbeard boosted
Halbeard boosted

This is our celebration of gaming on Linux.

Listen loudly.
Watch it proudly.
Share it widely.
#MakeItLinux🐧

youtube.com/watch?v=IsylLTGIr_

Halbeard boosted

Folks with mailing lists...
If I unsubscribe and you keep sending me emails, I report you as spam.
If I try to unsubscribe and you make me fill a mandatory form to do so, I report you as spam.
If the "unsubscribe" link 404s, oh yes I report you as spam.

parent now has facial tracking for

the respective project is called and supposedly aims at reducing damaging fishing practices.

Looking forward to the fish memes instead

Halbeard boosted
Halbeard boosted

I've just realized that #Rust has eliminated defensive coding for me.

Defensive coding is "I know it's not supposed to be `null`, but I'll check just in case" or "I know the caller isn't supposed to mutate or free this object, but I'll make a copy just in case" or "I know that function should be thread-safe, but I'll avoid threads just in case"

In Rust nullability, mutability and thread-safety are encoded in types, so I never have to second-guess them.

Halbeard boosted
Halbeard boosted

Dear #Linux, #opensource enthusiasts (and #sysadmin's), please advise a good and up-to-date book about networks?

I found two:

1) "Computer Networks" by Andrew S. Tanenbaum

2) "Computer Networks: Principles, Technologies and Protocols for Network Design" by Victor and Natalia Olifer.

These books are very, very big. I looked at the content, and there are some very low-level theory that I don't really need.

Or maybe you can advise me on something else?
Thoughts?

Halbeard boosted

Das nenne ich mal "gut investierte" 100 Millionen $.....sollten wir auch sofort machen hier.....🤦‍♂️
NSA-Vorratsdatenspeicherung: 4 Jahre, 100 Millionen US-Dollar, ein Treffer

heise.de/newsticker/meldung/NS

Halbeard boosted

Once again about this: some people think that if something in the internet isn't technically impossible, it must be socially acceptable. Which is just... stupid.

Bypassing social protocols and snooping on people means you are a creep and don't respect people. People _will_ be mad if you do it. Yes, some people don't care about others being mad at them, but do you?

Show thread
Halbeard boosted

Dear #Fediverse, #Mastodon and other #FOSS / #opensource people,

I've created this issue:

github.com/tootsuite/mastodon/

Please join the discussion and give your opinion about this suggestion.

ping: @fosstodon, @mike, @kev, @ashfurrow, @omnipotens, @jonah

Show thread
Halbeard boosted

Publication on Fediverse 

This new book from the Institute of Network Cultures has a chapter on the Fediverse (last chapter in the book). You can get the book freely (CC BY-NC-ND 4.0) from their website. Tell me what you think, if you read it.

networkcultures.org/blog/publi

Halbeard boosted

This guide to errors in #Rustlang is so definitive, it should be the first result for any search that includes "#rust errors": blog.burntsushi.net/rust-error

Highly recommended.

Halbeard boosted
Halbeard boosted

Auch wenn ich das #fediverse mag: Manchmal geht mir die Selbstzufriedenheit und -verliebtheit, die man hier gelegentlich in Beiträgen liest, gehörig auf den Zeiger. Nein, wir sind *nicht* die Erleuchteten, die pauschal klüger als alle anderen und deswegen berufen und befugt sind, den Rest der Welt zu belehren. Je schneller wir das einsehen, desto besser. 😐

Show more