Decoded – conference for code and design 2010

September 2nd, 2010

And here’s another upcoming event you might not wanna miss:

decoded – conference fo code and design
23. October 2010
Freiheizhalle, Munich

Die decoded conference steht für eine Verbindung von Design und Code. Sie verknüpft gestalterische und technologische Aspekte des digitalen Lebens und führt diese in einem Event zusammen.Sprecher aus den Bereichen generative Gestaltung, Informationsvisualisierung, Gaming, interaktive Installationen bis hin zu Physical Computing lüften für euch den Vorhang und geben tiefe Einblicke in ihre Arbeiten und deren Entstehungsgeschichten.

If you hurry, you’ll might still get an early bird ticket!


Nerd Nite – 8. September 2010

September 2nd, 2010

Next Nerd Nite is on 08. September 2010 at Puerto Giesing, Munich starting at 19:30.
(You might wanna be there on time to get a seat and have time to line up for a beer…)

Die Themen und Vorträge:

Martin Wunderlich: Was nicht passt, wird passend gemacht – die englische Barockdichtung der Metaphysical Poets

Alexander Föhl: Die Isar-Renaturierung – Freizeitwert und Hochwasserschutz

Ulrich Mannes: Wie sich Sigi Rothemund das Pseudonym Siggi Götz zulegte und zum Paten einer Kinozeitschrift wurde. ­Ein kurzer Abriss über das deutsche (Sex-)Genre-Kino der 70er Jahre, von “Alpenglühn im Dirndlrock” bis “Die Schönen Wilden Von Ibiza”.

Dazu Musik von MOC

Cya there!


Turn plastic into oil

August 24th, 2010

This movie requires Flash Player 9


Restore unpublished and deleted pages in Silverstripe

August 22nd, 2010

In order to restore unpublished and deleted pages in Silverstripe I found this post in the Silverstripe Forums. As you need to edit the SQL statement depending on your installation and Silverstripe version, here’s the statement for the Silverstripe 2.4 version using the URLSegment.

First, find the deleted entry:

SELECT * FROM SiteTree_versions WHERE URLSegment = "your-url-segment" ORDER BY ID DESC LIMIT 1;

Second, copy the entry into the SiteTree table (replace YOUR_ID with the SiteTree_versions.ID):

INSERT INTO SiteTree (ID, Version, ClassName, Created, LastEdited, URLSegment, Title, MenuTitle, Content, MetaTitle, MetaDescription, MetaKeywords, ExtraMeta, ShowInMenus, ShowInSearch, HomepageForDomain, ProvideComments, Sort, HasBrokenFile, HasBrokenLink, STATUS, ReportClass, CanViewType, CanEditType, ToDo, Priority, ParentID, Locale) SELECT RecordID, Version, ClassName, now(), now(), URLSegment, Title, MenuTitle, Content, MetaTitle, MetaDescription, MetaKeywords, ExtraMeta, ShowInMenus, ShowInSearch, HomepageForDomain, ProvideComments, Sort, HasBrokenFile, HasBrokenLink, STATUS, ReportClass, CanViewType, CanEditType, ToDo, Priority, ParentID, Locale FROM SiteTree_versions WHERE ID = YOUR_ID;

If the deleted page has subpages, get a list of all subpage IDs and repeat the above step (replace YOUR_ID with the parent’s SiteTree_versions.RecordID):

SELECT a.* FROM SiteTree_versions a WHERE a.ParentID = YOUR_ID AND a.Version = (SELECT max(b.Version) FROM SiteTree_versions b WHERE b.RecordID = a.RecordID);

If the deleted page is a custom page (i.e. Product extends Page) and has some extra fields in it you’ll need to copy that too into the required table (Rreplace YOUR_ID with the SiteTree_Versions.ID):

INSERT INTO Product (ID, Name, Description) SELECT RecordID, Name, Description FROM Product_versions WHERE ID = (SELECT max(ID) FROM Product_versions WHERE RecordID = (SELECT RecordID FROM SiteTree_versions WHERE ID = YOUR_ID));

Nerd Nite

August 20th, 2010

Nerd Nite is an informal gathering at which nerds get together for nerdery of all sorts (well, mostly presentations and drinking). Nerds and non-nerds alike gather to meet, drink and learn something new. Born in Boston and fostered in New York, Nerd Nite has spread to Austin, TX, Munich, Germany, Washington DC and has just reached Chicago, Wellington, and San Francisco!

Was there last week and I can say it’s fun… definitely going to be there next time!