Andrei Markeev (@amarkeev) header
Andrei Markeev (@amarkeev) profile picture

Principal full-stack engineer, architect, opensource author, doer. High volume systems, scalability, AI engineering.

Helsinki, Finland
Joined April 2011
a cool new adventure starts here! 馃槑 trying to revive my old Nokia Lumia - honestly, what a wonderful device, still love it. and now hopefully will make it more useful.
146
Random idea: using ZIP format as a file system. We can treat the whole disk / partition as a ZIP file with empty spaces. You would say, if there are millions of files, how do you show folder contents? Answer: a separate index file. But other than this, all matches! 馃
179
And he has a ton of fun. He already made >20 new levels. Every level has its own unique mechanics, enemy types, etc. There are 2 mini-games inside, one is 3D basketball and one is car racing. He added achievement system, game shop, cheat codes, etc.
1
56
The quality of code does deteriorate. I wrote a guide for AI how to perform code maintenance: clean up, do refactoring, pay off the tech debt. Applied with GitHub Actions cron. Does this work? Oh yes, it very much does! No developer needed anymore. The boy pushes 20 commits/day馃槄
1
40
we live in amazing world I built a simple game for my son he kept coming to me for new features, with the energy of a nine years. it was impossible to keep up so I built a small app where he could say what he wants, and then AI builds it, redeploys the game, voila!
1
1
89
one problem people face when using nginx as load balancer is how to pass real client IP address to the backend servers nginx supports ip transparency but network setup is complex simpler way: use proxy_protocol between load balancer nginx and backend nginx!
1
91
Another thing I faced today: `error_log stderr info` was still logging to `/var/log/nginx/error.log` when running default systemd setup on Debian bookworm. `access_log` was set to send to syslog. the fix was to set `error_log` to also send to syslog.
48
Logging can be tricky in nginx. For example, did you know, that you can log to both syslog and stdout? stackoverflow.com/a/52985587 But there's a nuance: order matters!
1
94
Turns out you can parse metrics from the logs in #Azure App Insights. Create charts from that and pin to a dashboard. Pretty cool! Of course properly collecting metrics is better, but sometimes quite handy!
1
98
go Pebble! 馃挭
It's our pleasure to introduce two new watches that closely follow the original Pebble DNA. Both are available for pre-order starting today. - Core 2 Duo: black/white display, $149, ships in July - Core Time 2: 64 colour display, $225, ships in Dec
91
it's not just hard to spot, it is also not detected by the IDE (at least in VSCode) gcc does show the warning though P.S. carbon should support this kind of retro fonts to generate a similar looking screenshots, this is so cool! 馃ぉ
If you can spot the bug here, you're a better developer than 99% of marine biologists! It outputs 5, as you can see.
117
#typescript has a very handy feature: it can merge interfaces, even with external libs. I regularly forget how to make it work with modules, so here's the reminder 馃槈
61