Show newer

IMO Ollama's streaming API is much nicer, but here's an example repo for streaming inference from a request with zero dependencies in .

github.com/RangerMauve/openai-

Using server sent events in an HTTP POST is the sort of evil I wouldn't even do. 🤪

NDJSON would have been nicer IMO

I just uninstalled all my cracked adobe products in disgust at their new pricing structure

Merkle-DAGs are a neat concept. But honestly `last know writer + writer lamport clock` is a pretty good timestamp too.

I guess I'm thinking documents in a sort of tree like `root/page/section/subsection/paragraph0...n` where each leaf is a value + a clock for last write wins.

Writer set guarded by something like keyhive or a cheap append only set of public keys if you're lazy.

arxiv.org/pdf/2004.00107

inkandswitch.com/keyhive/noteb

Show thread

Even though last write wins registers are the most practical it feels like the biggest cop-out in terms of conflict resolution. I get vector clocks and merkle clocks are more expensive but it feels like we should care about clock drift and causality more. I guess GUN.js had it right all along with using wallclocks but ignoring updates too far in the future. :P

making a list of tricks for making static sites (just HTML/CSS/JS) that do cool or useful things

so far I have:

- store all the state in the URL
- use localStorage for state
- make a client for an API that supports cross-origin requests (like the mastodon API)
- load a bunch of data from a static JSON file

some things I've seen but haven't done myself:

- use github as your data storage (like what Decap CMS does)
- use SQLite from a static website with no backend

General PSA: don’t apply for a job at Canonical. Do NOT apply for a job at Canonical. Treat the blatantly artificially enormous number of job openings they post as the mirages of trickster fae. They are unhinged. Mark Shuttleworth is unhinged. They will drag you through the mud, disrespect you and your time, and definitely not give you a job. This article I saw today is like the thirteenth of its kind that I personally have seen dustri.org/b/my-experience-wit

Neat recording from the goode solar observatory. There's a big swirling mass which almost looks like it's wrapping around something invisible.

nso1.b-cdn.net/wp-content/uplo

Love when past me's efforts lead to new opportunities.

I have had to tell it several times to not modify the tests in order to make them pass. it has repeatedly invented tests either in the code, or in its responses, that do not reflect the actual requirements and betray that it does not understand the task

Sleep maxxing. Absolutely snooze-pilled. Nap-mode extremism.

@oblomov @anselmschueler yeah I found a lot of terminal emulators struggle with funky rendering. I used kitty specifically cause it supports stuff like ligatures in FiraCode

Slop dev tools should have a "hardcore" mode where syntax errors or failed tests delete your project and force push an empty history.

SCP-[REDACTED] outbreak at Site-BER has been contained and relocated to the euclid wing of Site-YOW. Containment treams are decontaminating the specimen and reconfiguring the exoself lattice.

With search engines deteriorating and generative AI poisoning the well...

...it's time to bring back web rings and link lists.

Do you have any favorite link lists?

@light damn 🥲 How would I even content warning this correctly?

"oh you can't download this video." "oh this audio is only available to pro subscribers." you fucking fool. you have transmitted the file to me over the internet. it's already on my computer. I can do with it whatever I want

Show thread

@brandon epic. Yeah I love that person's content. Very inspirational

Show older
Mauvestodon

Escape ship from centralized social media run by Mauve.