HNHacker News
TopNewBestAskShowJobs

zserge

587 karma · joined April 13, 2012

Hey, I'm Serge. Born in Ukraine, living in Munich, MSc in Software Engineering, brought up with a love for simple things, now doing all sorts of software development, mainly Go, C/C++, JavaScript and Python.

https://zserge.com

submissionscomments
zserge··on J one-page interpreter fragment (1992)
I tried to decipher this code some time ago and explain what it does and how - https://zserge.com/posts/j/
zserge··on Picol, a Tcl interpreter in 550 lines of C code
Huh! Falling into exactly this trap, I ended up writing a tiny Tcl interpreter for the embedded systems years ago: https://zserge.com/posts/tcl-interpreter/
zserge··on 4x4 ASCII Font (2016)
A humble attempt to make an even smaller but barely readable 3x2 font (probably the smallest possible) : https://zserge.com/posts/tiny-font/
zserge··on Ncdu 2: Less hungry and more Ziggy
Just started learning Zig, but I'm already amazed by the language. Feels so intuitive, simple and productive, really a good choice for quick prototyping. I'm glad to see Zig being used as a "successor" to C in projects like this.
zserge··on Creep – a pretty sweet 4px wide pixel font
Nice and clean! I have been playing around the possibility to make a 2x3 bitmap font, but that turned out to be rather a cryptic constellation of pixels than a proper font: https://zserge.com/posts/tiny-font/
zserge··on Stacked Git – manage commits as a stack of patches
I have been using quilt a lot a few years ago. We have been working on some embedded systems,and were receiving the base firmware sources of questionable quality from some shady Chinese manufacturer as a zip (or sometimes rar) archive on a flash drive sent by mail. We had to maintain our own "overlay" of changes applied on top of it. The discovery of quilt back then was such a relief!
zserge··on Gio – write immediate-mode GUI programs in Go
You mean like a web search engine? A quick search on "gio lib" shows a wiki for Gtk's GIO as the first result. You might narrow down the search adding domain-specific keywords to it, like "gio lib golang" to find something like this - https://github.com/vlorc/gioc (completely different field and name, but still can be found).
zserge··on NNCP: Lossless Data Compression with Neural Networks (2019)
And tcc/otcc
zserge··on Ask HN: Pros and Cons of Switching from Linux to M1 MacBook
A long time Linux user myself (Gentoo->Arch->Ubuntu), switched to M1 macBook for work recently.

The battery life is amazing, and I haven't heard the CPU fan yet (seriously, I compile things a lot, but the CPU fan remains idle and the laptop is cold). Real "Esc" key and a normal keyboard is a big plus.

In my case one external display was enough (as I only have one at home), also 16GB of RAM turned out not to be a problem for what I do so far (Go/C++/Python, some backend, some frontend, some IoT). Docker works fine, so does the rest of the tools I normally use.

As I mostly use terminal-based apps or VSCode - I didn't even notice any difference. It might be just me, but over the last few years I decided to get equally comfortable/productive with both macOS and Linux, so I trained myself to use the tools that work the same way on both platforms. So far it was well worth it.

zserge··on Alternative Music Notations
I think Chinese numbered notation does something similar: https://web.stanford.edu/group/scme/cgi-bin/wordpress1/chine...

Notes longer than quarter look like `1`, `1-` and `1---` which creates visual spacing between notes.

zserge··on The Sound of 1-bit: Musical Creativity on the 48k Sinclair ZX Spectrum (2017)
Glad to see this topic getting attention on HN! I just finished a post about 1-bit music a few days ago: https://zserge.com/posts/1-bit-music/
zserge··on Ask HN: Are you using Go for web development?
I was only speaking about one-man personal projects. In my case, I shipped 3 of them (nullitics, lalatabs and a brand new version of onthesamepage) in 3 months. Depends on the project type and on the person, I guess.
zserge··on Ask HN: Are you using Go for web development?
I start small: vim, makefile, bare Go with no dependencies. I add things only if they improve the end product from the consumer perspective (either FRs or NFRs). I even used to deploy things as systemd services, unless containers make things easier to more scalable. For the frontend I couldn't be happier since I discovered "esbuild", which is written in Go and has unbelievable performance.

I tried to describe my humble workflow here with a few code snippets: https://zserge.com/posts/go-web-services/

zserge··on Gnome 40
As the one who works simultaneously with macOS and Linux, I would be happy to see some unification. I'm not speaking about visual differences or look-n-feel of the apps, but common tasks like desktop switching or window switching - things you do hundreds times a day. Those IMO should involve as little brain as possible and rely on muscle memory.
zserge··on Why I rewrote my Rust keyboard firmware in Zig: consistency, mastery, and fun
Zig code looks way more readable to my eyes, damaged by the years of staring at C/C++. Also the learning curve for Zig so far seems to be relatively shallow. The documentation is rather "ok-ish", comparing to Go for example. But it's much better than a few of the other programming languages I've used. I really hope Zig will find the place it deserves in the programming world!
zserge··on Google Analytics: Stop feeding the beast
Seems like there's a bit of exaggeration here. "Not willing to pay" != "not willing to pay 10+€/month for 30 distinct semi-random numbers each month". There are plenty of people willing to pay low prices (comparable to a barely warm cup of some really bad coffee) for analytics to help them make decisions.

