Author Archive

Make the Track-list & win special DixonBaxi Poster from Offf 2010

Hello Everyone ! It was an exiting Summer and I’m really really happy to had the chance to make you dance ! That’s why I have this extra gift for you.

Write down the Track-list for the electro mix and win a special DixonBaxi Poster from Offf 2010.

Just comment your Track-list and don’t forget to enter your email or website. The winner will be chosen in October ! Good Luck ! The winner will be chosen in October ! Good Luck !

silentium

Silentium

 

http://privatefunction.net/wp-content/plugins/sociofluid/images/digg_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/delicious_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/technorati_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/google_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/facebook_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/mixx_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/twitter_32.png

Oracle NLS_LANG & JDBC probs

Some friends were facing character encoding problems on an oracle db.
Well the origin of this problem is that when you install an oracle,
in this case it was a 9i, the NLS_LANG param (if not defined) is set to
AMERICAN_AMERICA.US7ASCII. The language is AMERICAN,
the country is AMERICA, and the character set is US7ASCII.
This is really a problem if you live in Germany and you want to
work with german charachters & CLOB :)

The best way to avoid problems with the old JDBC they are using, is
to install the DB once again with an UTF8/16. But this is not possible.
There are also some other dependencies for these guys so the best way
for their workflow ist to do an exp, drop the user and imp again. Than
connect with the SQLDeveloper and recheck the CLOB.

 sql |  copy |? 
01
02
exp scott/tiger filename=mydump.dmp
03
 
04
sqlplus scott/tiger
05
	DROP USER scott CASCADE;
06
	CREATE USER scott IDENTIFIED BY tiger;
07
	GRANT CONNECT,RESOURCE,UNLIMITED TABLESPACE TO scott IDENTIFIED BY tiger;
08
 
09
imp scott/tiger filename=mydump.dmp
10

than sqldeveloper But please use SQL Developer with causion ! It sucks.

http://privatefunction.net/wp-content/plugins/sociofluid/images/digg_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/delicious_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/technorati_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/google_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/facebook_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/mixx_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/twitter_32.png

Synchronize – pull using rsync

Yesterday a guy was claiming that he had to copy all counterstrike source files from one server to another. He was telling that this takes a lot of time because he had to sftp to desktop and than upload to server.
Well rsync can do this much quicker and better. I wrote a few years ago this little script called my_syncmokey.

 shell script |  copy |? 
01
02
#!/bin/bash
03
echo "***************************************************************"
04
echo "*                                                             *"
05
echo "*                    - Your Sync Monkey started -             *"
06
echo "***************************************************************"
07
echo
08
echo
09
10
#Logfile
11
LOGFILE="PATH/TO/YOUR/LOG.log".`date '+%Y%m%d_%H%M%S'`
12
13
#config
14
SERVER="IP FROM THE SERVER YOU WANT TO PULL"
15
REMOTEDIR="/PATH/TO/THE/REMOTE/FOLDER"
16
LOCALDIR="/PATH/TO/THE/LOCAL/FOLDER "
17
SSH="/usr/bin/ssh"
18
19
#output
20
echo >> $LOGFILE;
21
echo "- Sync Monkey started -" >> $LOGFILE;
22
echo >> $LOGFILE;
23
echo "Timestamp: " `date '+%Y%m%d %H%M%S'` >> $LOGFILE;
24
echo >> $LOGFILE;
25
echo >> $LOGFILE;
26
echo "command: rsync -av --links --rsh=$SSH $SERVER:$REMOTEDIR $LOCALDIR " >> $LOGFILE;
27
echo >> $LOGFILE;
28
29
#sync and write to logfile
30
rsync -av --links --rsh=$SSH $SERVER:$REMOTEDIR $LOCALDIR >> $LOGFILE;
31
32
#print output
33
cat $LOGFILE | while read line
34
do
35
echo $line
36
done
37
38

