Posts

superrtlnow mit ubuntu

kudos dem support von superrtlnow: Videos aus dem Portal sehen: apt-get install hal apt-get --reinstall install flashplugin-installer ..und videogucken in firefox funktioniert (Kinder hatten glee verpasst).

interessante Podcasts für die Wartezeiten zwischendurch:

Podcasts to watch (Deutsch): Pflanzen: http://www.br-online.de/podcast/vom-ahorn-bis-zur-zwiebel/cast.xml Mythen: http://www.br-online.de/podcast/mythen-michael-koehlmeier/cast.xml SW: http://www.heise.de/developer/podcast/itunes/heise-developer-podcast-softwarearchitektour.rss Musik: http://www.br-online.de/podcast/starke-stuecke/cast.xml Musik: http://www.br-online.de/podcast/zoom-musikgeschichte/cast.xml Musik: http://www.br-online.de/podcast/stichwort/cast.xml Fotografie: http://foto-podcast.de/version/ipod/feed/ Tanzen: http://addicted2salsa.com/videos/feed Englisch: http://downloads.bbc.co.uk/podcasts/worldservice/how2/rss.xml und für Kids: http://static.orf.at/podcast/oe1/oe1_kinderuni.xml http://podcast.wdr.de/wissenmachtah.xml

Alternative: Oracle Pipelined Functions als Nummerngenerator

Grummel, Mein Kollege - der im Gegensatz zu mir wirklich Oracle macht - hat mir dann diese Lösung vorgesetzt, die lesbarer ist:  Ein "Nummerngenerator" in Oracle: create or replace type number_tab_type as table of number ; / create or replace function generate_numbers ( n in number := null) return number_tab_type pipelined as begin   for i in 1 .. nvl ( n , 0 ) loop     pipe row( i );   end loop; end; / damit funktioniert dann: select * from table ( generate_numbers ( 3 ));   COLUMN_VALUE 1 2 3

Oracle Select: Erzeugen eines Zeitfolge mit connect

Hatte gerade das Problem, in SQL eine Zeitfolge (also n Perdioden a xx Minuten) der Art: 08.02.2012 00:00:00 bis 08.02.2012 00:30:00 08.02.2012 00:30:00 bis 08.02.2012 01:00:00 08.02.2012 01:00:00 bis 08.02.2012 01:30:00 konfigurierbar in einer SQL Query zu brauchen. Mit Oracle Bordmitteln geht das wie folgt: select   -- Berechne Ueberwachungsperioden all n Minuten)   startDatum + ((level- 1 ) / tagTeile ) as periode_begin ,   startDatum + ( level     / tagTeile ) as periode_ende from   (select trunc(sysdate) - 1 as startDatum , -- Ab Datum "Gestern"           48 as tagTeile          -- alle 30 Minuten (1 Tag / 48)        from dual ) where   ( startDatum +(level / tagTeile )) < sysdate -- Bis zur aktuellen Uhrzeit connect      by level<= (s...

Backup

mein Jahres-Backup ist erledigt - für Daten: mit Areca eine incrementelle Sicherung - für Fotos: die in Google Picasa integrierte Sicherung alles auf eine USB Festplatte.

Heroku .. Grails / Line Ending Problem

Was mich bei Heroku aufgehalten hat: Das Deployment einer Grails App von meinem Windows Rechner in die Heroku Cloud gelang nicht: git.exe push --progress "heroku" master Compressing objects: 100% (111/111) (snip) Total 120 (delta 28), reused 0 (delta 0) -----> Heroku receiving push -----> Grails 2.0.0 -----> Installing Grails 2.0.0 ..... -----> Error downloading Grails framework. Please try again... Ursache war: Windows Line Endings (CR+LF) !! Beste Lösung: git konfigurieren als "autocrlf = true" (Löschen cr beim commit) Alternative: Mit Editor die Dateien von CR+LF auf LF umstellen Einfache Lösung ... aber anhand der Meldung schwer auszumachen. Der Heroku Support hat mir das auf Anfrage schnell lösen können - ich bin erstmal selber nicht draufgekommen.

Heroku with grails 2 ... Easy first steps..

Tried out the new grails 2.0 framework including deployment into the cloud as desribed in the heroku blog - thanks to heroku - create grails app grails createApp myapp cd myapp" - version it with git (locally) grails integrate-with --git git init git add . git commit -m init - create "cloud server" and deploy the app heroku create --stack cedar   ... http://::::.herokuapp.com/ | git@heroku.com:::::::::::.git git push heroku master .. and the server is up and running with a simple grails 2 demo app. Cool.