~hruske Hruške, jabuke, jablane, čežane. » faks
Home Contact Sitemap

Hruške, jabuke, jablane, čežane.

Ste se gdaj vprašali, zakaj Najboljšega soseda nikoli ni doma, ko pridete na obisk?

Internet as a productivity booster

Posted on Junij 6th, 2007 in faks, linux, python |

It is amazing how fast things can be done with some help of a good search engine and some advice sought after on an IRC channel. I was experiencing flickering when changing bitmaps with wxPython and asked about this on an IRC channel. I got a fairly unplausible advice, to replace the StaticBitmap widget I was using with a “generic static bitmap” (GenStaticBitmap), but it was a perfect solution. I got the solution to my problem in about 15 minutes, but it could have caused me unnecessary headache.

Next I needed to package my newly created software in a installer, so I quickly fetched NSIS. Even though I had already used it some time ago, creating a script from scratch is quite time consuming, so a bit of googling got me started with a Firefox installer script. Fast forward over some minor modifications and a couple of installer builds and I got myself a working installer (localized in Slovenian) for my shiny new cross plaform application. And I have probably already spent more time writing this post getting software packaged.

What was a showstopper then? Acquiring a copy of Visual Studio 2003 to build a CPython extension. I’ve already downloaded VS2003 years ago from MSDNAA, but was foolish enough to misplace the CD. Who would ever think it might come handy one day… ;) Even more strange, the install files come packed in a zipped self-extracting 600MB big executable archive, go figure. And it takes a fair amount of time to install.

All in all, I’ve got my new Python/C project built and packaged.

Komentarji so izklopljeni

Great success!

Posted on Maj 31st, 2007 in faks, linux, python |

While coding for my seminar project, I needed some fast code, since Python can be quite slow at times. On the other side, I don’t really want to debug segfaults for my GUI code, therefore I want to use Python for GUI.

This is where my first (working) Python module written in C steps in. :)

I’m still kind of excited given the fact that the module is actually doing something useful (and also doing it faster).

Komentarji so izklopljeni

Križanke

Posted on Januar 14th, 2007 in faks, zanimivosti |

Ali ste vedeli, da FRIjevci plačujemo za križanke?

Jaz tudi ne.

In to verjetno zgolj zato, ker je premalo prispevkov za naš cajtng.

Komentarji so izklopljeni

Najboljši

Posted on Januar 9th, 2007 in comp, dovhcajt, faks, linux |

Predstavljam vam tehnično najboljši postopek kompresije slik: LenPEG.

Kolikor se sliši neverjetno, LenPEG v1 dosega kompresijsko razmerje 6291456:1, kar sploh ni slabo! In čeprav boste morda osupnili nad učinkovitostjo izboljšanih različic, v2 in v3, je vseeno precej zanimivo, kako je dejansko tak kompresijski algoritem možno logično precej dobro opisati, tako da bi morda celo dobil patent za to.

Inspiracija izhaja iz seminarske naloge v kombinaciji z IRC kanalom …

Komentarji so izklopljeni

Paprike bi!

Posted on December 7th, 2006 in dovhcajt, faks, zanimivosti |

Na faksu veselo programiram(o) FPGA čipe. Zanimiva igračka: čip je sestavljen iz mreže povezav in iz logičnih otočkov med povezavami, ki jih pri prevajanju compiler avtomatsko poveže, da delujejo po programu, ki si ga spisal. Idej za uporabo je obilno mnogo, od realtime kompresije videa do realizacije svojega mikroprocesorja. Zanimiv je stil programiranja, saj v hardveru načeloma ni zaporednega izvajanja kode, ampak se večina logike izvaja vzporedno. Zato včasih pride do kakšnega obskurnega hrošča …

Druga stvar, s katero sem se zadnji čas bolj obsesivno ubadal so anagrami. Cimer je namreč iskal softver, ki bi znal iskati anagrame, saj gre z običajno pametjo to precej počasi. Python, Aspell in en kup rekurzije (ki mi še vedno dela preglavice), ampak na koncu precej obetavno deluje. Trenutno zadeva še ni nikjer na spletu, če pa bo šlo vse po sreči, jo kmalu obesim nekam.

No, od tod tudi naslov posta: Kiberpipa ~ Paprike bi.

Kar pravzaprav sovpada s trenutnim sodelovanjem s TV Papriko.

Komentarji so izklopljeni