excercise
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 4
Text::Scraper 0.02
Text::Scraper contains structured data from (un)structured text. more>>
Text::Scraper contains structured data from (un)structured text.
SYNOPSIS
use Text::Scraper;
use LWP::Simple;
use Data::Dumper;
#
# 1. Get our template and source text
#
my $tmpl = Text::Scraper->slurp(*DATA);
my $src = get(http://search.cpan.org/recent) || die $!;
#
# 2. Extract data from source
#
my $obj = Text::Scraper->new(tmpl => $tmpl);
my $data = $obj->scrape($src);
#
# 3. Do something really neat...(left as excercise)
#
print "Newest Submission: ", $data->[0]{submissions}[0]{name}, "nn";
print "Scraper model:n", Dumper($obj), "nn";
print "Parsed model:n", Dumper($data) , "nn";
__DATA__
< div class=path>< center>< table>< tr>
< ?tmpl stuff pre_nav ?>
< td class=datecell>< span>< big>< b> < ?tmpl var date_string ?> < /b>< /big>< /span>< /td>
< ?tmpl stuff post_nav ?>
< /tr>< /table>< /center>< /div>
< ul>
< ?tmpl loop submissions ?>
< li>< a href="< ?tmpl var link ?>">< ?tmpl var name ?>< /a>
< ?tmpl if has_description ?>
< small> -- < ?tmpl var description ?>< /small>
< ?tmpl end has_description ?>
< /li>
< ?tmpl end submissions ?>
< /ul>
ABSTRACT
Text::Scraper provides a fully functional base-class to quickly develop Screen-Scrapers and other text extraction tools. Programmatically generated text such as dynamic webpages are trivially reversed engineered.
Using templates, the programmer is freed from staring at fragile, heavily escaped regular expressions, mapping capture groups to named variables or wrestling with the DOM and badly formed HTML. In addition, extracted data can be hierarchical, which is beyond the capabilities of vanilla regular expressions.
Text::Scrapers functionality overlaps some existing CPAN modules - Template::Extract and WWW::Scraper.
Text::Scraper is much more lightweight than either and has a more general application domain than the latter. It has no dependencies on other frameworks, modules or design-decisions. On average, Text::Scraper benchmarks around 250% faster than Template::Extract - and uses significantly less memory.
Unlike both existing modules, Text::Scraper generalizes its functionality to allow the programmer to refine template capture groups beyond (.*?), fully redefine the template syntax and introduce new template constructs bound to custom classes.
<<lessSYNOPSIS
use Text::Scraper;
use LWP::Simple;
use Data::Dumper;
#
# 1. Get our template and source text
#
my $tmpl = Text::Scraper->slurp(*DATA);
my $src = get(http://search.cpan.org/recent) || die $!;
#
# 2. Extract data from source
#
my $obj = Text::Scraper->new(tmpl => $tmpl);
my $data = $obj->scrape($src);
#
# 3. Do something really neat...(left as excercise)
#
print "Newest Submission: ", $data->[0]{submissions}[0]{name}, "nn";
print "Scraper model:n", Dumper($obj), "nn";
print "Parsed model:n", Dumper($data) , "nn";
__DATA__
< div class=path>< center>< table>< tr>
< ?tmpl stuff pre_nav ?>
< td class=datecell>< span>< big>< b> < ?tmpl var date_string ?> < /b>< /big>< /span>< /td>
< ?tmpl stuff post_nav ?>
< /tr>< /table>< /center>< /div>
< ul>
< ?tmpl loop submissions ?>
< li>< a href="< ?tmpl var link ?>">< ?tmpl var name ?>< /a>
< ?tmpl if has_description ?>
< small> -- < ?tmpl var description ?>< /small>
< ?tmpl end has_description ?>
< /li>
< ?tmpl end submissions ?>
< /ul>
ABSTRACT
Text::Scraper provides a fully functional base-class to quickly develop Screen-Scrapers and other text extraction tools. Programmatically generated text such as dynamic webpages are trivially reversed engineered.
Using templates, the programmer is freed from staring at fragile, heavily escaped regular expressions, mapping capture groups to named variables or wrestling with the DOM and badly formed HTML. In addition, extracted data can be hierarchical, which is beyond the capabilities of vanilla regular expressions.
Text::Scrapers functionality overlaps some existing CPAN modules - Template::Extract and WWW::Scraper.
Text::Scraper is much more lightweight than either and has a more general application domain than the latter. It has no dependencies on other frameworks, modules or design-decisions. On average, Text::Scraper benchmarks around 250% faster than Template::Extract - and uses significantly less memory.
Unlike both existing modules, Text::Scraper generalizes its functionality to allow the programmer to refine template capture groups beyond (.*?), fully redefine the template syntax and introduce new template constructs bound to custom classes.
Download (0.045MB)
Added: 2007-08-22 License: Perl Artistic License Price:
796 downloads
AlsaPlayer 0.99.80 RC2
AlsaPlayer is a PCM (audio) player for Linux/ALSA. more>>
AlsaPlayer is a new type of PCM player. AlsaPlayer is heavily multi-threaded and tries to excercise the ALSA library and driver quite a bit. It has some very interesting features unique to Linux/Unix players.
The goal is to create a fully pluggable framework for playback of all sorts of media with the focus on PCM audio data. The core code was written by Andy Lo-A-Foe with contributions from many other folks. See the credits files for details.
The name AlsaPlayer might be confusing a bit today since we now support a whole bunch of different output systems.
The old default OSS audio interface is supported, as well as Esound, NAS (Network Audio Server), Sparc and SGI audio outputs. the most interesting new output is JACK. JACK is different from other audio server efforts in that it has been designed from the ground up to be suitable for professional audio work. This means that it focuses on two key areas: synchronous execution of all clients, and low latency operation.
We believe that this interface will become the preferred one. JACK uses ALSA for interfacing with the audio hardware.
Main features:
- Full speed (pitch) control, positive *and* negative!
- This is the first Linux and only GPL player that supports this. You can scratch mp3s and even audio CDs in realtime.
- Icecast/shoutcast streaming support
- Interface plugins
- Completely redefine the user interface
- Remote control
- Control alsaplayer from another application
- Low latency mode
- On capable soundcards latency can be as low as 1.3ms!
- Playlist/Queue support
- Plays nice with concurrent audio tools
- Doesnt touch the hardware mixer
- Concurrent visual scopes
- Open as many scopes as there are.
- Multi-threaded design
- This results in efficient/skip free playback. You can also activate real-time scheduling for even better performance.
- Accurate scope/audio syncing
- Portable
Supported file formats:
- Ogg Vorbis files (.ogg)
- First player worldwide that did perfect reverse Ogg playback! hehe :)
- MP3 files using MAD
- MP3 audio files using the mpg123 based plugin
- WAV files
- CDDA, CD Digital Audio playback (digital ripping), with CDDB lookup
- All MODULES supported by MikMod
- All file types supported by the Audio File Library
- FLAC files. A lossless compression scheme
Supported sound systems:
JACK
- A low-latency audio server, written primarily for the Linux operating system. It can connect a number of different applications to an audio device, as well as allowing them to share audio between themselves.
ALSA
- The next-generation audio interface for Linux. ALSA was recently merged in the 2.5.x Linux tree. It has many advantages over the old OSS interface.
OSS
- The old Linux audio API. This is still widely used.
SGI
- For SGI (IRIX) systems, using the SGI audio library.
NAS
- Network Audio Server. X11 for audio if you will.
ESD
- Esound, found in GNOME.
- Null
- Nosound driver, useful for testing
<<lessThe goal is to create a fully pluggable framework for playback of all sorts of media with the focus on PCM audio data. The core code was written by Andy Lo-A-Foe with contributions from many other folks. See the credits files for details.
The name AlsaPlayer might be confusing a bit today since we now support a whole bunch of different output systems.
The old default OSS audio interface is supported, as well as Esound, NAS (Network Audio Server), Sparc and SGI audio outputs. the most interesting new output is JACK. JACK is different from other audio server efforts in that it has been designed from the ground up to be suitable for professional audio work. This means that it focuses on two key areas: synchronous execution of all clients, and low latency operation.
We believe that this interface will become the preferred one. JACK uses ALSA for interfacing with the audio hardware.
Main features:
- Full speed (pitch) control, positive *and* negative!
- This is the first Linux and only GPL player that supports this. You can scratch mp3s and even audio CDs in realtime.
- Icecast/shoutcast streaming support
- Interface plugins
- Completely redefine the user interface
- Remote control
- Control alsaplayer from another application
- Low latency mode
- On capable soundcards latency can be as low as 1.3ms!
- Playlist/Queue support
- Plays nice with concurrent audio tools
- Doesnt touch the hardware mixer
- Concurrent visual scopes
- Open as many scopes as there are.
- Multi-threaded design
- This results in efficient/skip free playback. You can also activate real-time scheduling for even better performance.
- Accurate scope/audio syncing
- Portable
Supported file formats:
- Ogg Vorbis files (.ogg)
- First player worldwide that did perfect reverse Ogg playback! hehe :)
- MP3 files using MAD
- MP3 audio files using the mpg123 based plugin
- WAV files
- CDDA, CD Digital Audio playback (digital ripping), with CDDB lookup
- All MODULES supported by MikMod
- All file types supported by the Audio File Library
- FLAC files. A lossless compression scheme
Supported sound systems:
JACK
- A low-latency audio server, written primarily for the Linux operating system. It can connect a number of different applications to an audio device, as well as allowing them to share audio between themselves.
ALSA
- The next-generation audio interface for Linux. ALSA was recently merged in the 2.5.x Linux tree. It has many advantages over the old OSS interface.
OSS
- The old Linux audio API. This is still widely used.
SGI
- For SGI (IRIX) systems, using the SGI audio library.
NAS
- Network Audio Server. X11 for audio if you will.
ESD
- Esound, found in GNOME.
- Null
- Nosound driver, useful for testing
Download (0.88MB)
Added: 2007-07-11 License: GPL (GNU General Public License) Price:
836 downloads
Chess Training Tools 1.2.14
Chess Training Tools is a collection of chess training tools. more>>
Chess Training Tools is a collection of chess training tools. It includes a chess visualization trainer that teaches chess visualization by drilling you on the color of a particular square, and also on your ability to tell if two squares are the same color, if two (or three) squares are on the same diagonal, if two squares are a knight move apart, or if two squares are two knight moves apart.
This is a program that I wrote for my own use to improve my chess visualization ability. I decided to share it with other players, since I believe they can benefit from it. It basically helps you remember what color the squares are, how the pieces move, and so on, all in your head.
It does so by posing you various excercises that, if practiced every day, will let you visualize positions without the aid of a board.
I use this tool every day. You may want to use it the way I do, or you could develop your own method of training. I work my way through the panels, doing 20 of each excercise. I proceed Color->Same Color->Diagonal 2->Diagonal 3->Knight->Knight 2->Mate.
Then, after all of that I play a game against Vince. Start slow, by either lagging the display by one ply, or by blanking out one quadrant. Work your way up to the 7 ply and four quadrants.
Enhancements:
- This release added undo, or move takeback to the PlayTest ("Vince").
<<lessThis is a program that I wrote for my own use to improve my chess visualization ability. I decided to share it with other players, since I believe they can benefit from it. It basically helps you remember what color the squares are, how the pieces move, and so on, all in your head.
It does so by posing you various excercises that, if practiced every day, will let you visualize positions without the aid of a board.
I use this tool every day. You may want to use it the way I do, or you could develop your own method of training. I work my way through the panels, doing 20 of each excercise. I proceed Color->Same Color->Diagonal 2->Diagonal 3->Knight->Knight 2->Mate.
Then, after all of that I play a game against Vince. Start slow, by either lagging the display by one ply, or by blanking out one quadrant. Work your way up to the 7 ply and four quadrants.
Enhancements:
- This release added undo, or move takeback to the PlayTest ("Vince").
Download (0.016MB)
Added: 2006-05-03 License: GPL (GNU General Public License) Price:
1275 downloads
Mono 0.1.0
Mono is an excercise in subtractive synthesis. more>>
Mono is an excercise in subtractive synthesis. My intent is to write a bandlimited oscillator, a 4-pole low-pass filter and an envelope generator that run in real-time, and to have a TB-303-
inspired graphical user interface on top of that. As of now, the audio configuration process is not so nice and you have to be a nerd in order to succeed.
Main features:
- oscillator (though not yet properly bandlimited)
- 4-pole all-pole low-pass filter
- ADR envelope generator
- single pattern sequencer
- butt-ugly GUI
- real-time audio output on Linux, IRIX and Solaris
<<lessinspired graphical user interface on top of that. As of now, the audio configuration process is not so nice and you have to be a nerd in order to succeed.
Main features:
- oscillator (though not yet properly bandlimited)
- 4-pole all-pole low-pass filter
- ADR envelope generator
- single pattern sequencer
- butt-ugly GUI
- real-time audio output on Linux, IRIX and Solaris
Download (0.062MB)
Added: 2006-08-03 License: GPL (GNU General Public License) Price:
4920 downloads
Secleted [ 0 ] software to compare
- Page: 1 of 1
- 1
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above excercise search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed