re:publica 2013 in Berlin

6 05 2013

re:publica

Dieses Jahr hab auch ich mich zur re:publica in Berlin eingefunden, einer Konferenz über digitale Medien – dem Woodstock für Onliner.

Neben zahlreichen Österreichern (twittert denn gerade überhaupt jemand aus Wien?!) sind selbstverständlich viele andere internationale Gäste zum selbsternannten “Happening” gepilgert. Ob es die Reise wert war, weiß ich noch nicht, allerdings kann ich schon vorab den ersten Tag kurz resümieren: Viel Interessantes, viel Fades, viel Inspirierendes – wie auf jeder Konferenz.

Eine Zusammenfassung der Konferenz folgt selbstverständlich.
re:publica 13





Best of Source Code Comments

17 04 2013

via http://kalekushal.blogspot.co.at/2012/01/funny-source-code-comments.html

/**
* For the brave souls who get this far: You are the chosen ones,
* the valiant knights of programming who toil away, without rest,
* fixing our most awful code. To you, true saviors, kings of men,
* I say this: never gonna give you up, never gonna let you down,
* never gonna run around and desert you. Never gonna make you cry,
* never gonna say goodbye. Never gonna tell a lie and hurt you.
*/

//
// Dear maintainer:
//
// Once you are done trying to 'optimize' this routine,
// and have realized what a terrible mistake that was,
// please increment the following counter as a warning
// to the next guy:
//
// total_hours_wasted_here = 16
//

// TODO: Fix this. Fix what?

// no comments for you
// it was hard to write
// so it should be hard to read
// I will give you two of my seventy-two virgins if you can fix this.

options.BatchSize = 300; //Madness? THIS IS SPARTA!

// I am not responsible of this code.
// They made me write it, against my will.

//Dear future me. Please forgive me.
//I can't even begin to express how sorry I am.

double penetration; // ouch

# To understand recursion, see the bottom of this file.
At the bottom file:
# To understand recursion, see the top of this file.

//I am not sure why this works but it fixes the problem.

//somedev1 - 6/7/02 Adding temporary tracking of Logic screen
//somedev2 - 5/22/07 Temporary my ass

/*
* You may think you know what the following code does.
* But you dont. Trust me
* Fiddle with me, and youll spend many a sleppless
* night cursing the moment you thought you be clever
* enough to "optimize" the code below.
* Now close this file and go play with something else.

// drunk, fix later

// Magic. Do not touch.

Exception up = new Exception("Something is really wrong.");
throw up; //ha ha

//When I wrote this, only God and I understood that I was doing
//Now, God only knows

// if i ever see this again i'm going to start bringing guns to work

/*
* OK; before you read the following code know what I am trying to do.
* I needed to get the list of child catagories from the root node so that
* the root node didn't appear in the selection box. But for some stupid
* fucking reason the stupid fucking DBA wont let me access the items using
* indices and I instead have to use their stupid fucking Iterator
* implementation. So there.
*/
$firstList = $this->getRootNode()->getChildren();
foreach ($firstList as $node)
{
$nodes = $node->getChildren();
break; // wtf?
}





SyBase: List Constraints to Foreign Key

13 03 2013

select
fko.name    "Foreign key name",
par.name    "Referenced table name",
fk1.name || ' -> ' || pk1.name "Reference 1",
fk2.name || ' -> ' || pk2.name "Reference 2",
fk3.name || ' -> ' || pk3.name "Reference 3",
fk4.name || ' -> ' || pk4.name "Reference 4"
from
sysobjects      tab                                       join
sysconstraints  con on tab.id        = con.tableid        join
sysobjects      fko on con.constrid  = fko.id             join
sysreferences   ref on con.constrid  = ref.constrid       join
sysobjects      par on par.id        = ref.reftabid  left join
---- 1. Column
syscolumns      fk1 on ref.fokey1    = fk1.colid and
ref.tableid   = fk1.id        left join
syscolumns      pk1 on ref.refkey1   = pk1.colid and
ref.reftabid  = pk1.id        left join
---- 2. Column
syscolumns      fk2 on ref.fokey2    = fk2.colid and
ref.tableid   = fk2.id        left join
syscolumns      pk2 on ref.refkey2   = pk2.colid and
ref.reftabid  = pk2.id        left join
---- 3. Column
syscolumns      fk3 on ref.fokey3    = fk3.colid and
ref.tableid   = fk3.id        left join
syscolumns      pk3 on ref.refkey3   = pk3.colid and
ref.reftabid  = pk3.id        left join
---- 4. Column
syscolumns      fk4 on ref.fokey4    = fk4.colid and
ref.tableid   = fk4.id        left join
syscolumns      pk4 on ref.refkey4   = pk4.colid and
ref.reftabid  = pk4.id        -- Et cetera...
where
tab.type = 'U'      and
fko.name = 'FOREIGN_KEY_NAME' and
fko.type = 'RI'

