HNHacker News
TopNewBestAskShowJobs

daitangio

504 karma · joined April 19, 2011

Solution Architect at NTT Data Italy, father and casual writer http://gioorgi.com
submissionscomments
daitangio··on I ditched Docker for Podman
I do not know: the lack of proper docker compose support it is a problem for me. About security: gVistor adoption failure in Google is a proof that containerization cannot be enforced easily and container will always be less secure than a VM.

If you want proper security go to firecracker [^1]. Podman is the "RedHat/IBM docker-way" but I see very little benefit overall; never less if it works for you great and go with it!

[^1]: https://firecracker-microvm.github.io

daitangio··on Do the simplest thing that could possibly work
Right in theory hard to do in practice. Also business needs are awful complex, guys.
daitangio··on The Deletion of Docker.io/Bitnami
Bitnami K8s helm charts was very well done but overall we can live without them.

I would suggest boradcom to offer two tie: one free on they repository and one se t of more specific images.

Burning the docker.io images is a dumb move.

daitangio··on Web apps in a single, portable, self-updating, vanilla HTML file
Nice… keep in mind there are already very mature tools like https://tiddlywiki.com/ which supports a plugin architecture.
daitangio··on My website is one binary (2022)
Yes hugo+template+isso (my Giorgi.com setup) has some hidden dependencies but you can get a fancy site in very little time. A dynamic web site is exciting to design, but require a lot of effort… I suggest to use Python Django: it has a tutorial for a blog!
daitangio··on Java is still worth learning
Java is the new Cobol.

Java had changing its skin: Applets and Security managers, part of the cornerstone of Java 1.102 are gone. So Java are 2-3 different evolving language nowadays.

JVM has so strong optimization layers which make very difficult for other languages to provide similar performance (Erlang is one of them in my humble opinion).

Yeah C/C++ program are faster but error prone (manual memory allocation...) PHP is faster for web developing but refactoring is a nightmare. Python can compete, but I do see few big projects written in it (Zulip,Dropbox,Plone/Zope).

JavaScript is super rapid dev rapid but can become a mess.

Rust is the newcome, I do not know but it seems quite cognitive-complex to code with it (I may be wrong).

I worked with shit-like Java code and i was always able to refactor it in small chunks.

The verbosity of Java is its major strength, but some things added to the language (like default interface implementations, virtual threads) are drawbacks because it create some confusion on basic pattern strategy you can employ with the language.

daitangio··on Postgres LISTEN/NOTIFY does not scale
I wrapped together a simple yet powerful queue system:

https://github.com/daitangio/pque

I evaluated Listen/notify but it seems to loose messages if no one is listening, so its use case seems pretty limited to me (my 2 cents).

Anyway, If you need to scale, I suggest an ad hoc queue server like rabbitmq.

daitangio··on That XOR Trick (2020)
Very well written article! I used xor just as fast clear register :)
daitangio··on Ask HN: What Are You Working On? (June 2025)
i am working on GenAI email-based service in my spare time. It is still in its infancy but let me explore LLama3 feature on Ollama. I plan to open source its core if no similar ideas are out of there.

My Misterio docker based tool is searching new feature request... https://github.com/daitangio/misterio/

Also, I am playing a bit with Zulip Chat, which I find quite well done and easy to self-host, considering its complexity: https://github.com/zulip/docker-zulip

Last but not least, I suggest a new Murderbook novel... https://amzn.to/3TMJdlh because there is not only coding!

daitangio··on -2000 Lines of code
Software metric are hard, indeed :) Be prepared in a ai-code world when more code does not mean better code.
daitangio··on How the Final Cartridge III Freezer Works
Very interesting. I was m always amazed by the code complexity behind C/64. Also, all this logic was squeezed in so few bytes!
daitangio··on The FAIR Package Manager: Decentralized WordPress infrastructure
Sad to say, but for the meantime Wordpress is a dead end at least for my personal needs.

I wrote about it in my blog [1]. It is an amazing tool with an unstable company behind.

Time will show us if the FAIR Package Manager will be able to improve the overall ecosystem status.

[1]: https://gioorgi.com/2024/liberta-come-aria/

daitangio··on Plain Vanilla Web
Hum for me vanilla is html+css. If you throw in javascript language, I do not see the 'vanilla' anymore :)

I ended up using hugo + isso (for commenting) and it works very well. I moved to this setup after the wordpress drama, and even if I miss something, freedom has no price: https://gioorgi.com/2024/liberta-come-aria/

daitangio··on Replacing Kubernetes with systemd (2024)
I developed a tiny wrapper around docker compose which work on my use case: https://github.com/daitangio/misterio

It can manage multiple machine with just ssh access and docker install.

daitangio··on Try Switching to Kagi
I have used yahoo search for two months on my mobile phone: it worked and it is still active. I have a similar experience using Bing.

