@alcinnz@floss.social
@alcinnz@floss.social avatar

alcinnz

@alcinnz@floss.social

A browser developer posting mostly about how free software projects work, and occasionally about climate change.

Though I do enjoy german board games given an opponent.

Pronouns: he/him

This profile is from a federated server and may be incomplete. Browse more on the original instance.

alcinnz, to random
@alcinnz@floss.social avatar

contrast-color() is a good thing, but also solving the problem at the wrong layer - Eric Bailey:
https://ericwbailey.website/published/contrast-color-is-a-good-thing-but-also-solving-the-problem-at-the-wrong-layer/

Boosted by Robin Rendle "The Cascade":
https://csscade.com/contrast-color-is-a-good-thing-but-solving-the-problem-at-the-wrong-layer/

I've had this on my todo list for a while...

alcinnz, to random
@alcinnz@floss.social avatar

I Need Your Help To Make 11Ty Fully Independent And Sustainable In 2024 - Zach Leatherman:
https://www.zachleat.com/web/independent-sustainable-11ty/

Boosted by Robin Rendle "The Cascade":
11ty goes independent: https://csscade.com/11ty-goes-independent/

alcinnz, to random
@alcinnz@floss.social avatar

We could get far on our hypothetical string-centric hardware collaborating peer-to-peer using the CRDT version control system I described the other day! But giving the project a central server (running on our custom hardware, lets say) can streamline development whilst adding quality control, so how'd we implement it?

We'll implement our "codeforge" as a suite of independent services, using an (as yet, proprietary) <form> control for authentication.

1/?

alcinnz,
@alcinnz@floss.social avatar

To start we'd want to build a viewer upon an AutoMerge document, including the contained directory of text files or whatever the CRDT encodes. Annotated with who added each bit of text when. In addition to displaying all the commit messages for the whole repository, specific file, or line there-of with links to each change's diffs.

We may want to run this viewer offline as well for our own local repos! It'd be implemented as a handful of parameterised converters from AutoMerge to HTML.

2/?

alcinnz,
@alcinnz@floss.social avatar

Furthermore I'd include transcoders from any state snapshot to a tarball, & from the doc history to a ATOM webfeed!

Our OS (for far more than just this!) would include a tool for concatenating multiple HTTP fetched/cached webfeeds, sorting them, & deduplicating them. RSS would be rendered via CSS (as long we ensure their links work), & I'd incorporate a handful of those links into our new-tab page (perfect place!).

Authorised users can merge updated docs into the hosted version.

3/5?

alcinnz,
@alcinnz@floss.social avatar

Perhaps the other most-important feature of a codeforge is an issue tracker. For this I'd start from a webframework which uses the Parsing Unit for URL routing & data lookups, the Output Unit for templating, & the Arithmetic for less-trivial queries. Allowing webforms to update the stored labelled-tree of data.

Once we've datamodelled "issues" we can render them to HTML & webfeeds, & provide forms to create nwe issues & comments thereupon.

4/5!

alcinnz,
@alcinnz@floss.social avatar

We may include code to render issues to/from emails, though the previously-mentioned authentication widget could allow anyone to use the web UI.

Furthermore I'd want to have the OS automatically pull up this form in response to any crashes. But what if the form engine itself crashes? Then I'd task the BIOS team to build a fallback interface, offering a simpler (UDP?) endpoint for it to call. Akin to the fuzzer, I'd simplify/anonymize the crash report.

5/5 For today!

alcinnz, to random
@alcinnz@floss.social avatar

Generating text colors - Robin Rendle "The Cascade":
https://csscade.com/generating-text-colors/

alcinnz, to random
@alcinnz@floss.social avatar

Design interviews - Robin Rendle:
https://robinrendle.com/notes/design-interviews/

alcinnz, to random
@alcinnz@floss.social avatar

"Is This Project Still Maintained?" - Matt Palmer "Brane Dump":
https://www.hezmatt.org/~mpalmer/blog/2024/05/14/is-this-project-still-maintained.html

alcinnz, to random
@alcinnz@floss.social avatar

Upgrade PostgreSQL from 15 to 16 on Ubuntu 24.04 - Paolo Melchiorre:
https://www.paulox.net/2024/05/20/upgrading-postgresql-from-version-15-to-16-on-ubuntu-24-04-noble-numbat/

alcinnz, to random
@alcinnz@floss.social avatar

I want it all but, it is impossible - Ana Rodrigues:
https://ohhelloana.blog/i-want-it-all/

alcinnz, to random
@alcinnz@floss.social avatar

Baseline - Robin Rendle "The Cascade":
https://csscade.com/baseline/

