Skip to main content

Docker, why I prefer Alpine as base instead of Ubuntu

I like Docker. I use it almost everything. A few months ago, I started every Dockerfile with this line:

FROM ubuntu:xx.xx

where xx.xx is the latest LTS version. Ok nice. After I used Docker I realised, the size and time matter. I started to seek a new base image that fits my needs and smaller (quicker build). I found Alpine. It’s awesome.


Related Posts:

  • No Related Posts

init 6, aka reboot in a clean and orderly manner

A long time ago I started this blog. I don’t know when I bought it first ūüôā I planned to start a blog in english. There was no reason why I write here. There is a lot of meaningless stuff and a few valuable post. A few days ago I sat in a park and I realised I want to write again. I want to share my researches, experiments and other (maybe) useful things.


Related Posts:


First Kiss with OUYA

The middle of 2012, that was the first time when I met Her. I was a proud builder in the big +Kickstarter land. I just started to walk around after my earlier pledge on an awesome Zombie Running game, the +Zombies, Run! After a few minutes I saw a fairy. I try to reach Her but I can not do that. Yes She was +OUYA with Her tiny silver box-body, slight roundness and sensitive Android soul.


Related Posts:

  • No Related Posts

Google+ Comments on your non-blogger site

Today¬†+Google¬†published a¬†+Google+¬†based commenting system on¬†+Blogger¬†. This is what I expected so long. I hate when I need to read minified JavaScript but now I could get more stamina to this “awesome”¬†digging. Finally I found the call with parameters ūüôā


Related Posts:


Node.js – Database connection depends on environments

I hate when I need to use the same password on all of my computers only because I develop on multiple machines. For instance, I want to connect to the +MySQL database from my +node.js application , but my local configuration differs from the production environment (surprising thing is not it?).


Related Posts:

Ingress Problem

Dear +Ingress and +Niantic Project,

I am an agent. I like this game and try to figure out how can this game more fun. My (and a lot of agents too) problem is the resonator strength.

If we unite and build a portal 2 agent and me and our portal will be L4 then a L1 agent can destroy it in a minute. When I got the mail about the attack, our portal is destroyed. L4 vs L1 is not problem, but the 3 vs 1 is a problem. Please upgrade your equations with this factor.

For instance, each resonator in a portal would get an extra multiplier about the agents number. If a portal has 8 resonators with 3 agents then each resonator get a 1.3 multiplier to their health. This would enhance the teamwork. Teamwork is the most epic line in the game but now teamwork is needed only for capturing. If 10 agents build a lot of portals then 1 agent can destroy all of them. I know you need to calculate about new agents but it is not fair.

P.level() = Level of Portal (P.level():3 = Portal L3)
P.agents() = Agents on the portal (P.agents():3 = 3 agents work on this portal)
Rx.level() = Level of Resonator #x (R1.level():6 = Resonator #1 L6)
Rx.portal() = Portal of the Resonator #x
Rx.damage(distance, xmp) = Damage on Resonator #x with an XMP (R1.damage(20, 1):230 = Resonator #1 got 230 unit as damage from 20 meters with a L2 XMP)

Rx.damage(distance, xmp):
return super.damage(distance, xmp) / (1 + (self.portal().agents()/10))

Or something else. But please give us some respect if we unite. Please make a difference between 1x8xL1 and 2x4xL1 resonators.

Related Posts:

  • No Related Posts

3 ways to be a Healthy Programmer

Are you healthy? Stand up! Leave your keyboard for a moment!

Few days ago I started to read a book. My best quote from this book was a short but really intense sentence and I started to think again. Think about my past and my current life.

We aren‚Äôt born unhealthy ‚ÄĒ we become unhealthy through a combination of bad habits and environmental pressures
The Healthy Programmer: Get Fit, Feel Better, and Keep Coding by Joe Kutner


It’s true. When I was young,¬†innocent boy, then I tried to do something new, something interesting. I sat at my Commodore C64 and read books about programming. I loved that, but sometimes I left this desk and I went out to the garden and the park.

Now I grew up¬†(a little bit)¬†and I have not¬†forgotten¬†this. Sometimes I stand up and go to the nearest park, walk up and down, sit on a bench and sometimes I run just for fun. It’s ok. I love that way but how?


Related Posts:

One thing you need to do before…

… the end of the world.

There is one thing that you never dared to try. Oh yeah. Someone who does not think about it, never philosophised or just for a brief moment it does not fumble in their mind… they have never been lived really.

Just pick up a pencil, a big while paper and take a deep breath. Now…

Try to divide an integer by Zero!

Cropped from Abstruse Goose’s No.440 stip
(currently unavailable)

Related Posts:

  • No Related Posts