Show more

Started working on a general-purpose #Rust crate for the #Bitcoin p2p protocol just using mio. It's interesting work, I never payed a lot attention to the p2p protocol before.

github.com/stevenroose/rust-bi

More robust handling of cases where username is reused or keys change github.com/tootsuite/mastodon/

1: Establish root trust by signing profiles/keys with the instance actor
2: Establish a web-of-trust for instance actors, using Trust On First Use (TOFU)

TLDR:
- Give instance actors their own keys, if they do not have them already.
- Sign profile keys with the instance key.
- Add UI in the admin panel to audit when instance keys change.

#mastodev

If you are a web developer trying to keep spambots out, DO NOT use reCAPTCHA. It is an unethical privacy invasion that follows people around the Web and stops disabled people from accessing information or services for no good reason.

Instead, just ask a (very) simple logic puzzle from a decent-sized set. Ask the questions in regular text and give an option to change puzzles. Switch out the library of puzzles occasionally. This will stop the vast majority of spambots.

“The technology behind the internet is not incompatible with our rights, but the business model Facebook and Google have chosen is.”

Yep, that’s Amnesty International saying that.

amnesty.org/en/latest/news/201

To help some of the newcomers make connections: name 5-7 things that interest as tags so they are searchable. Then boost this post or repeat its instructions so others know to do the same. Add to the post.















Another great thing to do is change your DNS to @opennic. That way you can depend less on the domain name registry. And if everyone starts using openNIC, people will start buying more openNIC domains. Thus, another part of the internet dominated by oss.

CC @jonah

Show thread

Seriously thinking about getting hardcore into tea. Anyone have recommendations?

Looks like Chrome is adding a new image lazy loading browser api. Honestly, bout time.

davidwalsh.name/loading-lazy

“Meditate … do not delay, lest you later regret it.”

So my boyfriend has had some exposure to Linux before, and I re-introduced it (Ubuntu, to be precise), and he likes it!! "It's so clean and I feel so in control." This makes me so disproportionately happy, you have no idea.

I borrowed this one from codewars

Snail Sort
Given an n x n array, return the array elements arranged from outermost elements to the middle element, traveling clockwise.

array = [[1,2,3],
[4,5,6],
[7,8,9]]
snail(array) #=> [1,2,3,6,9,8,7,4,5]
For better understanding, please follow the numbers of the next array consecutively:

array = [[1,2,3],
[8,9,4],
[7,6,5]]
snail(array) #=> [1,2,3,4,5,6,7,8,9]
This image will illustrate things more clearly:

NOTE: The idea is not sort the elements from the lowest value to the highest; the idea is to traverse the 2-d array in a clockwise snailshell pattern.

This was a fun one! Written in Ruby, I decided on treating the board size as infinite by expanding it whenever the first or last row or column has an alive cell.

The entry file is game_of_life.rb in the root directory, and for simplicity, it just runs the "small exploder" pattern instead of taking an argument for initial state.

git.allgood.dev/jump_spider/ga

Today we announce the formation of the Bytecode Alliance, a new industry partnership coming together to forge WebAssembly’s outside-the-browser future by collaborating on implementing standards and proposing new ones. Our founding members are Mozilla, Fastly, Intel, and Red Hat, and we’re looking forward to welcoming many more.

allgood.link/2XsOAbA

Show more
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.