JetCast numero 4

Posledni dobou ziju za 3, pracuju za 5 a parim za 0.1, takze uznate, ze nemam prilis casu na kvalitni plnohodnotne posty, na ktere jste si zde postupne zvykli. JetCast je jednou z veci, ktera me opravdu bavi, proto urcite zkontrolujte posledni dil, venovany novinkam a nasemu olympionikovi ve windsurfigu Tomasi Malinovi. Enjoy!

Epizoda 4: Dymkovy tandem!

Pojekt Sun SPOT

Na JetCastu jsem se zminil o zajimave alternative k Lego Mindstorms a hle, mame tu dalsi podobnou hracku od Sunu. Projekt SPOT nabizi 1 base station a 2 “spoty”, vsechno programovatelna zarizeni. Base station si pichnete k PC/Macu a komunikujete radiove se spoty, ktere maji navic moznost pripojeni senzoru (v zakladu senzor pohybu, teploty a svetla).

Zajimavosti je, ze na danych zarizenich bezi bez pritomnosti jakehokoliv OS JVM Squawk, developer programuje primo v jave. Pikanterii je pritomnost Junit package (API). 🙂

Uvidime, uvidime, osobne mi prijde cena za 1 SPOT kit jako totalni ulet – 550 $ v US nebo 627 EUR v EU.

(via InfoQ)

Utu – kladivo na diskutery?

Zed Shaw, autor http serveru Mongrel (a take autor nemene zajimaveho zmrdozpytu hlavnich jmen Ruby on Rails komunity), pracuje na specialnim protokolu, kterym by rad nahradil IRC. Protokol se jmenuje Utu a mel by adresovat issue spojene s anonymitou inetu.

The Internet gives little people the power, confidence, and anonymity they need to abuse anyone they want without any fear of retribution.

In the real world you would tell them to screw off personally. You’d call the police. You’d move to the other side of the room and tell all your friends to ignore them. You’d punch them in the face for the things they said about you and your family. You’d never give anyone with that much acne control over anything in your life.

Cela implementace sestava z hubu, ktery vyhodnocuje nenavist (hate). Pokud nekoho nemusite, zaplatite poplatek v tzv. hashcash za to, ze na vas dana osoba nebude mluvit. Dana osoba pak, chce-li komunikovat, musi zaplatit soucet vsech hashcash poplatku vuci ni. Pokud je to vetsi suma, ma celkem smulu a je vymezena. Dulezite je, ze muzete takto omezit jen osobu, ktera na vas mluvila. Take plati, ze je nenavist dedicna, tedy sdilite nenavist pokud jste nenavidenou osobu sami do systemu prizvali.

Nejevi se to jako spatna myslenka do okamziku vytvoreni zmrdich subsystemu. Staci, kdyz donuti svou obet k reakci na nevinnou otazku a muzou ji penalizovat. Spolecne pak timto zpusobem dostanou ven kohokoliv, vcetne Zeda. 🙂

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. 😛

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. 😛

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. 🙂