Geoffrey Swift's βlog Podcast

Geoffrey Swift's βlog (converted from Atom 1.0)

login to access this featurelogin to access this featuresubscribe using RSS

Episodes:22
Language:en
Updated:2 years ago (login to update)
Categories:not categorized

 

Sudoku Solver source code

unknown filetype: zipRight click to download
Published: 2 years ago

I've made available the Delphi/Kylix source code, for the server part of my online Sudoku Solver .

The program can find solutions by brute force, and in many cases using logical deduction alone. The logical solver is considered adequate for its purpose, which is to give hints and validate against mistakes.

sodit.dpr Main project file SudokuSets.pas Optimised library for set based operations, such as iterating permutations. SudokuDeclarations.pas Constants and type declarations.

The source code for "Sudoku Solver" is provided without warranty, and for non-commercial purposes only. "Sudoku solver" is copyright © 2007 - 2008 Geoffrey Swift. All rights are reserved.


 
 

Drum and Bass mix

audio mp3 - click to play
Published: 2 years ago

It's been quite a while since I last posted up a mix, although I have been getting a bit of practice in nonetheless. So here's a new drum and bass mix, to celebrate British Summer Time!

The tracks selected are all several years old, but don't expect to hear many 'classics'. This selection represents a selection of my favourite tracks which seemed to be off the radar of top DJs.

Will hopefully appeal to fans of the darker side of drum and bass. Feel free to comment…


 
 

Tinyfugue 4 patched for GCC 4

unknown filetype: diffRight click to download
Published: 2 years ago

The CHANGES file in Tinyfugue 5 explains that the user interface has changed: New screen handling. See " /help windows ". What this means is that when changing between worlds, the whole screen is replaced to show only output from the selected world. Previously messages from each world would all appear in succession on screen.

As I multi-spod and hold conversations across several talkers at the same time, this new interface is not my personal preference. I would rather be using the time honoured classic, which is Tinyfugue 4. However I discovered recently that this older version no longer compiles on modern Linux distributions.

I had a look into this problem, and fixed the source code by retro fitting the relevant fixes already done in Tinyfugue 5. The changes were minimal, so it didn't take long to get this compiling for GCC 4 on Linux. I made a unified diff of these changes. This has come in handy twice for me now, so I hope this proves useful to someone else.

--- history.c.orig 2008-03-04 00:49:30.000000000 +0000 +++ history.c 2008-03-04 00:47:01.000000000 +0000 @@ -66,7 +66,9 @@ static struct History input[1]; static int wnmatch = 4, wnlines = 5, wdmatch = 2, wdlines = 5; -struct History globalhist[1], localhist[1]; +struct History globalhist_buf, localhist_buf; +struct History * const globalhist = &globalhist_buf; +struct History * const localhist = &localhist_buf; int log_count = 0; int norecord = 0; /* supress history (but not log) recording */ int nolog = 0; /* supress log (but not history) recording */ --- history.h.orig 2008-03-04 00:49:37.000000000 +0000 +++ history.h 2008-03-04 00:46:51.000000000 +0000 @@ -13,7 +13,7 @@ # ifndef NO_HISTORY extern void NDECL(init_histories); -extern struct History *FDECL(init_history,(struct History *hist, int maxsize)); +extern struct History *init_history(struct History *hist, int maxsize); extern void FDECL(free_history,(struct History *hist)); extern void FDECL(recordline,(struct History *hist, Aline *aline)); extern void FDECL(record_input,(CONST char *line, struct timeval *tv)); @@ -31,7 +31,7 @@ #define record_global(aline) recordline(globalhist, (aline)) #define record_local(aline) recordline(localhist, (aline)) -extern struct History globalhist[], localhist[]; +extern struct History * const globalhist, * const localhist; extern int log_count, norecord, nolog; # else /* NO_HISTORY */
 
 

Pirate Radio Toolbar "pirated"

unknown filetype: xspfRight click to download
Published: 3 years ago

Having made my own list of favourite internet radio stations available online, I was quite interested to hear about the "Pirate Radio Toolbar." I downloaded and installed the toolbar, and found it offered an impressive list of pirate radio stations. Most are pirate radio stations that also stream over the internet, a lot of the others were internet based stations that also play underground music.

The toolbar software itself is created (or rather configured) using the Conduit website. Conduit allows anyone to sign up to create similar toolbars for commercial use. These toolbars can be configured to have many different features, one of which is a radio playlist.

My sole interest was the list of stations, since I regularly enjoy listening to internet radio. The rest of the tool bar offered nothing I wanted; it merely obscured the top of my web browser. It seemed much more appropriate to listen using a more fully featured purpose built program like VLC Media Player to tune in. With music playing in another program you can obviously hide the player behind your browser!

So I mused with the idea of extracting the relevant data into an appropriate format. Using the Fiddler HTTP debugger , the URL for their play list data became apparent quite quickly.

The play list for the Pirate Radio Toolbar (and other Conduit toolbars) arrives over the web in an XML format, which is ideal for manipulation with the XSLT (the programming language used for my website). So I wrote some XSLT code to convert the playlist into an XSPF format, ideal for use in VLC Media Player.

I wrote a shell script to download the Pirate Radio Toolbar station list using wget , and convert it using xsltproc and my XSLT stylesheet code. This script runs nightly using cron , so my copy of the station list should keep up to date with any new stations they add.

I even wrote a couple of extra XSLT stylesheets to convert XSPF to the PLS and extended M3u file formats. I make use of these stylesheets to generate my own dynamic radio playlist now. I might post this XSLT code up for download in case anyone else wants to do similar conversions.

Please visit my radio page for more details. I host my own radio station play list, which exclusively comprises high bitrate drum and bass, jungle and dubstep.


 
 

Oldskool jungle tracks

audio mp3 - click to play
Published: 3 years ago

Here are a few oldskool jungle tracks I've written several years ago. Seemed about time to put them up in a podcast, as they weren't very prominently linked to before. Have been meaning to do this for a while, and if time allows more could I find time I might dig some more out.

These were all written using 8-bit breakbeat samples I created on the Atari ST using Mastersound. These were chopped up into tiny pieces, then sequenced using Fast Tracker 2 on the PC. Now turned into MP3z using XMPlay and Lame for your listening pleasure! Enjoy.


 
5 of 22 episodes displayed
View All Episodes >
(17 more)

Comments

- no comments found -


Login to post a comment

What's Hot

phpBB Podcast 5th Element Podcast The Skateboard Addict Pastor Chris Teaching Video Podcast Namaste Stories phpBB Weekly Originz Confidence and Seduction - System Jaago Bharat India Forum Ubud Hotels Guide to google adwords Jewelry Stores - ** 95% Off Jewelry -Ice4u.net

What's New

Guide to google adwords Confidence and Seduction - System South Kuta Hotels Ubud Hotels Hot New Thermal Spa and Bath Jewelry Box - ** 95% Off Jewelry -Ice4u.net The Elevision Network Jewelry Stores - ** 95% Off Jewelry -Ice4u.net Jewelry TV - ** 95% Off Jewelry -Ice4u.net Costa Rica Tour and Travel Guide Ebay Jewelry - ** 95% Off Jewelry -Ice4u.net Order of The Fez

Recently Updated

5th Element Podcast Namaste Stories Originz Pod2peer RobKast Radio Martin Kelner and Edouard Lapaglies Piss Poor podcast - FREE SAMPLER EDITION Podsafe Comedy Countdown sianwoodruff HPPC Podcast The Fantastic Fred Show (a Gay Show) Journey to Ancient Civilizations - - iPod Traveller - -