Archive for Uncategorized

Starting new Project

After my first big game The Last Oricru has been successfully released on Steam/XBOX S/PS5 I’m rushing into new project. Working name is Revive & Prosper and I’m blogging about it here.

MariaDB – raise number of connections

With Centos 7 come replacement of MySQL with MariaDB.

I was already curious into it and quite happy once it come to new server with Centos.

It’s very easy to use, but I has trouble to raise max_connections to my usual number (I use 10.000 as I connect to DB from many connections).

Here is the solution.

Read more

Emptying disk space on Linux Virtual Machine – CentOS

Recently I was creating for somebody empty virtual image based on my actual image. I want to make sure the image will get compressed as much as possible. But I delete there about 1,5 GB of my data.

To make sure the VM will be compressed I needed to fill all empty space with 0.

I found this tool to do that: http://frippery.org/uml/index.html , but it was little bit tricky.

Here is step by step how to proceed:

Read more

Accessing contacts from Delphi at iOS and Android

Recently I was doing an application that needs to access contacts at the iOS and Android.

Contacts

I found those two pieces of code

1) http://www.fmxexpress.com/access-ios-contacts-with-firemonkey-in-delphi-xe5/

2) http://www.fmxexpress.com/access-android-contacts-manager-with-firemonkey-in-delphi-xe5/

that works.

But you need different unit for each platform and the names of fields are also little but different.

Read more

iPhone’s screen sizes

Just nice page to show the iPhone’s Screens – http://www.iphoneresolution.com/