Readit News logoReadit News
samsepi01 commented on The Grug Brained Developer (2022)   grugbrain.dev/... · Posted by u/smartmic
demosthanos · 2 months ago
There was a good discussion on this topic years ago [0]. The top comment shares this quote from Brian Kernighan and Rob Pike, neither of whom I'd call a young grug:

> As personal choice, we tend not to use debuggers beyond getting a stack trace or the value of a variable or two. One reason is that it is easy to get lost in details of complicated data structures and control flow; we find stepping through a program less productive than thinking harder and adding output statements and self-checking code at critical places. Clicking over statements takes longer than scanning the output of judiciously-placed displays. It takes less time to decide where to put print statements than to single-step to the critical section of code, even assuming we know where that is. More important, debugging statements stay with the program; debugging sessions are transient.

I tend to agree with them on this. For almost all of the work that I do, this hypothesis-logs-exec loop gets me to the answer substantially faster. I'm not "trying to run the code forwards in my head". I already have a working model for the way that the code runs, I know what output I expect to see if the program is behaving according to that model, and I can usually quickly intuit what is actually happening based on the incorrect output from the prints.

[0] The unreasonable effectiveness of print debugging (349 points, 354 comments) April 2021 https://news.ycombinator.com/item?id=26925570

samsepi01 · 2 months ago
But can't you instead just set a breakpoint next to wherever you are gonna put that print stmt and inspect value once code hits? print stmt seems like extra overhead
samsepi01 commented on My AI skeptic friends are all nuts   fly.io/blog/youre-all-nut... · Posted by u/tabletcorry
algorithmsRcool · 3 months ago
> It's more design and more thinking upfront, which is something the development community has moved away from in the past ~20 years with the rise of agile development and open source.

I agree, but even smaller than thinking in agile is just a tight iteration loop when i'm exploring a design. My ADHD makes upfront design a challenge for me and I am personally much more effective starting with a sketch of what needs to be done and then iterating on it until I get a good result.

The loop of prompt->study->prompt->study... is disruptive to my inner loop for several reasons, but a big one is that the machine doesn't "think" like i do. So the solutions it scaffolds commonly make me say "huh?" and i have to change my thought process to interpet them and then study them for mistakes. My intution and iteration is, for the time being, more effective than this machine assited loop for the really "interesting" code i have to write.

But i will say that AI has been a big time saver for more mundane tasks, especially when I can say "use this example and apply it to the rest of this code/abstraction".

samsepi01 · 3 months ago
> "The loop of prompt->study->prompt->study... is disruptive to my inner loop for several reasons, but a big one is that the machine doesn't "think" like i do. So the solutions it scaffolds commonly make me say "huh?" and i have to change my thought process to interpet them and then study them for mistakes. My intution and iteration is, for the time being, more effective than this machine assisted loop..."

My thoughts exactly as an ADHD dev.

Was having trouble describing my main issue with LLM-assisted development...

Thank you for giving me the words!

samsepi01 commented on First American pope elected and will be known as Pope Leo XIV   cnn.com/world/live-news/n... · Posted by u/saikatsg
bbor · 4 months ago
For what it’s worth, I was just reading that Leo wasn’t seen as “completely” American due to his many years in Peru — he’s even a citizen. Take that as you will.
samsepi01 · 4 months ago
If Peru gets to claim this pope, then the US gets to claim Tesla, Einstein, etc. lol
samsepi01 commented on Playwright Tools for MCP   github.com/microsoft/play... · Posted by u/alex_hirner
atonse · 5 months ago
I’m going to see if I can use this in combination with our JIRA MCP to read a bug ticket’s “steps to reproduce” to see if it translate those steps to actually reproduce those actions.

I don’t understand the hate against MCP. It is truly exciting to see the Cambrian explosion of “connectors” coming out.

This is going to be the “App Store” for models in a way that OpenAI’s custom GPTs never was.

samsepi01 · 5 months ago
Please share results!
samsepi01 commented on Grok3 Launch [video]   x.com/xai/status/18916997... · Posted by u/travelhead
kragen · 6 months ago
No DeepSeek model is open source; they're freely redistributable, but without source.
samsepi01 · 6 months ago
I guess when it comes to LLM's what is considered the "source" - the weights or the code used to build the weights?
samsepi01 commented on Show HN: Former – Open-source Cursor for SQL   github.com/former-labs/fo... · Posted by u/elliottlovell88
elliottlovell88 · 7 months ago
Hey samsepi! Thanks for the interest, the version provided should run fine on Apple Silicon. I'm using an M1 and it's working fine, let me know if you have any issues and we can do a separate build that may address any issues you face.
samsepi01 · 7 months ago
Oh dope, I'll try again later, then!
samsepi01 commented on Show HN: Former – Open-source Cursor for SQL   github.com/former-labs/fo... · Posted by u/elliottlovell88
samsepi01 · 7 months ago
Love the idea, folks! Congrats on open-sourcing.

Just tried your macOS desktop app download link, but only see an x64 option - do you have a version for ARM (i.e. Apple Silicon) ?

u/samsepi01

KarmaCake day33April 3, 2020
About
!elliot
View Original