saltwater.be

playground of Bruno Windels

05/09

Time Tracker Dashboard widget

I needed a simple time tracker widget for dashboard and I couldn't find any that didn't depend on an external project management service so I made one myself. If you would like to try it you can download it.


Categorieën: Andere, Programmeren, Apple | 1 reactie

24/09

Next MacOSX hack

Ok, now that we are writing about mac hacks, this one might be a little bit more useful than the previous one (altough little).

If you often have to write texts with a lot of accents on the vocals, you were born (or bought a computer) in one of the only two countries in the world that have azerty keyboards (Belgium or France) and you do your work on a mac, then this hack is for you.

The thing you want to do is modify your keyboard layout. In my case I need to write a lot of spanish texts, so I need the á, é, ú, í and ó. In spanish keyboard these come in the form of a so-called dead key (a key to let the computer know that the next key specifies the letter that you want to accent). I used the key to the right of the 'm' key on my azerty keyboard which says (% ù).

Mac keyboard layouts are (rather complicated) xml files. Luckily there is an application (Ukelele) that allows you to modify these files in an easy way, presenting you with a keyboard which' mappings you can modify.

So with this application I created the keyboard layout called "Guirilandia" (the land of the guiris, to the north of Spain, corresponding exactly with the territory of the azerty keyboard). I have only gotten this to work on Snow Leopard. On Leopard, for some reason, choosing this keyboard layout, you don't get any input.

If you are one of the rare people that meet the conditions for this to be useful, feel free to download the keyboard layout. Just leave it in ~/Library/Keyboard Layouts and change your keyboard layout in the Language and Text panel in the system preferences.


Categorieën: Andere, Programmeren, Apple, Spaans | Geen reacties

17/09

Sleep to disk on MacOSX

At little tech post to interrupt the silence. Just wrote a little applescript that people with an apple notebook also might find useful. It allows you to choose to hibernate (write the contents of the ram to disk and shutdown) or normal sleep (in fact safe sleep, it first writes the contents of the ram to disk but does not shutdown so you can wake fast at any moment).

I used to use a dashboard widget called deep sleep but it doesn't allow you to go back to normal sleep, after using it it always shuts down. So I read their docs and made a little applescript that allows you to do both. Feel free to do wathever you like with it. You can find more information on hibernation modes in MacOSX in the documention of deep sleep, especially chapter 7.

I bundled it into a little application (made a cute little icon for it too :) for you to download.

Keep in mind that when you close the lid, or choose sleep in the apple menu, the sleep mode you selected the last time you used Sleep Tight will be used. Oh, and no warranty whatsoever, but you already knew that.

UPDATE: Just saw that when you go to the preferences of the deep sleep widget, you can change the sleep mode, rendering this basically useless :)


Categorieën: Andere, Programmeren, Apple | 1 reactie

17/03

Miskoop

Net nieuwe koptelefoon gekocht voor iPod want de oude zijn precies hetzelfde niet meer sinds we in Spanje zijn (net als mijn gewone luidsprekers ... raar). Ik dacht zo'n apple in-ear oortjes moeten wel goed zijn ... niet dus. Ze vallen voortdurend uit mijn oren en de geluidskwaliteit is ook niet fantastisch. En dat voor €39! Brol :( Wel een goeie zonnebril gevonden in El corte inglés.

Misschien niet zo interessant maar ik wou mijn frustratie even kwijt :p


Categorieën: Muziek, Apple | Geen reacties

13/12

Chabapolis

Lang geleden dat ik deftig geblogged heb, maar tis druk druk druk!

Vandaag met 't school naar Javapolis geweest (of chabapolis volgens de Spaanse uitspraak), een java developer conference. Bij de aankomst stond er een groot à-go-go-walking-breakfast klaar. Hadden ze dat nu eens op voorhand gezegd, dan had ik de halve bakker in Gent niet leeggekocht! Hetzelfde voor het middageten. En de drank zoals de foto laat zien :)

De metropolis in Antwerpen (daar was het te doen) heeft een onderverdieping waar een aantal standjes stonden van onder meer Oracle, Sun en IBM (met een nogal zielig standje). Op de bovenverdieping (in de cinemazalen) waren dan voordachten. Caucho had ook een standje. Wie? Een bedrijf dat een webserver maakt die toelaat Java en PHP te mengen, inclusief een compiler om PHP om te zetten naar Java bytecode.

Verder nog IONA, een bedrijf dat frameworks voor RPC (o.a. webservices) maakt en binnenkort open source wil gaan. Het is wel eens interessant om met professionele ontwikkelaars van gedachten te kunnen wisselen die goed weten waarover ze spreken.

De voordrachten waren iets minder. In de voormiddag was Spring wel interessant, maar we hadden de eerste helf gemist. Die annotations moet ik wel eens van dichter bij bekijken. Dojo en jMaki in de namiddag was minder. Uit verveling zijn we dan maar verder gaan doen met wat we in de voormiddag begonnen waren: gadgets verzamelen!

Zo erg had ik het toch nog niet gehad. Op iedere stand kon je wel iets gratis krijgen: Java T-Shirts, Java houten vliegtuigjes, Java boxershorts, Java tassen, Java mutsen, Java mascottes, Java pepermuntjes, Java muizen, Java rugzakken, Java marsen, Java twixen, hopen cd's (lees onderzetters) en veel te veel papier. Wel, niet echt gratis, je moest overal wel eerst je coordinaten achterlaten. Ze moeten echt volk tekort hebben.

Microsoft stond er ook met een demo van Vista (verband met java? mss dat ze beide traag zijn). Na ze wat gepest te hebben dat Visual Studio een aantal Eclipse features ontbreekt heb ik toch maar een CD meegenomen van VS.Net. Tis de download gespaard.

Er was ook een java test, die ik tot 3 keer toe heb geprobeerd, maar ik geraakte maar niet in de top 5 (nodig voor een t-shirt te krijgen :-P). Ward deed beter.

Veel appeltjes ook. Ah! En de mannen van LogicaCMG deelden onze afschuw voor COBOL. T deed deugd om eens bevestiging te krijgen uit de mond van een professional :).

Dan maar naar huis met twee rugzakken vol met brol. T was iel plezaantig! (Dank aan Sven voor de foto's :)


Categorieën: Andere, IT, School | Geen reacties