zsh'de dosya seçim operatörleri

Posted on Pzt 03 Mart 2014 in old • 1 min read

zsh, dosya seçmek için bash'ten biraz daha gelişmiş operatörlere sahip. Bunlar sayesinde bir defada, bir dizindeki dosyaların tamamına erişip, onlar üzerinde işlemler yapmak mümkün. Burada kısa bazı örnekler vereceğim.

Bir dizindeki tüm dosyalar :: ls *

Bulunduğumuz
ls **
Bulunduğumuz
ls */**(.mw-2)
Bulunduğumuz
ls */**(.Lm+100)
Bulunduğumuz
ls */**(.R)
/etc
ls /etc/**(.W …

Continue reading

mu4e

Posted on Sal 18 Şubat 2014 in old • 2 min read

I used mutt for years. I like it. Its customizability and macros make me feel at home and I was able to automate most of my tasks with it.

I began to use mutt after gnus on Emacs. The reason I left gnus behind is that it was incompatible with …


Continue reading

Randomness Course Notes

Posted on Prş 13 Şubat 2014 in old • 1 min read

Definitions of Randomness

Kolmogorov

Complexity of a seqyence = The shortest algorithm that produces it

Martin-Löf

  • A sequence is random is it passes all statistical tests
  • It cannot be produced by a program shorter than itself

The digits of \pi are not random in this sense.

Not just "difficult to compute …


Continue reading

Randomness Course Notes

Posted on Prş 13 Şubat 2014 in old • 1 min read

Definitions of Randomness

Kolmogorov

Complexity of a seqyence = The shortest algorithm that produces it

Martin-Löf

  • A sequence is random is it passes all statistical tests
  • It cannot be produced by a program shorter than itself

The digits of \pi are not random in this sense.

Not just "difficult to compute …


Continue reading

Backup Script for Recent Files

Posted on Paz 02 Şubat 2014 in old • 2 min read

I decided to write a script to backup only the recent files. There are solutions based on unison that work periodically for all files, but as I'm changing projects, I need to configure new backups for these projects as well. However this is cumbersome and error prone, it's easy to …


Continue reading

Dervaze: A Transliteration System for Ottoman

Posted on Çrş 08 Ocak 2014 in old • 3 min read

/Dervaze/ (meaning "the portal") is a set of tools that aim to transliterate historical Ottoman documents to Modern Turkish. These will be hosted in http://dervaze.com in the near future.

In this document, I describe the transliteration system. The system is organized as a pipeline in which the tools …


Continue reading

ggplot2 Elegant Graphics for Data Analysis

Posted on Çrş 01 Ocak 2014 in old • 4 min read

The important parts of the book are

  • grammar of ggplot
  • qplot for easy plotting
  • geoms
  • linear models in plots
  • qplot

=qplot()= is designed after plot()

The three most important parameters to qplot are x, y and data. If …


Continue reading

Shell (Bash and Zsh) Notes

Posted on Cts 17 Ağustos 2013 in old • 1 min read

Don't use ~ in scripts, use $HOME

I used ~ several times in scripts and it may or may not work. Use $HOME to refer to the home dir, it always works.


Continue reading

Visual Transliteration for Ottoman

Posted on Cum 02 Ağustos 2013 in old • 5 min read

There are already various transliteration systems for Arabic based scripts to represent in Roman. However all of them aims to represent phonemes in transliteration, without paying attention to different visual elements. When we are manually transcribing these texts, the method is fine. However when we try to represent visual elements …


Continue reading

This Site's RSS Generator

Posted on Sal 23 Nisan 2013 in old • 6 min read

Previously with Pandoc I was using a simple setup to create RSS. Markdown files were converted to plain, headerless HTML and they were collected together to build an XML file. The obvious drawback is that all HTML files should be generated by Pandoc and anything that doesn't fit that route …


Continue reading