Posts with Tag: Computer Science

ACM FCA — Progress, Rigolet Project

About a [month and a half ago](https://www.jasonernst.com/posts/2017/06/22/ACM-Future-of-Computing-A ...

Technical Reviewing as Grad Student?

As I’ve published more and more, I’ve been invited to become a reviewer for many conferences and jou ...

Research Progress, Recent News & The Importance of Math in CS

This post is sort of a hodge-podge of random bits, mostly just so I can post something new to the bl ...

Motivation, Passion and Research…

Today I came across a great article on passion in research on Paul Ward’s website at the University ...

CRM-Fields Lecture at University of Toronto

About a week and a half ago I had the opportunity to attend a CRM-Fields Prize lecture by Allan Boro ...

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 ...