Lurker News

Comments (788) 595 threads

Earlier comments
thatmf#
I vibe coded myself a simple little Home Screen-installable webapp that tells me when my first meeting is the next day (I am in a lot of meetings, and they're constantly in flux). That way, I don't need to be logged into anything work-related on my phone, or even mentally engage in that world. I just want to know when I need to wake up. All it shows me is the time, and I can tap on it if I want to see the title. It adjusts the font and color according to how early the meeting is (earlier than 8a gets Nosifer).

Could I have done this myself? Of course. Would I have tho? Prob not.
This kind of simple, hyper-specific bespoke utility is the perfect thing for vibe coding IMO.

shibel3 replies#
I need to finish off that blog post.

With Tailscale, you can basically point a domain to the FQDN of a machine you’re sharing with people and the domain will simply work for them (and only them)[1]. But for it to work without them having to know or specify the specific application port, you have to grant them access to 443 (and 80) in your Tailscale ACL for that specific host.
So yeah, now immich.familydomain.com works without family members having to remember the specific port. BUT, serveradmin.familydomain.com (another app on the same host) will ALSO be accessible to them (from a networking POV). We opened port 443/80 for that host after all.
I took a few hours with Claude back in January (?) and we wrote a tiny Go authorization gateway which basically consults both Tailscale’s public API and Tailscale’s `localapi` and returns the appropriate response to Caddy based on the requesting user’s actual allowed ports.
So now I can share different apps (subdomains) with different people without forfeiting access controls, all driven by Tailscale’s policy file.
(I hope I didn’t mess up the crux of it, pretty late here)
Edit: why not (something like) Authentik? Quoting from the draft:

  I contemplated this for a bit but one thing I kept thinking about is:

  _They're already logged in to Tailscale_

  Why do I need to install and configure another full-blown app dedicated to doing something Tailscale already did? Why have the users go through two hops of authentication?”
[1]: https://www.youtube.com/watch?v=Vt4PDUXB_fg
abeyer1 reply#
authentik is also an oidc provider... couldn't it also be the way they auth to tailscale too?
shibel#
Maybe…I really didn’t want to have to install another app just because I’m sharing though. My line of thinking was/is:

If tomorrow I decide not to share with anyone, I don’t want to have to reconfigure stuff. I simply edit the Tailscale policy file, and (maybe) spin down my server.

sfifs#
I found cloudflare zero trust excellent for this and it works perfectly well on the free tier (I do use cloudflare as my registrar)
dizhn#
Pangolin would have been a better direct fit than Authentik. It does come with an embedded idP nowadays but can also use Authentik. Another tool to keep an eye on is Netbird which is like a tailscale like mesh but has proxy support for whatever app you want to share with or without authentication.
ingvay72 replies#
I shred guitar in the evenings to focus on technique, but a hectic day job means I get almost no time to twiddle knobs on my amp sim chasing the right tone. So I built a tool where I just prompt "Brian May Solo Bohemian Rhapsody" — the LLM fills a small JSON contract and feeds to a script that generates the XML, and I load it straight into the plugin. Two minutes and I feel like I'm tearing it up at Wembley '85 :)...almost.

The pattern generalized is LLM finds the presets,i can even upload a file to make it zone in, the code validates and loads into the plugin. Also using this contract/adapter approach for Terraform, game engine presets, CI pipelines, etc.
Wrote about it here: https://vishsubramanian.me/lm-guitar-tone-generator-polychro...

sailfast1 reply#
This is really cool!

Seems like the key to the prompt it seems is the knowledge of how these tones were created in the first place (your system prompts for the 80s) which requires some actual tone knowledge and leaves all the fiddly bits to the LLM.
As someone relatively new to guitar this is intimidating, but also a fun rabbit hole. Additional “expert” prompts for different archetypes and genres could be fun.

ingvay71 reply#
thanks.Frankly — the system prompt is the sauce. The LLM has encyclopedic knowledge of every amp, cab, and pedal ever made which still blows my mind, but without guardrails it'll confidently tell you to boost mids on a JCM800 (which is how you disappear in a loud mix i've noticed). That era cheat sheet is all the working knowledge over the years of spectacularly failing to get the right tones.

Once someone does that encoding work for a genre, it's reusable forever I think. I'm pretty comfortable with late-80s/early-90s rock well enough to write the specs. But you're right — a "modern metal" prompt, a shoegaze one (which my teenager wants), a funkone,etc - that's the next layer. tone_system.md just needs to be updated. I plan to expand this to more plugins. Contributions welcome.

sailfast#
Amazing! Even though they’re “just prompts” that knowledge is still important and valuable. Very cool. Unfortunately I’m just a guitar newb trying to figure out what pickups are doing things to my tone so you probably don’t want me in there :)
BrokenCogs1 reply#
Very cool! I was thinking of doing this. One question, what made you choose polychrome dsp over something like neuraldsp?
ingvay7#
No real reason really.In fact its on my list next. I was working on a track in logic that i was mostly sourcing the polychrome presets and i plan to add the same functionality to all my other plugins. The Gojira archetype is one i have my eyes on first
DonaldFisk2 replies#
The Dartmouth Summer Research Project on Artificial Intelligence was in 1956, before I was born. AI itself is even older than that (e.g. William Grey Walter's robots, Elmer and Elsie in 1948), but it was called cybernetics back then. I've been doing symbolic AI, on and off, since the 1980s.

I assume, though, you mean LLMs. I haven't used them first hand, but I have fairly recently implemented a multi-layer artificial neural network in C, mostly as a learning exercise, but as I had previously built a speech spectrogram in Lisp, I thought I'd try to use it to recognize phonemes, with one hidden layer. The Lisp communicated with the ANN via a Unix pipe. It worked reasonably well for just vowels, but when I added other sounds (e.g. l, r, s, z), its performance deteriorated. I think the C is bug free, but I don't know an easy way to train the ANN. I've tried adding to the training set, adding an extra layer, changing the number of neurons in the hidden layer. The usual debugging skills don't seem to help there.

changadera#
> I assume, though, you mean LLMs. I haven't used them first hand

Wow, kudos. Honestly.

kingkongjaffa1 reply#
> I haven't used them first hand

Why not? Given your background surely you would be curious.

DonaldFisk#
I'm interested in how they work, but building anything like them, given the hardware I have, would be impractical. I've seen others use them, including to answer some questions I had, but the answers they gave were obvious, unhelpful, or wrong.

Even if they become more reliable, I like to understand and work things out for myself, rather than just be given the answer.

Load more comments