Category Archives

3 Articles

Connecting IOS socket client to a Ruby socket server using Swift & Ruby’s eventmachine gem.

To demonstrate, I have written a server that has one task. It reads a word and sends it back to the client in a reversed form.

The server code in few lines ;/

The client, which is written as a part of an IOS application in Swift;

The demo application that I wrote is a single view-based IOS-application, with 1 textfield, label and button.

An instance of ReverseClient is created in the ViewController…

And when the button is pressed;

Do not forget to start the server!

Adding the Assyrian Language to OS X (Mac)

To be able to write in Assyrian on Mac’s OS X system. You will need to download:

1. A keyboard layout (click to download)
2. The fonts (click to download)

Download the both compressed files and decompress them both. Use the path of your desktop to access them easily.

We start installing the keyboard layout by copying the content of AssyrianKeyboard to the folder ”/Library/Keyboard\ Layouts”. This can be done in finder.

Check the screen presentations which I made. Notice that the language of my system is Swedish. I just translated the menu alternatives to English roughly.

How to install the Assyrian keyboard layout

Next step is to install the fonts. The easiest way to do it is to open the folder ”melthofonts” and highlight all the files having the extension ”otf”. Right-click on the highlighted files and choose ”Open with”. The program ”Fonts Book” Should be listed there so click on it.

Many “windows” will popup now. On each of them, there will be an ”Install font” button, Click on these buttons to install the fonts.

How to install the fonts

The final step is to setup the system to handle the Assyrian language. To do that, follow the steps in this video.