Better HN
topnewbestaskshowjobs
Log inSign up

Leftium

1,814 karma · joined Aug 24, 2010 (16y ago) · 973 submissions

email: leftium.com/contact

leftium.com

Leftium: The Element of Creativity!

Submissions

comment 4d ago · link · parent

Very impressive~ support for real-time live transcription is great!

I think there is a bug: the settled text seems to fail to get the bold styling.

---

I wanted to try adding to https://rift-transcription.vercel.app, but the project/license terms make it a little cumbersome:

- need to request the model on hugging face (can't just download)

- not allowed to distribute model without commercial license (so users have to request model themselves? or at least projects that fork or use my open source transcription component?)

- no API/documentation

---

Thanks for pointing me to Whistle, which is nearly as small and has simpler project/license terms: https://cactuscompute.com/blog/whistle

BTW I always test with the phrase "Leftium, the element of creativity." Most models fail on "Leftium," but Whistle works if added as a keyword.

---

Here's a test result for you:

Load 0.8 s Clip 3.5 s of speech Transcribe 70 ms (median of 3, beam search width 4, as in the app) Speed 20 ms per second of audio, 50× faster than real time Relaxed SIMD yes

w/ M4 Mac Mini, Chrome

comment 6d ago · link · parent

I just learned automerge used optimization with columns to help reduce the storage/memory used by their CRDT: https://speakerdeck.com/ept/automerge-a-new-foundation-for-c...

- ~200X decrease in memory usage

- Moby Dick went from 700MB to about 1MB

---

Another practical application of optimization with columns are used in game dev with entity component systems (ECS). The cache locality can really help performance: https://en.wikipedia.org/wiki/Entity_component_system

comment 1w ago · link · parent

When I hear "F#" and "functional," I think of Scott Wlaschin.

I'd search for material from Scott. Some resources that look promising:

- F# in Production with Scott Wlaschin: https://shows.acast.com/664fde3eda02bb0012bad909/664fde448c7...

- https://fsharpforfunandprofit.com/posts/completeness-intro

---

I don't have any major prod experience with F#, but it seems F# is as mature as .NET itself (at least there is full interop with C#.)

Also don't forget functional languages make it more convenient to apply functional thinking, but with discipline you can implement functional thinking in pretty much any lang.

comment 1w ago · link · parent

Some pro tips on how to use voice-to-text (from engineers who broke their arms):

- Sub-vocal dictation (mic): https://youloop.leftium.com/NvVbCqDgfCs/520~733?speed=2

- Handy - Free open-source speech-to-text: https://hw.leftium.com/i/44302416

comment 1w ago · link · parent

There is a demo of the prototype working: https://youtu.be/AvITqAXhkyQ

6.

The Cloud Chamber by Kyle Hill: See Radiation in Real Time(inqfactory.com ↗)

2 points · by Leftium · 1w ago · 1 comment

comment 2w ago · link · parent

You can actually do better than a browser extension via service workers: after the first download, it runs from the server.

You can even configure this as your default search engine so searches from the omnibar work: https://whiz.leftium.com/go

Source code: https://github.com/Leftium/whiz/blob/main/src/service-worker...

comment 2w ago · link · parent

Kagi maintains an updated set of open bangs at https://github.com/kagisearch/bangs

I made `!` easier to type on mobile via double-space (double-tap SPACE to insert `!` similar to how macOS/iOS adds a period with double-space): https://whiz.leftium.com

Still a work in progress; I need to make the UI more intuitive: https://github.com/Leftium/whiz/

comment 2w ago · link · parent

I made a similar tool for two main purposes:

- studying dance videos (https://youloop.leftium.com/dt-SqNL4z3w/31~38)

- sharing short excerpts from (longer) YouTube videos (https://youloop.leftium.com/NvVbCqDgfCs/520~733?speed=2)

Feel free to steal my ideas: https://github.com/Leftium/youloop

- novel way to visualize A-B points, that can be dragged (https://youloop.leftium.com/?v=dt-SqNL4z3w&t=31~38)

- toggle between timeline for A-B section and entire video

- cleanest viewing experience using CSS trick to hide YouTube chrome

- much more...

---

In the future, I want to make a beat-aware media player (https://github.com/Leftium/phrasier)

Unfortunately it is difficult to get audio data across CORS boundaries. My plan is a separate CLI tool that downloads the audio and produces a text file you can drag on top of the site. Perhaps I will support manual tapping like https://looptranscribe.com, too.

comment 3w ago · link · parent

Cloudflare actually ran into the opposite problem: their employees' creativity was distracting them from using AI in a productive way.

The answer to both too little discoverability and too little/much creativity is to deploy the chatbox/voice UX with "champions" that can help others use the new UX effectively.

- https://blog.cloudflare.com/how-we-use-ai-with-cloudflare-os...

- https://www.inkandswitch.com/essay/malleable-software/#commu...

> Studying spreadsheet use at companies, Nardi and Miller found "local developers" – amateur enthusiasts who could write bits of code for their coworkers and guide their team up the gentle slope of spreadsheets.

Interestingly, Cloudflare solved the excess creativity problem in the short-term by changing the UX from a magic chat to a magic email. The email could only input work you wanted to automate, and the only output was the finished work. This helped the employees' requests become more focused.

comment 3w ago · link · parent

While I was making a little app that converts text descriptions of events into calendar events[1], I was thinking an LLM could do this: consumes tokens and slower, but can work with even messier text descriptions.

I actually used an LLM to add coverage for the various ways different people represent dates and times in English (actually mostly Korean right now.) LLMs are even great at extracting data from text that is full of misspellings and ambiguous wording. I just give the LLM examples that were not parsed as expected. The LLM figures out the correct output itself, then adds logic so similar text will be parsed correctly in the future.

We've already seen apps that added an AI chat to their interfaces. And other apps use AI to generate "home-cooked" personal apps.

I think we will see a convergence of this: where users can chat with "malleable" apps to create features in the app itself.

So personal assistants will be creating the next generation of apps. Apps that are meant for a single user and/or even only intended to be run a single time before being thrown away.

I proposed this type of UX for Kagi; it could be applied to many types of software: https://doggo-pitch.leftium.com

[1]: https://nl-event.vercel.app, https://github.com/Leftium/nl-event

comment 3w ago · link · parent

I am surprised dark mode for HN did not make the list: https://hn.algolia.com/?q=hn+darkmode

Perhaps because it's not a stand-alone tool? (Although there are stand-alone tools that accomplish this)

I guess the most likely reason is the exact trigger phrases aren't present

comment 1mo ago · link · parent

Probably a different data source/mapping, but you may find this easier to use: https://www.color-blindness.com/color-name-hue/

14.

Show HN: MegaKey (standardization and extension of the Hyper and Meh keys)(leftium.github.io ↗)

2 points · by Leftium · 1mo ago · discuss

comment 1mo ago · link · parent

Nimble.css is my spiritual successor to PicoCSS: https://leftium.github.io/nimble.css/demo/pico.html

It's not a direct replacement; I fixed a lot of annoyances from PicoCSS.

comment 1mo ago · link · parent

On Windows, restart and shut down (power off) are not the same.

When shutting down, Windows optimizes the next start by caching some stuff. So it is not a true, clean restart.

On a restart, this caching does not happen.

Sources:

- https://www.youtube.com/watch?v=lUIhzACQDAc

- https://learn.microsoft.com/en-us/windows/win32/power/system...

comment 1mo ago · link · parent

This is the first window manager I've found that lets you split windows by dragging onto other windows (like VS code)

18.

Window Tiling on macOS, Scoped to Your Space(scopo.app ↗)

1 points · by Leftium · 1mo ago · 1 comment

comment 1mo ago · link · parent

There are microphones that can capture whispers and even subvocalization: https://youtu.be/NvVbCqDgfCs?t=520

The one demo'ed in the video is BOYA BY-GM18CU (https://www.amazon.com/dp/B0BF969RVP)

That one captures whispers. I've heard other devices can dictate based on vibrations from your neck/chest.

comment 1mo ago · link · parent

Tip: you can install this as a PWA (progress web app) onto your mobile device home screen. (If you have recent iOS 26+ or Android.)

If the site adds a PWA manifest, Android (Chrome/Google app) will show a prompt to install as app on load. Also PWA install will be available for older iOS.

I made a simple tool that generates a minimal PWA manifest: https://logo.leftium.com/logo

21.

Video.js v10 is GA – let the migrations begin(videojs.org ↗)

4 points · by Leftium · 1mo ago · discuss

comment 1mo ago · link · parent

Apparently the other reply got auto-flagged because it was detected as genai. Let me paraphrase that comment (easier than reading that entire MD document, which was AI-written):

The main annoyances:

- oversized buttons

- 100+ root custom properties in devtools

- fighting against too many breakpoints (unpredictable font/container sizing)

---

I also changed/added some features:

- much smaller core: only 4.1 KB Brotli

- CSS cascade layers so app CSS can override more easily

- a surface color system (a la Open Props)

- OKLCH colors with auto derived hover/focus states and light-dark() theming

- centered layout with real gutters, plus content bleed outside gutters

- .no-nimble opt-out class (instead of .pico opt-in)

- ability to configure universal control-density (buttons, inputs, selects)

comment 1mo ago · link · parent

For some reason my detailed reply got flagged...

So if you can't see it: feature-comparison matrix plus notes from migrating several real projects from Pico:

https://github.com/Leftium/nimble.css/blob/main/specs/pico-m...

comment 1mo ago · link · parent

The main annoyances:

- oversized buttons

- 100+ root custom properties cluttering DevTools

- fighting against breakpoint-heavy font and container sizing

- container "padding" that could disappear at exact breakpoints

- having to fight framework styles with specificity

Nimble uses more compact controls, ~20 semantic variables, simpler grid-based centering with real gutters, and cascade layers so normal app CSS wins.

---

I also added some features/changed:

- much smaller core: Nimble is only 4.1 KB Brotli

- cascade layers, so normal app CSS can override the library without specificity fights

- a surface hierarchy for page/card/input/overlay backgrounds (a la Open Props)

- OKLCH colors with derived hover/focus states and light-dark() theming

- centered layout with real gutters, plus bleed-edge, bleed-wide, and bleed-full

- .no-nimble to opt third-party component subtrees out of Nimble styling

- shared control-density customization for buttons, inputs, selects, etc.

- .nc-join for visually joined controls without coupling that styling to ARIA role="group" (this kept confusing coding agents; technically they should not be coupled)

---

Feature-comparison matrix plus notes from migrating several real projects from Pico: https://github.com/Leftium/nimble.css/blob/main/specs/pico-m...

comment 1mo ago · link · parent

My nimble.css is inspired by PicoCSS: https://leftium.github.io/nimble.css/demo/pico.html

But it's not a drop-in replacement. (I fixed several annoyances I had while using PicoCSS.)

comment 2mo ago · link · parent

Perhaps you may find like-minded folks in the functional-thinking community:

I was trying to figure out what you meant by "declarative" because CSS is declarative. (My understanding is: "declarative means you say (declare) what you want, but not how to get it." Usually SQL is the poster child of declarative languages.)

I think you're really talking about a mix of preferring data (vs actions/calculations) and DSLs (which aren't necessarily declarative)

Eric Normand has some thoughts you might appreciate:

- How a problem might take 1000 SLOC to solve directly, but only 10 SLOC with a DSL (plus up to 500 SLOC for the DSL itself; still fewer lines total) https://ericnormand.me/podcast/magical-leverage-languages

- Data vs calculations vs actions: https://ericnormand.me/podcast/what-is-an-action

---

I think data can be very powerful. For example, someone explained to me:

> I've been helping my non-tech father with Home Assistant. I've honestly been shocked with how far "community extensions" + "user configuration" can take you. Every time we hit a bug, I go "time to hit github" but without fail chatgpt and him are able to tweak a setting to get it working.

If you make your system configurable (config==data), you can skip the whole compile/build step!

comment 2mo ago · link · parent

I think actions vs calculations is a better framing here. It's not just about avoiding imperative code or nondeterminism. It's about being extra careful with actions because the order and number of times they run matter.

Here is an example of a calculation written imperatively. It remains easy to reason about because the actions don't leak out of the function:

    function add(ns) {
        let total = 0
        for (const n of ns) {
            total += n
        }
        return total
    }
On the other hand, a deterministic state machine like `a = AddMachine` is harder to reason about because it still matters how many times the action `a.transition(1)` is called. (Note it is possible to implement the state machine as calculations.)

https://ericnormand.me/podcast/what-is-an-action

https://livebook.manning.com/book/grokking-simplicity/chapte...

comment 2mo ago · link · parent

I think the real question you're asking is: why isn't AI coded software replacing well-known incumbent software (office, adobe, etc...)

Because I see AI coded software everywhere: HN has been complaining about the recent influx of Show HNs due to AI. Take a specific product category: there are about two new dictation apps on Show HN every week.

Here are my theories:

- adobe/office are simply too complex for AI to replicate (as of now). Theo Browne has been testing all the frontier models with a relatively simple fish game. The results have been subpar, at best. I don't think anyone would prefer the AI-generated games over the original. Even if the AI-generated version was free.

- Most AI-coded software won't be distributed like classic software. Instead of a bag of hundreds of features (adobe/office), AI will be used to create the specific 5% of the features a single user really needs (home-cooked software). The software may even be per project or even per task. Why spend 20X to 100X the tokens/time when you only need a small subset of the features?

- AI may not be able to replace human "taste" or design. There is a lot of design that went into adobe and office. I don't think AI can fully understand all the "why's" of these designs. We can already kind of see this with open source: Gimp and LibreOffice are alternatives to adobe/office. Yet most people prefer the paid options.

- Even if AI solved coding, there are other barriers like marketing.

Some examples:

- I built my perfect window management system with the help of AI. It suits my very specific needs very well, but it's nowhere near ready for distribution. So this is AI-generated software no one else will ever probably see.

- Going with the home-cooked meal analogy: there is a dish served at all Chinese restaurants in Korea: jjajangmyeon. However you can't find it in China because that dish is only found at home, not at restaurants in China.

comment 2mo ago · link · parent

My first impression is it's very similar to the stock iOS weather app Apple provides by default (feature/layout-wise). I couldn't see any major differences based on the description here or in the app store. That's what kept me from even trying it.

So my advice is to highlight the major benefit over the iOS weather app that ships with every iPhone.

The only major difference I could see is the data source. Did you intentionally not use Apple WeatherKit? (If so, what was the rationale?)

12345
33