no comment ;)





How developers feel

11 03 2013

via http://www.lordofthejars.com/2013/02/the-reality-of-developers-life.html (see more at http://devopsreactions.tumblr.com/)

 

When you upload something to production environment:

When you find a problem solution without searching in Google:

When you close your IDE without saving the code:
 
When you try to fix a bug at 3AM:
 
When your regular expression returns what you expect it:
 
When my boss reported me that the module I have been working will never be used:
 
When I show to my boss that I have fixed a bug:
 
When I upload a code without tests and it works as expected:
 
When marketing folks show to developers what they have sold:
 
The first time you apply a CSS to a web page:
 
When the sysadmin gives you root access:
 
When you run your script the first time after several hours working on it:
 
When you go on weekend and everyone else are at office trying to fix all issues:
 
When your boss finds someone to fix a critical bug:
 
When you receive an extra paid if project ends before deadline:
When something that had worked on Friday and on Monday did not work:
 
When you develop without specifications:
 
When boss tells me that “tests are for those who doesn’t know how to code”:
 
When you update a database script and you note that you have deleted whole database:
 

 





chefbabe.at

8 02 2013

Braucht die Welt noch ein Kochblog? Ich sage nein, aber ich brauche eines für mich :)

Auf chefbabe.at teile ich meine Erfahrungen als frischgebackene Köchin als Kochtagebuch und Rezeptesammlung mit. Und lade andere dazu ein mitzugenießen.

Mahlzeit!

valentinesday

vorfreude #lamm

rote rüben salat mit weichseln und koriander  by electrobabe





2012 in review

30 12 2012

Die WordPress.com Statistikelfen fertigten einen Jahresbericht dieses Blogs für das Jahr 2012 an.

Hier ist eine Zusammenfassung:

4,329 films were submitted to the 2012 Cannes Film Festival. This blog had 35.000 views in 2012. If each view were a film, this blog would power 8 Film Festivals

Klicke hier um den vollständigen Bericht zu sehen.





Ö1 Beitrag: Radiokolleg – Software in Frauenhand

9 12 2012

Pionierinnen der Informatik (1-4). Gestaltung: Anna Masoner

Anna hat für Ö1 eine vierteilige Beitragsreihe zum Thema Frauen in der Informatik erstellt und unter anderem mich dafür interviewt.

Hier der gesamte Beitrag:

(ich komme etwa ab Minute 46)

Der Teasertext:

Alan Turing, John von Neumann und Konrad Zuse: die Erfindung des Computers, wird meist als eine Geschichte großer Männer dargestellt. Dass auch Frauen an der Entwicklung der ersten speicherprogrammierbaren Rechenmaschinen beteiligt waren, wird gern übersehen. Eine Ausnahme bildet die Englische Adelige Ada Lovelace. Im 19. Jahrhundert arbeitet sie gemeinsam mit dem Mathematiker Charles Babbage an einer mechanischen Rechenmaschine.

Sie wird deshalb gerne als erste Programmiererin bezeichnet, bevor es überhaupt den Computer gab. In den 1940er Jahren befand sich die Entwicklung der ersten Programmiersprachen und der Software für die riesigen Rechenmaschinen häufig in Frauenhand. Das Programmieren galt damals als Nebensache, eine Tätigkeit in der mathematisch interessierte Frauen brillieren konnten. Mit zunehmender auch wirtschaftlicher Bedeutung der Computerprogrammierung, entwickelte sich das Coden jedoch zur gut bezahlten Männerarbeit.

Die Tradition setzt sich bis heute fort. An Österreichs technischen Universitäten und Fachhochschulen studieren kaum 20 Prozent Frauen Informatik. Der von Zahlen besessene Hacker und technikaffine Nerd ist in unserer Gesellschaft beinahe per Definition ein Mann. Wieso entscheiden sich so wenig Frauen für einen technischen Beruf? Welche Konsequenzen hat der Gender Gap in der Informatik? Und wie lässt sich der Frauenanteil erhöhen?








Follow

Bekomme jeden neuen Artikel in deinen Posteingang.

%d Bloggern gefällt das: