Monthly Archives: January 2008

Shanime kvalitniho PHPckare

Pro interni i externi projekty hledame phpckare, ktery ma smysl pro poradek v kodu, efektivitu programovani a perfektni znalost PHP. Pokud se kamaradite s CMS TYPO3, mate velke plus.

Vyhodou prace pro nas je ultimatni tym a volne prostredi, stimulujici aktivni lidi. Vztah je zamestnanecky ci na kontrakt, plat je nadprumerny + stock options. Pracovat se da i z vetsi casti z domova. Vase CVs posilejte na muj email (jf zavinac jirifabian.net), s kazdym se rad sejdu osobne.

PS: Pokud vas nabidka zaujala, ale na pozici se nehodite, forwardnete tento spot kamaradovi-phpckarovi, ktery zatim tento blog necte. Odmena vas nemine, nase pipa vam rada povypravi svuj tklivy chmelovy pribeh. :P

Co se deje s JetCastem?

Nekolik lidi se nas s Jirkou ptalo, co se deje s JetCastem, do ktereho jsme se s velkou pompou vrhli minuly rok. Vec se ma tak, ze byly natoceny dalsi 2 dily, informacne i zabavne na urovni, ovsem vazla nam strizna a v pripade tretiho dilu i kvalita. Jelikoz nechceme releasnout neco ala “Video na PC”, pokusime se natocit do tretice vseho dobreho neco o tomto vikendu. Pokud se to ani tentokrat nepovede, tak to asi zabalime. Ale to se tusim nestane. :)

Apple jede

Takze vcera probehla monstrozne ocekavana keynote Steve Jobse, ktery tradicne kazdy rok ohlasuje nove produkty. Tento rok to nebylo takove preklapko jako loni (iPhone), i tak to rozhodne stalo za to. Ohlasen byl MacBook Air (vykonny subnotebook), Time Capsule (N wifi access point + harddisk), Apple TV 2, pujcovna filmu pres iTunes, kdy s Apple spolupracuji vsechny velke filmove spolecnosti a 1.1.3 pro iPhone.

Apple jak se rika ownuje zejmena z duvodu Continue reading

Kibibity a mebibajty

Asi jsem to uz v minulosti nekdy videl, ale zcela se mi to vykourilo z hlavy. Proto jsem bral udaj o volne pameti v systemu uvadenemu v MiBs ve skriptu kolegy spise jako preklep. Jak me pak udivilo, ze za nevedomce jsem tu ja, a ze se skutecne jedna o oficialni jednotky. Budiz mi utechou, ze jsem nebyl sam, kdo nevedel. :)

Prefixes for binary multiples

Java 6 Developer Preview a Eclipse 3.3 nejsou na Macu kamaradi

A duvod je ten, ze SWT vyuziva Carbon(C++), ktery v Leopardu uz neni k dispozici v 64-bitove verzi, pro kterou je naopak zkompilovana prave Java 6 od Apple. Na prepsani do Cocoa (Objective-C) se intenzivne pracuje v ramci projektu SWT (napr. Hacking at Apple). Takze v soucasne dobe skoncite pri startu Eclipse s podobnou hlaskou:

_NSJVMLoadLibrary: NSAddLibrary failed for /System/Library/Frameworks/JavaVM.framework/Versions/1.6/Libraries/libjvm.dylibJavaVM FATAL: Failed to load the jvm library.

Kdybych se mohl vrhnout na IDEAu, udelam to.

Metamorfoza na salesmana

Az doted jsem se vetsinu casu zivil kodovanim, rozdavanim rad ci koucovanim. Tak, jak se software, na kterem v Jetminds delame, blizi do zdarne bety, je treba prevleknout kabatek a nasadit si na cas ten barevny, salesmansky, se strikaci kytkou v klope.

Jiste, je tu otazka, proc si na to nenajmout nekoho zkuseneho. Z minulych staci
Continue reading

Echoes from the past – XName.org again

Yesterday I had problems with XName.org again (DNS provider), this time I could only laugh. Late night Morgi found out, that my domain is not accessible. I checked it and really, all names pointed to completely different machines. With suspicion of someone stealing my precious domain I started with investigations. What was my surprise, when I found out the target IP is my old UPC one, I had used two years ago. Looks like somebody messed things up and took incorrect tape when renewing previously crashed XName DNS database. :)

