Showing posts with label None. Show all posts
Showing posts with label None. Show all posts

Sunday, 18 January 2009

Kate . How to do a forward tumble. 18012009




Kate . How to do a forward tumble. 18012009



Posted by ShoZu

Tuesday, 21 October 2008

Summer photo updates

http://www.dspsrv.com/~jamesc/photos/

I just put some photos on the web this night.
And mailed them to some people.

http://picasaweb.google.com/gaoithe/200808SelectionHolidayHolland

Holidays in Holland.
Two days in Rotterdam.
10 days in De Lage Vuursche and visit Baarn. And Rachel visits us.

We meet Siebe (and Hidde and Benthe) in Utrecht.
We go on a pedal boat with Hans and find Blackberries.

We stay 4/5 days in Duinrell (Wassenaar) and then fly home from Schiphol.

Trains and buses everywhere.
Good fun actually.
Moving suitcases quite manageable really.
I had the heavy green one, Daire the big orange one, Fionn had buggy+Maeve+Kate.
Steps/lifts in train stations were the most awkward thing.

Thursday, 4 September 2008

installing git (and in particular git-svn on solaris)

This might make you really really glad you use a linux with a sane package manager!
Thanks to anyone who wrote on solving Error.pm/SVN::Core.pm problem on the internet.
That helped!

I had one same^H^H^Himilar issue on cygwin and solaris
I want to use git-svn.

cygwin just had one error "Can't locate SVN/Core.pm" (git package was installed).
This solved by installing the additional subversion-perl package.
$ cygcheck.exe -l subversion-perl


solaris (as usual! was more difficult) ... :-E

solaris 10 opensolaris/blastwave doesn't have a git package !? :-o (for intel/amd)
So I have git installed using sunfreeware packages
http://sunfreeware.com/programlistintel10.html#git
AND make sure all the dependancies are installed from SFW also, see the minor grief I had below missing expat (not for git itself but for getting perl Alien::SVN to compile so I could get git-svn working)

First error "Can't locate Error.pm" solved easily enough.
$ wget home.comcast.net/~ericblake/Error.pm
And copy to somewhere in $PERLLIB path.
$ cp Error.pm /usr/perl5/vendor_perl/

Next error "Can't locate SVN/Core.pm"

