Server-Sent Events

Posted on May 14th, 2015 by Sammy

Server-sent events (SSE) allow servers to send data to Javascript event listeners on the client side. It is a *uni-directional* channel (as compared to WebSockets, which are bidirectional).

I had no idea SSE existed until today but it seems pretty awesome. And it can be polyfilled via JS. I guess socket.io does a good job of polyfilling WebSockets on browsers via polling but it’s nice to know there’s an alternative for some use cases. I imagine SSE would be really useful for monitoring dashboards and things of that ilk.


Spam Fighting @ Scale

Posted on May 13th, 2015 by Sammy

Attending a spam fighting conference at Facebook today.

List of things I’d like to learn more about in depth / try implementing

  • Locality-sensitive hashes (Google’s simhash or OSS phash)
  • DGIM Sketch
  • Sliding HyperLogLog (HLL adapted to streams)
  • Image Wavelet Hashes
  • Stats refresher, binomial distributions, gaussian distributions


[WIP] Digital Spring Cleaning Todos

Posted on May 12th, 2015 by Sammy

  1. Deprecate my old Linode server, set up new machine with Tarsnap backups
  2. Install Mailpile server for personal email. Potentially contribute pulls to this project, it looks awesome.
  3. Install Gitlab or Gogs for insecure personal projects
  4. runit + monit for process supervision and monitoring
  5. Centralize domain names to Gandi instead of having two or three.
  6. Set up my GPG key and use secure email.
  7. Set up a portfolio for my hobby work & art.
  8. Back up this blog for long term storage, new design?


Digital Spring Cleaning 2015

Posted on May 12th, 2015 by Sammy

Trying to reorganize my digital properties in the coming weeks. Went and archived all of Sammyliu.com (I’ve been posting here since I was in the 7th grade) — trying to figure out how I want things to look in the future. I’ll probably start to write tech-related posts on my github via Jekyll, writing-writing on a separate blog, and life updates on this.

The URL to this blog might also change. I’m thinking about turning Sammyliu.com into a portfolio page.

More coming soon!