This is dams's Typepad Profile.
Join Typepad and start following dams's activity
Join Now!
Already a member? Sign In
dams
Recent Activity
I moved my blog to this address : http://damien.krotkine.com Continue reading
Posted May 2, 2012 at The Player Of Games
Image
I haven't been blogging a lot this year-and-half, and for various reasons. But the reason number one is that I've been very busy writing a Perl book from scratch, in French, with 3 other fellow French Perl Mongers. The book is called Perl Moderne. That means "Modern Perl", but it has nothing to do with chromatic's book. The book was actually published long time ago, end October 2010. But it took us authors some time to recover :) This book is written in French, for French speaking readers. Its goal is to present the Perl 5 language as it exists... Continue reading
Posted Feb 16, 2011 at The Player Of Games
Image
Are you curious to see how to create a real app from scratch with Perl Dancer, using DBIX::Class ? Well, my Perl Dancer Advent Calendar article has been published saturday : http://advent.perldancer.org/2010/11 Enjoy ! Continue reading
Posted Dec 13, 2010 at The Player Of Games
Disqus is great. It's a full featured cross-site comments free management system. I have an account on it, so I wanted to use disqus instead of the typepad comments system. "Easy enough" I said to myself : there is a dedicated page to help you install Disqus in Typepad. This includes adding a new "Embed your own HTML" module in your blog content, and copy-pasting a Javacript snippet in it. Alas, the Javascript snippet didn't work fine. I suspect that the Typepad code has changed since the Disqus install documentation has been written. Maybe the Javascript code of Typepad tries... Continue reading
Posted Dec 7, 2010 at The Player Of Games
Perl Dancer should at least ring a bell to you : it's a popular Perl micro web framework. Route based, easy to use, simple clean design, with low dependancies, Dancer is gaining in popularity and maturity. Version 1.2 has been released ( see sawyer's announcement here ), and is described as the first stable community release. But that's not all ! Go check out the awesome Perl Dancer Advent Calendar. You'll learn all about Dancer, how to get started with it, what cool plugins are available, what are the nice tricks. Step by step, a new article will be revealed... Continue reading
Posted Dec 1, 2010 at The Player Of Games
After many tests on my side, I got confirmation from this page : it looks like ulimit doesn't work for memory limitation starting from Mac OS 10.5. That's a shame... perl -E 'use BSD::Resource; setrlimit(RLIMIT_VMEM, 2000, 2000); my $s; for my $i (1..50_000) { $s .= "A" x 1024 } say "damned, I should have been killed"' Continue reading
Posted Oct 6, 2010 at The Player Of Games
@Chris Dolan : Thanks for the very useful CAM::PDF ! indeed, the one liner you propose is all what it needs, but a help message and the options you originally put in appendpdf.pl are useful. BTW I proposed the script as new feature on CPAN. Not sure if you want it or not in the distribution.
Toggle Commented Jun 30, 2010 on Merge PDFs easily with Perl at The Player Of Games
@Leifbk : just rename the file to catpdf.pl if you want :) But the cat command by default outputs to STDOUT whereas the script outpus to a file (which can be STDOUT if you give it the special "-" name). Anyway that's why I called it mergepdf and not catpdf @rtheb : ah true, I could use ghostscript here, but it's just not installed on my mac right now @Jochen Hayek : I used to use PDFSAM, but as far as I know you have to use it from the Graphical interface, and I need to automate (script) the process. Or can you use it from the command line ?
Toggle Commented Jun 29, 2010 on Merge PDFs easily with Perl at The Player Of Games
Today Idiscovered an easy way to merge PDFs files using Perl. In my current project, I have to automatically generate a technical documentation from my perl modules PODs. It's easy to create one PDF file for each modules, but then I need to merge them all in one. The very easy to use CAM::PDF Perl module provides appendpdf.pl. However it can only merge 2 files together. I've copied and modified it for my need, and renamed it mergepdf.pl Download : mergepdf.pl Usage : appendpdf.pl [options] file1.pdf file2.pdf ... fileN.pdf outfile.pdf See the help for more options. Continue reading
Posted Jun 29, 2010 at The Player Of Games
@Walter : thanks for reposting. The issue with the "pre" tag is that in the Typepad editor, if you are in "rich text" mode, the Editor will escape the pre tags with lt; and gt; stuff... At least it does that for me ! Have you a better working editor ? I'd be interested to see what you get. About the "code" tag : indeed it doesn't look good in Internet Explorer. I'll try to fix it
@Walter : thanks for reposting. The issue with the pre tag is that in the Typepad editor, if you are in "rich text" mode, the Editor will escape the pre tags with lt; and gt; stuff... At least it does that for me ! Have you a better working editor ? I'd be interested to see what you get. About the "code" tag : indeed it doesn't look good in Internet Explorer. I'll try to fix it
dams is now following TypePad France
May 7, 2010
dams is now following The TypePad Beta Team
Mar 16, 2010
dams is now following The Typepad Team
Mar 16, 2010
Image
Code Snippets, Syntax Highlighting, Source examples, Verbatim text, etc...I'm sure I'm not the only one to need to display nice clean and compatible code snippets, source code examples, and similar stuff. I'm using Typepad as blog engine, but what I'll explain here should work with MovableType as well (as the former is a professional version of the open source latter one). First of all, the needs : I need a tool to display code snippets, examples, It has to be easy to use, It has to be nice It should have syntax highlighting and coloring It has to support Perl,... Continue reading
Posted Mar 15, 2010 at The Player Of Games
dams is now following miyagawa
Mar 5, 2010
I'm in the metro of Paris, testing Typepad : new beta account I just subscribed to new mobile version of the blog Iphone App automatic Twitter posting per category feeds Typepad is Based on Movable Type, the best blog system ouuta there. It's Perl based. It rocks. Continue reading
Posted Mar 5, 2010 at The Player Of Games
@Jeff Lavallee : You are right ! I should probably have mentioned that before expanding the explanation to adding a new Build.PL action. However in my particular need, I needed the command line to be as simple as it could be, as it had to be launched by other people, not familiar with Perl... Thats why I went on with adding a Build.PL rule
@ Graham TerMarsch : First of all, It worked well on Mac OS X. Then I saw that there were no PPM available for windows. Nevertheless, I tried to include TAP::Formatter::JUnit locally to my modules, in an include directory, and have that directory pushed to @INC somehow. It worked well on Mac OS X again (after uninstalling the system version of T::F::JUnit), but I didnt manage to make it work on windows... It complained with Cant load T::H::JUnit (useing the module worked however). Instead of spending more time in what was becoming darker and darker hacking, I tried the other solution, which worked, and I kinda liked the idea of having an additional action for Module::Build dams
@ Michael Peters : The main reason for not using Smolder, is that I didn't have choice about installing and using Hudson :) It was already there, and part of the job was to plug my tests to it, not come with a different continuous integration platform. The other reason may be that I didn't know much about Smolder. I think it would benefit from some kind of public homepage and better introduction, if you want to advertise it. Nevertheless I'll try to give it a go for my personal knowledge :)
Image
Configure your Perl module to output tests to Hudson Continue reading
Posted Nov 25, 2009 at The Player Of Games
11
After few months of delay, Curses::Toolkit is now available on CPAN. Curses::Toolkit tries to be a modern toolkit to implement semi-graphical interfaces using Curses. It's inspired by Gtk. I gave a presentation of Curses::Toolkit at the French Perl Workshop 2009, and at the Open Source Developers conference France 2009. BooK presented it as part of a Lightning Talk at YAPC EU 2009 where I couldn't participate. Thanks to him for that. I will try to participate to London Perl Workshop this year and give a talk about it as well. I have received quite good feedback from people and users... Continue reading
Posted Oct 30, 2009 at The Player Of Games
dams added a favorite at The Player Of Games
Oct 29, 2009
The new server I had setup few weeks ago got hacked, brute force ssh attacks being made from it... I had spent some time setting it up, and now I'm bored. So, I decided to migrate my blog to a hosted solution. As I'm a big fan of movable type, I decided to give Typepad a go. So this is yet another rebirth of my blog (I think it's the 6th time now). I'll use that opportunity to catch up with the Perl blogging Iron Man competition. More to come about Perl and Curses::Toolkit, my baby :) Continue reading
Posted Oct 29, 2009 at The Player Of Games