5 comments

  • mindcrime 12 hours ago ago

    As in literally today? I spent some time exploring how to programmatically interact with Docker containers using the docker-java library. Specifically I was playing around with the scenario where a container hosts a program that just listens on stdin, processes the input, and writes to stdout, and another process uses the "docker attach" mechanism to connect to that other container to send/receive messages.

    Will I ever use this mechanism for anything, especially compared to the alternatives of using some sort of socket based approach? Possibly not, but I just wanted to play around with it.

    Going back a day or two, I've been playing around with SCXML[1] and the Commons SCXML[2] library. It's pretty neat stuff for doing state-machines. Now I want to explore if I can use the underlying state machine machinery in Commons SCXML, without necessarily using an XML file to define the state-machine.

    Also spent some time researching other Java based open source libraries for working with state machines. There are a few, but most of them don't seem to be very well supported, which is a hair disappointing.

    [1]: https://www.w3.org/TR/scxml/

    [2]: https://commons.apache.org/proper/commons-scxml/

  • hahahacorn 11 hours ago ago

    Found out that you can bind to port 0 and let the OS allocate a port for you. Restructuring all of my local environment orchestration to utilize this pattern instead.

    https://bengarcia.dev/b2p0

  • blahaj 12 hours ago ago

    I just found out that in Marshallese hello, bye and love are all the same word: iọkwe

    It literally translates to iọ from iia – rainbow and kwe – you: you are a rainbow.

    iọkwe

  • tobinfekkes 5 hours ago ago

    Explored Osaka today. Had wagyu, sushi, and ramen. Not a bad day.

  • timstark 11 hours ago ago

    Obsidian CLI