Posts with Tag: Ubuntu 11.04

uShare autostart ā€“ Ubuntu 11.04

Previously, I installed ushare easily on Ubuntu following a process similar to this: https://help.ub ...

MediaWiki + Ubuntu 11.04 & Customizations

Recently, I setup a personal wiki for myself since Iā€™m always encountering more information than I h ...

Ubuntu 13.04 ā€“ Latex

**Update**: This also continues to work on Ubuntu 13.04 Just a quick note to myself really about ho ...

Ubuntu 10.04 Grub-2 with Themes

In this post, I will show you how to install grub 2 with themes so that you can replace the standard ...

Most Recent Post

Multicast Ipv4 and Ipv6 in Java / Kotlin

I recently ran into a peculiarity of multicast in Java / Kotlin. I was using a MulticastSocket: [https://docs.oracle.com/javase/8/docs/api/java/net/MulticastSocket.html](https://docs.oracle.com/javase/8/docs/api/java/net/MulticastSocket.html) and trying to ensure that it winds up bound to either an Inet4Address or Inet6Address. It turns out that even if I did something like: ``` val multicastSocket = MulticastSocket(InetSocketAddress("0.0.0.0", MULTICAST_DEFAULT_PORT)) assert(multicastSocket.localAddress is Inet4Address) ``` The assertion could fail. Similarly if I did: ``` val multicastSock ...