$ perl -MCPAN -e shell
cpan> install Module::Build
cpan> install Alien::SVN
didn't work :( didn't like /usr/sfw/bin/gmake :(

Manifying blib/man3/Alien::SVN.3
/usr/bin/perl "-Iblib/arch" "-Iblib/lib" Build.PL Build
Too early to specify a build action 'Build'. Do 'Build Build' instead.
gmake: *** [Build] Error 2
/usr/sfw/bin/gmake -- NOT OK

$ cd ~/.cpan/build/Alien-SVN-1.4.6.0
$ perl "-Iblib/arch" "-Iblib/lib" Build.PL
## manually enter /usr/sfw/bin/gmake
incidentally, $(/usr/sfw/bin/gmake --version) == "GNU Make 3.81"

$ ./Build
starts building subversion but then argh!
"subversion/libsvn_subr/xml.c", line 34: cannot find include file: <expat.h>

$ pkginfo -l |grep expat
PKGINST: CSWexpat
NAME: expat - XML Parser Toolkit
VENDOR: http://expat.sourceforge.net/ packaged for CSW by Damjan Perenic
NAME: libexpat - XML parser library
DESC: libexpat - XML parser library 1.95.7
$ /usr/sbin/pkgchk -l CSWexpat |grep include
NOTE: Couldn't lock the package database.
Pathname: /opt/csw/include
Pathname: /opt/csw/include/expat.h

meh. :-7 mixing packages from CSW and SFW would be a bit messy
get and install SMCexpat (from sunfreeware)
now:
/usr/local/include/expat.h
/usr/local/include/expat_external.h

$ ./Build
looks better, goes further
... but linking problems
cc: Warning: option -- passed to ld


Oh right. It used sun compiler throughout.
Back to configure.
$ perl Build.pm
Would you like to pass any arguments to configure? [--libdir=/usr/perl5/site_perl/5.8.4/i86pc-solaris-64int/Alien/SVN --prefix=/usr/perl5/5.8.4 ]CC=/usr/sfw/bin/gcc

$ ./Build
...
Undefined first referenced
symbol in file
libintl_bind_textdomain_codeset /.cpan/build/Alien-SVN-1.4.6.0/src/subversion/subversion/libsvn_subr/.libs/libsvn_subr-1.so
libintl_bindtextdomain /.cpan/build/Alien-SVN-1.4.6.0/src/subversion/subversion/libsvn_subr/.libs/libsvn_subr-1.so
libintl_dgettext blame-cmd.o
ld: fatal: Symbol referencing errors. No output written to .libs/svn
collect2: ld returned 1 exit status
gmake: *** [subversion/svn/svn] Error 1
building subversion failed at inc/My/SVN/Builder.pm line 121.


$ vi src/subversion/Makefile
add -lintl to end of BOTH (:-7) of these lines:
SVN_APR_LIBS = /usr/local/lib/libapr-0.la -lsendfile -lrt -lm -lsocket -lnsl -lresolv -lpthread -lintl
SVN_APRUTIL_LIBS = /usr/local/lib/libaprutil-0.la -ldb-4.2 -lexpat -liconv -lintl

$ ./Build
...
$ ./Build install

I bet if I just took the perl files from Cygwin or linux it would have done the same job ... !?


bash$ svn ls https://$MYREPO
ld.so.1: svn: fatal: relocation error: file /usr/local/lib/libsvn_subr-1.so.0: symbol libintl_bindtextdomain: referenced symbol not found
Killed

AUGHGHGHGHGHH!

reinstall svn sunfreeware package,

svn okay now but git svn still has lib problems

$ git svn clone https://$MYREPO --trunk=trunk --branches=branches --tags=tags
ld.so.1: git-hash-object: fatal: relocation error: file /usr/local/bin/git-hash-object: symbol deflateBound: referenced symbol not found
Can't use an undefined value as a symbol reference at /usr/local/lib/perl5/site_perl/5.8.8/Git.pm line 421.

HA! deflateBound is in libz

I'm so STUPID! Get zlib from sunfreeware (remember what I said earlier about ALL dependancies!!)


and I'm running with this
$ export LD_LIBRARY_PATH=/usr/local/lib:/usr/sfw/lib:$LD_LIBRARY_PATH
probably don't need that but was picking up libgcc, libiconv from /opt/csw instead of /usr/local


So in conclusion: Alien::SVN (which provides SVN::Core) is quite awkward to build for solaris (gmake, cc vs gcc and lib differences on solaris)

Friday, 20 June 2008

green party science tech

entered on my Green party skillz form: >;) muaghahahaha >;)
OCCUPATION / SKILLS: Computer Programmer (server unix/embedded, development environment tools)
DEGREES/DIPLOMAS: BEng Computer Engineering 1.1 (UL)
SPECIALIST KNOWLEDGE: Everyone stand back! I know regular expressions.
SPECIAL INTERESTS: science technology music education cycling windsurfing/watersports kites environment ...

Policy on IT, ... Hmmm.
http://greenparty.ie/en/policies/information_technology/information_technology

Oh all of stuff on website is soooo old :( must try and update somewhat
especially: http://www.dspsrv.com/~jamesc/kids/index.html

Friday, 4 April 2008

etymology of jargon

etymologically interesting

Anything self-referential is amusing (blame/praise starts with GEB - how can one describe systems purely if you have any use/reference of anything in that system in the description of the system - HAHAHAH!) like a joke or pun. Etymology of words about language, jargon: old french jargon garrire bird-chatter gargle. from http://www.etymonline.com/index.php?term=jargon

http://catb.org/jargon/html/introduction.html
http://catb.org/jargon/html/distinctions.html
"communication, and of inclusion, and of exclusion."
And for hacker jargon as a technical language there is a complex level of detail which does seperate it from being just a plainer slang. Not easy to learn/understand unless you learn the whole culture (shared consciousness), descriptive of complex/different ideas/models/thinking... which is very useful and important for facilitation of communication, quite like a real language.

Oh yeah! so elitist :) too.

"we have attempted to ensure that everyone's sacred cows get gored, impartially. Compromise is not particularly a hackish virtue, but the honest presentation of divergent viewpoints is."