http://privatefunction.net/wp-content/plugins/sociofluid/images/digg_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/delicious_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/technorati_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/google_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/facebook_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/mixx_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/twitter_32.png

Du alter buzzword Abzocker !

Du alter buzzword Abzocker !
Was zur Hölle ist „Digital Communication & Innovation“ ???

Ich werde mal einen kurzen Abriss geben was das ist und was man da so tut. Die meisten kennen mich als Developer, ich selbst habe mich nie als Entwickler gesehen. Obwohl was sich alles Heut zu Tage Entwickler nennt… na ja das ist ein anderes Thema.

Lasst uns zu erst auf einen simplen Workflow schauen.
Ein Kunde kommt mit Business Anforderungen nun gilt es „Kreativ Kapital“ zu generieren. Hier werden meist schon Fehler gemacht. Aufgrund, das Agenturen meist hierfür zuständig sind, bewege ich mich auch in diesem Umfeld.  Hier findet man oft die Gattung „Konzepter“. Oft schaut dieser rüber und sagt „lass uns was mit video & 3d machen“ nun ja ich will nicht unfair sein, diesen Satz habe ich auch schon oft von einen Designer gehört.
Das ist der Punkt wo ich schon weis, das nur Pfosten um mich herum sitzen.
Technologien werden nie die Idee ersetzen können. Ich will euch ein Beispiel geben.
Ich habe dieses Video vor Kurzem auf youtube gesehen:

Hier kann man gezielt Audiowellen auf eine Person richten. Natürlich kommt der drang damit was zu machen. Man könnte natürlich im POS (Point of Sale) etwas damit anstellen. Beispielsweise jmd. tracken  und gezielt ansprechen.
Auch wenn die Idee dahinter mau ist, wird man mit solch einer Aktion viel buzz und Anerkennung in der Branche finden, weil man eine Technologie als erster genutzt hat. Wahrscheinlich wird es dafür auch Awards geben…..

Doch eigentlich ist das der falsche Weg!
Ein Projekt sollte immer mit einer Idee starten. Eine Vision, etwas magisches, großartiges, was schwer zu definieren ist. Man kann die Details noch nicht greifen aber das Gefühl für die Sache entwickelt sich und treibt einen voran. Das ist GOLD!
Als nächstes greift der Kreativ Prozess nun gilt es mit Hirn an das Projekt ranzugehen. Erst jetzt sollte  man Technologien einbeziehen. Hier ist es auch wichtig über Interaktion nachzudenken. Viele gute Ideen verwässern aufgrund mangelnder Interaktion. Auch die Liebe zum Detail ist ein wichtiger Punkt. Nun wo wir eine grobe Vorstellung haben kann man eine Technologie, die perfekt zur Idee passt vorschlagen. Diese Technologie kann was klassisches sein aber auch was völlig Innovatives.
Letztes kann jedoch zu Problemen im späteren Projekt Ablauf führen. Neue Technologien sind riskant oft ist es auch schwierig jmd. zu finden, der dies umsetzt. Deshalb führe ich persönlich Experimente, die mir helfen Aufwand, Leistung und mögliche Probleme abzuschätzen. Dies hilft auch später bei der Umsetzung wenn man den typischen Satz hört: „geht nicht“.

Wie schon vorher erwähnt, dies ist nur ein grober Abriss oft ist es leider wesentlich komplexer auch wenn Komplexität meist zu extremer Verwässerung führt. 

http://privatefunction.net/wp-content/plugins/sociofluid/images/digg_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/delicious_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/technorati_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/google_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/facebook_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/mixx_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/twitter_32.png

Serious Opinion – Flash, Apple & change

Last weekend I had to answer many questions about Mr. Jobs "Thoughts on Flash".
“What is your serious opinion?”
This thought are something I want to share with you. First I find Mr. Jobs words hypocritical for many reasons. Just to make it short:

