Hoosgot

Send your wishes and desires out into the ether.

Hoosgot header image 1

Perl regex help

Noticed at 9:20 November 28th, 2008

http://www.earth.li/~noodles/blog/2008/11/perl-regex-help.html asks Hoosgot,

Dear Lazyweb, please put me out of my misery. I have a string that looks something like: a b c foo {0 1 2} fred {3 4 5} {{5 4 3} {2 1 0}} quux I want to output: a b c foo {0 1 2} fred {3 4 5} {{5 4 3} {2 1 0}} quux (actually I want each line to be an array element, but that’s obviously easy) Can I do this with a Perl regex? Originally I thought I was going to have to walk the string like I would in C, but some playing around (and local help) got me to: my $match = qr/(?:\s* +\s*|\{(?R)\})/; while ($cur =~ m/($match)\s+(.*)/o) { print $1, “\n”; $cur =

Visit the blog to lend your wisdom, or you can comment below.

→ You can comment here

Memory on the iPhone

Noticed at 23:27 November 27th, 2008

http://vafer.org/blog/20081128082605 asks Hoosgot,

Now here is the question: How much memory does the iPhone have? How much memory is OK for applications to use? Curious as I am I did some research and wrote a little test project. This got me some odd results. According to what you find on the net the iPhone has a total memory size of 128 MB and your application should not use more than 46MB of it. But what happens exactly when you try to obtain more? So I wrote a little application that continuously allocates more and more memory. In fact it mallocs/frees the memory on every timer tick. Now this is where it gets odd. While the sysctl() calls do report something around 128MB of

Visit the blog to lend your wisdom, or you can comment below.

→ You can comment here

7 éditeurs riches au banc d’essai

Noticed at 5:27 November 27th, 2008

http://t37.net/7-editeurs-riches-au-banc-dessai asks Hoosgot,

Mon article Recherche éditeur HTML désespérément a été visiblement mal compris, sauf peut-être de Xavier Borderie, et notamment la spécification non visuel. À croire que a) mes lecteurs ne savent pas lire, b) mon français n’est plus compréhensible par le génération skyrock, c) mes lecteurs ne lisent que les titres et se foutent du contenu, d) la réponse d. Quoi qu’il en soit, mon appel au lazyweb n’aura été vain, puisqu’il m’a permis de découvrir un grand nombre d’éditeurs riche qu’il aurait été dommage de ne pas regrouper dans un billet, d’abord pour la ressource, ensuite pour le linkbait. Parce qu’il faut toujours dire ce que l’on pense, surtout si on a la réputation d’être retors. 1. TinyMCE TinyMCE est

Visit the blog to lend your wisdom, or you can comment below.

→ You can comment here

Recherche éditeur HTML désespérément

Noticed at 1:14 November 25th, 2008

http://t37.net/recherche-editeur-html-desesperement asks Hoosgot,

Cher lazyweb, tu me trouves aujourd’hui dans une situation grave, si ce n’est désespérée. Je suis à la recherche d’un éditeur HTML simple, non visuel, comme celui que l’on trouve par exemple sur Wordpress. Je le voudrais très léger, facilement extensible, et si possible bien documenté. Évidemment, les choses seraient plus simple s’il n’y avait pas un piège dans ma demande. Il faut impérativement que cet éditeur soit placé sous licence BSD ou MIT, mais SURTOUT pas sous (cette saloperie virale de) GPL. Voilà, si vous avez des idées, je suis preneur, sinon, je sens que je vais être obligé de le coder moi-même, et cette idée ne m’enchante pas vraiment. Article original écrit par Frédéric de Villamil et publié

Visit the blog to lend your wisdom, or you can comment below.

→ You can comment here

“They are opening a channel. We think that …

Noticed at 15:15 November 24th, 2008

http://steph.tumblr.com/post/61201997 asks Hoosgot,