This digression started with http://www.faqs.org/docs/jargon/H/hexadecimal.html
"correct term for base 10, for example, is ‘denary’"


~"etymologically pure"~ real live language decimal style words "too racy and amusing for stuffy IBM", (incorrect and inconsistent anyway! :))
2 binary binary
3 ternary or trinary ternary
8 octonary octal octaval
10 denary decimal decimal
16 sendenary hexadecimal sedecimal sexadecimal


Numerical Prefixes: http://phrontistery.info/numbers.html
numerical words in English (possibly common to many languages via maths ?) (mainly from greek and latin )
see Table 1: Latin-Prefixed Numerical Words
see Table 3: Latin Numerical Words: 13 to 1000

Numbers from 1 to 10 in over 5000 languages: http://zompist.com/numbers.htm

Arabic wāhid iŧnān ŧalāŧah 'arba`ah xamsah sittah sab`ah ŧamāniyyah tis`ah `ašarah
Cantonese jat i sam sei ŋ lok tshat pat kau sap
Dutch een twee drie vier vijf zes zeven acht negen tien
English one two three four five six seven eight nine ten
French un deux trois quatre cinq six sept huit neuf dix
German eins zwei drei vier fünf sechs sieben acht neun zehn
Greek éna đío tría téssera pénde éksi eftá oxtó ennéa đéka
Hindi/Urdu ek do tīn cār pā~c chai sāt āth nau das
Irish aon dó trí ceathair cúig sé seacht ocht naoi deich
Italian uno due tre quattro cinque sei sette otto nove dieci
Japanese ichi ni san shi go roku shichi hachi ku juu
Mandarin(Beijing) yi er san si=sz wu liu qi ba jiu shi
Polish jeden dwa trzy cztery pięć sześć siedem osiem dziewięć dziesięć
Runic+ æinn tvæiR þrīR fiūriR fæ:m sæx siū ātta nīu tīu
Russian odín dva tri četýre pyat' šest' sem' vósem' dévyat' désyat'
Spanish uno dos tres cuatro cinco seis siete ocho nueve diez




Heh heh :) warhammer again in comics:
http://ars.userfriendly.org/cartoons/?id=20080403
http://www.weregeek.com/2008/03/03/

Thursday, 3 April 2008

library-check.pl, postfix config to forward/relay mail to smtp server

1. Move across library-check.pl script from suse to ubuntu
2. enable mail from command-line and perl WWW::Mechanize script dependancies
3. solve postfix trouble (i.e. config postfix properly)
4. WAH! 5 + 6 books two accounts 5*23 + 6*29 days overdue. oops.


# Helpful reading:
Relaying Mail to a SMTP Server That Requires Authentication (Ubuntu/Postfix)
http://www.finefrog.com/2008/02/15/relaying-mail-to-a-smtp-server-that-requires-authentication-ubuntupostfix/
http://www.marksanborn.net/linux/send-mail-postfix-through-gmails-smtp-on-a-ubuntu-lts-server/
http://ubuntuforums.org/archive/index.php/t-67397.html
http://www.wormbytes.ca/articles/postfix-with-sympatico-relay
http://www.postfix.org/docs.html


O=/mnt/suseold
export http_proxy=
export https_proxy=
sudo apt-get install mailutils
sudo cpan -i WWW::Mechanize
sudo cp $O/usr/local/bin/library-check.pl /usr/local/bin/
sudo cp $O/etc/cron.daily/run_library-check.sh /etc/cron.daily/
sudo cp $O/etc/cron.daily/run_library-check-fionnuala.sh /etc/cron.daily/


# postfix setup took me a couple of hours - arg!
# simple postfix setup just to forward/relay mail to smtp server (which needs authentication)
# set some vars for use just in commands below
MYSMTPSERVER=www.smtpservername.com
MYACCOUNT=myaccount
PASSWORD=password
MYACCOUNT_SERVER=smtpservername.com
MYEMAIL=${MYACCOUNT}@${MYACCOUNT_SERVER}

# this was the thing I did last which started everything working (and uncomment myorigin = /etc/mailname in /etc/postfix/main.cf):
echo $MYSMTPSERVER > /etc/mailname

sudo vim /etc/postfix/mail.cf

# uncomment this:
myorigin = /etc/mailname