Imagine, you write one blog post per month. How much would you pay if I told you which of your blog posts this year has been the most popular one, and on which social media it got the most attention? 120€? Unlikely. Then what do you think would be the fair price of this information?

zserge··on Google Analytics: Stop feeding the beast
If the content of your blog is not too niche - one can easily live without analytics by just looking at the numbers of upvotes on HN/Reddit etc. However, for starters and for very narrow topics some kind of analytics would still be useful to help them grow the audience.
zserge··on Google Analytics: Stop feeding the beast
I have been using this for a while, GoAccess is a wonderful little tool to automate the parsing. Highly recommend to those who prefer the old-school approach towards web analytics.

https://goaccess.io/

zserge··on Google Analytics: Stop feeding the beast
I am currently working on exactly this! I have always been dreaming of a low-cost, zero-effort web analytics.

So far I have made an open source library/service, I've been using it for my blog and a few other sites for over two months. It is available at https://github.com/nullitics/nullitics. You can see the example dashboard (fed with real data) at https://nullitics.com/dashboard/zserge.com. I'm now collecting all sorts of feedback from the early adoperts.

For the cloud version I decided to go with 1€/month, and I have often been criticised for choosing such a low price. However, I believe that I would rather be at a lower profit, but help bloggers, hackers and other who want such a tool.

zserge··on Obfuscated Tiny C Compiler
I did in my music/generative art app, where I compiled math expressions into native code using TCC as a backend. Actually, it was _so_ much easier than dynasm and other JIT libraries, and so little code, and yet, it was a great performance boost already.
zserge··on Obfuscated Tiny C Compiler
Many years, and still impressing. I wonder if similar projects exist for other languages (preferably, without a use of `eval()` and friends).
zserge··on Music Composition System for Symbian S60
I wonder if there is a way to run this in some kind of an emulator?
zserge··on Show HN: Micro – A platform for cloud native development in Go
That's quite a campaign. And I once had a job whose major role was to put out the dumpster fire caused by this lovely little framework.
zserge··on J one-page interpreter fragment (1992)
Some time ago I've made a humble decoding of this wonderful code snippet: https://zserge.com/posts/j/
zserge··on Ask HN: What are you working on?
That was deliberate. There are password-protected boards, password can be set from the menu. But the default page IDs were meant to be short, pronouncible and easy to type. Also you may enter your own page ID manually, just open https://onthesamepage.online/hello-hacker-news
zserge··on Ask HN: What are you working on?
Thanks for the feedback! OnTheSamePage is the oldest one, I made it more than a year ago, but then got distracted with my relocation to Germany and all the related fun. Lalatabs was a very fun challenge - I made it during 24 days in December. Now it's time to turn it into a proper product from a quick PoC. Nullitics is what I started last week, but plan to launch in February. Somehow I manage to combine it all with a full-time job and occasional consulting. But I definitely need to slow down, I guess.
zserge··on Ask HN: What are you working on?
Yes, but not in the menu yet (there is a big launch planned) - https://onthesamepage.online/example/png or https://onthesamepage.online/example/svg (just append "/png" or "/svg" it to the board URL for now)
zserge··on Ask HN: What are you working on?
It has been a tough decision, and I still have doubts to be honest. However, I personally would never pay for analytics more than what I pay for domain+hosting. Also, the niche of mid-priced analytics is already rather full - SimpleAnalytics, Fathom, Plausible etc. But there is nothing for casual bloggers/developers, who a) value their users privacy enough to pay for it b) do not have a budget to pay 200€ annually.

I think the similar problem exists in many areas and that's what stops people from moving away from Google and such - abscence of really cheap, simplified alternatives. For example, I wouldn't pay too much for the email, no matter how good it is. But I would pay 1€/month without a doubt. It's how we perceive the value of the product. No way the number of visitors of my humble blog is worth more than my cellphone data plan or my gym. But I realise that there are people who could say that analytics should cost more than a cup of coffee.

zserge··on Ask HN: What are you working on?
I work on these three projects to launch them soon:

* https://onthesamepage.online/ - a minimalist private whiteboard with no registration; already used in German schools, but working on scaling it and prepare for a more general market.

* https://lalatabs.com - a tiny tabulature website for amateur musicians who can't read notes; need to add a few hundred songs and open it to the public. This won't be monitized, and will remain my little hobby.

* https://nullitics.com/stats/ - a zero-effort web analytics, easy to embed or self-host; much lighter and smaller than the alternatives, and as a result - much cheaper (I plan to charge 1€/month and that would still be profitable).

zserge··on Awfice – A collection of tiny office suite apps
I'm afraid that won't be allowed for data URLs anyway, they can't access localStorage, or their cookies, or even redirect their own URL location.
← PreviousPage 2 of 7Next →