Dave Smith (@SmithCommaDave) header
Dave Smith (@SmithCommaDave) profile picture

Sometimes I write code. Sometimes I run. When I’m doing one of those I’m thinking about the other. I'm Dave Smith https://teapawt.org/t.co/zDBg3UxyFY. @davesmith.dev 🦋

Milwaukee, WI
Joined February 2010
Photo by Dave Smith (@SmithCommaDave)Photo by Dave Smith (@SmithCommaDave)Photo by Dave Smith (@SmithCommaDave)Photo by Dave Smith (@SmithCommaDave)Photo by Dave Smith (@SmithCommaDave)Photo by Dave Smith (@SmithCommaDave)Photo by Dave Smith (@SmithCommaDave)Photo by Dave Smith (@SmithCommaDave)Photo by Dave Smith (@SmithCommaDave)Photo by Dave Smith (@SmithCommaDave)
Getting good at screen scraping is never a skill I wanted. Related, I now have a good understanding of how web browsers work. Also, I can’t believe web browsers actually work.
1
37
10 years ago today I ran my first ultramarathon, Ice Age 50 mile in Wisconsin. Tomorrow I will be going for my 9th finish there. In the picture I’m saying I would never do that again. I have to learn to make better life choices
1
2
58
Update: Wasn’t pretty with the warm temps, but am one year away from my 10th finish at this race
1
18
You know that feeling when you learn something you probably should have know for years So fetch() in JavaScript allows you to override the cache control from a server response. I needed to do this yesterday and now I know
27
Me: spends the day figuring why bootstrap created multiple modal backdrops under certain conditions. spends rest of day using native dialog element Wife: what did you do at work today? Me:
20
It’s sad to see That Conference won’t be happening in 2025. I’m hopeful it makes a return in the future. My company has regularly sent developers to THAT and now we are looking for an alternative. Does anyone know of other Midwest US tech conferences of comparable quality?
17
Don’t outsource your thinking to AI. I saw this sentence on a comment to a post yesterday. Can’t find it again. Thought it needed to be said again Yes, I do use AI quite regularly for my work
1
18
Learning from my recent Claude chats ✨ My habit: - Typing out my problem - Using as much detail as I can - Include examples - Ask for a solution meeting criteria How it ended: - I should have solved problems like this before - This is so fast ⚡ - Claude is my rubber duck 🦆
25
Drove up to Hillside Manor sometime after 2 a.m... What a year 2024 Ran Trans Rockies 6 day race taking 2nd Ran a 100 mile race for the 8th consecutive year Participated in a bourbon advent Worked at a 100 mile race in AZ Learned to code just for fun buff.ly/2rWnXxd
53
Advent of Code part 1 has been easy enough to brute force. Part 2 is 50/50 with brute force. Just enough that I always try it for too long before coming at it with a Heap, BFS, etc. Recognizing when to use these data structures has been my biggest challenge
35
I am a few days behind, but I completed more Advent of Code days than last year.
25
Advent of Code day 7 is done. A weekend out of town plus me not attempting brute force on the first attempt puts me a little behind. Still tracking to beat last year’s 9 days Positive note, I ended day 7 with a solution I really like
45
I never thought I would see escape analysis in .net. Really awesome feature 👏
Do you know that .net9 now has a basic form of escape analysis to avoid heap allocations in some cases? Here is a simple case: allocating a new object, getting a property or calling a method and not storing the object. The current logic is limited, but it's huge!!
60
Completed 2 days of AoC. Improved workflow from last year Functions for parts 1 & 2 Solved and tested part 1, then refactored for part 2 and solved it Created a library for fiddly things (read lines, sum, abs) Generate day from template and shell script Read instructions. 🤦‍♂️
46
Tomorrow starts a busy December. Advent of Code 👨‍💻 Advent of Bourbon with a few co-workers 🥃 Winter running points starts with my local running club 🏃 Have I bitten off more than I can chew?
1
1
32
Advent of Code 2024. Like last year, I will be using Go. Unlike last year, I have some boilerplate code ready, and a plan. Last year I finished 9 days before life got busy. My only goal is to do better than last year. I'll be posting about my progress buff.ly/4eXt7xr
1
7
Starting a new web project for the first time in many years and taking the time to properly learn CSS. In the past I have copy/pasted in brute force fashion to middling success. I now appreciate why it is hard when you don’t grasp its concepts.
1
23
Starting with positioning, outside/inside display and sizing as a foundation. The MDN docs are really good buff.ly/3Vfwysr
1
10
Bought a domain name two weeks ago. It’s been a while. Is this the part where I sit on it until renewal next year?
1
49
If you are are learning a new programming language, here’s why it should be Go
5 Reasons to learn Go: 1. Simplicity: Go's relative simplicity makes it easy to learn and write readable code. 2. High Performance: Go is compiled to native code and has low overheads, great for backend applications. 3. Concurrency Support: Native support for concurrency makes Go ideal for building scalable systems. 4. Strong Standard Library: Go’s robust standard library has good support for common servers tasks like networking and file handling. 5. Growing Community & Demand: With more software engineers and companies adopting Go, it’s a valuable skill to develop. And it’s fun! I’m really enjoying re-building many of the Coding Challenges in it. What’s your reason for learning Go?
1
65
In the latest installment of stupid human tricks: me. Yesterday I ran 100 miles at the Mines of Spain in Iowa. Injured my foot a month ago and was unsure if it would hold. It did. What a way to stay up all night running in the woods
3
4
139
Went to Chicago today to see watch some friends run the marathon. I haven’t been there since I ran the marathon 10 years ago. Massive crowds, finding friends as they run by and navigating the city. Chicago really does it well
2
57