wojsznis.eu

Back To The Crystal - Choosing web framework

After over two years (dang that was quick 😳) I have decided to give Crystal another go. During those two years some nice libraries appeared and language seems quite promising - I hope it will gain some traction in the future. I will try to make a series of short posts regarding Crystal within this month as I think it lacks documentation/references and attention it deserves - and as I’m taking some longer time off from IT in general very next month I have to hurry :P.

Back To The Crystal - Choosing web framework

5 Short Reflections From 5 Years

Last month I decided to quit, to stop being a manager/developer. 5 years ago I was looking for a place where I can improve my rails skills and suddenly I stayed at that place for 5 full years :).

Below are the scribbles, I hope to read them again in few years (dang) and see how far I /hopefully!/ grew from there.

5 Short Reflections From 5 Years

Setup and Tooling for small project as a single developer

As I’m still fooling around with my old pet project I decided to sum up current setup I’m on - from the basic things like where I host my stuff to what kind of tools/products I use, and how much does it cost me in the end (spoiler: I’m cheap as hell :P) So let’s see it. 1. Hosting Bare-metal, I’m an old folk and I change vendors whenever I feel I need to ;-).
Setup and Tooling for small project as a single developer

Upgrading to Rails 5 - bunch of random tips

After like 3 weeks of not touching code I decided to refresh my pet project a little bit, below are random issues you might encounter while trying to upgrade your old Rails 4 app to Rails 5.

Upgrading to Rails 5 - bunch of random tips

How to merge PDFs to a single page

Recently I have been selling a lot of my stuff. Simply getting rid of unused or unneeded things - and mostly I’m packing & sending it to other parts of the country by using a package carrier that requires printing labels. The standard drill. But those labels are kinda smallish, you can fit like 4 on single A4 page (it’s like a horizontal strip kid of thing).

Ok so I’m sending 3 packages and I get 3 pdfs to print with huge amount of white space. I don’t own a printer anymore (sold it as well), I need to go photocopy point, technically speaking I could simply go and ask them to print 3 separate documents. But the environment and extra 20 cents - I just couldn’t stand it :P.

How to merge PDFs to a single page

(Personal) API Clients (Anit-)Patterns

You’re building open source API client? That’s great ❤️ I like you already. But please keep in mind:

(Personal) API Clients (Anit-)Patterns

Goodbye Jekyll, Welcome Hugo

Pfew, after over a year of inactivity it’s time to refresh this site a little bit. It was on my todo list for over a while now.

Goodbye Jekyll, Welcome Hugo

Power to the masses

You can’t deny docker hype isn’t going anywhere any time soon. For a software that is barely 3 years (!) old it have already made quite impressive impact in the widely known IT ecosystem. I was fiddling with docker around a year ago for the first time and I wasn’t impressed (I won’t deny I’m mostly a consumer of open source world) - things did break, setup was awkward and tooling immature.
Power to the masses

Put some Go in your Ruby so you don't Rust

Lately I have been looking for some solid alternatives to Ruby, and I must admit up-front - Rails spoiled me, badly.

I was hungry for some performance boosts, and let’s face it - dynamically typed languages can get you until some point.

I played with few popular modern languages (manually dealing with memory management? No thank you sir) and tried to hook them into Rails application.

Put some Go in your Ruby so you don't Rust

How to alter big postgres table

Lately I had to migrate pretty fat (300GB+ data and 150GB+ of index data) postgres table - application grew, we had to get rid of one pretty big column that was redundant now, change main composite index, change one column type etc. etc. The problem was - do it without significant amount of downtime.

You can google up tons of solutions, but let me walk through approach I chose - hopefully you will find it somewhat useful.

How to alter big postgres table