vision.jpg

My new personal VCS – Git

For some while I was looking for some handy VCS tool without unnecessary configuration burden. I started with SVN, but recently came across Git . Git is a tool utilized by Linux folks (originated by Linus Torvalds), supporting distributed VCS paradigm. Torvalds motivation follows:

When I say I hate CVS with a passion, I have to also say that if there are any SVN (Subversion) users in the audience, you might want to leave. Because my hatred of CVS has meant that I see Subversion as being the most pointless project ever started. The slogan of Subversion for a while was ‘CVS done right’, or something like that, and if you start with that kind of slogan, there’s nowhere you can go. There is no way to do CVS right.

If you’re new to DVCS and know czech, you can read an introduction written by one famous czech blogger Dagi Pichlik. (Btw Git homepage is hosted in czech domain.). The basic idea is that each contributor has his own local repository and propagates his changes to repositories of his colleagues and optional central repository (Integrator).

What is kind of hidden behind the DVCS curtains is the fact, that git alone is (maybe) the most powerful cmdline vcs tool currently available. I was really impressed seeing all possibilities especially history queries like

git log –since=”2 weeks ago”

Git also comes with handy visualiser gitk, which provides view on existing branches, merge points and search capabilities.

picture-1.png

DVCS support is again very straightforward, commands for cloning (creates a new repository) and pulling changes from other contributor are simple as they should be (forget CVS switch hell). Creating of branches and merging back is a question of 3 words command at max.

Remote repository can be accessed either by ssh, git native protocol, rsync or http.

Killer features are out-of-box support for cvs and svn repository import, git-svn command (one can work with SVN the git way), stash function (saves the current changeset, restore the actual working copy for another changes and revert back to previous changeset – very handy for adhoc spot fixes) etc.

Where to start:

Git homepage (Git sources)
Installation Linux, Mac OS

Tutorial

Small gotcha I faced during the installation:

checking for C compiler default output file name… configure: error: C compiler cannot create executables

assembler (/usr/bin/../libexec/gcc/darwin/i386/as or /usr/bin/../local/libexec/gcc/darwin/i386/as) for architecture i386 not installed

This was caused by previous wild installation of XCode and fixed again by reinstallation of XCode 3.0. :P

Hadankar.cz

Rad bych zde upozornil na zajimavy pocin kamarada Ghaneeho nazvem Hadankar.cz, zamereny na hadace.

Naleznete tam pel-mel kvizu od tech nejjednodussich az po hardcore. Na designu to chce jeste trochu zapracovat, ale nudit se nebudete.

Java 6 on Macs

In case you’ve not noticed, there is a port of BSD OpenJDK available for Mac OS called SoyLatte.

SoyLatte is initially focused on supporting Java 6 development; however, the long-term view far more captivating: open development of Java 7 for Mac OS X, with a release available in concert with the official Sun release, supported on all recent versions of Mac OS X.

Is really the best thing for free?

For our domains we’ve been utilizing quite popular free DNS service provided by xname.org. Apparently they struggled with database problems by the end of last year and started to refuse any dns lookup for our domains. It happens, but because of free nature of the service, there is no support at all. So emails routed to us got happily stuck all over the internet, our website was inaccessible as well as our whole infrastructure and I didn’t know what is going on. It took us one day to switch to paid DNS, but things should go smooth again. I’m sure that in the end it will be cheaper than xname.org anyway. :)

Hratky s tiskarnou

Mac OS se tvari jako user friendly system, ale obcas umi ukazat i svou odvracenou tvar plnou nekompatibilit s ne-apple periferiemi. Osobne jsem mel nejvetsi problem s tiskarnou HP 920C, sdilenou z Windows. System ji nemohl najit, veskera konfigurace pres UI koncila nefunkcni tiskarnou. Jake bylo moje prekvapeni, kdyz jsem objevil web UI rozhrani ke CUPS ktere je v Leopardu standardne k dispozici na adrese

http://127.0.0.1:631

Tam jsem si postupne nastavil jmena, zadal typ (Windows printer/SAMBA), retezec ve tvaru

smb://win_username:win_pass@windows_machine/shared_printer_name

a voila, tiskarna se rozjela. Az jsem z toho musel zablogovat, jak me to potesilo, prepadala me totiz neskutecna trudnomyslnost.