“Adopting technologies quickly”
Apple just shipped a year ago the finder in cocoa and other programs are still running on carbon e.g. Final Cut. Dear Apple why did this take so long?
Itunes on Windows is crap. Why does apple not take advantage of the new features of Windows? Apple changed iPhone SDK Agreement so that applications should take advantage of Iphone OS so why they don’t take advantage of new Windows?

“open”
I think all this open bla bla should mask that H.264 is not open! Microsoft & Apple, both members of MPEG-LA, are going to make money with this video codec because it is proprietary and patented. So in Apple’s eyes if the specification of software is free than we can call this open standard? Fine, than Flash is an open standard too.
However, Apple sucks – this is something I was saying for years now. I did not make many friends with this statement at last Adobe MAX. Now I’m looking forward to meet those people and I’m curious if they are still so proud of using MAC Book Pro.

But what is the essence of this discussion?

A few years ago everyone was claiming that software inside the browser is the next BIG THING e.g. Gmail. Now I have the feeling the trend is going more and more towards apps. People are starting to use Apps for things, which could run inside the browser.Not only because of new ways of interaction e.g. Multitouch…

This shows that something is wrong with the web and with content that runs inside the browser. It doesn’t matter if HTML or Flash. And we should keep in mind that apps are not “open”.
I think the Web is loosing sexiness, web apps like Gmail etc. are far away to offer features like mobile/desktop apps do. (Non web apps are also often much faster).
This leak of features is something that the Browser must close. Mozilla and Chrome are on the right way. They must give Developer the option to do more than only W3C “adaption”. But I also know this is not simple…..

I met yesterday a good friend who has a c level position. And he asked me if I would still recommend developing an API for their business. Sure you should! Because it give’s you the option to deliver your content anywhere (Apps or Web) and to track it.  This flexibility is something important for your business……..

What about Flash?

Flash has currently around 98% penetration thus it is not dead! Also HTML5 Browser propagation is poor at the moment. (I still have lots of customers & their consumers that use IE6) I don’t know currently when Google will roll-out VP8 on Youtube. This could change the game. Honestly, I never liked Flash. Not because of its technology. I don’t like flash because it’s mostly misused.

http://privatefunction.net/wp-content/plugins/sociofluid/images/digg_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/delicious_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/technorati_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/google_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/facebook_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/mixx_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/twitter_32.png

Experiment HTML5 Particles and Audio Data API Spectrum

HTML 5 Experiment

I had a few days ago a couple of minutes and I wanted to take a look into three.js.
I had the idea to use Audio Data API to get the sound spectrum of a song and combine this with three.js particles.
Just for an experiment…

As I needed a song that I could use without get fucked by those labels/artists I started a CC search and found Galdson’s Denilio – awesome.

A few minutes later the Experiment was ready and started. And it was so beautiful in my Eyes! But my computer is really crappy so I couldn’t enjoy and my time was over too…

Yesterday I started the experiment and I was unhappy again because of performance issues. But this was the original purpose of the Experiment, get a feeling for performance…..

Anyway I hacked a quick FPS keeper and voilá.

I promised to share but first you will need a Mozilla with the Audio Data API you can get it here:

Linux:
firefox-3.7a1pre.en-US.linux-i686
Mac builds:
10.5
10.6
Windows:
firefox-3.7a1pre.en-US.win32
The Experiment is here
cheers

http://privatefunction.net/wp-content/plugins/sociofluid/images/digg_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/delicious_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/technorati_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/google_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/facebook_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/mixx_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/twitter_32.png

From back to front

Wow, now it’s April and this is the first post in 2010. So you can imagine how busy I’ve been the last months.

I also have to apologize!(special @FxDev) I’m really sorry – lot of amazing projects took a back seat. But it’s now changing like live changes.
I’m leaving my current job. I currently don’t know what’s coming but it’s going to be amazing! I also hope to improve live – work balance.

This means:

  • I’m accepting now Dj bookings again, so keep your ears open, new mixes will be available soon.
  • developing new visualizations
  • I’m going to start again posting here!! Not only Code – now also a lot of other stuff that I couldn’t talk about before.

I’m really looking forward – this will be fun – and I hope those Trolls will disappear step by step.

so keep eyes and ears open!

http://privatefunction.net/wp-content/plugins/sociofluid/images/digg_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/delicious_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/technorati_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/google_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/facebook_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/mixx_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/twitter_32.png

Special December Mix

silentium

Silentium

 

http://privatefunction.net/wp-content/plugins/sociofluid/images/digg_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/delicious_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/technorati_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/google_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/facebook_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/mixx_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/twitter_32.png

Palm Pre mit Vodafone und Daten Flat

update:
ich habe eben noch mal mit Vodafone telef. aufgrund, das die änderung in wap.vodafone.de

nur GPRS empfang ergab. Und das ist auch richtigt ! Siehe http://www.vodafone.de/konfig

aber GPRS suckt ja ordentlich. Für Umts braucht man einen Vodafone Daten Tarif was ich auch hab’

also sind keine Änderungen nötig !!! Die Änderung, die unten beschrieben wird gilt nur für den Vodafone Life! Tarif !!


Ich habe mir gestern das Pre besorgt, schick schick aber ich habe Vodafone mit Datenflat bedeutet,
das man eine kleine Einstellung beim Pre vornehmen muss um nicht in die Kostenfalle zu tappen.

Aber Achtung – bitte vorher bei Vodafone anrufen und sich nach dem eigenen Tarif erkundigen.
Aber Achtung – alle änderungen die nun folgen sind auf eigene Gefahr !!

Das mini Tutorial erfordert schon fortgeschrittene Kenntnisse ansonsten könnt’s eng werden.

1. Root
Einen guten howto für den Root Zugang habe ich hier gefunden Palm Pre Root Zugang also dann erstma “bis später …”

2. APN
man muss den richtigen APN Zugangspunkt eingeben dafür habe ihr jetzt ja auch den root zugang. Also
putty öffnen und in die console

  |  copy |? 
1
cp /usr/lib/luna/CarrierNetworkSettings.db3 /media/internal

damit habt ihr die Datei CarrierNetworkSettings.db3 in einem für euch zugängliches Verzeichnis kopiert.

Jetzt einfach über den usb Modus die Datei auf euren Rechner übertragen.
Die Datei ist eigentlich eine kleine Datenbank des Typs Sqlite. Dort befinden sich die APN Zugänge.

Achtung ! – Eine Sicherungskopie der CarrierNetworkSettings.db3 anlegen. Falls was schief geht …..

Jetzt müssen wir diese Datei editieren. Ich persönlich finde den sqlite-manager am Besten !! Plattform unabhängig und klein wie Sqlite. Also installieren.

Jetzt habt ihr im FF unter Extras den sqlite-manager damit mach ihr die CarrierNetworkSettings.db3 auf dort müsst ihr unter
com_palm_data_carriernetworksettings_DataConnectionSettings mal die suche öffnen und auf das Feld APN contains web
eingeben.
apn-sql-lite-palmpre-vodafone
dort das feld web.vodafone.de mit wap.vodafone.de ersetzen und fertig.

Zur Sicherheit könnt Ihr noch die Tabelle durchsuchen ob da noch irgendwo web steht. Dies sollte nicht der Fall sein.
Mir ist von Vodafone gesagt worden, das die Flatrate nur für den APN wep gilt. Sollte man über web gehen wird’s teuer !!
Hier könnt ihr aber auch noch mit der Hotline reden über mehr Info’s bin ich auch dankbar.
!! Bitte über den Quick check im vodafone Portal mal ständig den Rechnungsstatus checken !!

So jetzt müssen wir die CarrierNetworkSettings.db3 irgendwie wieder zurück schaufeln dafür nutze ich

WebOS Quick Install

Wenn WebOS Quick Install bei euch läuft müsst ihr nur auf Tools -> Sendfile gehen und die überarbeitete db3 in die Verzeichnisse

  |  copy |? 
