Dan Lew Codes
Thoughts on life, the universe and the mystery of it all; but actually mostly just code.
Software development (or, you know, life in general) is all about juggling priorities. For this post, I’m thinking specifically about code design priorities. You only have a limited amount of time to implement a feature, so you have to pick and choose which aspects of it to spend
As a summary, here's what I'm voting this year on my Edina, MN ballot (along with links to research on why I'm voting that way): For all partisan races (president, senate, house/state reps) - the DFL candidate. Statewide constitutional amendment - Yes. County
Another post about local Edina politics, this time the city council race. There are three candidates for two open positions; you get to vote for two: Ryan Daye Carolyn Jackson (incumbent) James Pierce (incumbent) Carolyn Jackson Let’s get the easy one out of the way first. Jackson has
Continuing blogging about Edina local politics… today’s race: mayor! There are two candidates for this race: Ron Anderson Jim Hovland (incumbent) Both candidates have tenures in Edina’s government - Anderson served on the Edina city council for one term (he lost his bid for reelection)
I’m gonna do some more write-ups on local (Edina) elections this year. (Those of you here for software development thoughts: I'll go back to that soon.) Today’s race: Hennepin county commissioner for district 6. There are two candidates for this race: Heather Edelson (incumbent)
I’ve recently started a new job that uses Python. The last time I professionally Python’d was 15 years ago, writing backends for mobile apps I worked on. At the time, I was still a novice developer, only a couple years out of college. While I’
Let me tell you a story about when I cut months of work off of a project. Part of Rheaply’s offerings is an inventory management platform. A major problem customers run into is data entry - name & description is not enough, we need colors and manufacturers, dimensions
Socrates once said “the unexamined life is not worth living.” He was immediately sentenced to death afterwards. I, too, often find myself examining the minutiae of programming languages. Thankfully, I have not been put to death for it (yet). After spending more than a decade honing my Android
As a lover of both rhythm games and trombone, of course I got Trombone Champ. Naturally, I wondered: can I control it on an actual trombone?
(This article is spoiler-free.) In the past few years, I’ve fallen in love with exploration in video games. This mechanic is key in games like Outer Wilds or Subnautica. You’re dropped into the middle of a world and are given free reign to go anywhere, discovering
In 2015, I wrote a post about sharing code between unit tests and instrumentation tests on Android. Iain Cunningham just pointed out that the method I outlined no longer works. That’s fine for me because I haven’t used that method in years! Nowadays I use modules,
For a long time at Trello Android, we used the same class for parsing API calls (via Gson), making DB transactions (via OrmLite), and displaying data in the UI. Here’s a pseudo-code-y example of a board: @DatabaseTable(tableName = "boards") data class Board( @DatabaseField(columnName = “name&
This article is a write-up of a talk I gave at MinneBar 2022. Instead of reading this, you could also watch the recording or view the slides. The title of this talk is "maintaining software correctness." But what exactly do I mean by “correctness”? Let me
I continue to do less and less each year due to the dual woes of raising a toddler and navigating a pandemic. I also took three months off work this summer and I didn't much feel like doing anything tech then! I suspect that 2022 won't
Trello Android recently converted from using Gson to Moshi for handling JSON. It was a bit tricky so I wanted to document the process. (For context, Trello Android primarily parses JSON. We rarely serialize JSON, and thus most of the focus here is on deserializing.) Why Refactor? There were three
There are tons of articles online that discuss the articles/talks/books that you must consume to become a true programmer. I dislike this framing; it’s gatekeeping, plus software development is such a varied discipline that one person’s essential reading is entirely unnecessary for another. Instead,
您可以订阅此RSS以获取更多信息