Regular News

11 Sep 2008 21:53

Hello,

today is my birthday. Some of you asked… I was born 11 September 1987, so I'm 21 years old now. I'm just back from concert of some local guitar bands. I received nice gifts today, like a chair (named "Chef"), a Children Of Bodom t-shirt (thanks squark and his half), a chestnut (or kasztan if you wish) and I was going to be gifted a present from my girl, but unfortunately, she learns for her exam, so we'll meet tomorrow. I have no idea what the gift would be and I'm very curious about it.

Other news: I have passed the object DB in Python. The caching is just as fast as running query in a few seconds instead of 4 minutes in certain situation, so this seems a lot, and as a matter of fact, this is only a prototype of caching mechanism.

Nature (as some flowers) highers the work efficiency, so I set a ladybird as my new wallpaper. It motivates me.

I have though of my future (i.e. what to do AFTER being a successful programmer) being asked by my girl. I would like to manage some project (I believe I would be good in it).

And a time for confession: I really really love my Marta, and I will be very happy to be her beloved husband some day.

This is the end of the birthday blog post. The next will be here in year I hope.

The next post will be in Polish and will be about binary formats, helping people with them and Wikidot pro features. Keep tuned folks.

tag filesystem idea

31 Aug 2008 08:14

I just thought of my ideal file system, where nothing hides and is easy to find (without going through the whole system — either manually, or automatically — find or even the indexed way — mlocate).

The main idea is tags.
When I save a file I want to give it some tags.
Moreover, I want to be able to find a file based on its properties, like

  • file properties — author, date created, type (PDF/TXT/XML)
  • EXIF data — camera name, camera settings
  • audio tags — artist, title, year, album, genre

How could it look like?

# ls /home/quake
wikidot/    python/    work/    tmp/    img/    music/
# ls /home/quake/wikidot
work/    tmp/    img/    howto.pdf
# ls /home/quake/wikidot/work
new-idea.txt
# ls /home/quake/work/wikidot
new-idea.txt

So it looks, like it doesn't matter if you navigate to work and then to wikidot or the reverse.

Moreover, I want to browse all my music files (having music tag) by author information:

# ls /home/quake/music/+artist/
Britney Spears/    Shakira/

PDF files inside of wikidot:

# ls /home/quake/wikidot/+type/pdf/
howto.pdf

This idea will be implemented with:

  • Filesystem in User SpacE — FUSE
  • Python
  • SQLite
  • Ubuntu laptop :)

Wish me luck

INI Config File For Wikidot Open Source

30 Aug 2008 00:16

Hello,

today I managed to create configuration file mechanism for Wikidot — based on INI file.

I posted two files — minimal one and one containing all possible options to the SVN repository:

Moreover I polished the PingBack mechanisms for Wikidot.

Python Database: The Work Continues

28 Aug 2008 21:36

Today more work was done by me on the object oriented database implemented in Python.

I dealt with some problems I came across like proper object encapsulation. Now, my database allows any object to be stored in it, even of classes that are internally used by my database.

I implemented "." and "WHERE" operators, which seemed the worst, because they needed working environmental stack.

Now comes, what's the most individual — optimizing things with query cache. Actually it's not a query cache, but rather a evaluateNode cache, but this works very similar (the only difference is that the evaluateNode cache is more deep in operation and can be used inside of queries. This means it can accelerate the processing even for one query!

More work will come for sure on this, because the cache seems to be really tricky with such a flexible database model we've assumed.

Keep tuned for more news

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License