“They are opening a channel. We think that one person’s voice might be lost. But there are great social networking tools that could be used to aggregate voices, amplifying the signal even before it gets to change.gov. But if we don’t direct the messages there, it’s less likely to be heard. (Lazyweb call: a hashtag service on twitter that ag

Visit the blog to lend your wisdom, or you can comment below.

→ You can comment here

How on earth do I add OpenID to …

Noticed at 23:46 November 23rd, 2008

http://blogs.cetis.ac.uk/sam/2008/11/24/how-on-earth-do-i-extend-an-ldap-schema/ asks Hoosgot,

How on earth do I add OpenID to my LDAP schema November 24th, 2008 Okay - this is bugging me. The scenario is as follows: I have an OpenLDAP directory with several hundred users in it. For the records I’m using the normal inetorgperson schema. I want to add an openid attribute for my users (in a responsible and proper way) so that I can associate users with multiple arbitrary external OpenID providers. All I’ve managed to find on the net about this was a blog at oracle discussing how this is an issue and how it would be a really good idea to do something about it. I’m all at sea - how on earth am I supposed to do

Visit the blog to lend your wisdom, or you can comment below.

→ 1 Comment

GET YOUR LAZYWEB ON : A CRM better …

Noticed at 11:39 November 22nd, 2008

http://culturekitchen.com/liza/blog/get_your_lazyweb_on_a_crm_better_than_civicrm_and_ asks Hoosgot,

GET YOUR LAZYWEB ON : A CRM better than civiCRM and as usable as Highrise? I am in a bit of bind here, so please Lazyweb, heed my call. I have more than 5K contacts that I need to organize and map in either discussion groups and/or newsletter mailing lists. The one program that has most of the features I want is civiCRM, but I am so frustrated with how difficult it is to install and it’s clunky interface that I am all but ready to give up on it. What I want is basically Highrise with the ability to make mailing lists and email newsletters or set up discussion groups. Heck, I’ll settle for the mass-email feature as long as

Visit the blog to lend your wisdom, or you can comment below.

→ You can comment here

Bugmail Extension for Thunderbird

Noticed at 3:36 November 22nd, 2008

http://weblogs.mozillazine.org/gerv/archives/2008/11/bugmail_extension_for_thunderbird_1.html asks Hoosgot,

The lazyweb works! You can now get the experimental Bugmail Extension for Thunderbird. Many thanks to Fabrice Desré. I’ve just installed it and it does exactly what I want.

Visit the blog to lend your wisdom, or you can comment below.

→ You can comment here

Help me pick a new feed reader

Noticed at 11:33 November 21st, 2008

http://www.protocolostomy.com/2008/11/21/help-me-pick-a-new-feed-reader/ asks Hoosgot,

I’ve been using Google Reader since it was created. I really love the *idea* of Google Reader. I like that scrolling through the posts marks them as read. I like that you can toggle between list and expanded views of the posts. I like that you can search within a feed or across all feeds (though selecting multiple specific feeds would be great). All of that said, I’d like to explore other avenues, because I don’t like that there’s, like, zero flexibility in how the Google Reader interface is configured. My problem starts with large fonts… I use relatively large fonts. If you increase the font twice up from the default size in firefox on a mac (using the cmd-+

Visit the blog to lend your wisdom, or you can comment below.

→ You can comment here

Mindennapi rúnák

Noticed at 5:48 November 21st, 2008

http://bergengocia.net/2008/11/708.htm asks Hoosgot,

Mottó: Speak ‘friend’ and enter Tomcat, született Polgár Tamás, a IX. kerületi időközi választáson a Zöld Párt jelöltjeként indul. Eddig a hír, elég sok plakát jön mostanában szembe velem ezzel kapcsolatban. Az Astoria környékén viszont már egy egész plakátot se találni: Beza, rovásírásos firka. Azoknak, akikne

Visit the blog to lend your wisdom, or you can comment below.

→ You can comment here