Programming Internet History Theme Cat Charity Fragments Everything Else 
Jake Lee on Software
AboutSearch
  • This blog has migrated to Jekyll!

    Feb 14, 2022 • 5 mins • Wordpress, Jekyll, Migration

    You are now reading these words from a Jekyll-powered site, not Wordpress! But what does that actually mean?

  • How to extract a Room list column into a new linked table, migrating data

    Jan 12, 2022 • 20 mins • Kotlin, Room, SQLite, Migration

    On a project recently the Room database consisted of a single table with many fields, some of which were Lists. This was fine, and easy to work with until… it wasn’t. We started seeing an error in Crashlytics caused by certain columns exceeding size limits. Uh oh.

  • Fixing a misleading "duplicate class" error during kaptDebugKotlin after merging

    Oct 13, 2021 • 2 mins • Android, Gradle, kapt, Kotlin, Merge

    Recently, I merged a repository’s main branch into an older feature branch, only to get a mysterious InvocationTargetException during compilation:

  • A quirk of strings.xml for multiple regions per language in Android

    Sep 16, 2021 • 3 mins • Android, Locale, Localisation, Strings

    Recently a colleague and I worked on an issue where a displayed URL was intended for another region entirely, but all the strings were seemingly in the correct XMLs. This was… very odd, yet the eventual solution does make sense!

  • Don't revert merges! A story of a mystery pull request merge

    Aug 7, 2021 • 5 mins • Branch, Git, GitHub, PR

    A Friday afternoon, after work hours. You and a colleague are merging the final few pull requests before giving a build to weekend testers. (Update July 2023: GitHub has improved the behaviour for this scenario!)

  • Creating a MVVM RecyclerView grid with quick drag and drop item swapping, Room / LiveData support, and more!

    Jul 12, 2021 • 14 mins • Android, DiffUtil, GridLayoutManager, MVVM, RecyclerView

    As part of my current project BocaBase, I needed a grid of items that could be swapped around easily. Whilst there were a few answers on StackOverflow, most of them resulted in flickering animations, didn’t work with Room / LiveData / MVVM, or were awful to use!

  • Improving my Windows & MacOS triple monitor working from home setup

    Apr 26, 2021 • 9 mins • Logitech, WFH, working from home

    Like many others in the world, I’ve been working from home for just over a year now. I use my personal machine for Spotify / background TV during the workday, and I’ve ended up with a bizarre workflow that involves hopping between my personal Windows and work MacOS machine all day!

  • Creating the PR template that Future You wishes Past You used

    Dec 1, 2020 • 5 mins • GitHub, markdown, pr, pull request, review

    How many times have you found a confusing line of code, figured out which ticket it solved, opened the relevant PR and… nothing. There’s a few approvals and it’s merged, with no explanation / discussion of what on earth is going on!

  • Associate Android app links with your subdomain using GitHub Pages & Cloudflare

    Oct 21, 2020 • 8 mins • App Links, Deep Links, GitHub, json

    As part of my APOD wallpaper rewrite, I wanted to support universal links / app links. These allow users with the app installed to click a link like apod.jakelee.co.uk/day/2020-01-01 and be taken directly to that APOD within the app!

  • Accessing an Android app secret from GitHub Actions using Gradle

    Oct 9, 2020 • 6 mins • Actions, BuildConfig, CI, GitHub, Secrets

    Often an open source project will have API keys, auth tokens, and other secrets that definitely shouldn’t end up in source code. In my current open source project (a rewrite of APOD Wallpaper) I needed to store my APOD API key.

« Previous 1 ... 4 5 6 7 8 ... 17 Next »

Jake Lee on Software

  • [email protected]
  • JakeSteam/blog-programming
  • RSS Feed
  • Jake Week Lee

In-depth ad-free articles about software development, Android, and the internet

GH Pages 228 Jekyll 3.9.3, minimaJake 1.0.10.