• skip to sidebar
  • skip to search box

trainedmonkey

by Jim Winstead Jr.

January, 18, 2005 archives

i caught the life aquatic with steve zissou last weekend, and it was about what you’d expect for a wes anderson film starring the voice of garfield, bill murray. that is: funny, warped, understated, and elliptical.

» Tuesday, January 18, 2005 @ 9:06pm » films, comedy » Comment

repeating myself

for the blo.gs cloud service, i had written a little server in php that took input from connections on a unix domain socket and repeated it out to a number of external tcp connections. but it would keep getting stuck when someone wasn’t reading data fast enough, and i couldn’t figure out how to get the php code to handle that.

so i rewrote it in c. it’s only 274 lines of code, and it seems to work just fine. it was actually a pretty straightforward port from php to c, although i had to spend some quality time refreshing my memory on how all the various socket functions work.

there’s a visible bump in the graph of my outgoing bandwidth from after this was fixed.

» Wednesday, January 19, 2005 @ 9:43pm » blo.gs, code, feedmesh, php » 2 comments, add yours
« Monday, January 17, 2005 • Wednesday, January 19, 2005 »
  • Home
  • About
  • Archive
  • Bookmarks
  • Photos
  • Projects
  • GitHub
  • @jimw@mefi.social

Dedicated to the public domain by Jim Winstead Jr.