Re: Microsoft Virtual Earth-based apps not working

2009-04-22 Thread Rob Starling
On Wed, Apr 22, 2009 at 03:12:24PM -0400, Eric Gerlach wrote:
 Hey all,
 
 I'm having some trouble using Microsoft Virtual Earth-based apps like:
 
 http://www.realtor.ca/
 http://192.237.29.245/hastinfoweb/ (my local transit planning site)
 
 The little flags on the maps don't show up.
 
 Is anyone else having this problem?  Or is it just me?

this is an old post, and i think things work with firefox now,
but if you're using Iceweasel, VE might be confused by the agent
string:
  http://www.viavirtualearth.com/wiki/Firefox2.ashx

this should help you change the user agent string to match
firefox.  see if that helps:
  http://wiki.debian.org/Iceweasel#UserAgentString

another:
  http://www.geticeweasel.org/useragent/

--Rob*

-- 
/-\
| If we couldn't laugh we would all go insane   |
|  --Jimmy Buffett,   |
|Changes in Latitudes, Changes in Attitudes |
\-/


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: xterm font sizes choices?

2009-04-07 Thread Rob Starling
On Tue, Apr 07, 2009 at 10:48:39PM -0500, Zhengquan Zhang wrote:
 On Wed, Apr 08, 2009 at 01:18:04AM +0200, Florian Kulzer wrote:
  On Tue, Apr 07, 2009 at 16:58:50 -0500, Zhengquan Zhang wrote:
   I think I have a pretty normal setting and I did touch anything,
   so how can I tell my dpi is low?
  
  Run
  xdpyinfo | grep -E 'dim|resol'
   dimensions:1280x1024 pixels (376x301 millimeters)
   resolution:86x86 dots per inch
 
 Thanks, Florian, so if the resolution is low, do you have any ideas to
 increase that?

if the dimensions are right, then that is the correct resolution.

1280 / 14.8031496 = 86.4680851 dpi

--Rob*

-- 
/-\
| If we couldn't laugh we would all go insane   |
|  --Jimmy Buffett,   |
|Changes in Latitudes, Changes in Attitudes |
\-/


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: database.php

2009-03-30 Thread Rob Starling
On Mon, Mar 30, 2009 at 10:54:41AM -0500, Boyd Stephen Smith Jr. wrote:
 In 74aa57df090337t7ab8746ftc12eecb4bcd0a...@mail.gmail.com, hadi 
 motamedi wrote:
 Dear All
 Can you please let me know how I can open the database.php file on my MS
 Windows client ?
 
 .php files are (generally) PHP source code which is (mostly) plain text.  It 
 is possible that the file has UNIX-style line endings (\n) instead of DOS-
 style line endings (\r\n) or Mac-style line endings (\r).  If so, you can 
 use the unix2dos utility to convert the line endings, or simply use a text 
 editor that understands multiple types of line endings like GVim, XEMACS, or 
 TextPad.

my theory on this one is actually that the OP used a website with
a script called database.php to download something (likely a csv
or excel dump of a database) and that the script returned a
content-type of application/octet-stream (prompting the save as..
dialog), but didn't give a content-disposition suggesting a
filename, so the OP just hit OK and got a file called
database.php that is actually a usable data file but misnamed.

Mr. Motamedi, try opening it from within Excel if that all sounds
plausible to you.

--Rob*

-- 
/-\
| If we couldn't laugh we would all go insane   |
|  --Jimmy Buffett,   |
|Changes in Latitudes, Changes in Attitudes |
\-/


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: mount problem

2009-03-29 Thread Rob Starling
On Mon, Mar 30, 2009 at 02:49:46AM +0200, cesarino vinh wrote:
 Why can't my Debian normally mount smbfs?
 
 I Tried many mount options in fstab, but I always get one strange result: I
 can create folders in the mounted dir, BUT: I can't create files, because it
 say's I don't have permission. I tried it with root, same problem. The samba
 share is anonymous, could that be a problem? Does anybody knows how can I
 mount the samba share?? [If I mount it with System-Places-Connect to server
 it works, but I need to have it after a reboot to...why doesn't it work
 properly?]
 
 //192.168.1.1/share/ /home/user/share/ smbfs
 defaults,username=,password= 0 0

here's what i have in /etc/fstab for my anonymous read/write share:

//192.168.0.76/drop  /media/gluttony  smbfs  
guest,file_mode=0666,dir_mode=0777,noauto,umask=,noperm  0  0

--Rob*

-- 
/-\
| If we couldn't laugh we would all go insane   |
|  --Jimmy Buffett,   |
|Changes in Latitudes, Changes in Attitudes |
\-/


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: [work around] Re: size problem of large file transfer over https

2009-03-26 Thread Rob Starling
On Thu, Mar 26, 2009 at 01:27:27PM -0400, H.S. wrote:
 Well, I split the tar file to smaller chunks of 680M each (using the
 split command).
 $ split -d -b 680M /tmp/datafile.tar  datfile
...
 The only problem is that the remote user uses Windows and will need a
 method to join them together back to the tar file. In Linux, one would
 just cat them together. In Windows, I have searched google and found the
 following will work on a command prompt:
 copy /b datfile* datafile.tar /b
 
 where datfilenn are the split files. This was from:
 http://elliottback.com/wp/combine-split-files-in-windows/

just be sure that the * expands to the names of the files in the
right order!  if it's just a few, i'd play it safe and just list
'em in the right order.

--Rob*

-- 
/-\
| If we couldn't laugh we would all go insane   |
|  --Jimmy Buffett,   |
|Changes in Latitudes, Changes in Attitudes |
\-/


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Delete 4 million files

2009-03-25 Thread Rob Starling
On Wed, Mar 25, 2009 at 03:10:42PM +, Tzafrir Cohen wrote:
 On Wed, Mar 25, 2009 at 07:53:06AM -0500, Ron Johnson wrote:
  On 2009-03-25 05:16, Tzafrir Cohen wrote:
  Tapani Tarvainen schrieb:
  kj wrote:
  Now, I've been running the usual find . -type f -exec rm {} \;
  but this is going at about 700,000 per day.  Would simply doing 
  an rm  -rf on the Maildir be quicker?  Or is there a better 
  way?
  While rm -rf would certainly be quicker and is obviously preferred
  when you want to remove everything in the directory, the find version
  could be speeded significantly by using xargs, i.e.,
  find . -type f -print0 | xargs -0 rm
  This is especially  useful if you want to remove files selecticely
  instead of everything at once.
 
  And this requires traversing the directory not just a single time but 4
  milion times (once per rm process). Not to mention merely spawning 4
  milion such processes is not fun (but spawning those would probably fit
  nicely within 10 minutes or so)
 
  But isn't that (preventing the spawning of 4M processes) the reason why 
  xargs was created?
 
 $ for i in `seq 400`;  echo hi; done | xargs /bin/echo | wc
 252 400 1200
...
 So it's indeed not 4M processes, but still quite a few. But wrost:
 you're traversing the directory many times. And you're telling rm in
 which explicit order to remove files, rather than simply the native
 order of the files in the directory (or whatever is convinient for the
 implementor). Which probably requires rm a number of extra lookups in
 the directory.

can you explain what you mean by traversing?  i haven't
confirmed with strace, but i assume the only process doing
open(., O_DIRECTORY) and getdents is the single find process.
then, each of the (approx 1000) rm processes are making about
4000 unlinks.

syscall-wise, the only differences between rm -r and find | xargs
rm would be the 4000 extra forks and a bunch of writes and reads
of the list of filenames from the pipe.  compared to the 400
unlinks in either case, that overhead hardly seems like the wrost
part ;)

unless your filesystem has an optimization for removing subtrees
and your tool knows to ask for it, i'd guess you're probably
spending most of your time waiting for the filesystem to remove
entries and invalidate caches.

--Rob*

-- 
/-\
| If we couldn't laugh we would all go insane   |
|  --Jimmy Buffett,   |
|Changes in Latitudes, Changes in Attitudes |
\-/


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: testing microphone - how?

2009-03-25 Thread Rob Starling
On Wed, Mar 25, 2009 at 06:21:43PM +, T o n g wrote:
 On Wed, 25 Mar 2009 13:17:53 -0400, H.S. wrote:
 
  . . . Mic Boost. If not set, the microphone will not work
  under Linux. Anyone knows how to easily set it up?
  
  I just do:
  $ alsamixer
 
 thanks. 
 
 Any command line tool so that I can automate it without manual tweaking?

