Scala: ListBuffer vs. ArrayBuffer vs. List benchmark

Kategorie: Programming, Scala , datum: August 16., 2010 , autor: svetylk0 – Přidejte první komentář

In the last benchmark I made a silly mistake. I forgot the method += in Array/List buffer. Therefore, I decided to make a new benchmark again including an overview of sequentially increasing number of elements.

číst dále »

  • Share/Bookmark

Scala: A little of Ruby

Kategorie: Programming, Scala , datum: August 9., 2010 , autor: svetylk0 – Přidejte první komentář

Today, I looked at http://www.ruby-lang.org/cs/about/ and saw some syntax constructions which are not possible in Scala by default. Let’s try to “scale” Scala with the same ability.

číst dále »

  • Share/Bookmark

Scala: Collection benchmark compared with Java Vector

Kategorie: Java, Programming, Scala , datum: August 3., 2010 , autor: svetylk0 – Přidejte první komentář

Which collection to use in Scala 2.8? Which collection runs faster in terms of adding elements? How fast are they in comparison with Java Vector?

číst dále »

  • Share/Bookmark

Scala: Writing an Iterator wrapper for InputStream

Kategorie: Programming, Scala , datum: July 27., 2010 , autor: svetylk0 – Přidejte první komentář

In this article, I will demonstrate how to write an Iterator wrapper for the Java InputStream.

číst dále »

  • Share/Bookmark

Scala tips: Object without main() using trait Application

Kategorie: Programming, Scala , datum: July 26., 2010 , autor: svetylk0 – Přidejte první komentář

A tip for simple single-threaded applications.

číst dále »

  • Share/Bookmark

Scala tips: How to read file as a string / reading binary file / reading file from URL

Kategorie: Programming, Scala , datum: July 23., 2010 , autor: svetylk0 – Přidejte první komentář

A short arcitle about tips for handling files in Scala.

číst dále »

  • Share/Bookmark

A Czech translation for ISPConfig 3

Kategorie: GNU/Linux, Home server , datum: June 25., 2010 , autor: amissus – Přidejte první komentář

ispconfig logo
Download czech language file here.

Thanks to Radek P. for syntax fixing.

  • Share/Bookmark

A collection of mathematical artefacts

Kategorie: Humour, Matematika , datum: June 13., 2010 , autor: svetylk0 – Přidejte první komentář

During time, I have collected a few interesting mathematical things.

číst dále »

  • Share/Bookmark

TeamSpeak 3 using MySQL database installation under Gentoo

Kategorie: GNU/Linux, Home server, Networks , datum: May 27., 2010 , autor: amissus – Přidejte první komentář

ts3-logo

In this article, I describe an installation and a basic setup of TeamSpeak server version 3 using MySQL database under Gentoo GNU/Linux. At the time of the article publication, the actual version of TeamSpeak server is 3.0.0_beta22.

číst dále »

  • Share/Bookmark

Gentoo and ProFTPD server: someone likes it with MySQL

Kategorie: Uncategorized , datum: May 26., 2010 , autor: amissus – Přidejte první komentář

proftpd-logoIn this article, I would like to show a configuration of a simple passive FTP server under Gentoo GNU/Linux. We will use MySQL database for user authentication and FTP server ProFTPD. Into the database, we are also going to add basic statistics of users (data transfered, the number of logins, IP of the login location, etc.) and the statistics are going to be displayed in the console of an FTP client after a successful login. If you would like to add data quotas to the server, follow the links at the end of this article.

číst dále »

  • Share/Bookmark