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 Death by a Thousand Microservices
Gold rule, to start with, is

1 Microservices = 1 Team

In a multivendor scenario, it could make sense to split a big monolith in say 2 or 3 components, but I have seen dozen of microservices (one of which just managed 3 read-only tables...).

But if your 6-guys team ends up deploying 6+ microservices, you are doomed, in my huble opinion.

daitangio··on My favorite Erlang program (2013)
There is also this lesson from Joe, about how to write a basic server in Erlang:

https://gioorgi.com/2015/erlang-lesson1/

I transcribed and explained a bit more: it shows the power of an async language like Erlang/Elixir compared to other ones. Sadly, it is little used nowadays

daitangio··on 37signals Introduces "Once" - Buy software one time
I agree. It helps customer to renew yearly license or to do it only when really needed.
daitangio··on The WordPress 100 Year Plan
Hum are 380$ per year, which is a lot. My blog based on Wordpress cost me less than 118$/year with backup and domain cost (VAT Included). It seems more than a 3x cost per year, which seems a lot even considering the inflation in the next 100 years.
daitangio··on Creating a search engine with PostgreSQL
I have found my experiments with SQLite here https://github.com/daitangio/knowledge

Give it a try, it is very powerful

daitangio··on Creating a search engine with PostgreSQL
Very nice and clear article. Also SQLite offers advanced indexing functionality and stemming with a standard plugin. For english SQLite works well too
daitangio··on Ask HN: Could you share your personal blog here?
https://gioorgi.com

Over 20 years of personal ideas on Software, politics and Open source. In English and Italian

daitangio··on Is ORM still an anti-pattern?
ORMs major selling point is solving the n+1 queries problem. They can extract the tree of objects very well. But for fast batch processing they have many drawbacks.
daitangio··on PrivateGPT
Hi, very interesting... what are the memory/disk requirements to run it? 16GB of RAM would be enough? I suggest to add these requirements to the README
daitangio··on Mass layoffs and absentee bosses create a morale crisis at Meta
My same sentiment. Also NFT are not working like expected. And eBook have not destroyed (yet) the old-paper-made books...
daitangio··on De-cloud and de-k8s – bringing our apps back home
K8s has some cognitive overhead. For simple deploy a docker client-server with docker-compose is a winner, see misterio[1] which basically leverage docker-compose +ssh

But when you need to guarantee system will auto-restart, and healthchecks and so on, K8s is the de-facto standard.

Helm template language (based on Go) is not ideal, but it difficult to replace K8s nowadays with simpler systems.

[1] https://github.com/daitangio/misterio

daitangio··on Show HN: Mox - Modern full-featured low-maintenance self-hosted mail server
I found very useful this mailserver for docker https://gioorgi.com/2020/mail-server-on-docker/

Easy to setup and mantain, no issue in the last 2 years (finger crossed)

daitangio··on Sun: The Network Is the Computer
And with C/64 there as also some business application (Geos, VisiCalc...).

The 8BitGuy noted usually business computers have 80-columns, whereas "home" compueters 40-colums.

Neverless C/64 could run a small database for a 'VHS Store' without troubles (I made it in basic... :)

daitangio··on The XML spec is 25 years old today
In my huble experience:

- XML parsers were quite bad in the old days (2000), even in java land.

- Parser speed is a functin of the input size. And XML inputs are quite big, too big in my humble opinion.

- you have tag attribute and tag value, and so people get confused on how to use them for simple scenario.

- & must be escaped but no one does it. So when 'AT&T' ended up in a stream created by "hand" by a COBOL procedure, the XML got suddenly broken

- < and > musty be escaped, and so your SQL queries must be escaped

JSON is simply an associative hierarchical maps. A Lot of 1995 PHP code used the same data structure and just works. No attribute, only hierachy recursive structure.

Recusion always wins.

daitangio··on Modules, not microservices
Totally agree. Also microservices shines IF you need different release schedule for two services. If they are managed in the same project/team, the effort you pay is high, the advantage could not pay your bill, so be careful in such scenario.
daitangio··on Smalltalk-80 on Raspberry Pi: A bare metal implementation
Also, this Java implementation is nice https://github.com/victorr/jsqueak

Look at Squeak Smalltalk for further enhancements

