maxy boosted

Incredibly exciting to get official confirmation that Germany's health service (@gematik1@twitter.com) has standardised on Matrix for secure decentralised communications, targeting all 150,000 healthcare organisations in Germany(!!!) 🤯 Read all about it at matrix.org/blog/2021/07/21/ger 💉🇩🇪🚀

maxy boosted

environmental impact of container tech 

I haven't seen anyone seriously study the environmental impact of continuous integration and the redundant steps of containerised workflows. like, it feels pretty likely that it's at least a nontrivial impact.

the standard in tech nowadays is to download and build everything from scratch when you make a change, such that even a small non-code change can result in upwards of an hour of computing work.

like, for example, at work we use Circle CI, and the standard plugin (Circle calls them Orbs) for Node.js will manually download and extract a copy of Node every single time a container is launched. this makes them all prone to supply-side attacks, requires huge infra on the servers that host the Node builds that also cannot go down without impacting code changes made by loads of people, but is extremely wasteful and probably has a measurable carbon footprint.

I personally don't have the ability at my current job to properly examine and fix this waste, but I hope that at least someone in tech seriously takes a look and figures out a way to at least improve things. at minimum, I feel like open-source projects not bound by deadlines and profit margins should try and reduce waste in their CI pipelines.

maxy boosted
maxy boosted

ISSUE 01: Fertile Grounds has arrived! Our first issue contains eight creative pieces and a series of kaoani inspired animated GIFs. You can read it on the World Wide Web here >> one.compost.digital/

maxy boosted

"npm audit: Broken by Design" by Dan Abramov overreacted.io/npm-audit-broke

I'm so glad someone finally said this. The current situation is a huge mess.

is not a company: About the organisation of Rust development. I think this applies to many larger projects. blog.m-ou.se/rust-is-not-a-com

maxy boosted

@jamesvasile In both cases, let acts as a pattern matching operator, although in a bit roundabout way. The key concept is pattern refutability.

Basically, if you’re writing let <identifier> = <expr>, <identifier> acts as the (trivial) pattern that bind the entire rhs to <identifier>. You could also have, say let Some(x) = <expr>, but (outside of an if or a while condition) that would only compile if <expr> is always a Some value. Otherwise the compiler could refute the pattern. So there are two, closely related meanings of let, I guess: as a statement, the pattern must not be refuted at compile time, while in a condition, refutation at runtime causes the conditional to not execute.

This is useful when you want to deconstruct a struct (i.e., product type), because such patterns are never refutable. Example from the Structures chapter of Rust by Example:

struct Point { x: f32, y: f32, } let Point { x: top_edge, y: left_edge } = point;

will assign point.x to top_edge and point.y to left_edge.

This is also very similar to how the pattern matching operator works in Elixir (although Elixir has no let keyword for it and the = operator is always a pattern match, because Elixir has no mutable variables). There, a failed match outside a condition throws a MatchError, since Elixir has no static type checking to validate the pattern at compile time.

Also still slightly proud of my bigroom.py plugin for I wrote 15 years ago. (The functionality, not the code or the screenshots...)

github.com/martinxyz/xchat-plu

Show thread

Not been on IRC for a while, but I sure missed the anarchistic spirit of those communities. (Some lines omitted to get the gist of it.)

maxy boosted

one thing i like about fedi is that it’s more like the “old internet” in that you actively have to seek out people instead of being constantly bombarded with suggestions based on what the company that runs the service “knows” about you. it’s a very different process of getting to know people.

most of the mainstream internet is now based on adtech suggestions, and i’m not sure i like the consequences.

like, there’s this growing expectation of getting exactly what you want, and growing distaste for anything else. people seem to have stronger tendencies to just discard anything that isn’t perfectly to their liking, expecting something better to just come their way eventually. this even includes people, with the online dating industry being an example of where things are particularly horrible. the problem of “choice” is being offloaded to bayesian belief networks that can’t make human decisions.

But on the other hand, software should also hide complexity from the user. It should prevent the user from thinking about problems that have already been solved, and empower the user to work on new problems. Though for some new problems, it may be helpful to have seen all the existing gears...

Show thread

Recently I wanted to quickly spin up a Linux desktop VM, and decided to give a try. Oh boy, wrong tool for that purpose. I love it and I hate it.

The installer is a shell prompt with a link to the manual. Before telling you to reboot, there is a single sentence like "oh, and also install some bootloader", sending you to another page with a long table of options. Wow. Reminds me of the time I started with Linux, forcing me to compile new drivers. I learned so much, it felt empowering.

maxy boosted

that feeling of jealousy when you realize other people saw the moon

maxy boosted

Awesome article on handling/boxing errors in #Rust: fasterthanli.me/articles/whats

Returning Results with different types of possible errors always catches me out, and I never really know the best way to deal with those situations

maxy boosted

. @bugaevc helped me explore more efficient ways of writing a #rust function that splits a string on a given character. There was a pretty clear winner... unless you've got an idea for an approach we didn't think of.

github.com/sts10/splitter

Show thread
maxy boosted

Being vaccinated does NOT mean it's okay to ask neural nets to participate in meme formats about pandemics that didn't exist when their training data cut off in Oct 2019. You will get memes that make no sense. Be smart.
janellecshane.substack.com/p/b

maxy boosted
maxy boosted
Show older
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!