ylliX - Online Advertising Network

Sharing code between test modules

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, which provide a far superior method of solving the […]

Domain-Specific Models

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”) @SerializedName(“BoardName”) private var boardName: String?, private var cards: List<Card>?, private […]

Life is not a game

You hear the phrase “the game of life” all the time. There are books on Amazon instructing us on how to win at the “game of life”. Hell, Milton Bradley’s “The Game of Life” from 1860 — still sold today — was the first popular board game in the United States. In the Real World, […]

Degrees of the Future 2022: Neuroscience

Neuroscientists study the brain and its various complex capabilities, from memory and learning to human behavior and consciousness. Neuroscientists generally need PhDs to do their work, which often is in a hospital or university setting. But neuroscience is an interdisciplinary field that may require knowledge of artificial intelligence, bioinformatics, and obviously anatomy—it all depends on […]

These Are the Degrees of the Future

Gizmodo has partnered with the independent market research provider Statista to identify the top universities within 25 fields of study that we believe will define the 21st century. But which academic disciplines did we look at, and why? The following fields we’ve identified as Degrees of the Future reflect the technologies, cultural shifts, and challenges […]

Experimenting with Live Activities

iOS 16 beta 4 is the first SDK release that supports Live Activities. A Live Activity is a widget-like view an app can place on your lock screen and update in real time. Examples where this can be useful include live sports scores or train departure times. These are my notes on playing with the […]