amixer is in alsa-utils.

$  amixer set 'Mic Boost' 1

--Rob*

-- 
/-\
| If we couldn't laugh we would all go insane   |
|  --Jimmy Buffett,   |
|Changes in Latitudes, Changes in Attitudes |
\-/


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Stopwatch

2009-03-23 Thread Rob Starling
On Mon, Mar 23, 2009 at 06:29:52PM +, Tzafrir Cohen wrote:
 On Mon, Mar 23, 2009 at 02:27:24PM +, Séamas Ó Brógáin wrote:
  Hello.
 
  Is there a simple stopwatch application for Debian (Gnome)? I’ve looked  
  in the repositories, without success.
 
 time cat #;)

yeah, i usually use
  time read

so that start and stop are both enter.

--Rob*

-- 
/-\
| If we couldn't laugh we would all go insane   |
|  --Jimmy Buffett,   |
|Changes in Latitudes, Changes in Attitudes |
\-/


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Delete 4 million files

2009-03-19 Thread Rob Starling
On Thu, Mar 19, 2009 at 12:07:11PM -0400, Stefan Monnier wrote:
 I'm curious: where did people come up with the incongruous idea of using
 find/rsync/younameit rather than just use plain old `rm'?

It seemed like the OP could use a pocketful of general un*x
how standard tools work together.  Maybe next time they'll
need a name pattern match or a timestamp comparison on the
fileset.

--Rob*

-- 
/-\
| If we couldn't laugh we would all go insane   |
|  --Jimmy Buffett,   |
|Changes in Latitudes, Changes in Attitudes |
\-/


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Delete 4 million files

2009-03-18 Thread Rob Starling
On Wed, Mar 18, 2009 at 10:25:13AM -0700, Raquel wrote:
 On Wed, 18 Mar 2009 16:37:53 +
 kj koffiejunkielistlur...@koffiejunkie.za.net wrote:
  I discovered a Maildir on my server with 4+ million mails in.  The 
  result of a cronjob that runs every minute - this has been fixed.
  
  Now, I've been running the usual find . -type f -exec rm {} \;
  but this is going at about 700,000 per day.  Would simply doing an
  rm -rf on the Maildir be quicker?  Or is there a better way?
 
 Why not # cd $Maildir
 then # rm -R *

don't do that; that's asking the shell to expand '*' and then
pass the list (4+ million items!) to 'rm'.  it'll either truncate
the list (and you'll have to run it several times), or it won't
run at all (complaining of 'argument list too long')

--Rob*

-- 
/-\
| If we couldn't laugh we would all go insane   |
|  --Jimmy Buffett,   |
|Changes in Latitudes, Changes in Attitudes |
\-/


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Delete 4 million files

2009-03-18 Thread Rob Starling
On Wed, Mar 18, 2009 at 10:05:08PM +0100, Jörg-Volker Peetz wrote:
 kj wrote:
  Now, I've been running the usual find . -type f -exec rm {} \;
  but this is going at about 700,000 per day.  Would simply doing an rm
  -rf on the Maildir be quicker?  Or is there a better way?
 
 As already said, this calls rm for every file. Another alternative is with 
 newer
 versions of find:
 
   find . -type f -exec rm {} \+
 
 This calls rm for as many files as fit on the command line.
 But probably rm -rf is the fastest.

the '+' behavior is exactly why people use xargs:

 find . -type f | xargs rm

will not call rm N times for N files; rather, it will call rm
in batches of as many arguments as it can reasonably fit in
each call.

to see for yourself, compare:

$ find . -type f -exec echo CALL '{}' ';'
$ find . -type f -exec echo CALL '{}' '+'
$ find . -type f | xargs echo CALL
$ find . -type f | xargs -n 1 echo CALL

the number of times you see 'CALL' in the output is the number
of 'rm' calls you'd get.

--Rob*

p.s.  if you're chaining find and xargs and your filenames have
spaces and such in them, you'll want to use -print0 and -0 for
the find and xargs, repectively, to separate the filenames by
ascii NULs instead of spaces:

$ find . -name Sp\*
./Space Ghost Coast to Coast - table read.TiVo

$ find . -name Sp\* | xargs ls -l
ls: cannot access ./Space: No such file or directory
ls: cannot access Ghost: No such file or directory
ls: cannot access Coast: No such file or directory
ls: cannot access to: No such file or directory
ls: cannot access Coast: No such file or directory
ls: cannot access -: No such file or directory
ls: cannot access table: No such file or directory
ls: cannot access read.TiVo: No such file or directory

$ find . -name Sp\* -print0 | xargs -0 ls -l
-rw-r--r-- 1 robstar robstar 753751465 2008-09-06 02:53 ./Space Ghost Coast to 
Coast - table read.TiVo

-- 
/-\
| If we couldn't laugh we would all go insane   |
|  --Jimmy Buffett,   |
|Changes in Latitudes, Changes in Attitudes |
\-/


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: No sound on a Thinkpad T61 w/ ALSA and AS1984 sound card (redux)

2008-12-24 Thread Rob Starling
On Wed, Dec 24, 2008 at 07:47:49PM +0100, Nigel Henry wrote:
 On Wednesday 24 December 2008 06:25, Rob Starling wrote:
  On Tue, Dec 23, 2008 at 07:31:12PM -0800, Kyle Barbour wrote:
  
   lsmod | grep snd_hda_intel returns:
  
   snd_hdsnd_hda_intel 324248  2
   snd_pcm62596  2 snd_pcm_oss,snd_hda_intel
   snd45604  12
   snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_pcm,snd_seq_oss,snd_seq,snd_t
  imer,snd_seq_device snd_page_alloc  7816  2 snd_hda_intel,snd_pcm
   a_intel 324248  2
   snd_pcm62596  2 snd_pcm_oss,snd_hda_intel
   snd45604  12
   snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_pcm,snd_seq_oss,snd_seq,snd_t
  imer,snd_seq_device snd_page_alloc  7816  2 snd_hda_intel,snd_pcm
...
 Hi Rob.
 
 Just a question, as I've poked my nose in on this thread.
 
 Kyle's lsmod shows a module (snd-hdsnd-hda-intel) loaded. I can't find such a 
 module as existing.

i assumed that was just a copy-paste error of snd_hda_intel,
which is what i have loaded.  (the 5-char offset of the 2nd
column in his paste supports that hypothesis)

--Rob

-- 
/-\
| If we couldn't laugh we would all go insane   |
|  --Jimmy Buffett,   |
|Changes in Latitudes, Changes in Attitudes |
\-/


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: No sound on a Thinkpad T61 w/ ALSA and AS1984 sound card (redux)

2008-12-23 Thread Rob Starling
On Tue, Dec 23, 2008 at 07:31:12PM -0800, Kyle Barbour wrote:
 A while back (http://lists.debian.org/debian-user/2008/01/msg02415.html),
 I was having trouble getting sound  to work on my Thinkpad T61.
 Although that was resolved and everything worked wonderfully, a few
 days ago sound stopped working again, and I haven't been successful at
 fixing the problem. Neither the internal speakers nor the headphones
 produce any sound. The master volume and the PCM volume are on full,
 neither are muted, and both the speaker and headphones are enabled.
 
 My sound card is an Analog Devices 1984 (AD1984) sound card, and I'm
 running Debian Lenny (2.6.26-1-686 kernel) with ALSA 1.0.16. According
 to thinkwiki (http://www.thinkwiki.org/wiki/AD1984), this card should
 be supported in the kernel and in the alsa driver in the versions I'm
 using.
 
 lsmod | grep snd_hda_intel returns:
 
 snd_hdsnd_hda_intel 324248  2
 snd_pcm62596  2 snd_pcm_oss,snd_hda_intel
 snd45604  12
 snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_pcm,snd_seq_oss,snd_seq,snd_timer,snd_seq_device
 snd_page_alloc  7816  2 snd_hda_intel,snd_pcm
 a_intel 324248  2
 snd_pcm62596  2 snd_pcm_oss,snd_hda_intel
 snd45604  12
 snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_pcm,snd_seq_oss,snd_seq,snd_timer,snd_seq_device
 snd_page_alloc  7816  2 snd_hda_intel,snd_pcm
 
 so it looks as though the correct module is loaded.
 
 I tried reconfiguring the sound card with alsaconf, which didn't fix
 the problem, although it reported a successful status. Compiling ALSA
 from alsa-source (using module-assistant) and manually loading the
 modules didn't fix anything either (so maybe not an ALSA problem?).
 
 Some more information:
 
 $ cat /proc/asound/cards
 0 [Intel  ]: HDA-Intel - HDA Intel
  HDA Intel at 0xfe02 irq 17
 $ cat /proc/asound/version
 Advanced Linux Sound Architecture Driver Version 1.0.16.
 $ cat /dev/sndstat
 Sound Driver:3.8.1a-980706 (ALSA v1.0.16 emulation code)
 Kernel: Linux finnegan 2.6.26-1-686 #1 SMP Mon Dec 15 18:15:07 UTC 2008 i686
 Config options: 0
 
 Installed drivers:
 Type 10: ALSA emulation
 
 Card config:
 HDA Intel at 0xfe02 irq 17
 
 Audio devices:
 0: AD198x Analog (DUPLEX)
 
 Synth devices: NOT ENABLED IN CONFIG
 
 Midi devices: NOT ENABLED IN CONFIG
 
 Timers:
 7: system timer
 
 Mixers:
 0: Analog Devices AD1984
 
 Any thoughts on what might be causing the problem?

do you need the OSS stuff?  might it be that something is
grabbing the resource there and hogging it?

i also have a T61 and my /proc/asound/cards looks the same,
but for some reason (maybe the lack of OSS), my /dev/sndstat
has no Audio devices nor Mixers:

# cat /dev/sndstat 
Sound Driver:3.8.1a-980706 (ALSA v1.0.16 emulation code)
Kernel: Linux pride 2.6.26-1-amd64 #1 SMP Sat Nov 8 18:25:23 UTC 2008 x86_64
Config options: 0

Installed drivers: 
Type 10: ALSA emulation

Card config: 
HDA Intel at 0xfe02 irq 17

Audio devices: NOT ENABLED IN CONFIG

Synth devices: NOT ENABLED IN CONFIG

Midi devices: NOT ENABLED IN CONFIG

Timers:
7: system timer

Mixers: NOT ENABLED IN CONFIG

My sound, however, *does* work.  The Gnome volume applet sees
it as HDA Intel (Alsa mixer) just like yours.  Make sure
you're controlling the right device (File | Change Device)

Let me know if there are other comparative things i can post
to help.

--Rob

-- 
/-\
| If we couldn't laugh we would all go insane   |
|  --Jimmy Buffett,   |
|Changes in Latitudes, Changes in Attitudes |
\-/


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Backup Image for my needs

2008-12-18 Thread Rob Starling
On Thu, Dec 18, 2008 at 09:11:10AM -0800, Daniel Burrows wrote:
 On Wed, Dec 17, 2008 at 08:51:12PM -0800, Carl Johnson ca...@peak.org was 
 heard to say:
  Just because a package is automatically installed doesn't mean that it
  is the choice the package manager would choose.  For example many
  packages depend on www-browser, but which one is automatically
  installed?  You can use aptitude to select the one you want and then
  remove any other automatically installed one, but how will it know
  that if you install from that list later?
 
   What should work, probably, is (this is an outline and not a complete
 list of commands):
 
   (a) save aptitude search '~i' and aptitude search '~i~A'
 
   (b) run aptitude install -o 'Aptitude::Auto-Install=false'
 $(cat list-of-installed-packages)
 
   (c) run aptitude markauto $(cat list-of-auto-packages)
 
   If you exceed the maximum number of command-line arguments, which you
 probably will, you can either break them up into batches or do some
 hacks to feed them into the command-line prompt (which means you have to
 figure out how to force the program to make a prompt).  Of course,
 breaking the install runs up into batches would mean you have to
 sort them topologically (the implementation of which is left to the
 reader familiar with python-apt and Wikipedia).

fortunately, for (c), that's exactly what xargs is for:
  cat list-of-auto-packages | xargs aptitude markauto

as for (b), the reader has an all-nighter in the CS lab ahead
of them ;)

Carl's point about alternatives is the trickiest part, though.

Another complication is that you can manually install a package
that is recommended by another and then mark it auto and it'll
stick around.

--Rob

-- 
/-\
| If we couldn't laugh we would all go insane   |
|  --Jimmy Buffett,   |
|Changes in Latitudes, Changes in Attitudes |
\-/


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: LVM reorganization

2008-12-18 Thread Rob Starling
On Fri, Dec 19, 2008 at 06:42:20AM +1100, Alex Samad wrote:
 On Thu, Dec 18, 2008 at 08:23:58AM -0600, Boyd Stephen Smith Jr. wrote:
  On Thursday 18 December 2008, Alex Samad a...@samad.com.au wrote 
  about 'Re: LVM reorganization':
  On Thu, Dec 18, 2008 at 01:31:18AM -0600, Boyd Stephen Smith Jr. wrote:
  [snip]
  
   Shrinking the LV is probably the most dangerous part.  You don't want
   to
  
  1 word
  
  backup
  
  3 words:
  4 TB /home
 
 I have 10 x 1Tb (raid6) on my machine, I went and bought 8x1Tb
 (+2x750Gb) for my backup machine, because I wanted some piece of mind
 for those occassions when fsck, resize and ... screw up

good call.  let's all say it together now:

  RAID is Not a Substitute for Backups!

--Rob*

-- 
/-\
| If we couldn't laugh we would all go insane   |
|  --Jimmy Buffett,   |
|Changes in Latitudes, Changes in Attitudes |
\-/


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Confusion about legality of Linux

2008-12-10 Thread Rob Starling
On Wed, Dec 10, 2008 at 07:08:48AM -0600, Bryan Bishop wrote:
 On Wed, Dec 10, 2008 at 5:35 AM, Tom Ashley wrote:
  http://linuxlock.blogspot.com/2008/12/linux-stop-holding-our-kids-back.html
...
 All joking aside, this does strike me as peculiar. Not because it's
 yet another uninformed individual, but because it's a teacher, who
 would supposedly support the values of education, free software, gift
 economies, etc. But this isn't common to all teachers, I know, they
 all have their odd reasons for being where they are. And some might
 just end up in the job without knowing why.

the blog post seems too troll-y to me.  maybe we should wait
for Ken to reply to all the did this really happen comments
before getting too worked up.  lines like no software is free,
and I along with many others tried Linux during college are
just too perfect for this to real.

--Rob

-- 
/-\
| If we couldn't laugh we would all go insane   |
|  --Jimmy Buffett,   |
|Changes in Latitudes, Changes in Attitudes |
\-/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: X11 Forwarding with Lenny?

2008-11-29 Thread Rob Starling
On Sat, Nov 29, 2008 at 09:37:03PM +0100, swm38 swm38 wrote:
 It's the exact same output for both systems, but X11 forwarding works
 only in one direction.

does the output of ssh -Xvv ... in each direction differ in
an interesting way?

--Rob*

-- 
/-\
| If we couldn't laugh we would all go insane   |
|  --Jimmy Buffett,   |
|Changes in Latitudes, Changes in Attitudes |
\-/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Screen blanker Mouse

2008-11-25 Thread Rob Starling
On Tue, Nov 25, 2008 at 01:58:08AM -0600, Boyd Stephen Smith Jr. wrote:
 On Monday 2008 November 24 12:32, Manon Metten wrote:
  Whenever I move my mouse, the screen wakes up from either blanking
  or dpms mode. I would like to turn that off and have the screen wake up
  only when I hit the keyboard.
 
 Unfortunately, this isn't really easy.  It would probably take a number of 
 source-code level changes to X.org.
 
  Can anyone please tell me if this is possible at all, and how to achive it.
 
 The right way do do it would probably be to add another Option to the 
 InputDevice section, then test this option and inhibit wake events -- in fact 
 swallow all input from the device if the DPMS has switched on -- and allow 
 clients (like the client that locks the X session) to filter the events based 
 on that option.

sure would be nice, though -- my mouse (a wacom table-mouse)
jitters a bit when it's sitting still and, as a result, my
screen won't properly go into DPMS sleep unless i move the
mouse off the tablet altogether.

searching a bit, it seems like if you're using xscreensaver,
increasing 'pointerHysteresis' a whole bunch might do the
trick.[1]

--Rob

[1] http://www.jwz.org/xscreensaver/man1.html

-- 
/-\
| If we couldn't laugh we would all go insane   |
|  --Jimmy Buffett,   |
|Changes in Latitudes, Changes in Attitudes |
\-/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Stic device naming with udev, help please

2008-11-15 Thread Rob Starling
On Fri, Nov 14, 2008 at 08:08:51PM -0600, Nate Bargmann wrote:
 SUBSYSTEMS==usb-serial, ATTRS{busnum}==6, ATTRS{devnum}==3, 
 DRIVERS==pl2303, NAME=ttyUSB0
 SUBSYSTEMS==usb-serial, ATTRS{busnum}==7, ATTRS{devnum}==5, 
 DRIVERS==pl2303, NAME=ttyUSB1

try naming them something interesting so you're not competing
with the auto-generated numbered ones.  (you didn't remove the
existing rules, did you?)

tty_dongleA and tty_dongleB maybe?

--Rob

-- 
/-\
| If we couldn't laugh we would all go insane   |
|  --Jimmy Buffett,   |
|Changes in Latitudes, Changes in Attitudes |
\-/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Q: List Policy

2008-11-15 Thread Rob Starling
On Sat, Nov 15, 2008 at 09:19:58PM -0600, Ron Johnson wrote:
 Besides:

 http://www.debian.org/MailingLists/#codeofconduct
 When replying to messages on the mailing list, do not send
 a carbon copy (CC) to the original poster unless they
 explicitly request to be copied.

might it help if that link were in the message-footer here?

 To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a 
 subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

a third line with that URL certainly wouldn't make my inbox
any more bloated.  who are the admins who could do that?

--Rob

-- 
/-\
| If we couldn't laugh we would all go insane   |
|  --Jimmy Buffett,   |
|Changes in Latitudes, Changes in Attitudes |
\-/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Fwd: xrandr -o left

2008-11-07 Thread Rob Starling
On Fri, Nov 07, 2008 at 02:24:08PM -0500, Brian McKee wrote:
 I think that's the point - e.g.  Sears Portrait Studios (and other
 photography stores that do portrait shots) often set their monitors up
 that way for more vertical real-estate.   I was actually doing it here
 for a bit, but my CRT distorts colours when you put it on it's side.
 Dunno why - hanging wiring I guess.   Wide screen really only makes
 sense for video I think - I'd rather have the vertical space for web
 browsing and text.

did you find all colors distorted?  or just text?  and when you
say crt, do you mean it?  or is it an lcd?  i ask b/c it could
have been due to subpixel rendering of fonts on lcds.

images look great on my dell lcd in -o left mode, but text
isn't as nice as it is in -o normal.  (also, X gets confused
about the X and Y range of my wacom tablet when i switch)

--Rob

-- 
/-\
| If we couldn't laugh we would all go insane   |
|  --Jimmy Buffett,   |
|Changes in Latitudes, Changes in Attitudes |
\-/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Talking with Yahoo Messenger (try Ekiga)

2008-11-07 Thread Rob Starling
On Sat, Nov 08, 2008 at 07:21:30AM +, Tzafrir Cohen wrote:
 On Wed, Nov 05, 2008 at 05:57:29PM +0100, Martin wrote:
  Hello,
  I find out that gaim is able to use text messaging with many
  programs. I want to use voice messaging (use it as phone)
  when other person is using Yahoo Messenger on MS Windows.
  Is there some program for debian that can do this?
 
 Gaim is now called Pidgin. It still can't handle voice chats well.
 
 kopete seems to be able to use video, but not audio, for some strange 
 reason. Telepathy/Empathy does not seem to support voice chats with 
 Yahoo accounts (which are only supported through pidgin's libpurple).

somewhat OT, but Ekiga may do what you want -- it can't talk
to Yahoo, but there are builds of it for Lin/Win/OSX, so if
you're communicating on a regular basis with someone, it might
be worth installing, since it does voice and video.

--Rob

-- 
/-\
| If we couldn't laugh we would all go insane   |
|  --Jimmy Buffett,   |
|Changes in Latitudes, Changes in Attitudes |
\-/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Re: cgi-bin stopped working in apache ?! please help SOLVED

2008-09-11 Thread Rob Starling
On Thu, Sep 11, 2008 at 11:19:34AM +0200, André Warnier wrote:
 Apart from the related tip from Kris about the various virtual server  
 config files in /etc/apache2/sites-available and  
 /etc/apache2/sites-enabled, here is what I do to insure that virtual  
 servers are included in the correct order :


 # Include the Generic site definitions
 Include /etc/apache2/sites-enabled/.Generic

 NameVirtualHost *:80

 # Include the default server site definitions
 Include /etc/apache2/sites-enabled/.default

 # Include the virtual host configurations:
 Include /etc/apache2/sites-enabled/[^.#]*

 The first 2 includes each include a specific file, which I name with a  
 starting dot (.)
 (To make sure of the order in which those files are included)

 The final include then includes all the other files (through links in  
 /etc/apache2/sites-enabled/), whose names do not start with a dot  
 (because usually, apart from the default server, it does not matter in  
 which order the virtual hosts are defined).

This doesn't seem like it'd work quite like you describe.
The Apache docs say the Include directive uses shell-style
wildcard matching using fnmatch.[1]  Documentation i've found
on the web for fnmatch suggests that you'd want a '!' rather
than a '^'.[2][3]

That said, i wouldn't want to assume that it *doesn't* work
like you describe; maybe Apache's docs aren't quite accurate,
or maybe i'm misinterpreting them...

Oh, here we go -- it *is* documented deep in the bowels of
APR.  Apache uses apr_fnmatch [4], which is documented in
apr_fnmatch.h[5] and apparently supports both '!' and '^'.

In summary, your directive is just fine, but rather than
cancelling this message, i figure i might as well send it
along to give everyone a whole pile of links to docs.

Enjoy!
--Rob*


[1] http://httpd.apache.org/docs/2.2/mod/core.html#include

[2] http://qnxclub.net/files/articles/unix03/functions/fnmatch.html

[3] 
http://qnxclub.net/files/articles/unix03/utilities/xcu_chap02.html#tag_02_13_01

[4] http://svn.apache.org/viewvc/httpd/httpd/trunk/server/config.c?view=markup

[5] http://svn.apache.org/viewvc/apr/apr/trunk/include/apr_fnmatch.h?view=markup

-- 
/-\
| If we couldn't laugh we would all go insane   |
|  --Jimmy Buffett,   |
|Changes in Latitudes, Changes in Attitudes |
\-/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Do Debian's users care about the AGPL?

2008-09-03 Thread Rob Starling
On Wed, Sep 03, 2008 at 04:52:57PM -0700, Steve Lamb wrote:
 On Wed, Sep 03, 2008 at 05:23:06PM -0600, Chris Burkhardt wrote:
  Yes, that's the spirit of Free software that the GPL and AGPL tries to
  enforce.
 
 AGPL, yes, which is where it oversteps the bounds.  The GPL no.  If the
 GPL did it there would be no need for the AGPL.  And sorry, but when I program
 a custom application on my machine for my use and you, in visiting my home sit
 down and use that application on my computer does not mean you're a user of
 it.  My machine, my application, my code, not distributed, period.  The moment
 that distinction is lost is the moment my code will probably migrate to a
 less free license because it is running roughshod over my freedoms as a
 developer.

but you see, that's exactly the point -- nobody's forcing you to
reveal your software or license it to others in any particular way
when it actually is your code.  license-tainting is about when you
incorporate someone else's code -- someone who wanted to let you
use it, but wanted to impose some restrictions.  if you don't like
the restrictions, then don't use their code.  in that way, AGPL is
just like GPL or any other license with restrictions.


 Correct.  The person sitting down in front of the slot machine isn't a
 user of the software.  They are a user of the service.  The user of the
 software is the casino.  The vendor in this case is the manufacturer of the
 slot machine.  If you're advocating that the casino should have the source to
 the machine then I'd agree with you (even if most gaming boards probably would
 not since such software has to be certified as tamper proof).

it doesn't matter what you think the definition of a user should
be -- what matters is what the person who wrote the code believes.
if they only want you to use their code on the condition that you
show every user of any service built on it the full source code
then that's the condition of the license and, barring a dramatic
change in copyright law, those are the only conditions under which
you can use it.

Anyway, i am not a lawyer, just a software enthusiast,
--Rob

-- 
/-\
| If we couldn't laugh we would all go insane   |
|  --Jimmy Buffett,   |
|Changes in Latitudes, Changes in Attitudes |
\-/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]