# add relay host with location of passwd info
relayhost = [<MYSMTPSERVER>]

smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl/sasl_passwd
smtp_sasl_security_options = noanonymous

smtp_always_send_ehlo = yes
smtpd_sasl_local_domain =
smtp_sasl_tls_security_options = noanonymous

# comment this line out:
#myhostname = <MYACCOUNT_SERVER>


# store smtp authentication details for postfix use
sudo mkdir /etc/postfix/sasl/
echo "${MYSMTPSERVER} ${MYEMAIL}:${PASSWORD}" > /etc/postfix/sasl/sasl_passwd
postmap /etc/postfix/sasl/sasl_passwd
rm /etc/postfix/sasl/sasl_passwd # I think.
# but ACTUALLY I notice the hash did not seem to work? can still see info unhashed in /etc/postfix/sasl/sasl_passwd.db ?


/etc/init.d/postfix restart


# log of successful send:
tail -1550f /var/log/syslog |grep -v atkbd.c

Apr 4 02:08:29 <MYHOSTNAME> postfix/pickup[12695]: 6320E454092: uid=1000 from=<<MYACCOUNTNAME>>
Apr 4 02:08:29 <MYHOSTNAME> postfix/cleanup[12700]: 6320E454092: message-id=<20080404010829.6320E454092@<MYHOSTNAME>.localdomain>
Apr 4 02:08:29 <MYHOSTNAME> postfix/qmgr[12696]: 6320E454092: from=<<MYACCOUNTNAME>@<MYACCOUNT_SERVER>>, size=384, nrcpt=1 (queue active)
Apr 4 02:08:30 <MYHOSTNAME> postfix/smtp[12702]: 6320E454092: to=<<MYACCOUNTNAME>@<MYACCOUNT_SERVER>>, relay=<MYSMTPSERVER>[<MYSMTPHOSTIP>]:25, delay=1.2, delays=0.03/0.01/1.1/0.06, dsn=2.0.0, status=sent (250 OK id=1JhaPy-00073e-6f)
Apr 4 02:08:30 <MYHOSTNAME> postfix/qmgr[12696]: 6320E454092: removed



smtp auth failed
because smtp user is NOT <MYACCOUNTNAME>@<MYHOSTNAME>.localdomain
"550-Verification failed for <<MYACCOUNTNAME>@<MYHOSTNAME>.localdomain> 550-Unrouteable address"
This is solved by having smtp server name in: /etc/mailname

Apr 4 02:05:35 <MYHOSTNAME> postfix/pickup[12551]: 04E56454092: uid=1000 from=<<MYACCOUNTNAME>>
Apr 4 02:05:35 <MYHOSTNAME> postfix/cleanup[12556]: 04E56454092: message-id=<20080404010535.04E56454092@<MYHOSTNAME>.localdomain>
Apr 4 02:05:35 <MYHOSTNAME> postfix/qmgr[12552]: 04E56454092: from=<<MYACCOUNTNAME>@<MYHOSTNAME>.localdomain>, size=404, nrcpt=1 (queue active)
Apr 4 02:05:36 <MYHOSTNAME> postfix/smtp[12558]: 04E56454092: to=<<MYACCOUNTNAME>@<MYACCOUNT_SERVER>>, relay=<MYSMTPSERVER>[<MYSMTPHOSTIP>]:25, delay=1.2, delays=0.03/0.01/1.1/0.03, dsn=5.0.0, status=bounced (host <MYSMTPSERVER>[<MYSMTPHOSTIP>] said: 550-Verification failed for <<MYACCOUNTNAME>@<MYHOSTNAME>.localdomain> 550-Unrouteable address 550 Sender verify failed (in reply to RCPT TO command))
Apr 4 02:05:36 <MYHOSTNAME> postfix/cleanup[12556]: 2AB34454093: message-id=<20080404010536.2AB34454093@<MYHOSTNAME>.localdomain>
Apr 4 02:05:36 <MYHOSTNAME> postfix/bounce[12559]: 04E56454092: sender non-delivery notification: 2AB34454093
Apr 4 02:05:36 <MYHOSTNAME> postfix/qmgr[12552]: 2AB34454093: from=<>, size=2580, nrcpt=1 (queue active)
Apr 4 02:05:36 <MYHOSTNAME> postfix/qmgr[12552]: 04E56454092: removed
Apr 4 02:05:36 <MYHOSTNAME> postfix/local[12560]: 2AB34454093: to=<<MYACCOUNTNAME>@<MYHOSTNAME>.localdomain>, relay=local, delay=0.02, delays=0.01/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to mailbox)
Apr 4 02:05:36 <MYHOSTNAME> postfix/qmgr[12552]: 2AB34454093: removed

