Skip to content

Latest commit

 

History

History
55 lines (36 loc) · 2.17 KB

index.md

File metadata and controls

55 lines (36 loc) · 2.17 KB

make blog

Something I don't like is project with tons of build dependencies. They tend to stay and pollute the system. Something I don't like even more are containers.

I wanted to upgrade my laptop from Ubuntu Zeisty Zapus (17.04) to Ubuntu Artful Aardvak (17.10). The process is usually pretty straightforward, and I am now lazy enough to do it from the gui. I started the upgrade and locked my computer as I left.

I wanted to emulate a USB device in Linux for testing purpose. This can be done easily using the Gadget API. However I quickly discovered that this feature was not present in Ubuntu, even in the form of a kernel module in linux-extra. The only solution remaining was to rebuild the missing kernel module manually.

Kotlin is now officialy Kotlin and Android, and as such I wanted to give it another try. There are of course tutorials out there, but they all aim users of Android Studio. Let's see how we can do without.

I wanted to install Android SDK without installing this ugly IDE. The main goal was to rebuild existing projects, so I didn't need something as heavy. The main difficulty came when I downloaded the actual sdk, and receive the following message from Google.

#include <stdio.h>

int main(void)
{
  printf("Hello world\n");
  return 0;
}
fn main() {
    println!("Hello, world!");
}
interface Console {
    log(message?: any, ...optionalParams: any[]): void;
}

console.log("Hello, world!")
main = putStrLn "Hello, world!"