Category Archives: IT

NetBeans bugs/misconceptions list

Note: This post has been created a few days back, so needn’t necessary reflect the current status of NB 6.1 beta. In fact, I would be more than happy to be blamed for being “lama” with the lack of knowledge of this and that killer feature of NetBeans…

As Jiri Pisa recently became a true fan of ruby, we started to discuss this language almost every day. I summed some of our findings related to the best ruby editor currently available – NetBeans. Note, that the list is not ruby specific only. I will keep updating this list until NetBeans is perfect. :)

Domain: Setup

- on Mac: if you turn on Eclipse key binding it’s Windows one not Mac OS one

- keyboard shortcut card (pdf) is static – default Windows eg. doesn’t represent the current status. Looks like somebody made his life easier. :P

- no setup filtering aka Eclipse – difficult to find the setting (example: try to change key mapping for “Format”)

Domain: Ruby editor

-caching of context help – shows even deleted classes/attributes in content assistant

-quotes pairing madness – duplicates the second quote when closing the first one

missing features

-content assistant in script/console – example: Foo.column_names

-refactoring – file rename – update require clause when changing ruby file name

More to come….

Pekne srovnani ruby/RoR IDEcek

Pokud se stale nemuzete rozhodnout pro vyvojovy tool pro ruby/RoR, mrknete na nasledujici pekny prehled. Tabulka je neustale aktualizovana tak, jak Tor Norbye (Netbeans) pridava jeden komentar za druhym. Zatim zustanu u Netbeans, ktere ale maji take much vic nez dost – viz budouci prispevek v anglictine – pro Tora…. :).

Ruby and RoR IDEs

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!

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. :)

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. :)

Offsite ala JetMinds

Takze minuly patek jsme sbalili neco cisteho pradla, booze, kompy a vyrazili smerem Benecko – chata Hribek na vikendovy offsite. Kouzlo male firmy spociva v agilnosti, takze nezijeme pod tihou planovaciho overheadu, a timpadem jsem mel celou akcicku zorganizovanou za 15 minut. No je fakt, ze to nekdy pojimame jako punkeri, ale snazime se. Bohuzel na posledni chvili ochuravela Morgi, takze tim padla dlouhodobeji planovana hra.

Plan byl jednoznacny Continue reading

Je libo trochu oRESTovat?

Pokud se chcete dozvedet neco vice o RESTu, nezapomente si stahnout podle me hodne povedeny dil CZPodcast 18, kde jsme jako hosta privitali Jakuba Podlesaka ze SUNu. Ten se podili na referencni implementaci REST JSR 311 – Jersey.

CZPodcast Volume 18

Konecne poradna show – JetCast.cz

Pokud mate radi jemny anglicky humor a veci nazyvane pravymi jmeny, pak je pro vas subscribe teto show takorka povinny. Jedna se o videopodcast, na kterem se podilim s Jirkou Pisou. Jeho cilem je prevazne monitoring deni na Mac scene a nejruznejsi gadgets, ovsem jakakoliv nosna temata z IT nezustanou nepovsimnuta. Samostatnou kategorii je IT bulvar, zejmena pak ten cesky. Postupne bychom radi pozvali nase kamarady a znama jmena ceskeho IT undergroundu :).

Samozrejme, ze budu nadale spolupracovat s Roumenem a Dagim na CZPodcastu, jelikoz obory zajmu obou infokanalu jsou vicemene disjunktni.

homepage: www.jetcast.cz

krmeni pro iPody: rss