My first impressions about Go language

I am fascinated. Maybe that should be enough, but I guess I have to write a bit more here, because we are not in twitter.

I spent a few days to get know Go language, and now I am more than satisfied. I mean, all the project ideas which are floating in my head should be written in Go.

Continue reading “My first impressions about Go language”

Share This:

Fish shell brace expansion

I mentioned that I use the fish shell, but I would like to share a common problem of mine – well, so far this is the only one I found.

I commonly use commands like this

find . -maxdepth 1 -type d -exec du -sh {} \;

This works great with bash, but in fish you got the following error message

 du: fts_open: No such file or directory 

This happens, because fish acts more aggressive on brace expansion than bash. It doesn’t treats it as a part of command, but tries to expand it – but cannot succeed, because there is nothing.
Simply put that inside apostrophes and the shell will skip the brace expansion.

find . -maxdepth 1 -type d -exec du -sh '{}' \;

Not a big thing, but handy.

Share This:

My working environment

I was thinking if my work environment would be interesting or not, but I decided ‘yes’ – because I always like reading about others work env.

I am working with Linux/UNIX for more than 15 years now, and I have tried a lot of cool tools, but at the end, I always found myself using the same apps in terminal.

I like the unix philosophy about Do One Thing and Do It Well. I never really use big, bloated software, I like to use my editor for editing files, and my git client to use git. That’s simple.

Continue reading “My working environment”

Share This:

Running multiple instances on the same hardware

Currently we have one database cluster with 15 different schemas – these schemas could be either schemas which contain “real” data, or just schemas with metadata.

I guess the next evolutionary step of our database stack would be to split up the database cluster vertically along these schemas. All the data schemas should be moved to standalone mysql instances, and put the metadata schemas next to them. This also could be a good project for prepare to move a certain part of database for example to a cloud provider while other parts are still kept on bare metal.

Continue reading “Running multiple instances on the same hardware”

Share This: