Mrz 2 2010

Play around with fuzzy concepts

Christoph

/**
 * I generally like to play around with fuzzy concepts and
 * see where they take me. I could, of course, sit down,
 * smoke a lot (later edit: I stopped smoking altogether –
 * feel great) and just think abstract concepts, but often
 * it is more interesting to just start banging some light
 * prototypes, after a few ideas and/or beers. English is
 * my thrid language – code is first and romanian second :)
 */

Source: Direct link to the source code
Software: razpub
Programming language: Java

1 Star2 Stars3 Stars4 Stars5 Stars (3 Bewertungen, Durchschnitt: 3.00 von 5)
Loading ... Loading ...

Aug 14 2009

I am a f*cking genius

Christoph

 /**
  * Checks if something is on the line. If it appears to be,
  * then it subdivides the curve into halves and tries again
  * recursively until the flatness of the curve is less than
  * the fudge.
  * Frankly, I am a f*cking genius. I am one of two people in
  * this department that could have possibly thought of this.
  */

Quelle: Direktlink zum Source Code
Package / Software: JFLAP
Programmiersprache: Java

1 Star2 Stars3 Stars4 Stars5 Stars (5 Bewertungen, Durchschnitt: 4.40 von 5)
Loading ... Loading ...

Aug 10 2009

Yelling outside my window?

Christoph

/************************************************************
*TODO Who the f*ck is yelling outside my window?
*If you click and make a new sound about 1000 times, or so,
*you get an out of memory error and it f*cks to SH*T God damn
*those b*tches outside are loud motherf*ckers, sounds like
*people fighting F*ck, anyway, it’s about 600K per new sound.
*stopping the sound adds sh*t too. F*ck. I tried setting the
*thread to null after it was killed hoping garbage collection
*would fix sh*t, but no, f*cked it up worse of course. All I
*changed was oldx=0 (so you can go from a 440 tone to a
*439 tone in 1 click) and pulled that same line out of the if
*and else. What the f*ck is up with sh*t I see like y-55-15.
*f*cking y-70. wtf. There seems to be sh*t with converting
*sh*t to long before division, then casting the result as an
*int. it’s done automatically, you just need one long cast
*for the f*ck, I’ll fix it and note it up there
************************************************************/

Quelle: Direktlink zum Source Code
Package / Software: JMusicMaker
Programmiersprache: Java

1 Star2 Stars3 Stars4 Stars5 Stars (3 Bewertungen, Durchschnitt: 4.33 von 5)
Loading ... Loading ...

Aug 6 2009

Fail if you do

Christoph

/*
 * Unfortunately it looks like we’re f*cked either way: some
 * scripts fail if you don’t propagate the query string, some
 * fail if you do… God, don’t you just love it when people
 * can’t read a spec? Anway, since we can’t get it right for
 * all scripts we opt to follow the spec.
 */

Quelle: Direktlink zum Source Code
Package / Software: HTTPClient
Programmiersprache: Java

1 Star2 Stars3 Stars4 Stars5 Stars (3 Bewertungen, Durchschnitt: 4.33 von 5)
Loading ... Loading ...

Aug 3 2009

Really in trouble

Christoph

// Now we are really in trouble.
// very bad, definitely very bad…not going to get very far

Quelle: Direktlink zum Source Code
Package / Software: OpenJDK
Programmiersprache: Java

1 Star2 Stars3 Stars4 Stars5 Stars (4 Bewertungen, Durchschnitt: 4.00 von 5)
Loading ... Loading ...