Log
Wrote a blog post - and had lot of fun - about benchmarking an API endpoint with different stacks:
🔘 golang+gorm+custom-router
🔘 golang+gorm+echo
🔘 golang+gorm+gin
🔘 php+laravel
🔘 php+vanilla-mysqli_*
https://oscarmlage.com/posts/benchmarking-with-siege/
#go #golang #gorm #gingonic #gin #echoserver #echo #php #laravel #mysql #blog #post #micropost
There is this kind of tradition with a group of friends that you gift each other anonymously a low-budget thing. I think it's called Secret Santa (we call it "amigo invisible" in .es).
Well, I received mine this morning, and the game is over, my Secret Santa won the game!
One of the first things I do in my working morning routine is to open twitch and start watching someone else working (to feel some company). Today my "cowork mate" is https://twitch.tv/ppy.
Man, I love to see the way he works!
Day in Developer's Life: Mugcake in 2 mins
Follow me for more recipes 🤣
#youtube #video #short #micropost
Maybe your #mastodon instance is playing tricks while uploading GIF files (dunno why it's not happening with other image formats):
413 Entity too large.
In our case this is a dockerized instance with `jwilder/nginx-proxy` in the middle, the fix is easy:
1. Use a nginx config volume: `./data/conf:/etc/nginx/conf.d`
2. create a `client_max_body_size.conf`file in the volume with "client_max_body_size 100m;" inside.
3. Restart the instance
From time to time I get an error like this trying to execute a #make custom command:
$ make backup
make: 'backup' is up to date
I thought that something was wrong with that backup command but it seems the error is because there is a `backup/` directory sibling to the `Makefile`.
If you change the directory name or the command name, the error is gone. Weird, indeed.
I had a little whim, wanted to import all the toots from #mastodon tagged as #micropost in my web (a static site generated by #hugo #go #golang).
It was a perfect excuse to practice a bit of #rust and enjoy all the little lessons I've learned.
I doubt it will be helpful to anyone but just in case I've published the repo:
https://git.oscarmlage.com/oscarmlage/masto-rss
I know there is quite room for improvement but feel free to give some feedback ;)
🦀
I've read you can use #cicd with #gitea too via #drone (and also #jenkins works). It may probably be worth giving it a try.
https://dev.to/ruanbekker/self-hosted-cicd-with-gitea-and-drone-ci-200l