daitangio··on I am not a supplier
Interesting point indeed. It remembers me the Raymond’s “The Cathedral and the Bazaar” book. As a consultant my work is ro take care of the software I produce and use.
daitangio··on More developers use Linux than Mac, according to 2022 StackOverflow survey
Me too using (co)lima and no issue. You can mix x86 and ARM images in a transparent way
daitangio··on I am done. I give up
In Italy we said: who knows make business, who do not teach how to make it. We have some journalists here selling courses I did not understand what business they was successful…
daitangio··on Nibbler 4 Bit CPU (2013)
By the way HP calculators (like 48S was based on a 4bit access-RAM. They was 32bit CPU but first model used 4bit buses.

Also GameBoy first CPU was 4bit based if I recall correctly

So 4bit CPU has something to say.

https://gioorgi.com/2020/hp-42s/

daitangio··on The Audacity of Piping Curl to Bash
bash installer are neat, fast and dirty. They shines inside a Dockerfile, because enable to install not-yet-packaged software.

To avoid regret their launch, I enabled sudo to ask me a password, to avoid some sudo malicious command in the wild destroying my box or wiping my nas drives...who knows? :)

daitangio··on Digital books wear out faster than physical books
When I was younger (!) and I had time, I used Calibre to unlock my e-books to be sure I will be able to read it (only for archiving purpose).

Now I prefer sellers who provide me pdf books.

For this reason I prefer to buy technical books from O'Reilly or Packt: they cost more of the same book on Amazon, but I get multiple unlocked formats, and I can print some pages if I need to.

It is okey for me to pay a bit more to get a future-proof format like a pdf one.

PDF seems the only format which is a bit more durable nowadays.

The 7-bit ASCII is probably the most "future proof" format we have: even a Commodore PET (1980) should be compatible with 7bit-ASCII as far as I know.

daitangio··on You Might Also Like
Thank you for sharing. I think Apple wants to replace Facebook advertising with its own, isn't it?

I am fighting Apple with Microsoft. I pay for 300GB iPhone Family backup, but I am moving all my other data on OneDrive+Office365.

It costs a bit more (50€/yearly) but at least I avoid lock-in on a single provider.

I have experienced issue while trying to download all my photos on my Mac: it seems iPhoto does not really download them until you try to open them, one by one.

It seems it try to avoid you own all your photos on a local drive/single iPhone (cfr "optimize storage" functionality on low-mem iPhones)!

daitangio··on Snap Store administrators removed signal-desktop from Ubuntu Snap
My two cents: ubuntu snap daemon is not a good idea at all.

"Snap is a magnificent idea with a still immature realization.[...] The overall user experience with Snaps on Ubuntu is frustrating: several apps won’t start when installed as snaps, others run weird, others take really long time to start. As an example: Telegram as snap takes around 51 sec to be operative, Telegram installed as binary starts in 1,5 sec."

see https://cialu.net/how-to-disable-and-remove-completely-snaps...

Also I was never happy with snap because unable to full control when software will be upgraded (and why). It was the main reason I stopped to use it, after Ubuntu20 make snap a default install complex to remove: https://gioorgi.com/2021/ubuntu-20-failed-me/

daitangio··on Sonic: Fast, lightweight and schema-less search backend
Nice. I have done some tests with SQLlite, and I find its index module very interesting, also because it offers stemming, which seems missed here: am I wrong?

SQLite has stemming only for english out-of-the-box, but I find it quite a need for a good ES drop in replacement.

My two cents

daitangio··on Elevator Saga: Elevator programming game
Very nice! I like it a lot and remember me the disk drive "head" algorithm for collecting data on different sectors (OS exam...24 years ago)
daitangio··on How to build software like an SRE
I agree on most of the bullet points.

As a Software Architect (the SRE mirror role :) I am following https://12factor.net/ and that guidelines simplified a lot my CI/CD pipelines. Helm + K8s is complex but you can easily enable to change some param and redeploy in a very fast and relable way.

And yes, docker outperform ansible on a lot of use-cases in my humble opinion.

daitangio··on Canonical shows ads in the Ubuntu CLI
I agree. I have wrote a small post[1] one year ago, because Ubuntu20 was hard to configure in safe manner. I started switching to Debian all my servers from that day, and for the meantime it pays my bills.

But I miss a bit Ubuntu...

[1] https://gioorgi.com/2021/ubuntu-20-failed-me/

daitangio··on JetBrains invites developers to join the Fleet Public Preview Program
It still a beta, so I think it can be acceptable BUT it is not tiny.

What I like about VSCode is that is slick and lean without plugins, and with remote support it is still "light"... And I was a huge Emacs, Emacs-org fan, so if I use VSCode because it gets the work done at the end of the day (TM)

daitangio··on Happy 20th birthday Jira You suck so bad
I have built a python command line with “click” to prerarr reports and monitoring sprints. It works quite well, and Jira API is well documented.
← PreviousPage 4 of 8Next →