summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAge
* release: v0.1.2v0.1.2user2026-09-02
|
* point homebrew tap at github.com/sl0p-foo/homebrew-sloshuser2026-09-02
| | | | | brew auto-resolves GitHub taps, so the explicit URL is no longer needed: 'brew tap sl0p-foo/slosh' is all users type.
* find zig on PATH instead of hardcoding ~/zig-0.16.0/ziguser2026-09-02
|
* web: cleanupuser2026-09-02
|
* Merge remote-tracking branch 'origin/docs-new'user2026-09-02
|\
| * docs: choredocs-newPeter Geissler2026-09-02
| |
| * docs: deprecate boring design narrative, more trimming and cullingPeter Geissler2026-09-02
| |
| * docs: big overhaulPeter Geissler2026-09-02
| |
* | web: the logo becomes geometry -- fonts cannot break rectsuser2026-08-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Android reports arrived of the logo rendering shattered, and the cause is the ascii itself: the default monospace there has no block glyphs, so every ▀▄█ falls back to whatever font volunteers, each with its own metrics, and the grid comes apart. No font stack fixes a missing glyph, and shipping a font is against the house rules. So the logo stops being text: web/gen-logo-mask turns logo.txt into an SVG of merged rects, inlined into site.css as a data URI and used as a CSS mask on an empty element. The animated background layers show through the mask exactly as they showed through background-clip: text, so every effect survives -- gradient slide, shine, hue, glow -- and two old hacks retire with the fonts: the letter-spacing pinstripe fix, and (after one round of seams at fractional mask scales) a vertical overlap baked into the rects. Same 318x84 box, same placement math, and a hero that reads as role=img with a label instead of seven rows of block glyphs.
* | web: the magnet scroll goesuser2026-08-30
| | | | | | | | | | | | | | | | Proximity snapping, even with the doorway steps freed, still catches some people's scrolling in ways worth no tour polish -- input devices and browsers disagree too much about what proximity means. The clickable steps and the smooth scrolling stay; a reader's wheel is theirs again, everywhere.
* | web: a one-line footer -- slosh is a sl0p.foo productuser2026-08-30
| | | | | | | | | | | | The page gets its colophon back, at a fraction of the old footer's size: one centred mono line in the floor's own greys, the link a shade brighter and pink under the pointer.
* | web: the hero logo cycles too, in truer coloursuser2026-08-30
| | | | | | | | | | | | | | | | | | The floating logo's dress on the big one, cut to the brand: no hue rotation -- that is what walks the little one off into blues -- just a 4s slide through the palette's own pinks and orchid and --dead's sunset orange, the most retrowave colour the theme already owns, with the shine crossing once a loop and a soft pink glow underneath. Reduced motion gets the gradient standing still.
* | web: the demo poster rises above the lightened flooruser2026-08-30
| | | | | | | | | | | | | | The body gradient's ground passes --panel by, and a box darker than its floor reads as a hole. The poster steps up to --code-bg -- the same raised step the install boxes beside it use -- and its border moves to --faint, since the old border colour is now the fill.
* | web: the page lightens toward the ground, barelyuser2026-08-30
| | | | | | | | | | | | | | | | A gradient on the body, whose box is the whole document, so the fade maps to scroll distance: near-black held through the hero and the tour, then a slow climb to a grey that stops shy of the panels' own colour -- the floor lightens, the boxes on it stay boxes. html keeps the solid top colour, so over-scroll rubber-banding stays dark.
* | web: the logo trades the glitch for the shineuser2026-08-30
| | | | | | | | | | | | | | | | | | | | A band of light sweeping the glyphs once a loop -- the logo running slosh's own shine preset, which is a better advertisement than a signal fault. The band is a second background layer on the same text clip, parked off the ink for 86% of the loop and crossing in the closing 0.7s; one set of keyframes drives both layers, the colour slide holding its linear pace through every stop. The glitch keyframes go, and reduced motion still keeps only the hue.
* | web: the logo glitches, briefly, every seven secondsuser2026-08-30
|/ | | | | | | | | | | A signal that is fine, fine, fine, and then for a third of a second is not: torn into bands by clip-path, shoved and sheared by transform -- the two properties the other animations left free, filter being the hue's and background the slide's. Doubled keyframe percentages make the cuts hard instead of smeared, and 7s against the 5s slide and 4s hue lands the burst somewhere new in the colour every time. Reduced motion never sees it: the glitch is nothing but motion, and the reduced lane already keeps only the hue.
* web: the hero button says try it, like the section it goes touser2026-08-30
|
* web: the whole step is the road, not just its titleuser2026-08-30
| | | | | | | | | | Clicking anywhere in a dimmed article glides it to the centre and so, through the observer, switches the recording. Three guards keep the click meaning navigation: the active step does not react (clicks there are for reading and selecting, not going where you already are), a selection is not a click, and a link is a link. The pointer cursor and the title's breath of pink now belong to dimmed steps only -- the active one is just prose.
* web: the tour's doorway steps stop grabbinguser2026-08-30
| | | | | | | | | Proximity snapping traps at the edges: between steps, adjacent fields hand you from magnet to magnet, but at the first and last there is no next field -- a wheel tick toward the hero or past the final demo ends inside the boundary step's radius and is pulled straight back, forever. The interior steps keep their snap-align; the doorways go without, because a doorway that grabs is worse than a step that does not snap.
* web: the tour magnets, politelyuser2026-08-30
| | | | | | | | | | | | scroll-snap-type: y proximity on the root, snap-align: center on the steps and nothing else: a scroll that ends near a step is settled onto its centre -- the exact spot the tour activates it, so the rest position and the lit step agree -- and momentum, half-reads and every snapless section are left alone, by spec. Proximity, never mandatory: the mandatory kind on a page that also has prose is a trap, and the JS kind is worse. Off in the one-column layout, where the sticky stage covers the upper viewport and a centred step would sit half beneath it.
* web: a step's title is a road to the stepuser2026-08-30
| | | | | | | | Clicking an article's h3 glides it to the middle of the viewport -- the exact spot where the tour's observer activates it, so the click also switches the recording, through the same door scrolling uses rather than a second mechanism. The pointer cursor and a breath of pink on hover say clickable.
* web: the floating logo yields to the buttons and the rising terminaluser2026-08-30
| | | | | | | | | | | | | | | Two overlaps the section observers missed. The show opened on the big logo leaving, but the hero's buttons sit below it, so there was a band of scroll with the little logo arriving on top of install/try/docs -- observe the whole hero instead. And at the tour's exit the stage unpins and is dragged up through the logo's air before the try section crosses its line -- no section boundary says so, but two rects do: a rAF-throttled collision check against the pinned player's rect, and whenever the terminal would touch the logo, the logo yields. Verified by sweeping fifteen scroll positions: shown through the whole tour, hidden over the buttons, the rising terminal, the demo box and the install tabs, with zero overlapping frames.
* web: the config cast zeroes the padding before going compactuser2026-08-30
| | | | | | | | padding 1 2 was still in force when compact arrived, and the dense school reads best with the panes flush against its dividers. The cast now takes the padding back first -- cc rewrites the line to padding 0 on camera, one more save applying live -- so the compact beat lands on the layout it was designed around.
* web: the config cast edits in colouruser2026-08-30
| | | | | | | | | | vim -u NONE kept the render machine's dotfiles out of the cast, but NONE also switches off filetype detection and syntax -- so the config demo was editing kdl in monochrome, underselling vim and the file both. The demo now authors its own six-line vimrc instead: syntax on, habamax (the webdemo's own look), shortmess for the column. The cast depends on vim's runtime and nothing personal, which is what NONE was protecting in the first place.
* web: the casts play at 1.75x -- the owner has watched them enoughuser2026-08-30
|
* web: the config cast turns the layout before it editsuser2026-08-30
| | | | | | | | | | | C-a e arrived as a strip along the bottom, and a 66-line config in a twelve-row strip reads like a keyhole. A quarter turn (C-a Space) right after it opens makes the editor a column with the height the file deserves -- and shows off the rotate while at it. The column brought back vim's hit-enter stall (the file-info message wraps at 49 columns), so the recording's EDITOR gains the same shortmess the webdemo's vimrc already carries.
* web: one knob to hurry every cast on the pageuser2026-08-30
| | | | | | | | | window.SLOSHCAST_SPEED, multiplied into each mount's own data-speed: the front page sets 1.25 and every recording plays a quarter faster than authored, the scripts under demos/ untouched -- their pacing is theirs, and how much of it a visitor's attention span gets is the page's call. The clock keeps counting cast-time, so the timestamps mean the same thing at any speed.
* web: the panes cast shows the drop bands, not just the swapuser2026-08-30
| | | | | | | | | | | | | | | | The title drag had one beat -- drop in the middle, trade places -- which undersells the feature: carried over a pane, the target subdivides into a centre and four edge bands, a band meaning "in beside it, on this side", filling the half it would hand over while every other candidate greys out. The cast now lingers over the centre, steers into a band, and drops -- and the drop restacks the whole tab, a rearrangement no swap could produce, chosen so the release visibly changes the layout (the first cut dropped a pane beside the neighbour it already had, and proved nothing). The band is aimed by its entry in the compositor's hit list, like every coordinate in these demos: the rect the program promised is the rect the pointer hits. The panes article's bullet follows suit.
* web: the demo poster keeps to the content columnuser2026-08-30
| | | | | | The tour-width breakout belongs to the machine, not to the offer of one: unbooted, the panel now sits flush with the prose and the install box; booted, it still takes the tour's width and most of a viewport.
* web: power off is a button, not a cheeky linkuser2026-08-30
| | | | | | A real ghost button centred under the running machine, in the hero buttons' own dress -- ghost on purpose: booting stays the loud verb, stopping the quiet one. The caption drops to a side note beside it.
* web: the demo machine can be powered offuser2026-08-30
| | | | | | | | | | | | A caption under the running machine offers the off switch, dressed as a link inside a sentence. Dropping the iframe out of the DOM tears the whole VM down -- emulator, kernel, disk cache, the lot -- the stage shrinks back into the poster (the original nodes come back from a stash, listeners and all, so the boot button is immediately live again), and the scroll follows both ways. Reload always did this; the button does it without taking the rest of the page with it.
* webdemo: no attach splash -- the welcome float already greetsuser2026-08-30
| | | | | | | Two logos in quick succession -- the splash's, then the welcome float's -- reads as a glitch, not a greeting, technically correct or not. splash_ms 0 in the guest config; the comment leaves the knob visible for anyone editing their way through the playground.
* web: the demo machine, bootable in the front pageuser2026-08-30
| | | | | | | | | | | | | | | | | | | | | | | A try section between the tour and the install box: a modest poster with one button, and the machine only when the button is pushed -- the front page keeps costing two files, which is the decision the README recorded when the demo got its own page, still being honoured. The click grows the stage to most of a viewport *before* the iframe goes in (the guest reads its geometry from the room exactly once, at boot), then glides the scroll to land the machine centred. An iframe, not the demo's scripts inlined: the emulator's emscripten glue owns its globals by name, and isolation is what keeps this page and that blob out of each other's namespaces. ?embed=1 makes the demo page drop its own header and footer inside the frame; standalone it is unchanged, and phones navigate to it rather than embedding -- wasm under a soft keyboard in an iframe helps nobody. The floating logo learns the tour's edges properly while at it: the try section arriving closes the show (measured with a -45% rootMargin, because the tour's exit margin lets the section ride high while the last step is still centred), and a section scrolled past counts as arrived, not gone.
* web: the logo cycles hyper, and casts a glow to matchuser2026-08-30
| | | | | | | | | | | | | Fewer colours at once, more per second: the gradient slims to three stops -- pink, orchid, blue -- and the hue rotation takes over the variety, a full wheel in 4s (5s in the reduced-motion lane, colour in place, still nothing travelling). The slide drops to 5s with it. And a drop shadow, inside the hue keyframes because the filter property is the animation's to own -- a static filter would lose to it -- and listed before the hue-rotate so the glow is rotated with the letters and always matches their current colour. Soft and low: on a near-black page a shadow can only read as a faint underglow.
* web: reduced motion stills the logo's slide, not its colouruser2026-08-30
| | | | | | | | | | | Both of the owner's browsers showed the cycle frozen, and the culprit was neither of the browsers: the OS asks for reduced motion, both pass it on, and the media rule here answered by killing every animation. The preference is about motion -- patterns that travel, the vestibular kind -- not about colour, so the position slide goes and the in-place hue rotation stays, at half speed. Nothing moves, everything still breathes, and a visitor who asked the OS for stillness gets exactly the stillness they asked for.
* web: the logo's colour cycle gets range, speed, and a Safari laneuser2026-08-30
| | | | | | | | | | | | | | More of the wheel -- the gradient now walks pink, orchid, blue, cyan, mint and back, all colours the demo's own terminal palette already speaks -- and a faster walk, 8s to the position slide's loop. And a second motion: WebKit caches a text-clipped paint and never repaints it for a background-position animation, so on Safari the wash sat frozen, pink on the left, cyan on the right, which rather defeats a colour cycle. A hue rotation runs alongside (12s to the full wheel): filters apply post-paint on the compositor, so every engine animates it over the cached clip. Chrome and Firefox get both motions, WebKit gets the rotation alone -- either way, nothing stays pink.
* web: the floating logo cycles its colour, slowlyuser2026-08-30
| | | | | | | | | A gradient of the pink's neighbours -- orchid one side, a lighter pink the other -- clipped to the ink and slid along it, one tile every fourteen seconds: the logo's own little colour pass, in the spirit of the shaders it advertises. Horizontal on purpose, because only a 90deg gradient meets its own edge seamlessly when the loop wraps; animated only while shown, and not at all under prefers-reduced-motion.
* web: centre the floating logo in the air above the terminaluser2026-08-30
| | | | | | | | | | | | | A fixed top worked at one viewport height and overlapped the pinned terminal at others: the terminal's top edge is (viewport - the stage's lift padding) / 2 - half the player, which no constant tracks. Measure it instead, centre the logo in what remains, and hide it outright when a short viewport leaves no air -- hiding beats overlapping. Re-placed on resize and by a ResizeObserver on the player mounts, not on the pin: the players are zero-height until their casts arrive, and the pin is a 100vh box that never resizes, so watching it would freeze the placement at the pre-load height.
* webdemo: fit with font size, not scale -- a transform misplaces clicksuser2026-08-30
| | | | | | | | | | | | | | | | | xterm turns a mouse event into a cell with getBoundingClientRect() and its own unscaled cell metrics, so the scale() that stretched the fixed grid into the stage put every click on the wrong cell, off by the scale factor. Desktop kept the factor near 1 -- cols and rows are derived from the same room the scale fills -- so it passed for working; a phone is forced onto the 80-column floor, the factor lands near a half, and a tap selects a pane the finger never touched. Refit the font size instead: walk it until the grid fills the room (iterated, cell metrics are not linear in font size), centre the leftover with translate, which moves rect and clicks together. The grid stays what the guest was told at boot; only the glyphs move. A webfont resolving late changes the metrics under the fit, so refit again when document.fonts settles.
* webdemo: land in the playground, not just the demouser2026-08-30
| | | | | | | | | | | | | | | | | | | | The overlay grows into a first session worth having: - The config is a playground now -- every theme the repo ships rides along as an include one word away, and the settings worth flipping (compact, shaders, keys, dim_unfocused) sit commented in the file, each one uncomment-and-save from happening on screen. - C-a e opens vim, not busybox vi: editor "vim" in the config, since the image always carried the real vim and its kdl syntax without ever launching them. shortmess in the vimrc keeps the file-info message from wedging a narrow pane into a hit-enter prompt. - The config starts open, highlighted, in a pane of its own: the discovery C-a e would make, made before anyone has to make it. - A welcome float greets over everything, the slosh logo on top, centred by the layout engine at whatever size the browser gave the terminal (the previous commit is its enabling act). It teaches its own dismissal -- C-a x, or the X it wears -- and it never exits on its own, so keep_dead has no corpse to keep.
* layout: a float sized but not positioned is centred, per axisuser2026-08-30
| | | | | | | | | | | | | | | | docs/layouts.md always said an absent coordinate takes the centred default; the loader said 0, and a layout float with only w= h= landed in the top-left corner. Now an axis the file does not name is FLOAT_CENTRE, a sentinel no real coordinate can reach, and float_clamp answers it with the middle -- every frame, at whatever size the terminal is by then, until an explicit move or resize writes a real number over it. The webdemo's welcome float is the customer: it must sit centred on a terminal whose size the layout file cannot know. The dump writes a still-centred axis by omission, because the number it happened to land on would pin to this screen's size the one intent that deliberately has none. Every mutating verb already writes back from the drawn rect, so the sentinel survives nothing it should not.
* web: a seventh cast -- floats, and the cheatsheetuser2026-08-30
| | | | | | | | | | | | C-a F drops a throwaway shell over a working layout; a monitor runs in it, moves with the keys that move boundaries, grows about its centre. Then C-a ?, the cheatsheet built from the bindings actually in force, and exit closes the float with the layout exactly as it was. The monitor is an htop impression with authored numbers, not htop: a recording that renders differently every run is a bug here, byte-for- byte is the contract. Phosphor, because every cast in the tour records under its own theme so the next step reads as a scene change.
* web: close the logo's pinstripe gaps, undress its hoveruser2026-08-30
| | | | | | | | | | | Block glyphs' ink can round a hair narrower than the monospace advance, so the ascii logos showed hairline gaps between characters that should read as solid ink; -0.05em of letter-spacing tucks each glyph into the last, on the floating logo and the hero's alike. The floating logo also stops dressing as a link on hover: the global a:hover underline through seven rows of block glyphs was a mess, and the colour flash no better. It still is one -- the pointer says so.
* web: a whole lot of html/css wranglinguser2026-08-30
|
* web: sloshcastuser2026-08-30
|
* graphics: a frame the client never got must be said againuser2026-08-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A pane image is re-emitted to the client as decoded RGBA, which for one screenshot is ~4MB of base64 in a single indivisible message -- and conn_send silently dropped anything that would overflow the 4MB outbox, while push_graphics ignored the refusal and the model advanced anyway. Everything stateful in that dropped frame was lost for good: the image was marked sent (so its placements drew nothing, forever), and the deletions rode out with it (so a placement the client had was never revoked). Reported as screenshots in a recovered pi transcript parked at a fixed spot on the screen, immune to scrolling and pane swaps -- those were placements whose deletion left with a dropped frame. The 1000x800 one could never be delivered at all: its transmission alone was bigger than the cap. So the frame is now transactional. Deletions queue and are repeated every flush until gfx_commit() confirms the client heard them; transmissions recorded in a frame are unwound by an undelivered commit so they are sent again. A flush nobody commits counts as undelivered at the next gfx_begin(), which is what the `graphics` control command is: bytes rendered for a CLI, not the client. The server reports the verdict and keeps the paint pending until it lands. The outbox cap now bounds the backlog rather than backlog-plus-message, so one big transmission on a drained queue always fits -- and that surfaced a second way to lose: a queued image legitimately holds the backlog over the cap until the client swallows it, and push_frame read that as a dead client and closed the connection. The session auto-detached every time a screenshot crossed the wire. A full outbox is a client that is *behind*, not gone: push_frame now marks the screen for a full repaint (the dropped diff means the client's cells are unknown) and retries as POLLOUT drains the queue; a client that truly left still shows up as a write error there. The headless suite pins the owed-until-committed contract; the new tests/live_graphics.py drives the real socket with a bigger-than-the-cap image and a reader that stalls, and would have caught both bugs: the flood must not detach, the transmission must arrive whole, and a placement scrolled away must be deleted -- then come back on scroll without a second copy of the pixels.
* docs: less wordyuser2026-08-29
|
* arch: sign the packages and the database, and say whose keyuser2026-08-29
| | | | | | | | | | | | | | | | | | | | An ed25519 key made for exactly this -- slosh package signing <slosh@slosh.foo>, 0F67C909938CFFA8A76B59FD8D69B55A0E9056B9 -- signs every package and both indexes. The public half travels two ways that would both have to lie: contrib/arch/slosh.asc in git, and /arch/slosh.asc on the website; the READMEs walk through pacman-key --add and --lsign-key, and the [slosh] stanza loses its SigLevel override because pacman's default demands signatures and now gets them. contrib/arch-repo pins the fingerprint, refuses to run without the secret key (an unsigned update would make every enrolled pacman refuse the repo), and now regenerates the index from the directory every time: repo-add skips an entry whose version it already has, so after a same-version rebuild an incremental add left the db describing the previous bytes -- a checksum mismatch for every client. An index rebuilt from disk cannot disagree with disk. Verified end to end with a scratch pacman keyring: enrolled key syncs and downloads under Required DatabaseRequired, unenrolled key is refused at the database.
* arch: a self-hosted pacman repository, since the AUR is shutuser2026-08-29
| | | | | | | | | | | | | AUR signups are closed while the AUR deals with supply chain attacks, so the package is published from our own roof -- which is the better offer anyway: a pacman repository serves built packages where the AUR hands every user a rebuild. contrib/aur/ becomes contrib/arch/ (the .SRCINFO goes; it is AUR metadata, regenerated in a minute when signups reopen), and contrib/arch-repo builds the package and maintains the slosh.db / slosh.files indexes in dist/arch/<carch>/, which rsyncs to /opt/slosh/arch/ on the box. The README and the front page carry the [slosh] stanza; SigLevel is spelled out because the packages are not signed yet and pacman defaults to demanding it.
* aur: a PKGBUILD, building offline from the cgit snapshotuser2026-08-28
| | | | | | | | | | | | contrib/aur/ is the upstream copy of the AUR package; the AUR repo gets these files verbatim on a release, and contrib/release now says so in its checklist. The source is the cgit snapshot of the tag, which carries the vendored libghostty-vt -- and every zig dependency in its build.zig.zon is lazy and unused by the VT-only build (verified against a cold ZIG_GLOBAL_CACHE_DIR), so the build fetches nothing and is clean in an offline chroot. prepare() writes pkgver into VERSION because the v0.1.1 snapshot predates the release script that keeps the floor bumped; for later tags the line writes what is already there.