Re: [vox-tech] Audio Card Recomendation

2006-11-18 Thread Peter Jay Salzman
Any PCI card with the es1370, es1371 chipset would be up your alley.  Cheap,
good quality, easy to work with.

I doubt it has two inputs, but the Creative PCI-128 is cheap, good and easy.

Pete


On Fri 17 Nov 06,  4:50 PM, Alex Mandel [EMAIL PROTECTED] said:
 I'm planning out my 1st experiment for school.
 The plan is to record audio to a hard drive, hopefully in FLAC format 
 using a
 http://www.soekris.com/net4801.htm
 Anyone have recommendations for an easy to work with quality PCI audio 
 card, two inputs would be optimal so I can have one mic for human 
 audible sound and one for ultrasound (Can you alter the drivers to make 
 some of the outs inputs?). But be resonable on price and power consumption.
 I'm going to building a custom linux (linux from scratch or maybe just 
 use Debian) so I'll take module and software recommendations too on how 
 to pull this off.
 
 An alternate plan is to use Mini-PCI type III although I imagine it'll 
 cost me more in the end.
 
 And no, this isn't actually my research question it's just a tool I need 
 to get there.
 
 Thanks,
 Alex
 
 PS: On a note from the last social - there is a lab on campus building 
 remote controlled aircraft to take remote sending imagery with a real 
 time feed to a google earth map overlay.
 ___
 vox-tech mailing list
 vox-tech@lists.lugod.org
 http://lists.lugod.org/mailman/listinfo/vox-tech

-- 
How VBA rounds a number depends on the number's internal representation.
You cannot always predict how it will round when the rounding digit is 5.
If you want a rounding function that rounds according to predictable rules,
you should write your own.
  -- MSDN, on Microsoft VBA's stochastic rounding function

Peter Jay Salzman, email: [EMAIL PROTECTED] web: http://www.dirac.org/p
PGP Fingerprint: B9F1 6CF3 47C4 7CD8 D33E  70A9 A3B9 1945 67EA 951D
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Setting the font in gvim (Vim with GUI)

2006-11-18 Thread Henry House
På 2006-11-16, skrev Ken Bloom:
[...]
 Escape the spaces with a backslash:
 
 My .gvimrc contains:
 
 if has(gui_gtk2)
set guifont=Monospace\ 8
 else
set guifont=-misc-fixed-medium-r-semicondensed-*-*-120-*-*-c-*-iso10646-1
 endif
 
 function Kprinter()
call system('kprinter ' . v:fname_in)
call delete(v:fname_in)
return v:shell_error
 endfunc
 
 
 The Kprinter function is kinda cool. I run :set printexpr=Kprinter()
 and then when I use the :hardcopy (:ha) command, I get a proper print
 dialog box.

Thanks Ken, this works perfectly! 

For :hardcopy, I'm using the following:

set printexpr=PrintFile(v:fname_in)
function PrintFile(fname)
  call system(gv  . a:fname)
  call delete(a:fname)
  return v:shell_error
endfunc
set printoptions=paper:letter

which gives me a preview in Ghostview before printing anything.

-- 
Henry House
+1 530 753 3361 ext. 13
Please don't send me HTML mail! My mail system frequently rejects it.
The unintelligible text that may follow is a digital signature.
See http://hajhouse.org/pgp to find out how to use it.
My OpenPGP key: http://hajhouse.org/hajhouse.asc.



signature.asc
Description: Digital signature
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] apache2: NameVirtualHost and VirtualHost

2006-11-18 Thread Peter Jay Salzman
I'm trying to understand NameVirtualHost and VirtualHost.

Suppose I have a server with hostname satan, IP address 192.168.0.2
that serves two sites:

   www.dirac.org  with  DocumentRoot /www/
   www.foo.orgwith  DocumentRoot /www/foo

And I have the following entry in /etc/hosts:

   192.168.0.2  satan.diablo.localnet satan dirac.org www.dirac.org

The sites-enabled files look like:

   # /etc/apache2/sites-available/dirac.org
   VirtualHost dirac.org
  DocumentRoot /www
  ServerName   www.dirac.org
  ServerAlias  dirac.org *.dirac.org
  ...
   /VirtualHost
   

   # /etc/apache2/sites-available/foo.org (doesn't work)
   VirtualHost foo.org
  DocumentRoot /www/foo
  ServerName   www.dirac.org
  ServerAlias  dirac.org *.dirac.org foo.org *.foo.org
  ...
   /VirtualHost


Why is the NameVirtualHost directive necessary and how do I use it?

Thanks!
Peter
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] apache2: NameVirtualHost and VirtualHost

2006-11-18 Thread Ted Deppner
On Sun, Nov 19, 2006 at 12:31:59AM -0500, Peter Jay Salzman wrote:
VirtualHost dirac.org
   DocumentRoot /www
   ServerName   www.dirac.org
   ServerAlias  dirac.org *.dirac.org
   ...
/VirtualHost
 
# /etc/apache2/sites-available/foo.org (doesn't work)
VirtualHost foo.org
   DocumentRoot /www/foo
   ServerName   www.dirac.org
   ServerAlias  dirac.org *.dirac.org foo.org *.foo.org
   ...
/VirtualHost

Won't your server alias lines confuse things?

You might know this already, you can telnet to port 80 and issue http/1.1
directives as follows to better test and isolate behavior:

  telnet localhost 80
  GET / HTTP/1.0
  enter

This should confirm what the base site is.  I typically, with apache 1.3,
have to configure a base site, and then add virtualhost directives for the
other sites I want.  Any time I only have virtual sites, I have odd
behaviors (kind of like what you've mentioned).

Here's an 1.1 request

  telnet localhost 80
  GET / HTTP/1.1
  Host: dirac.org
  enter

repeat that Host: with the different variations of your hosts until you
find a pattern... once you see what Apache's doing you should be able to
start tweaking the config and measuring the results.

-- 
Ted Deppner
http://www.deppner.us/
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] apache2: NameVirtualHost and VirtualHost

2006-11-18 Thread Micah Cowan
On Sat, 2006-11-18 at 22:05 -0800, Micah Cowan wrote:
 On Sun, 2006-11-19 at 00:31 -0500, Peter Jay Salzman wrote:
  Why is the NameVirtualHost directive necessary and how do I use it?

...

 I imagine one might want to add *:443 for virtual hosts on the https
 ports.
 
 http://httpd.apache.org/docs/2.2/vhosts/name-based.html
 

Actually, at the start of that page, you may notice: Name-based virtual
hosting cannot be used with SSL secure servers because of the nature of
the SSL protocol. However:

  1. It goes on to say a couple paragraphs later that if you plan to use
named virtual hosts with SSL, you should add the port to the
NamedVirtualHost directive (as I mentioned).
  2. That phrase appears in the when to use IP vs. Named virtual
hosts.

Because of this, I think what is meant by the phrase is not that
you /can't/ use it with SSL, but that doing so gives up the server
authentication part of the security that SSL offers, leaving just the
encryption benefits.

-- 
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer...
http://micah.cowan.name/

___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech