July 3, 2008 by jerome
With Wordpress 2.5 came a new way of handling files upload: the image gallery. Very neat and simple to use. One single issue made it so far a pain in the bum for me: for some reason, some times, it was impossible to use the button ‘Insert into Post’.
Firebug was indicating that the AJAX call was left with no answer - it is apparently related with server configuration - this happen all the time and it’s a real problem when developing on a shared hosting machine; I had these issues on a shared hosted account at IX web hosting and I still have to test on a DreamHost account to see if it solves this issue there too.
I finally found out a solution for my WP 2.5.1 installation:
Thanks to Otto42 on the WP forum, after following the whole discussion - i had to edit my .htaccess and add the following lines.
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>
The ‘.htaccess’ file provides additional configuration instruction to the Apache server, specific for the files accessed in the same directory where it is located - in this case it should be the root directory of your WP installation, if you have no .htaccess file you can just create one and call it this way, with the dot in front of the name: it means the file will be hidden using http, but you still can see it trough ftp - when downloading this file, if your are on a Mac OS X, the file will not be listed in the directory, but it still is there, it is just hidden.
* Please note that disabling mod_security apparently opens wide door to comment and referrer spam, and possibly nastier attack of other forms.
Tags: gallery, image, insert, upload, wordpress | Comments (0)
April 3, 2008 by pierre
Jérôme did a nice use of the pilcrow sign in the Disclosures programme, we were discussing this with him and Martine a few days ago before going to the opening of the exhibition.

Being an amateur unicode explorer I was familiar with the wikipedia entry on sir U+00B6. Recently Jonathan Hoefler wrote an article* that very nicely updated what I knew about it. One of the thing I did not know was that it came from a “c” and not a “p”, this prompted us to the word “caragraphs”, the new official terms in lingonest for those block of text that sometime cannot afford white lines to separate them.

* being a perverse automator, I particularly like Jonathan Hoefler “8 fundamental questions that inform the space of the pilcrow” and the corresponding 768 possible outcomes at the end of the entry.
Tags: design, disclosures, pilcrow, typography | Comments (0)
March 26, 2008 by jerome
Since a few days I had quite some troubles to get my emails right… they were were all mixed up: when clicking on an email of Damien for some quick modifications on a project we did recently, I was accessing an email, from my mother, which I received just after. Not a really practical situation to read and answer emails.
My first fear was a corruption on the IMAP server, but Mail.app on other computers were syncing email header, title and email content correctly so it was not a server side issue. There was definitely a corruption in the SQLite file on my local Mail.app and I was wondering about radical best practice to get things back to normal, like un-installing/cleaning/installing the mail folders. I’ve read a few articles about how to flush the SQLite database.
Mail.app extensively use SQLite to store emails, it is a C library that implements a self-contained, embeddable, zero-configuration SQL database engine, it is driven toward fast performance and embed-ability in local application.
Finally, thinking there was a simpler solution (because there is always a simpler solution) I stumbled upon the Rebuild item inside the Mailbox menu. If it is greyed, it might be because you did not select a Mailbox first. Upon selection, Rebuild will re-fetch the emails headers, and re do the caching - this can take some time before it’s completed.

And Shazam!
All emails are back with their correct header/title/content …
Tags: email, header, issue, mail, osx, repair | Comments (0)
March 23, 2008 by pierre
Some parts are dreamhost centric.
Is it down just for me:
1/ ssh to another machine and: $ ping thedomain.com
2/ http://downforeveryoneorjustme.com/
Dreamhost status:
1/ http://www.dreamhoststatus.com/
2/ schedule tests
DNS status:
$ whois thedomain.com (check that the name servers are ns1.dreahmost.com, ns2.dreahmost.com, ns3.dreahmost.com)
$ host thedomain.com
$ dig thedomain.com
$ traceroute thedomain.com
Tags: down, hosting, issue, server, website | Comments (0)
March 17, 2008 by jerome
VI
Use Terminal’s vi as default text editor http://www.macosxhints.com/article.php?story=20080305012955463
DTerm
DTerm offers a command line anywhere and everywhere http://www.decimus.net/dterm.php
SIMBL
Smart InputManager Bundle Loader Problem: Some applications do about 90% of what I want. Solution: Develop my own applications. Better Solution: Patch the application myself…
http://www.culater.net/software/SIMBL/SIMBL.php
Visor
Visor provides a systemwide terminal window accessible via a hotkey, much like the consoles found in games such as Quake.
http://code.google.com/p/blacktree-visor/
Tags: cli, custom, osx, terminal, tool | Comments (0)
March 12, 2008 by jerome
The Man Watching
by Rainer Maria Rilke
I can tell by the way the trees beat, after
so many dull days, on my worried windowpanes
that a storm is coming,
and I hear the far-off fields say things
I can’t bear without a friend,
I can’t love without a sister
The storm, the shifter of shapes, drives on
across the woods and across time,
and the world looks as if it had no age:
the landscape like a line in the psalm book,
is seriousness and weight and eternity.
What we choose to fight is so tiny!
What fights us is so great!
If only we would let ourselves be dominated
as things do by some immense storm,
we would become strong too, and not need names.
When we win it’s with small things,
and the triumph itself makes us small.
What is extraordinary and eternal
does not want to be bent by us.
I mean the Angel who appeared
to the wrestlers of the Old Testament:
when the wrestler’s sinews
grew long like metal strings,
he felt them under his fingers
like chords of deep music.
Whoever was beaten by this Angel
(who often simply declined the fight)
went away proud and strengthened
and great from that harsh hand,
that kneaded him as if to change his shape.
Winning does not tempt that man.
This is how he grows: by being defeated, decisively,
by constantly greater beings.
Found on http://www.cdra.org.za/creativity/Rainer%20Maria%20Rilke%20-%20The%20Man%20Watching.htm
Via http://radar.oreilly.com/archives/2008/03/why-i-love-hackers.html
More on Rilke: http://en.wikipedia.org/wiki/Rainer_Maria_Rilke
Comments (0)
March 9, 2008 by jerome
to keep my nerves in functioning order; I have to make sure that the Option click to position cursor tick box is checked it’s incredibly useful when the command line starts to be a bit long

Tags: cli, osx, terminal | Comments (0)
March 3, 2008 by pierre
Description : http://nodebox.net/code/index.php/Prism
Code: http://nodebox.net/code/index.php/Colors
“The colors algorithm matches a color palette to any given subject. [...] Prism has no fixed database of words linked to colors, but rather uses the internet as its data mine. It builds on Google (using the NodeBox code package with the same name) and regards the internet as an infinite database of fuzzy and subjective knowledge, filled with information that is very hard to grasp for any computer algorithm. Prism doesn’t actually understand what it’s doing when it cross- indexes green to apple on the internet - again, these are just words. Rather, it puts its trust in the collective effort of millions of people around the world all filling the internet with data. It is my assumption that any large or infinite system of data tends to evolve to natural order and entropy. Bluntly stated: there will likely be more webpage texts on the internet that contain the words green and apple close together, than there will be webpages with the words pink and apple close together. Therefore, humans most likely think of apples being green. Therefore, Prism assumes that apples must be green. [...] A second problem Prism tackles is the question of exactly what shade of a color to apply. There is dark green, and there is light green. For this, Prism has a language to HSB library called Shades that matches formal parameters like dark and bright to hue/ saturation/brightness color values.”
By the creators of NodeBox, Tom De Smedt and Frederik De Bleser
Comments (0)
February 29, 2008 by jerome
http://omeka.org/
Omeka is a web platform for publishing collections and exhibitions online. Designed for cultural institutions, enthusiasts, and educators, Omeka is easy to install and modify and facilitates community-building around collections and exhibits. Omeka is free and open source.
http://proboscis.org.uk/
Proboscis | SoMa: social matrices | a creative studio and think tank for culture.
Proboscis is an artist-led studio which combines artistic practice with commissioning, curatorial projects, design and consultancy. Collaboration is at the core of our creative practice and ethic: Proboscis works across disciplines and practices, working with associate artists, writers, curators, critics, designers, technologists, filmmakers, scientists and theorists to explore social, cultural and creative issues.
“je parle à mon blog….” pierre
Comments (0)