Friday, 21 March 2008

sudo tachet i tac a ti

G: Ehi tu, tachet i tac a ti!
L: Io tachet i tac a ti, che te tachet it tac? Tachet i ti i to tac.
G: sudo tachet i tac
L: okay

Fionnuala got me that http://xkcd.org t-shirt for Christmas :)

sudo solve impossible problem

Thursday, 7 June 2007

geek soul forfeit?

/me forfeits geek soul
messaging while slightly drunk
ohhh! svn ci while slightly drunk! >;)
editing /etc/sysconfig/ stuff too
whee.

it wasn't me by the way. it was the piano
and slightly is < a can of guinness
but it seems to be working very well.
so I said what else can I do ... ahh yes. blog while slightly drunk.

oh great. my amazing powers of software breaking manifest themselves.  can't post ... ???
Hmmm. methinks livejournal doesn't like being kindof logged in in multiple tabs?
Anyone else find the same?

Tuesday, 22 May 2007

brazil nuts, garden stones and avalanches

Isn't it annoying that garden/fields seem to grow stones.
I wonder is it maybe http://en.wikipedia.org/wiki/Brazil_nut_effect


http://prs-sun-107-nyeh-peshr-hme0-39.digisle.net/science/science_news/articles/thin_skin.html
Cool. I want a jar of beetles, sand and pebbles on my desk too!

http://www.americanavalancheassociation.org/tar/TAR25_4_CovStory.pdf
http://216.239.59.104/search?q=cache:-Zjsz3jLfzoJ:www.americanavalancheassociation.org/tar/TAR25_4_CovStory.pdf+why+cereals+settle&hl=en&ct=clnk&cd=20&gl=ie&client=firefox-a

"Avalanches are gravitational granular flows,"

"When the avalanche flows over a terrain feature (steeper slope or surface irregularities), the flow can become turbulent (mixing) causing the victim to be pushed down. As the flow smoothes out, it is the particles segregating (de-mixing) that force the person back to surface."

"When an avalanche slows (but before it stops), the snow fragments interlock, resulting in a
change in state from a fluid-like flow to that of a sliding block (everything moves as a single unit or block)."

So. Esentially. Keep arms near face somehow.

brazil nuts, garden stones and avalanches

Isn't it annoying that garden/fields seem to grow stones.
I wonder is it maybe http://en.wikipedia.org/wiki/Brazil_nut_effect


http://prs-sun-107-nyeh-peshr-hme0-39.digisle.net/science/science_news/articles/thin_skin.html
Cool. I want a jar of beetles, sand and pebbles on my desk too!

http://www.americanavalancheassociation.org/tar/TAR25_4_CovStory.pdf
http://216.239.59.104/search?q=cache:-Zjsz3jLfzoJ:www.americanavalancheassociation.org/tar/TAR25_4_CovStory.pdf+why+cereals+settle&hl=en&ct=clnk&cd=20&gl=ie&client=firefox-a

"Avalanches are gravitational granular flows,"

"When the avalanche flows over a terrain feature (steeper slope or surface irregularities), the flow can become turbulent (mixing) causing the victim to be pushed down. As the flow smoothes out, it is the particles segregating (de-mixing) that force the person back to surface."

"When an avalanche slows (but before it stops), the snow fragments interlock, resulting in a
change in state from a fluid-like flow to that of a sliding block (everything moves as a single unit or block)."

So. Esentially. Keep arms near face somehow.

neglected homepage

http://www.dspsrv.com/~jamesc

Oh. great.
So if I enable scripts I can't write in the journal entry textarea. Brilliant.
Lovely.
Marvellous even.

neglected homepage

http://www.dspsrv.com/~jamesc

Oh. great.
So if I enable scripts I can't write in the journal entry textarea. Brilliant.
Lovely.
Marvellous even.