Sometimes I write code. Sometimes I run. When I’m doing one of those I’m thinking about the other. I'm Dave Smith youtu.be/CwZwL8bkxU4. @davesmith.dev 🦋
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.
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
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
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:
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?
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
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 🦆
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
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
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
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!!
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. 🤦♂️
This was my tenth(!) year building 25 days of puzzles for #AdventOfCode. You can solve them all for free and in whatever programming language you like. I hope they help people become better programmers. 🌟
The first puzzle comes out in two hours: adventofcode.com/
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?
Advent of Bourbon. Some co-workers and I split 24 different bourbons into single serve bottles. We'll be sampling a different bourbon each day. I'll highlight some of my favorites here.
Winter running points. My local running group has a competition from Dec through Feb. Accumulate points by running outside. The colder the weather, the more points. The only prize is bragging rights, and if you have enough points, your name goes on the end of year shirt.