Below you will find pages that utilize the taxonomy term “devjournal”
Profiling a Go-language Production Server
Wednesday, Apr 27, 2022
A few months ago, I noticed my app was having CPU spikes. Read on to see how I diagnosed the issue on a running production server.
Using NATS to build a very functional Websocket server
Wednesday, Jul 22, 2020
How we built the Woogles backend messaging system using NATS and Websockets.
Further progress on liwords
Saturday, May 30, 2020
Our site is looking prettier now. My friend Conrad is doing the design for the site; the above is a very early version of what he’s already designed, and we have a team working to bring it to life. I’m mostly in charge of the backend, but doing a little front end work on the API. We finally got a full game timer working; I based the code mostly on lichess’s.
liwords
Saturday, May 30, 2020
A small team of us have been working very hard on a project that I internally call “liwords”. The inspiration is obviously lichess.org. Why not do for crossword board games what lichess did for chess?
This has been a dream of mine for a few years since I first saw that wonderful site. Although we are very far from being done, I hit a minor milestone recently on Twitch (I sometimes stream coding on Twitch).
Macondo Dev Blog - simming
Sunday, Mar 22, 2020
I’m going to log more of my progress on the apps that I wrote about in an earlier post, in an attempt to:
make myself more likely to work on these apps write a log for me and others and drum up some excitement! ;) Monte Carlo simulation is basically working on Macondo. I expect that since I just got it working, that I’ll discover some bugs and special cases, and there’s so much more I want to do with it, but for now I’m excited that I got it working.
Ideas for improving the state of Scrabble
Monday, Feb 24, 2020
I have a lot of ideas for improving the state of tournament and recreational Scrabble, mostly revolving around the technological aspect of things. I am aware that there are many other ways in which it is lacking, but my expertise is in technology, and that’s probably the best way I can make an impact
Moving my side project to Kubernetes, a year and a half later
Thursday, Jan 31, 2019
Around April of 2017 I wrote this article about moving my side project to a single-node Kubernetes cluster: https://hackernoon.com/lessons-learned-from-moving-my-side-project-to-kubernetes-c28161a16c69
As of today, the infrastructure is still running strong, although I’ve run into a few issues I will talk about later in this article. I initially set up my node as a $10/month node but it was barely not powerful enough. Since then, Digital Ocean seems to have roughly doubled the CPU/memory for each of its instances, so $10 might work out.
Building an emulator
Tuesday, Jul 31, 2018
I have been coding in one form or another since I was around 8 years old, on my brother’s calculator that had around 450 bytes of program memory, and I’ve been videogaming since I was 6 (my dad bringing an NES from the US back to my native Caracas was one of my happiest memories). But why not combine both those loves?
I’ve been wanting to make an emulator for ages but for some reason or another I’ve kept putting it off.
notes
Sunday, Nov 27, 2016
docker run -it -p 8181:8000 -v /home/ubuntu/word_db:/db:ro --env-file webolith/config/config.env domino14/webolith:latest (and 8180 instead of 8181)
on home machine
ab -kc 100 -n 1000
For haproxy stuff
apt-get install ruby gem install haproxyctl Need a haproxy.cfg file that exposes the socket. Need latest HAProxy:
https://haproxy.debian.net/#?distribution=Ubuntu&release=trusty&version=1.6
Take down a server cleanly
sudo haproxyctl set server servers/server2 state drain Need to set up health checks, and figure out when a server is done draining