Skip to content

u/PRNbourbon

In this archive from May 2020 to Dec 2026

10
posts
28
comments
4
media
218
score
1 saved before deletion

Don't get me started on all of the emoji's it throws into the code. WTF.
I'm writing a binary backend, I told Claude, the binary nature of this project should be a hint that emojis do not belong here.
"You're absolutely right. I apologize for that unprofessional approach. Let me make sure I've removed all the childish emoji nonsense from the code."

1 points

Can you do your project in VS Code?

I'm working on an embedded project. I wrote my own python scripts that allows some pretty nifty features, like auto compile with problem resolution, and identify if a problem needs further scripting, which needs a new script with new packages, so it just does it. Then uploads, opens a serial port, reads it, and assesses if validation parameters were met or not.
My model does something similar to yours, it wrote its own script overnight, and deleted a lot of files.

But here's the difference, which could help you in the future. I set clear parameters on what could be deleted. I also told it if its deleting a file, store it in /root/knowledge/code-archive/, with a generated database with timestamps (basically a mini git that runs itself and saves files locally). Luckily nothing has ever been deleted that I actually needed.
Also, I contain the coding agent entirely within the workspace and it cannot work outside of the directories, files, and serial connections contained within that workspace.

I know embedded and what you're working on are quite different, these are just some thoughts on what I did that could maybe be helpful.

2 points

This is great. I'm only using Github Copilot (strictly a hobbyist), so I have to manually bounce back and forth, but I'm using a similar prompt where Claude Sonnet is the architect of what I request, and I pass on the high level architecture to Gemini 2.5 Pro, and then take Gemini's implementation back to Claude for any further feedback before implementing it.

1 points

Eh, sometimes.
The most I've ever done is blink some LEDs and read some i2c sensors with an Arduino following Paul McWhorter's tutorials.

Now? I'm making an ESP32-S3 camera server with hardware control and a webUI.
So I have a little understanding of the underlying code, but I know next to nothing about HTML and camera control.
I've read some Github projects, and had Claude explain to me exactly why it works, and used that as a starting point.

And I've finally got some stable, functional and efficient code going.
I don't think someone with zero experience can get it off the ground, but it's definitely possible to rapidly accelerate what is possible by using Claude.

2 points

Claude has been 100% for me these past few days.
I'm developing a WebUI and ASCOM ALPACA wireless controlled servo motor dust cover with integrated light panel and dew heater, and the project is 98% complete.
The entirety of the code is from Claude, the most I've done before this is some Blinky shit with an Arduino.
Claude helped write robust hardware control and sensor files, APIs, website html/css/js, with persistent settings logic in a json file. Thousands of lines of code, all Claude, and all within the last 7 days.
Claude is awesome, especially with Projects.

3 points

I've found that the only way to get something even remotely useful out of it is to use the projects feature.
And even then, separate it out.
Crystal clear, precise prompts.
I created a projectxyz_backend and projectxyz_frontend projects.
In backend, I first very clearly defined what I need my esp8266 and hardware/sensors to do, and how I wanted them to do it. I then used Claude to make a concise schema.json, project_structure.md, and readme.md. After that, I began adding hardware control files.
At the end of the hardware control files, I updated the project and had Claude cross reference the project outline to what was created.

10 points

Yeah, I'm building a dustcover/integrated flat panel/dew heater for my new telescope.
3D designed it in CAD, 50% 3D printed in Bambu ASA-CF, 50% CNC milled out of carbon fiber plate. Designed the PCB around a Wemos d1 mini.
I didn't like any of the other flat panels on the market, so I made my own.

Also working on a pi zero powered replacement for the SkySafari SkyFi III, which was discontinued.

2 points

Yes, yes it is.

I'm working on finishing up an ESP8266 project. Things were going smoothly, but the past day or two it has nosediving.
Really the only component left of my project is cleaning up some functions on index.html, but goddamn Claude keeps suggesting React based implementations the past couple days. WTF. At no point, in any of my files or prompts, is React a component of the project.

8 points

Dumb question, I've been using the web interface.
How do I switch to the API? I have a few personal/hobby projects I need to get wrapped up and I don't care if it costs $100-$200 in API tokens over the next couple weeks, I need this shit done.

2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.