Better HN
topnewbestaskshowjobs
Log inSign up

zerocruft

7 karma · joined Apr 30, 2022 (4y ago) · 5 submissions

Submissions

comment 3y ago · link · parent

I actually wrote about this, describing how I used ChatGPT to solve Day 4 of Advent of Code: https://tab.al/posts/adventures-with-chatgpt/

There you can find the prompt that allowed ChatGPT to provide a working solution. It is a bit hit and miss, but you also gotta make sure any assumptions are explicitly noted in the prompt.

2.

Adventures with ChatGPT: Advent of Code Edition(tab.al ↗)

1 points · by zerocruft · 3y ago · discuss

comment 4y ago · link · parent

I don't want to get a MSc or PhD, only because I don't think it is worth the time. I like some aspects of academia, but I much prefer learning things by myself.

That said, I have a strong desire to learn math, and I have a copy of Understanding Analysis waiting for me to pick up. I think I'd like to learn Analysis, Linear Algebra, Probability, Graphs... Book suggestions are welcome by the way.

comment 4y ago · link · parent

I use a combination of both. Logging usually requires less setup overhead, so I often opt for that. Sometimes though, the path it takes for the code to reach the part I'm interested in can be pretty obscure. It's in these cases that the debugger truly shines.

It also depends on how many things you are interested in. If you care about, say, a complex object with many properties, then the interactivity of a debugger trumps logging.

5.

A Simple HTTP Server in Go(tab.al ↗)

2 points · by zerocruft · 4y ago · discuss