Like Robin & Jeremy I'd like to see Baseline indicate whether a new feature degrades gracefully!

alcinnz, to random
@alcinnz@floss.social avatar

Prefer do notation over Applicative operators when assembling records - Gabriella Gonzalez "Haskell For All":
https://www.haskellforall.com/2024/05/prefer-do-notation-over-applicative.html

alcinnz, to random
@alcinnz@floss.social avatar

Exploring Seamless Rust Interop for Newer Languages, Part 1 - Evan Ovadia "Vale Lang":
https://verdagon.dev/blog/exploring-seamless-rust-interop-part-1

Could save me some headaches I'm experiencing...

alcinnz, to random
@alcinnz@floss.social avatar

P&B: Rebecca Toh - Manuel Moreale:
https://manuelmoreale.com/@/page/KULfiggfOmaBTxp9

alcinnz, to random
@alcinnz@floss.social avatar

Data portability: API getter and setter methods - Go Make Things:
https://gomakethings.com/data-portability-api-getter-and-setter-methods/

alcinnz, to random
@alcinnz@floss.social avatar

Your new tool will be used in the worst possible way - Cory Dransfeldt:
https://feedpress.me/link/23795/16692935/your-new-tool-will-be-used-in-the-worst-possible-way

alcinnz, (edited ) to random
@alcinnz@floss.social avatar

Building pages from data in Eleventy - Cory Dransfeldt:
https://feedpress.me/link/23795/16692970/building-pages-from-data-in-eleventy

alcinnz,
@alcinnz@floss.social avatar

@teleclimber Yes, muscle memory! Thanks for the correction!

alcinnz, to random
@alcinnz@floss.social avatar

Wow, I like this talk...

Psychedelic Billionaires: Healing in an Age of Inequality - Neşe Devenot @ Harvard Medical School:
https://invidious.materialio.us/watch?v=z_PfFiXMwiU (YouTube via Invidious)

alcinnz, to random
@alcinnz@floss.social avatar

There's a handful of strategies used we use to design "algorithms" for computing answers to mathematical problems.

We have "divide & conquer" algorithms which splits the problem into smaller parts, recurses to solve those subproblems, & combines the solutions.

We have "greedy" algorithms which solves a simpler version of the problem & keeps extending it until we've solved our problem.

1/2

alcinnz,
@alcinnz@floss.social avatar

We have "Dynamic Programming" (named to sound impressive to the researchers' generals) which resembles "divide & conquer" algorithms, but we store the partial solutions so we can relate them in a non-obvious order.

These strategies describe most of the popular algorithms we see all over computing & computer science!

But where all the real ingenuity lies is in designing datastructures, which can require mindset changes!

2/2 Fin!

alcinnz, to random
@alcinnz@floss.social avatar

Diffing can be incredibly helpful for managing software! It can be used to retrofit CRDT support, monitor changes being made, guide how the software should be adjusted to match desired output(s), etc. Maybe for our Output Unit we'll have tool which autoruns & diffs a converter to guide its development, maybe adding automation where we find it worth the effort?

So how'd we implementing diffing on our string-centric hardware? Strings specifically? Its not trivial!

1/5?

alcinnz,
@alcinnz@floss.social avatar

Utilizing its "dictionary" construct our Parsing Unit can readily extract all the unique lines within a file, & in turn the common unique lines between 2 files.

Assuming those unique lines are in the same order now only need to diff the text between them! Probably trying a recursion first! Maybe even splitting the text down further into e.g. words? Before falling back to a proper diffing algorithm, if we succeed in splitting the file up enough!

Except... Guess what?

6/7!

alcinnz,
@alcinnz@floss.social avatar

We must handle cases where those unique lines have been reordered between the 2 files. So we'd read them out in the order the order they occur in one file (by re-parsing that file, the list-keys operation I made sure to include orders keys alphabetically instead) & feed these line numbers to the Arithmetic Core so it can compute a common subsequence!

The Arithmetic Core would do so in a way which resembles playing a solitaire card game e.g. Patience!

7/7 Fin! Tomorrow: A codeforge, and RSS!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • kavyap
  • DreamBathrooms
  • cubers
  • cisconetworking
  • osvaldo12
  • magazineikmin
  • Youngstown
  • thenastyranch
  • rosin
  • slotface
  • Durango
  • mdbf
  • khanakhh
  • megavids
  • tacticalgear
  • InstantRegret
  • normalnudes
  • modclub
  • ngwrru68w68
  • everett
  • GTA5RPClips
  • ethstaker
  • anitta
  • Leos
  • tester
  • provamag3
  • lostlight
  • All magazines