Javascript engines
Sunday, April 29, 2012
Getting hurd up & running
- Install cds are here:
http://people.debian.org/~sthibault/hurd-i386/installer/cdimage/ - Here are the instructions for a pre-installed image, suitable for use with qemu
http://people.debian.org/~sthibault/hurd-i386/README - This yields an error message:
failed to initialize KVM: Device or resource busy
No accelerator found!
Sunday, April 08, 2012
Thursday, April 05, 2012
Re-installing Gelato (take 2)
Well, it seems that, in addition to extra hoops for installing onto RAID, the nouveau kernel module crashes when trying to boot. Since (unlike Ubuntu or Mint), the debian installer works with RAID, I downgraded to debian stable ("squeeze").
- Install debian without the desktop. Reboot.
- Read up on nvidia drivers. Decide to try the "debian way". (http://wiki.debian.org/NvidiaGraphicsDrivers)
- Nvidia proprietary drivers are updated in backports repository. Add it to /etc/apt/sources.list
deb http://backports.debian.org/debian-backports squeeze-backports main - Install desktop after the fact (http://wiki.debian.org/Gnome)
apt-get install aptitude tasksel
tasksel install gnome-desktop --new-install - Remove nouveau (http://forums.debian.net/viewtopic.php?f=6&t=69888 | http://forums.debian.net/viewtopic.php?f=30&t=54330)
echo "blacklist nouveau" >> /etc/modprobe.d/blacklist.conf
apt-get purge --remove xserver-xorg-video-nouveau - Use aptitude, and remove every package with the word "nouveau" in it. However, nouveau.ko is in the linux kernel package, so I can't actually remove it.
- Continue, re-install nvidia drivers
apt-get install --reinstall nvidia-glx - This is a key step (see http://linux.koolsolutions.com/2009/10/11/howto-blacklisting-kernel-module-from-auto-loading-in-debian/)
depmod -a
update-initramfs -u -k `uname -r` -v - Reboot. Success!
Monday, April 02, 2012
Re-installing gelato
- Backup home directory. Backup etc. Unplug scratch drives
- Boot live cd
- Install mdadm and lvm2
- Re-assemble the raid partitions
mdadm --assemble --scan - Run linux mint installer. The /dev/mdXX partitions are recognised and usable for install. Re-format existing partitions (except /home). Choose /dev/md1 (/boot partition) as the partition for the boot loader.
- I got an error in the install. Maybe benign? It says:
An error occurred while migrating data. More details may be found in /var/log/syslog. The installation will continue, but some or all of the documents and settings you requested may not have been transferred to the installed system.
The error is that it couldn't mount /dev/sdb5 (which belongs to /dev/md5), because it doesn't know the file system "linux raid member". Click OK to continue. - Choose "continue testing" at the end of the install.
- Now we have to set up the newly installed system to recognise the raid. This is exactly as described in part 5 of this document:
http://www.howtoforge.com/install-ubuntu-with-software-raid-10
With the modificaiton of additional required partitions (/usr, /var, etc.), and installing lvm2 as well as mdadm. - Reboot.
- Well, the reboot didn't work, because I neglected to update grub. Here is the error that I got:
GRUB Loading stage1.5
GRUB loading, please wait...
Error 15 - Boot off of the live CD again, re-install mdadm & lvm2, re-scan raid, re-mount volumes, enter chroot.
apt-get install mdadm lvm2
mdadm --assemble --scan
mkdir /myraid
mount /dev/md5 /myraid
mount /dev/md1 /myraid/boot
mount /dev/md6 /myraid/usr
mount /dev/md7 /myraid/var
mount /dev/md8 /myraid/tmp
mount --bind /dev /myraid/dev
mount -t devpts devpts /myraid/dev/pts
mount -t proc proc /myraid/proc
mount -t sysfs sysfs /myraid/sys
chroot /myraid - Follow instructions on this page:
http://iiordanov.blogspot.com/2011/07/how-to-install-linux-ubuntu-debian-etc.html
Start at step (10). It goes smoothly. However, I notice that my swap is not RAID. I wonder if this is on purpose? So I left as two swap partitions in the fstab, to be resolved later. - Do step (11), note that I did not have to modify /etc/mdadm/mdadm.conf, since it already had the correct entries.
- Do step (12). This failed. Note 1: the file /boot/grub/grub.cfg did not exist. Note 2: grub-install was done to the raw disk, not the raid disk, such as:
grub-install --recheck --modules="raid" /dev/sda - Reboot.
- Now I got a grub menu, which listed a few options including "/dev/md1", "/dev/sda1", and "/dev/sdb1". Choosting the first option causes a black screen of death. Choosing "/dev/sda1" yields similar results. It turns out that something is happening, but nothing is displayed. Hitting e.g. arrow keys or ESC causes the messages to display. The boot seems to hang on the following message:
** Starting CUPS printer/spooler server ** [ OK ] - Boot off of the live CD again, re-install mdadm & lvm2, re-scan raid, re-mount volumes, enter chroot.
- Nothing interesting to see. Here is boot.log:
fsck from util-linux 2.19.1^M
fsck from util-linux 2.19.1^M
fsck from util-linux 2.19.1^M
fsck from util-linux 2.19.1^M
fsck from util-linux 2.19.1^M
fsck from util-linux 2.19.1^M
/dev/md5: clean, 9326/305824 files, 123307/1222912 blocks^M
/dev/md8: clean, 12/305824 files, 54365/1222912 blocks^M
/dev/md7: clean, 8815/305824 files, 130828/1222912 blocks^M
/dev/md6: clean, 163285/1221600 files, 772988/4885744 blocks^M
Reiserfs super block in block 16 on 0x90a of format 3.6 with standard journal^M
Blocks (total/free): 110268128/33138842 by 4096 bytes^M
Filesystem is clean^M
/dev/md1: clean, 246/124928 files, 56798/497856 blocks^M
* Starting mDNS/DNS-SD daemon^[[154G[ OK ]^M
* Starting network connection manager^[[154G[ OK ]^M
* Starting CUPS printing spooler/server^[[154G[ OK ]^M
* Starting emergency keypress handling^[[154G[ OK ]^M
* Stopping emergency keypress handling^[[154G[ OK ]^M
* Starting System V runlevel compatibility^[[154G[ OK ]^M
* Starting save system clock to hardware clock^[[154G[ OK ]^M
* Starting save sound card(s') mixer state(s)^[[154G[ OK ]^M
* Starting eCryptfs^[[154G[ OK ]^M
Here is the end of kern.log:
Apr 2 20:28:54 gelato kernel: [ 18.535691] e1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx
Apr 2 20:28:54 gelato kernel: [ 18.536853] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Apr 2 20:29:04 gelato kernel: [ 28.840999] eth0: no IPv6 routers present
Apr 2 20:31:14 gelato kernel: Kernel logging (proc) stopped.
Here is the end of syslog:
Apr 2 20:29:04 gelato avahi: contact your administrator and convince him to use a different DNS domain,
Apr 2 20:29:04 gelato avahi: since .local should be used exclusively for Zeroconf technology.
Apr 2 20:29:04 gelato avahi: For more information, see http://avahi.org/wiki/AvahiAndUnicastDotLocal
Apr 2 20:29:04 gelato kernel: [ 28.840999] eth0: no IPv6 routers present
Apr 2 20:29:12 gelato ntpdate[1303]: adjust time server 91.189.94.4 offset 0.213605 sec
Apr 2 20:31:14 gelato kernel: Kernel logging (proc) stopped.
Apr 2 20:31:14 gelato rsyslogd: [origin software="rsyslogd" swVersion="5.8.1" x-pid="1172" x-info="http://www.rsyslog.com"] exiting on signal 15.
Wednesday, March 14, 2012
Reproducing Kernel Hilbert Spaces
http://hal3.name/docs/daume04rkhs.pdf
Not directly related, but also I'm interested in Wolfe Dual:
http://www.cs.rochester.edu/~gildea/2008_Springwolfe.pdf
http://homepages.rpi.edu/~bennek/class/mmld/
Sunday, March 11, 2012
Github on wormwood
- Need to set up ssh for multiple keys. See e.g.
http://www.karan.org/blog/index.php/2009/08/25/multiple-ssh-private-keys - Need to do this:
$ ssh-add ~/.ssh/id_rsa_github
- On gelato, I need something like this:
$ exec ssh_agent bash<br />$ ssh-add ~/.ssh/id_rsa_github
Bye.
Friday, March 09, 2012
Using slicer on SPL computers
When you try to run slicer remotely on the SPL computer, you get something like this:
$ ./Slicer-build/Slicer
Number of registered modules: 94
ERROR: In /home/gcs6/build/slicer-rt/SlicerRt-build/VTK/Rendering/vtkXOpenGLRenderWindow.cxx, line 404
vtkXOpenGLRenderWindow (0x333a200): Could not find a decent visual
ERROR: In /home/gcs6/build/slicer-rt/SlicerRt-build/VTK/Rendering/vtkXOpenGLRenderWindow.cxx, line 404
vtkXOpenGLRenderWindow (0x333a200): Could not find a decent visual
X Error: BadValue (integer parameter out of range for operation) 2
Extension: 135 (Uknown extension)
Minor opcode: 3 (Unknown request)
Resource id: 0x21
ERROR: In /home/gcs6/build/slicer-rt/SlicerRt-build/VTK/Rendering/vtkXOpenGLRenderWindow.cxx, line 629
vtkXOpenGLRenderWindow (0x333a200): Cannot create GLX context. Aborting.
error: [/workspace/gcs6/build/slicer-rt/SlicerRt-build/Slicer-build/bin/./SlicerQT-real] exit abnormally - Report the problem.
It seems you can workaround by doing this:
$ setenv LIBGL_ALWAYS_INDIRECT y
Saturday, February 18, 2012
Wednesday, January 18, 2012
Online course links
X-ray, CT
- www.imt.liu.se/edu/courses/TBMT02/ct/CT_introduction.pdf
- Kak & Slaley
- http://www.impactscan.org/ (good slides)
- http://www.sprawls.org/ppmi2/
- http://e-radiography.net/ (check out sword-swallowing images)
- http://www.crcpd.org/2011AnnualMeeting/Training/agenda_AAPM.aspx (slides)
- http://ric.uthscsa.edu/personalpages/lancaster/DI-II_Chapters/CT_chap.pdf
- (course page is http://ric.uthscsa.edu/personalpages/lancaster/DI_II.html)
- http://www.imt.liu.se/edu/courses/TBMT02/ct/CT_introduction.pdf
- http://en.wikibooks.org/wiki/Basic_Physics_of_Nuclear_Medicine/X-Ray_CT_in_Nuclear_Medicine
- http://en.wikibooks.org/wiki/Basic_Physics_of_Digital_Radiography/The_Applications
- http://eeweb.poly.edu/~yao/EL5823/CT_ch6_part1.pdf (includes some project ideas)
MRI
- http://www.simplyphysics.com/MAIN.HTM (Chapter 2, on right side of page)
- http://www.cis.rit.edu/class/schp730/
- MIT
- http://www.imaios.com/en/e-Courses/e-MRI
- http://www.ismrm.org/resources/mr-sites
- AAPM/RSNA Resident education series
- https://www.imt.liu.se/edu/courses/TBMT02/Medical_Imaging.html
- https://www.imt.liu.se/edu/courses/TBMT02/Litteratur.html
- http://physics.rsna.org/default.asp (Great material, wish it didn't require a login)
- http://www.neurosurvival.ca/ComputerAssistedLearning/readingCTs/Anatomy_guide/alpha.htm
- http://www.med-ed.virginia.edu/courses/rad/headct
- http://www.med-ed.virginia.edu/courses/rad/abdtrauma
- http://www.chestradiology.net/anatomy.cgi
- http://bidmc.org/MedicalEducation/Departments/Radiology/MedicalStudents/LivingAnatomy.aspx
Saturday, December 24, 2011
GoDaddy & SOPA
Tuesday, November 29, 2011
Insert Credit
http://insertcredit.com/
Especially:
http://insertcredit.com/2011/09/22/who-killed-videogames-a-ghost-story/
Monday, November 21, 2011
LDAP on debian
http://research.partners.org/wiki/index.php/Active_Directory_on_Unix
But that doesn't quite work. What is the difference between using ldap:// and ldaps://? My opensuse box uses ldaps://, which seems to work ok. But the debian instructions say use ldap://.
Debian has a very useful resource here.
http://www.debian-administration.org/articles/585
If I do "ldapsearch -x", this works using ldap://, but I get an error message "...a successful bind must be completed on the connection." Possibly this is answered here:
http://forums.techarena.in/active-directory/662084-2.htm
See also this:
http://www.openldap.org/doc/admin24/appendix-common-errors.html
Eventually I learned the reason I get the error about "...a successful bind must be completed on the connection." is that I forgot to use a user name. For example, the following works:
ldapsearch -v -D 'cn=myuser,cn=users,dc=example,dc=org' -H ldap://ldap.example.org -b dc=example,dc=org -W -x
This even works without "-x" option, which is good news. But I still get the following error:
$ id myuser
id: myuser: No such user
Aha! I got it. I had mistakenly installed "nslcd, libnss-ldap, libpam-ldapd" instead of "nslcd, libnss-ldapd, libpam-ldapd"
How to restrict access to which LDAP users can log in? See, for example:
http://linux.web.cern.ch/linux/docs/account-mgmt.shtml
The secret was to change the user names into the "filter shadow" line, like this:
filter shadow (!(cn=usr1)(cn=usr2))
Another possible problem is incorrect TLS certificate. The web page which describes this cannot be found by web search. Use inside knowledge to find the hidden URL on intranet.
Thursday, November 10, 2011
Pulse audio glitches again
Maybe it's not pulse, but usually it is. Time to debug the problem
- Amarok skips. It seems to use phonon, pulse, and xine
- mpg321 works fine. I suppose it uses alsa.
- Mplayer works fine. It uses ffmpeg and alsa.
- I tried amarok with phonon-backend-vlc. But amarok skips with that one too
- I tried to disable time-based scheduling as recommended here:
- http://fedoraunity.org/Members/fenris02/pulseaudio-fixes-and-workarounds
- https://fedoraproject.org/wiki/How_to_debug_PulseAudio_problems
- I did the tsched=0 thing. It helped, but not enough
- Then, I edited /etc/pulse/daemon.conf, and changed realtime scheduling. But this doesn't seem to make a difference.
0 [SB ]: HDA-Intel - HDA ATI SB
HDA ATI SB at 0xfe8f4000 irq 16
1 [HDMI ]: HDA-Intel - HDA ATI HDMI
HDA ATI HDMI at 0xfe9ec000 irq 44
Not sure what it really means. Phonon can be configured to use either of them, but they both skip. My device is some kind of "on motherboard" thing.
$ lspci -v
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
Subsystem: Dell Device 02e2
Flags: bus master, slow devsel, latency 64, IRQ 16
Memory at fe8f4000 (64-bit, non-prefetchable) [size=16K]
Capabilities:
Kernel driver in use: snd_hda_intel
01:00.1 Audio device: ATI Technologies Inc RV710/730
Subsystem: PC Partner Limited R700 Audio Device [Radeon HD 4000 Series]
Flags: bus master, fast devsel, latency 0, IRQ 44
Memory at fe9ec000 (64-bit, non-prefetchable) [size=16K]
Capabilities:
Kernel driver in use: snd_hda_intel
Then, I read a web page that suggests deleting the ~/.pulse directory, and so I did. And it fixed it! But only until the next reboot.
Tuesday, October 11, 2011
Saturday, October 08, 2011
Gnome-terminal problems (again)
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=631116
1) The problem is probably related to an incompatibility with SCIM. Disabling SCIM (using im-config) solves the problem. See also:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=632094
2) Probably the answer is to switch from SCIM to IBus.
http://en.wikipedia.org/wiki/Intelligent_Input_Bus
3) Gnome-terminal has its own special way of setting an input method: using a right-click menu (wtf??)
http://superuser.com/questions/109554/removing-scim-input-method-as-default-from-gnome-terminal
Maybe you can set it to XIM and then use SCIM.
Sunday, October 02, 2011
JPOP resources
http://www.otonomai.net
http://mlbeto1169.blogspot.com/
http://www.dimazdizon.com/category/japan/
Sunday, September 11, 2011
Virtualbox + windows 98
http://forums.virtualbox.org/viewtopic.php?t=9918
Saturday, September 10, 2011
glib.GError: Unrecognized image file format
The fix is to edit common.py as described by brianbrian
http://ubuntuforums.org/archive/index.php/t-1063483.html
Monday, September 05, 2011
Alternative OS
http://royal.pingdom.com/2008/09/26/10-amazingly-alternative-operating-systems-and-what-they-could-mean-for-the-future/
Sunday, August 21, 2011
Freshmeat review 2011-08-21 to 2011-07-24
http://freshmeat.net/projects/eliot
Potrace - bitmap tracing code
http://freshmeat.net/projects/potrace
Cinelerra - audio/video production system
http://freshmeat.net/projects/cinelerra
OpenMP Template Library - parallel STL implementation
http://freshmeat.net/projects/omptl
Sunday, August 14, 2011
Freshmeat review *RANDOM*
http://freshmeat.net/projects/assassin-of-the-underdark
Kobold's Quest 2 - RPG
http://freshmeat.net/projects/kobolds-quest-2
Evermeet - 2D RPG
http://freshmeat.net/projects/everme
Liquid War 6 - RTS
http://freshmeat.net/projects/liquid-war-6
Digibuild - Minecraft clone
http://freshmeat.net/projects/digbuild
Beastlands - Song of the Were - 2D RPG
http://freshmeat.net/projects/beon-astlands-ehlonnas-boon
Cdrcat - (MP3) catalog program
http://freshmeat.net/projects/cdcat
The Golden Hasweg: A Dwarven Tale - Dwarf fortress clone
http://freshmeat.net/projects/the-golden-hasweg-a-dwarven-tale
D* Lite - Advanced (?) A* search algorithm
http://freshmeat.net/projects/d-star-lite
Econtycoon - Economy tycoon game
http://freshmeat.net/projects/econtycoon
Construder - Minecraft clone
http://freshmeat.net/projects/construder
Penultimate Generation - Trek clone
http://freshmeat.net/projects/penultimate-generation
District Builder - Anti-gerrymandering software (!)
http://freshmeat.net/projects/district-builder
WarTactical - War game
http://freshmeat.net/projects/wartactical
Tuesday, August 09, 2011
Starview KVM sticky key problem
The problem is that sometimes, a letter will stick, and get repeated. Like thisssssssssssss.
It seems to be a firmware bug. According to Mike, you can fix it by installing new firmware.
http://www.newegg.com/Product/Product.aspx?Item=N82E16817707139
Now, after reading his posts, I understand how I solved it before. There are dedicated keyboard mouse ports on the starview, but you can also plug your keyboard & mouse to the general purpose ports. The general purpose ports don't have this problem.
Saturday, August 06, 2011
Sunday, July 17, 2011
Polygon algorithms
http://softsurfer.com/Archive/algorithm_0103/algorithm_0103.htm
Friday, July 08, 2011
Installing W7 SP1
<put error message here>
The problem is apparently that w7 requires access to boot manager (formerly boot.ini) to install SP1.
http://forums.opensuse.org/english/get-technical-help-here/how-faq-forums/unreviewed-how-faq/454535-opensuse-dual-booting-windows-7-loading-service-pack-1-windows-7-a.html
Wednesday, July 06, 2011
Wednesday, June 29, 2011
Tuesday, June 28, 2011
*** VTE ***: Failed to load terminal capabilities from '/etc/termcap'
sudo ln -s /usr/share/
Saturday, June 18, 2011
Monday, June 13, 2011
Freshmeat review 2011-06-13 to 2011-05-22
http://freshmeat.net/projects/wordwarvi
JShot - One-step screen capture, annotate and upload
http://freshmeat.net/projects/jshot
Freeberb3 - Sound processing library
http://freshmeat.net/projects/freeverb3
Turious - TBS game
http://freshmeat.net/projects/turious
Morituri - CD ripper
http://freshmeat.net/projects/morituri
Naev - Space trading game
http://freshmeat.net/projects/naev
OCE - 3D computer aided design (CAD)
http://freshmeat.net/projects/oce
Cottage - graphics and sound engine for HTML5 games
http://freshmeat.net/projects/cottage
Sunday, June 12, 2011
TPS in octave
http://www.cs.rtu.lv/jekabsons/regression.html
Monday, June 06, 2011
Finding extra files in your svn directory
$ svn status
Sunday, June 05, 2011
Build debian package: take 2
When everything is correct, you should be able to do this:
- cd plastimatch/trunk
- uscan --force-download
- svn-buildpackage -rfakeroot -uc -us
- cd source-dir
- debuild -j4 -i -us -uc -b
- debuild -j4 -i -us -uc -S
- cd source-dir
- cp -r ../trunk/debian .
- lintian -b ./plastimatch_1.5.0-1_amd64.deb
- lintian ./plastimatch_1.5.0-1_source.changes
- make new upstream tarball (don't forget to use pristine source directory -- cmake will include everythign)
- link upstream tarball to debian upstream tarball
- run get-orig-source
- cd build/plastimatch-pristine
- make package_source
- cp plastimatch-1.5.0-beta.2493-Source.tar.bz2 ~/debian-med/packages/plastimatch
- cd ~/debian-med/packages/plastimatch
- ln -s plastimatch-1.5.0-beta.2493-Source.tar.bz2 plastimatch-1.5.0.orig.tar.bz2
- cd trunk
- debian/get-orig-source
- sudo pbuilder create
- sudo pbuilder --update
- sudo pbuilder --build
foo_version.dsc
Monday, May 30, 2011
Partial update of packages
http://www.debian.org/doc/manuals/reference/ch02.en.html#_tracking_literal_testing_literal_with_some_packages_from_literal_unstable_literal
Building a debian package
- Create the launchpad account
https://launchpad.net/~gregsharp-geo - Here is some background reading
https://wiki.ubuntu.com/PackagingGuide/HandsOn
https://wiki.ubuntu.com/PbuilderHowto - http://willnichols.me.uk/progs/debpack/ar01s02s02.html
- Read section 3 of HandsOn, "Packaging From Scratch"
- Think about the CUDA dependency. There are some packages available here:
wheezy (devel): 3.2.16-2 [non-free]
sid (devel): 3.2.16-2 [non-free]
experimental (devel): 4.0.17-1 [non-free] - See also this:
http://groups.google.com/group/theano-users/browse_thread/thread/543033f4fc06548a/58e4221f43b59bee?#58e4221f43b59bee
https://launchpad.net/~aaron-haviland/+archive/cuda-4.0 - lib32cublas4, lib32cudart4, lib32cufft4, lib32curand4, lib32cusparse4, lib32npp4, libcublas4, libcudart4, libcufft4, libcurand4, libcusparse4, libnpp4, nvidia-compute-profiler, nvidia-cuda-dev, nvidia-cuda-doc, nvidia-cuda-gdb, nvidia-cuda-toolkit, nvidia-opencl-dev
Monday, May 23, 2011
Freshmeat review 2011-05-15 to 2011-05-22
http://freshmeat.net/projects/0-ad
Freelords - TBS game
http://freshmeat.net/projects/freelords
DIN - audio synthesizer
http://freshmeat.net/projects/din
Saturday, May 14, 2011
Freshmeat review 2011-05-04 to 2011-05-14
http://freshmeat.net/projects/qtiplot
Conquests - 4X strategy game
http://freshmeat.net/projects/conquests
HOPSPACK - parallel optimizer
http://freshmeat.net/projects/hopspack
Friday, May 06, 2011
IHE-RO
The technical framework web page has 3 documents.
http://www.ihe.net/Technical_Framework/index.cfm
And there are several more documents on the wiki
http://wiki.ihe.net/index.php?title=Radiation_Oncology
Also there are things like that have no links to them:
http://wiki.ihe.net/index.php?title=File:IHE-RO_Dose_Compositing_Supplement_v1.0-TI.pdf&oldid=41224
Wednesday, April 27, 2011
Setting up CDash
http://iborco.blogspot.com/2008/11/cdart-cdart2-or-cdash-no-cdash-public.html
Some suggestions about how to set up nightly:
http://cmake.3232098.n2.nabble.com/MSVC-Console-Environment-in-CTest-td3830925.html
http://www.vtk.org/Wiki/ITK/Examples/Instructions/ForAdministrators
http://code.google.com/p/dynamorio/source/browse/trunk/suite/nightly.cmake?spec=svn385&r=200
Monday, April 25, 2011
Cloud Storage
Dropbox
2GB free, 50GB = $120/yr
Live Mesh
5GB free (skydrive)
PC/Mac client (Web access for linux)
Ubuntu One
2GB free, 20GB = $36/yr
Linux, Windows in beta
JungleDisk
SpiderOak
2GB free, 100GB = $120/yr
Box.net
SugarSync
Cloudsafe
Reviews:
http://hardware.slashdot.org/story/11/07/27/0547218/DIY-Dropbox-Alternatives
http://yro.slashdot.org/story/11/06/16/1618206/Open-Source-Alternative-To-Dropbox
http://web.appstorm.net/roundups/data-management-roundups/dropbox-vs-spideroak-file-sync-battle/
http://web.appstorm.net/roundups/communication-roundups/10-easy-sites-for-file-sharing/
Thursday, April 21, 2011
Tuesday, April 12, 2011
Rad Onc sites
http://en.wikibooks.org/wiki/Radiation_Oncology
http://ozradonc.wikidot.com/start
http://www.isocentre.org/
Physics sites
http://www-naweb.iaea.org/nahu/dmrp/slides.shtm
http://www.medphyswiki.com/wiki/Main_Page
http://www.medphys.ca/content.php?doc=58
http://www.nrc.gov/reading-rm/doc-collections/cfr/
Sunday, March 20, 2011
Chromaprint
http://forums.musicbrainz.org/viewtopic.php?id=2432
Thursday, March 10, 2011
Recording playback
Win 7
- There is no option for stereo mix in my recording device properties
- My hardware is Dell Inspiron Desktop 546MT, Via 1708S
- I have updated my driver to Dell's latest version (R237832.exe, 10/25/2009)
Thursday, February 24, 2011
Friday, December 31, 2010
Configuring Amarok with my Sansa Fuze
http://www.goodbyemicrosoft.net/news.php?item.615.2
Thursday, December 30, 2010
Machine learning
http://www.support-vector-machines.org/SVM_soft.html
http://www.linux.org/docs/ldp/howto/AI-Alife-HOWTO-2.html
http://torch5.sourceforge.net/
http://mloss.org/software/
https://spreadsheets.google.com/ccc?key=0Aunb9cCVAP6NdDVBMzY1TjdPcmx4ei1EeUZNNGtKUHc&hl=en#gid=0
Reviews.
Weka
Very good for exploring data. I found several good algorithms (mostly linear algorithms such as PLS). However, not a final solution because it is written in Java.
LIBSVM
Performs poorly on my data.
LIBLinear
Not yet benchmarked.
Waffles
This will be good, but currently doesn't compile due to being 64-bit clean (gcc 4.5).
dlib
Looks promising. There is no benchmarking tool (?)
Shark
Looks promising. Not yet benchmarked.
Shogun
I previously reviewed this, using the Octave plugin. However, I don't remember the results. Need to re-benchmark.
Thursday, November 25, 2010
Sunday, November 14, 2010
Workarounds for github unreliability
MIght be possible using a "post-receive hook"
http://help.github.com/post-receive-hooks/
Monday, August 30, 2010
Lame settings for transcoding voice
lame -a -m s -b 16 test.wav test.mp3
See also
http://www.hydrogenaudio.org/forums/index.php?showtopic=3270
Wednesday, August 18, 2010
Tuesday, August 17, 2010
Saving gmail messages
http://ypopsemail.com/
Out of sight!
But anyway, back to gmail. I enabled POP3 (actually it was already enabled), and set up Claws to retrieve. There is some complicated-looking instructions in the Claws help pages:
http://www.claws-mail.org/faq/index.php/Installation_and_Configuration#Does_Claws_Mail_work_with_Gmail_accounts.3F
Well, actually that part is not so complicated, but the part about effectively using gmail tags is. The thing is, if you don't do that correctly, all of your "archive"d emails get thrown in your inbox together with everything else.
Sunday, August 08, 2010
Zerogsound
http://zerogsound.blogspot.com/
Tuesday, August 03, 2010
SSE flags with CMake
http://vir.homelinux.org/blog/index.php?url=archives/140-Automatic-Optimization-for-your-CPU-with-CMake.html&serendipity[csuccess]=moderate#feedback
https://gforge.sci.utah.edu/gf/project/Manta/scmsvn/?action=browse&path=%2F*checkout*%2Ftrunk%2FCMake%2FCheckSSE.cmake
http://trac.libyuni.org/browser/trunk/src/cmake/DetectInstructionsSets.cmake?rev=799
https://code.ros.org/discuss/ros-users/messages/4179?noheader=1
http://www.cmake.org/pipermail/cmake/2010-March/036115.html
Tuesday, July 27, 2010
Saturday, July 24, 2010
Grub error: symbol grub_xputs not found
Grub error: The symbol grub_xputs not foundApparently grub is confused because I have 2 hard disks (duh...). You can read many bug reports about this, and it is still not solved after most of a year. For example
grub rescue>
- https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/509797
- https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/609280
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=588370
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=589737
Sunday, July 11, 2010
Wednesday, June 16, 2010
Perl30Ex.dll + IIS
- Check install, permissions, etc (everything seems configured correctly)
http://blogs.iis.net/wadeh/archive/2009/04/13/running-perl-on-iis-7.aspx - Look through CGI doc, try different options (no apparent effect)
http://perldoc.perl.org/CGI.html - Enable failed request tracking (no failures logged)
http://mvolo.com/blogs/serverside/archive/2007/07/26/Troubleshoot-IIS7-errors-like-a-pro.aspx - Compare source pages between working (apache) and non-working (iis) systems
They are the same - Disable windows authentication in IIS
Saturday, June 12, 2010
Radeon+Debian (again)
Here is my card:
gsharp@wormwood:~$ lspci -v |grep VGA
01:00.0 VGA compatible controller: ATI Technologies Inc RV710 [Radeon HD 4350] (prog-if 00 [VGA controller])
Here are the pertinent bits from /var/log/Xorg.0.log
Older kernel (working):
(II) [KMS] Kernel modesetting enabled.Newer kernel (not working):
(WW) Falling back to old probe method for vesa
(WW) Falling back to old probe method for fbdev
(II) LoadModule: "fbdevhw"
(II) Loading /usr/lib/xorg/modules/linux/libfbdevhw.so
(II) Module fbdevhw: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 0.0.2
ABI class: X.Org Video Driver, version 6.0
(II) RADEON(0): Creating default Display subsection in Screen section
"Default Screen" for depth/fbbpp 24/32
(==) RADEON(0): Depth 24, (--) framebuffer bpp 32
(II) RADEON(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
(II) Primary Device is: PCI 01@00:00:0The new (not working) kernel goes on and loads module "vgahw" as well, which the older (working) kernel doesn't.
(II) [KMS] drm report modesetting isn't supported.
(WW) Falling back to old probe method for vesa
(WW) Falling back to old probe method for fbdev
(II) Loading sub module "fbdevhw"
(II) LoadModule: "fbdevhw"
(II) Loading /usr/lib/xorg/modules/linux/libfbdevhw.so
(II) Module fbdevhw: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 0.0.2
ABI class: X.Org Video Driver, version 6.0
(EE) open /dev/fb0: No such file or directory
(II) RADEON(0): TOTO SAYS 00000000fe9f0000
(II) RADEON(0): MMIO registers at 0x00000000fe9f0000: size 64KB
(II) RADEON(0): PCI bus 1 card 0 func 0
(II) RADEON(0): Creating default Display subsection in Screen section
"Default Screen" for depth/fbbpp 24/32
...
(EE) RADEON(0): Timeout trying to update memory controller settings !
(EE) RADEON(0): You will probably crash now ...
(EE) RADEON(0): Timeout trying to update memory controller settings !
(EE) RADEON(0): You will probably crash now ...
...
Originally, I had these three packages installed:
xserver-xorg-video-atiSo I removed the radeon one (presumably not needed for my card?):
xserver-xorg-video-radeon
xserver-xorg-video-radeonhd
apt-get remove xserver-xorg-video-radeonThis worked (in the sense that I get video), but didn't work (in the sense that X reverted to VESA). The Xorg.log yields:
(II) LoadModule: "ati"So, I manually add radeonhd to the /etc/X11/xorg.conf
(WW) Warning, couldn't open module ati
(II) UnloadModule: "ati"
(EE) Failed to load module "ati" (module does not exist, 0)
Section "Device"However, this causes X not to start with the following error:
Identifier "Device0"
Driver "radeonhd"
EndSection
(II) [DRM] Kernel mode setting enabledApparently the best way to deal with this is to tell the kernel to disable kernel modesetting, by adding radeon.modeset=0 (or is it radeonhd.modeset ??). See e.g. this link: http://lists.opensuse.org/radeonhd/2009-11/msg00175.html
(EE) FATAL: RadeonHD presently does not work with kernel modesetting (KMS).
Please disable KMS in your kernel.
(II) UnloadModule: "radeonhd"
(EE) Screen(s) found, but none have a usable configuration.
To test this, I need to reboot, and specify the kernel parameters to grub. This method is described in this link http://grumpymole.blogspot.com/2007/05/ubuntu-how-to-edit-grub-boot-parameters.html:
- Press "Esc" to intercept boot countdown
- Go to the grub menu entry
- Press 'e' to start editing.
- Scroll down to the "linux..." line. Add "radeon.modeset=0" to the end. (Yes, radeon, not radeonhd).
- Press CTRL-x to boot using that kernel and those parameters.
- Edit /etc/default/grub
- Change GRUB_CMDLINE_LINUX to include "radeon.modeset=0"
- grub-mkconfig -o /boot/grub/grub.cfg
- grub-install /dev/sdb (or whichever drive has the relevant MBR)
http://forum.nginx.org/read.php?26,90217,90217References:
http://wiki.debian.org/AtiHowTo
http://www.x.org/wiki/radeonhd
Friday, June 11, 2010
Cluster file synchronization
http://pooteeweet.org/blog/0/909#m909
Wednesday, June 09, 2010
kondemand problem
top - 18:21:05 up 35 days, 3:30, 1 user, load average: 0.71, 0.48, 0.39Not sure the problem, but I will like to try upgrading the kernel. It seems there are 3 different kernel revisions in the 4 machines.
Tasks: 250 total, 1 running, 249 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.0%us, 0.0%sy, 0.0%ni, 99.7%id, 0.0%wa, 0.0%hi, 0.3%si, 0.0%st
Mem: 20557640k total, 865564k used, 19692076k free, 159480k buffers
Swap: 23446828k total, 0k used, 23446828k free, 532112k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
13359 gcs6 20 0 51564 3560 2560 R 18 0.0 0:03.12 top
93 root 15 -5 0 0 0 S 2 0.0 305:29.57 kondemand/5
4168 root 20 0 8908 504 376 S 2 0.0 199:42.04 irqbalance
95 root 15 -5 0 0 0 S 2 0.0 303:43.57 kondemand/7
50 root 15 -5 0 0 0 S 1 0.0 217:07.99 events/15
99 root 15 -5 0 0 0 S 1 0.0 306:53.07 kondemand/11
101 root 15 -5 0 0 0 S 1 0.0 332:41.09 kondemand/13
89 root 15 -5 0 0 0 S 1 0.0 308:02.11 kondemand/1
91 root 15 -5 0 0 0 S 1 0.0 319:29.00 kondemand/3
4750 root 20 0 14608 632 476 S 1 0.0 2:11.19 cron
Sunday, June 06, 2010
id3 tools on linux
Here are the ones in Debian (starting with command line tools):
id3
http://code.google.com/p/id3/
Completely useless (id3v1 only).
id3tool
http://nekohako.xware.cx/id3tool/
Completely useless (id3v1 only).
id3v2
http://id3v2.sourceforge.net/
Mostly useless. Does not, for example, show encoding information.
mp3diags
http://mp3diags.sourceforge.net/
Nice program. Wish it would give more information about encoding.
Monday, May 24, 2010
Setting up NFS with a firewall
http://www.linuxquestions.org/questions/linux-networking-3/help-nfs-error-no-route-to-host-341562/page2.html
The relevant text-mode firewall configuration tool is called system-config-securitylevel. You can use spaces to separate the "other ports" that you need to add.
For NFS4, the following post looks useful:
http://blog.laimbock.com/2009/05/21/nfsv4-on-centos-53-and-fedora-11/
Wednesday, May 05, 2010
Sudo + ssh
http://www.sudo.ws/pipermail/sudo-users/2003-April/001477.html
http://mah.everybody.org/docs/ssh
Then the second piece of the puzzle is to do ssh -t so you can answer the sudo prompt properly. But you need to "prime" sudo, so it caches your password. See comment by crashingdaily in the following post:
http://crashingdaily.wordpress.com/2007/06/29/rsync-and-sudo-over-ssh/
Thursday, April 01, 2010
BFGS notes
http://www.math.mtu.edu/~msgocken/ma5630spring2003/lectures.html
http://www.math.mtu.edu/~msgocken/ma5630spring2003/lectures/
Also these:
http://www.srl.gatech.edu/education/ME6103/Quasi-Newton.ppt
This looks really hands on:
http://hal3.name/docs/daume04cg-bfgs.pdf
A nice looking implementation. Also, check references on this one, esp. for line search code:
http://www.chokkan.org/software/liblbfgs/
Matlab implementations of several optimizers:
http://www4.ncsu.edu/~ctk/matlab_darts.html
Another lbfgs implementation:
http://www.cs.umd.edu/~oleary/LBFGS/
Another paper describing LBFGS
http://www.fs.utm.my/matematika/images/stories/matematika/200117103.pdf
A survey of truncated newton methods
http://iris.gmu.edu/~snash/nash/assets/TN_Survey/tn_survey.html
Saturday, March 13, 2010
Optimizer summary
http://www.ece.northwestern.edu/~nocedal/lbfgsb.html
License: GPL
M2QN1:
http://www-rocq.inria.fr/~gilbert/modulopt/optimization-routines/m2qn1/m2qn1.html
License: proprietary
TNBC:
http://iris.gmu.edu/~snash/nash/software/software.html
License: unspecified
DONLP2:
http://www.mathematik.tu-darmstadt.de/fbereiche/numerik/staff/spellucci/DONLP2/
License: commercial
ALGLIB
http://www.alglib.net/
License: GPL
L-BFGS-B license
http://www.eecs.northwestern.edu/~nocedal/lbfgsb.html
http://www.acm.org/publications/policies/softwarecrnotice
I wonder if the license changed. For example SciPy uses under a different license:
http://docs.scipy.org/doc/scipy/reference/generated/scipy.optimize.fmin_l_bfgs_b.html
The SciPy list has a discussion of alternate optimizers of this class.
http://osdir.com/ml/python.scientific.devel/2004-04/msg00005.html
See also this regarding GSL routines.
http://www.mail-archive.com/help-gsl@gnu.org/msg00603.html
String libraries redux
As far as it goes, Matthew Wilson's code looks interesting too:
Monday, March 08, 2010
Monte Carlo codes
GEANT4
Here is the site for MCNPX
Not sure where I can download DPM. Here is an old version
Penelope. It is hard to find as well. But eventually I found it.
- http://www.nea.fr/abs/html/nea-1525.html
- http://www.nea.fr/html/dbprog/usacan.htm
- http://www.dosisoft.com/PDF/Presentations_seminaire_0704/Penelope-J%20Barthe-CEA.pdf
Sunday, March 07, 2010
Smart pointers
Here are some implementations of smart pointers:
- ITK smart pointers (advantage - already required by project)
- Boost (disadvantage - many incompatible versions)
- Loki
- Yasper
- RefPtr (not thread safe?)
I'm slightly concerned about the loss of performance in naive reference
counted smart pointers. See for example this description:
http://c2.com/cgi/wiki?ReferenceCounting
Saturday, March 06, 2010
New crop of blogging sites
- Wordpress
- Movable Type
- Drupal
- Textpattern
- Roller
- MetaWeblog API
- Blogger
- Tumblr
From the w.blogger site, here are a slightly dated list of blog sites.
Sunday, February 14, 2010
Radeon + debian 2.0
I try to delete xserver-xorg-video-radeon (it is presumably unneeded). But when I do that, X fails to start.
Friday, February 12, 2010
Star Wars
http://www.gappon.com/star-wars-return-of-the-ewok-1982-583635.html
http://entertainment.slashdot.org/story/09/12/21/1637235/The-Definitive-Evisceration-of-The-Phantom-Menace-NSFW?art_pos=14
http://entertainment.slashdot.org/story/09/10/06/1647234/Fans-Come-Together-To-Complete-Star-Wars-Uncut
Thursday, February 11, 2010
Saturday, January 23, 2010
DKMS autoload fails for fglrx (ATI proprietary driver)
http://lkml.org/lkml/2009/10/12/255In more detail, go to directory
/usr/src/fglrx-8.681Edit the file kcl_io.c, and add the following line
#includeThen run the following:.
sudo dkms build -m fglrx -v 8.681
Friday, January 22, 2010
Xsession: Login for (user) is disabled
Xsession: Login for (user) is disabledThis is fixed by editing /etc/shells, and adding a line for the LDAP-specified shell (in my case, /bin/PHSshell).
http://www.linuxquestions.org/questions/susenovell-60/xsession-login-for-someuser-is-disabled.-369654/
Saturday, January 16, 2010
Monday, December 28, 2009
LDAP + Kerberos
gcs6@gelato:/etc> ldapwhoami
SASL/GSSAPI authentication started
ldap_sasl_interactive_bind_s: Local error (-2)
Not yet completely fixed, but looks like you need to do both of the following:
http://research.imb.uq.edu.au/~l.rathbone/ldap/gssapi.shtml
http://www.linuxquestions.org/questions/linux-networking-3/kerberos-kinit-reply-did-not-match-expectations-445698/
Sunday, December 27, 2009
Wednesday, December 23, 2009
Setting up a new subversion repository
- Edit /etc/httpd/conf.d
Add section where "Location" is the name of the module
Set "SVNPath" as appropriate
Set "AuthUserFile" to name of a new file - Create password file, such as /var/www/svnusers-name-of-project
For each user, add password such as:
sudo htpasswd -m svnusers-name-of-project new-user
(Actually, maybe the -m is not desired?) - Create the archive:
cd /home/subversion/repos/
sudo svnadmin create name-of-project
sudo chown -R apache.apache name-of-project - Restart apache
(If you don't do this, you get the dreaded "200 OK" error)
In Centos, do this: sudo /sbin/service httpd restart
Tuesday, December 22, 2009
Some RT links
International Electrotechnical Commission, IEC 61217: Radiotherapy Equipment—Coordinates, Movements and Scales ~International Electrotechnical Commission, Geneva, 1996.
Best reference I could find is the AAPM task group report.
http://www.aapm.org/pubs/reports/OR_01.pdf
What is IEC 60601-2-11?
Medical electrical equipment - Part 2-11: Particular requirements for
the safety and essential performance of gamma beam therapy equipment
Short but useful link. Describes IEC 61217 patient coordinates...
http://atc.wustl.edu/home/news/2004_dicom_workshop/WRB2004%20Image%20IODs%20v3.pdf
Good tutorial for DicomRT
http://www.sgsmp.ch/dicom/germond.pdf
Saturday, December 19, 2009
Strain
http://www.efunda.com/formulae/solid_mechanics/mat_mechanics/strain.cfmRegularization based on strain is described here:
http://en.wikipedia.org/wiki/Infinitesimal_strain_theory
http://en.wikipedia.org/wiki/Hooke%27s_law
http://en.wikipedia.org/wiki/Lam%C3%A9_parameters
ftp://ftp.math.ucla.edu/pub/camreport/cam08-27.pdf
Sunday, December 13, 2009
libtool hangs
echo="echo"Here is the original poster who found the workaround:
http://lists.opensuse.org/opensuse-bugs/2009-01/msg02935.htmlStill need to find a real fix for this.
Saturday, December 05, 2009
_CRTDBG_MAP_ALLOC
http://msdn.microsoft.com/en-us/library/e5ewb1h3(VS.80).aspx
Sunday, November 29, 2009
Virtual box and debian
http://forums.virtualbox.org/viewtopic.php?f=7&t=5634This is not virtualbox related, but looks interesting:
http://simh.trailing-edge.com/
Friday, November 27, 2009
Turning off autoplay for Debian
- System -> Preferences -> Removable drives and media
- Applications -> System tools -> Configuration editor -> Apps -> Nautilus -> Preferences
- Desktop -> Gnome -> volume_manager
http://www.fedoraforum.org/forum/showthread.php?p=1266047
Thursday, November 26, 2009
Wednesday, November 18, 2009
USB mounting on OpenSUSE
http://www.suseblog.com/quick-usb-stick-mounting-tip-for-suse-linux
Sunday, November 15, 2009
OpenCL segmentation faults on linux
http://forums.amd.com/devforum/messageview.cfm?catid=390&threadid=120456
Here is the OpenCL page:
http://developer.amd.com/GPU/ATISTREAMSDKBETAPROGRAM/Pages/default.aspx
Ripping on linux
https://thomas.apestaart.org/thomas/trac/wiki/DAD/Rip
Name lookup with WINS on linux
http://www.linuxquestions.org/questions/susenovell-60/enabling-wins-lookup-463012/
You need to install /lib/libnss_wins.so, which is in the winbind package.
What does [NOTFOUND=return] in nsswitch.conf mean? Briefly, [NOTFOUND=return] means that the name service whose entry it follows should be considered authoritative (so that if it's up and it says such a name doesn't exist, believe it and return instead of continuing to hunt for an answer).
http://www.unixguide.net/sun/faq/4.03.shtml
Apparently this change requires a reboot (!) as well:
http://docs.hp.com/en/5992-0715/ch06s01.html
ScribeFire
https://addons.mozilla.org/en-US/firefox/addon/1730
It even lets me edit previous posts which I made using the web interface.
By default, it adds tracking cookies to your web site. Probably you want to turn these off:
http://blog.coldtobi.de/1_coldtobis_blog/archive/242_scribefire_inserts_zemanta_web_bug.html