3,343 karma · joined Mar 5, 2014 (12y ago) · 849 submissions
Blogging about React and JS at https://daveceddia.com.
Author of Pure React.
dave@daveceddia.com or @dceddia on Twitter
comment 2w ago · link · parent
It's also weirdly good at taking an existing STL file of a functional print and writing some python to modify it.
One example was a badge holder that I liked the design of, but only held 2 badges. I wanted 3, plus a slot on the back for a key. Gave it measurements of the key, it grafted a key slot on the back, and added the third badge slot. In typical 3D printing fashion, of course I had to print like 5 iterations of the thing until the sizing of everything actually worked.
comment 1mo ago · link · parent
comment 2mo ago · link · parent
It’s had a couple attempts that got shot down so far, but the pushback gets weaker as time goes on, and as the troublesome/less-compliant generations age out and get replaced by generations who’ve grown up accepting this stuff as the water they swim in.
comment 3mo ago · link · parent
https://chromewebstore.google.com/detail/adios-alexa-for-sho...
comment 3mo ago · link · parent
Turnstile everywhere + device attestation required is the direction this all seems to be headed. Because of all the AI bots of course (it is an excellent scapegoat).
comment 5mo ago · link · parent
On this point in particular (that we’re broadcasting these signals), in one of the AoA courses I took there’s an exercise where you and a partner take turns guessing at the emotion the other person is feeling. You’re just staring into each others’ eyes on zoom, and one person is going “angry. sad. joyful. fear. Angry again.”
When I was the guesser I had no idea if I was even in the ballpark.
But when the other person was guessing my emotions, they were probably 70% accurate with what I was feeling. We discussed afterward and they had the same experience (I had apparently gotten most of them right). It was wild.
comment 6mo ago · link · parent
At first (and for admittedly way too long), I used this as a way to try out fun new frameworks - Node+Express for one thing, Phoenix for another, SvelteKit for a third.
I noticed it was a huge pain to dive into these things once every 6 months. I’d forgotten how it worked, and for some of them at least, I could look up docs and examples.
My Node+Express thing was the worst because it was all homegrown. There’s very little convention in that world, and you have to make your own. No docs were coming to save me, and this was in the Before Times, like 3 years ago pre-LLM.
Anyway I ported everything to Rails and it’s wonderful. I know how it works, there’s almost 30 years of examples online and they even mostly still work, and LLMs are great at it too.
Lots of power in a good framework, in a situation that’s a good fit for it!
comment 7mo ago · link · parent
You mention the emotional neglect and the connection to childhood, and I get the sense you’re interested in figuring it out. It made me think you might like Joe Hudson’s work on YouTube.
14.
Toggle macOS battery icon with plug/unplug(github.com ↗)
2 points · by dceddia · 8mo ago · discuss
comment 8mo ago · link · parent
You can! While you’re alive and everything! I’ve had this experience of few times of it being very quiet, and overall my brain is a lot quieter since then (and I see reports from people who’ve gone further/deeper; I get the sense the path is never-ending).
There’s a ton of resources and people out there that basically point to the same thing in different ways. Meditation is one of the ways but it’s not the only one. Some keyword soup if you want to go searching: jhana states, Jhourney, Art of Accomplishment, Joe Hudson, Zen, Buddhism, awakening, Michael Singer, Loch Kelly
There are varying levels of “woo” in this, and if you’re on the woo-averse side, Joe Hudson’s stuff is a good way in.
comment 9mo ago · link · parent
More or less what it says in the README:
fence -t code -- claude --dangerously-skip-permissions
Or wrap it in a function as an alias # cat prompt.md | ralph
function ralph() {
fence -t code -- \
claude --verbose --dangerously-skip-permissions --output-format stream-json -p "$@" \
| jq -r 'select(.type == "assistant") | .message.content[]? | select(.type? == "text") | .text'
}comment 9mo ago · link · parent
And apparently it's violating the terms of service. Is it fair and above board for them to ban people? idk, it feels pretty blatantly like control for the sake of control, or control for the sake of lock-in, or those analytics/telemetry contain something awfully juicy, because they're already getting the entire prompt. It's their service to run as they wish, but it's not a pro-customer move and I think it's priming people to jump ship if another model takes the lead.
comment 9mo ago · link · parent
comment 9mo ago · link · parent
Thankfully the official Agent SDK Quickstart guide says that you can: https://platform.claude.com/docs/en/agent-sdk/quickstart
In particular, this bit:
"After installing Claude Code onto your machine, run claude in your terminal and follow the prompts to authenticate. The SDK will use this authentication automatically."
comment 10mo ago · link · parent
I can imagine some ideas (ask it for more detail, ask it to make a smaller plan and add detail to that) but I’m curious if you have any experience improving those plans.
comment 10mo ago · link · parent
comment 10mo ago · link · parent
One thing that stands out in your steps and that I’ve noticed myself- yeah, by prompt 10, it starts to suck. If it ever hits “compaction” then that’s beyond the point of return.
I still find myself slipping into this trap sometimes because I’m just in the flow of getting good results (until it nosedives), but the better strategy is to do a small unit of work per session. It keeps the context small and that keeps the model smarter.
“Ralph” is one way to do this. (decent intro here: https://www.aihero.dev/getting-started-with-ralph)
Another way is “Write out what we did to PROGRESS.md” - then start new session - then “Read @PROGRESS.md and do X”
Just playing around with ways to split up the work into smaller tasks basically, and crucially, not doing all of those small tasks in one long chat.
comment 10mo ago · link · parent
comment 11mo ago · link · parent
But one case I see often: If you’re making a website with an animated gif that’s actually a .gif file, try it as an mp4 - smaller, smoother, proper colors, can still autoplay fine.
comment 11mo ago · link · parent
After seeing your comment I went looking! I found this interesting: https://phys.org/news/2024-02-screens-paper-effective-absorb...
comment 11mo ago · link · parent
Where can you get an EV cert for $120/year? Last time I checked, all the places were more expensive and then you also had to deal with a hardware token.
Lest we talk past each other: it's true that it used to be sufficient to buy a non-EV cert for around the same money, where it didn't require a hardware token, and that was good enough... but they changed the rules in 2023.
comment 11mo ago · link · parent
If you go this route I highly recommend this article, because navigating through Azure to actually set it up is like getting through a maze. https://melatonin.dev/blog/code-signing-on-windows-with-azur...