1
/usr/lib/luna/ 
&
  |  copy |? 
1
/var/luna/data/
kopieren.

das wars’.

Schon 24h um und keine Kosten zu sehen.

http://privatefunction.net/wp-content/plugins/sociofluid/images/digg_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/delicious_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/technorati_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/google_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/facebook_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/mixx_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/twitter_32.png

Securimage PHP Captcha AS3 Class

about1

This CAPTCHA Class uses Securimage. You can get it here

Securimage is an open-source free PHP CAPTCHA script for generating complex images and CAPTCHA codes to protect forms from spam and abuse…

show.php

  |  copy |? 
1
2
include 'securimage.php';
3
$img = new securimage();
4
$img->show();
5

To load the created image, just write an URLLoader than a Loader, that loads the URLLoader data ….

Captcha.as

 as3 |  copy |? 
01
02
 public class Captcha extends Sprite
03
 {
04
 private var _loader:URLLoader;
05
 private var _captchadata:BitmapData;
06
 private var _captcha:Bitmap;
07
 private var _cont:Sprite;
08
09
 public function Captcha()
10
 {
11
 this._cont = new Sprite();
12
 this._cont.useHandCursor = true;
13
 this._cont.buttonMode = true;
14
15
 this._loader = new URLLoader();
16
 this._loader.dataFormat = URLLoaderDataFormat.BINARY;
17
 var url:String = "show.php";
18
 var urlReq:URLRequest = new URLRequest(url);
19
20
 this._loader.addEventListener(Event.COMPLETE, completeHandler);
21
 this._loader.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler);
22
 this._loader.load(new URLRequest(url));
23
 }
24
 private function ioErrorHandler(e:IOErrorEvent):void
25
 {
26
 //SOS.alert(_e.toString());
27
 }
28
 private function completeHandler(e:Event):void 
29
 {
30
 this._loader.removeEventListener(Event.COMPLETE, completeHandler);
31
 this._loader.removeEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler);
32
33
 var myLoader:Loader = new Loader();
34
 myLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, createCaptcha);
35
   
36
 var byteArr:ByteArray = new ByteArray();
37
 byteArr = this._loader.data;
38
39
 if(byteArr.length != 0) { myLoader.loadBytes(this._loader.data); } 
40
 else { /* SOS.alert("error"); */ }
41
 }
42
 private function createCaptcha(e:Event):void
43
 {
44
 this._captchadata = new BitmapData(175, 45, false, 0xFFFFFF); //sizes of secureimage.php ~ Line 89
45
 this._captchadata = (e.target.content).bitmapData;
46
47
 this._captcha = new Bitmap(this._captchadata, "auto", true);
48
 this._captcha.x = 920;
49
 this._captcha.y = 92;
50
 this._cont.addChild(this._captcha);
51
 this._cont.addEventListener(MouseEvent.MOUSE_DOWN , renew);
52
 this.addChildAt(this._cont,0);
53
 }
54
 private function renew(_me:MouseEvent):void
55
 {
56
 this._cont.removeChildAt(0);
57
 var url:String = "show.php?"+Math.random()*100;
58
 var urlReq:URLRequest = new URLRequest(url);
59
60
 this._loader.addEventListener(Event.COMPLETE, completeHandler);
61
 this._loader.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler);
62
 this._loader.load(new URLRequest(url));
63
64
 }
65
 }
66

I hard-coded some dimensions inside the class, and some other ugly things, so feel free to change for your needs.
But don’t forget to put the Math.random() after the URI to refresh the captcha, this can avoid caching issues.
You can see this class Working here. Click on the share Btn.

Sure, this class can be used to load nearly all types of binary image data ….

http://privatefunction.net/wp-content/plugins/sociofluid/images/digg_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/delicious_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/technorati_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/google_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/facebook_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/mixx_32.png http://privatefunction.net/wp-content/plugins/sociofluid/images/twitter_32.png
Return top

INFORMATION