Amazing Perl 6

| 5 Comments | No TrackBacks
http://www.mail-archive.com/perl6-all@perl.org/msg84878.html

The problem with demoing the awesomeness of Perl 6 is always running out of demo time before running out of demo-able awesomeness.
Damian Conway

YAPC::EU::2010 conference review

| 2 Comments | No TrackBacks

NerdTests.com Fun Tests - Nerd Quiz 100%

| 2 Comments | No TrackBacks

Youtube downloader

| 1 Comment | No TrackBacks
Bah and it doesn't even work. http://free-youtube-downloader.org/
Perl to the rescue.
 

#!/usr/bin/perl -w
# usage: ytd.pl http://www.youtube.com/watch?v=LyknmWUZeVQ
use WWW::Mechanize;
my $agent = WWW::Mechanize->new( autocheck => 1 );

my $url = shift;
my($filename) = $url =~m{v=(\w+)}g;

$agent->get($url);
my ($url2) = $agent->content() =~ m{\|(http:\\/\\/v..lscache.*?id=\w+)}msg;
$url2 =~ s{\\}{}g;
$agent->get($url2);
open F, ">", "$filename.flv" or die "$filename.flv: $!";
binmode F;
print F $agent->content,"\n";
close F;

Hackers holiday

| 3 Comments | No TrackBacks
My colleagues René and Jake convinced me to take some days off for a small android app hacking project.
The task is to write an app that one-click enhances the quality of photos.

We found that the Intelligent Image Enhance (i2e) algorithm produces the best results. There was no need to dig deep into serious C++ hacking, an i2e_test sample application already gave us what we needed.

The hard thing is to integrate the enhancer into Android. We found out that we could not extend the android camera or gallery as they could not be compiled with the Android SDK. The standard android apps seem to make heavy usage of internal classes not built with the SDK. The next PITA moment was for us to find out that android code samples are quickly outdated and  documentation for older SDKs is not available.

Now after the second day of development we have a proof of concept gallery app displaying enhanced photos.

Lets see if I throw in the towel tomorrow, the SDK issue and Java bloat are hard for me to bear.

getting started

| 1 Comment | No TrackBacks
I am getting started with movable type blogging software...

Recent Comments

  • Chinese0840: A Transatlantic Crossing with the Queen chinoiserie antique furniturearchaic furniture read more
  • furnurel6a: Choosing Chinese Furniture the great cake stands china carving household read more
  • Boxq03mumd: Emerging tibetan store Engagement Ring develtibetan silver The diamond engagement read more
  • Chinese9ic8: Oriental FurnitureSculpture lighting china shell carving couch optical engineering to read more
  • Chinese9ic8: Chinese FurnitureExciting ideas to in handmade household furniture your non,public read more
  • buddhism3gh: tibetan silverused antique jewelry antique jewellery staying,The 4,leaf clover bracelet read more
  • buddhism3gh: With Kali, TimeKal) Stops as prior to ma buddha pendants read more
  • cheapjerseys: I'll greatly experienced because of this your web business. It's read more
  • cheapjerseys: I have been previously looking out the web to accomplish read more
  • cheapjerseys: I'll greatly experienced because of this your web business. It's read more

Tag Cloud