Google is stronger but not so much as it was in 2000 (when the other search engines were...terrible).

Today the Search engine is nothing without 'support site' like:

- StackOverflow - Reddit - Wikipedia

and news.ycombinator.com :) of course

daitangio··on Java 24
Yes. Oracle version is not free anymore: you need at least an Oracle product to use it. As far as I know, it is "free of charge" if you have an Oracle DB license. So avoid oracle version outside enterprise contract
daitangio··on I stopped everything and started writing C again
Java was created to solve some frequent troubles you have in C-code.

I do not want to be rude, but C has some error-prone syntax: if you forget a *, you will be in trouble. If you do 1 byte offset error on an array in the stack, you get erratic behavior, core dump if you are lucky.

Buffer overlflows also poses security risks.

try...catch was not present on C, and it is one of the most powerful addition of C++ for code structuring.

Thread management/async programming without support from the language (which is fine, but if you see Erlang or Java, they have far more support for thread monitors).

Said that, there are very high quality library in C (pthreads, memory management and protection, lib-eventio etc) which can overcome most of its limit but... it is still error-prone

daitangio··on Introducing a terms of use and updated privacy notice for Firefox
As Far as I can understand, Firefox is paid by Google just to justify chrome is not the only choice, and avoid anti-trust lawsuit.

I read the Google money are the true income, and it is a pity, because this technology merits more now than in the past.

daitangio··on Show HN: Breakout with a roguelite/vampire survivor twist
Very nice indeed… I wasted a lot of time playing on it!
daitangio··on Users don't care about your tech stack
Yes, it is right they do not care. This is the reason RubyOnRails teached us how to go fast on web development.

The problem is that there is no good rule to choose the RIGHT stack, and that is the challenge!

For instance Joel Sposlky's team chose ASP.NET for "Stack overflow" simply because they know it better than, say PHP or Java Struts 1.x

daitangio··on XOR
On 8bit computers (like Z80, 8086 etc)

  XOR REG,REG 
is often faster than

  REG <-0 
operation.
daitangio··on “A calculator app? Anyone could make that”
As far as I know, windows calculator have a similar approach. It use rational, and switch to Taylor expansion to try to avoid cancellation errors. Microsoft open sourced it some times ago on GitHub
daitangio··on Why Blog If Nobody Reads It?
I blog from 2000 circa. I do very little advertising on my articles in gioorgi.com I write because I need to put down my throughts on a lot of different topics and/or just to take some notes. I hope to be able to keep my blog alive for at least 30 years, and to retain my little freedom of saying everything I want. I do not have adsense, just a bit of amazon affiliate link, used just ad a service to reader.
daitangio··on I believe 6502 instruction set is a good first assembly language
I do not know. I learned it when I was 12, but it was quite challenging for me. Pros: It is very ortagonal, has no memory-to-memory instructions

Zero page is like a having 256 generic RISC registers (a bit faster than accessing to other memory areas).

Very easy to understand how the assembly is micro-coded

Cons:

It is impossible to create a "generic" memory pointer with an index >255 without auto-modifying code.

It is a true 8bit only system and cannot manipulate 16bit word easily Steve Wozniac created a small VM just to manage 16 bit Integers (see the his Byte magazine articles).

Too much addressing mode.

So I like 6502, but I disagree a bit.

daitangio··on Most Influential Papers in Computer Science History
I suggest to add at least Hoare CSP and something about quick sort
daitangio··on Oh Shit, Git?
I love this site, it helped me and it also funny. Kudos to the creator!
daitangio··on WordPress Is in Trouble
With isso for comments!
daitangio··on WordPress Is in Trouble
I fear you are right. Remember they ask $25/monthly for 1 website on pressable, I can run Wordpress open source for 5x month on Linode, and there are ready made installation on docker, digital ocean and so on…
daitangio··on WordPress Is in Trouble
Sorry I switched to hugo my https://gioorgi.com and it was easier than expected.

Initially, I only followed the ‘drama’ tangentially, also because I have always considered myself a mere "end user" of Wordpress, even if long-time one (I used it for about 20 years).

For me, the fact that Wordpress.com sold a service based on an "extended" version of Wordpress.org was never a particular problem, but I never thought it was illegal to compete directly with it by taking the open source software and offering a simple hosting service.

Anyway I started to consider to switch from Wordpress to a static site hosted with hugo, retaining the comment system and all the URLs in the original form, more or less.

I was surprised because it took very little time (less 1 week of total work) to migrate my articles (1000+) and the comments.

I used open source tools, and I am a "hugo" newbie, so I make some trade off too.

Never less, I suggest all of you to give a try to hugo+isso (isso is a comment system very light).

daitangio··on ZType Tying Game
Very good ideed! Give it try!
← PreviousPage 2 of 8Next →