All posts tagged with 'Tipps'

Disable Ruby On Rails Sessions

20-Nov-07

Just a reminder to myself, but maybe it’s usefull for others as well. Some days ago i stumpled upon the fact, that one can turn off session support in controllers in rails: HowtoChangeSessionOptions (see Disabling Sessions) or HowtoPerActionSessionOptions. I found it particularly useful and convenient for my Feed controller, which is dedicated entirely to feed […]

Read the complete article »

Java: Creating a Stream on a ByteBuffer

18-Oct-07

This example is plain wrong. The InputStream will cause an endless loop as it always returns a value >= 0. Working code as follows: private static InputStream _newInputStream(final ByteBuffer buf) { return new InputStream() { public synchronized int read() throws IOException { return buf.hasRemaining() ? buf.get() : -1; }   public synchronized int read(byte[] bytes, […]

Read the complete article »

A muzzle for WordPress 2.3 and the Akismet Plugin

26-Sep-07

As reported here and elsewhere, Dexter is somewhat talkative. I recommend the following 2 steps program: Stop sending your url If you already have used WordPress 2.3, use the 123 Anonymer Versionscheck 0.10. It will anonymize your data, but a minimum of 1 request with personal data will happen, that is while using the plugin […]

Read the complete article »

WordPress uptodate checker

Yesterday i’ve installed WordPress 2.3 without too much problems. The new uptodate check for plugins is nice, out of question, but already yesterday i thought: hm, everybody is whining about Microsoft products phoning home, nobody gives a shit about wordpress doing the same. The Nighwatchman has an in depth analysis about the data transferred to […]

Read the complete article »

Upgrading to WordPress 2.3 “Dexter”

25-Sep-07

In the first place, i wanted to wait to here some more news about the latest release of WordPress, called “Dexter” (I don’t think about some saxophonist, but about Dexter Morgan). But, as you know, curiosity killed the cat, i couldn’t wait and with the announcement yesterday, i created a patch file (they forgot the […]

Read the complete article »