Re: How to capture and save an online mp3?

2012-10-31 Thread Matt Graham
From: j...@actionline.com
> wget http://example.org/file.mp3
> 'wget' worked perfectly to capture the file.
> 
> I've searched the 'net' but cannot find a Linux tool to get the
> audio transcribed to text. Is there a way to feed an audio file
> through google voice?

Yes, but it's not quite as simple as you'd probably like.  I searched
freecode.com for "voice recognition" and got a set of scripts called
asterix-speech-recog.  This contains a Perl script that can be called from the
command line which takes FLAC files at 8KHz and feeds them to an appropriate
Google endpoint.  If you do this, you get a response containing text and a
number that says how confident the google script is that the textual output is
correct.

So, you can probably grab that tarball:
https://github.com/downloads/zaf/asterisk-speech-recog/asterisk-speech-recog-0.5.tar.gz
...and look at the samples/speech-recog-cli.pl script.

You'll have to transform the mp3 file into a FLAC file at 8KHz.  sox
(command-line tool) can convert a sound file from (format) at (whatever) Hz to
uncompressed wav at 8000 Hz.  Probably, "sox file.mp3 -r 8000 temp.wav".  Then
flac can turn that 8000 Hz wav file into a FLAC file, like "flac temp.wav
temp.flac".  Then run speech-recog-cli.pl on temp.flac , then do something
with the output and clean up the temp files.  There may be shortcuts in this
that I don't know about.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: How to capture and save an online mp3?

2012-10-30 Thread Matt Graham
From: j...@actionline.com
> How can I capture and save an online mp3 to a file on my local
> computer?

The answer to this question depends on details that you haven't provided.  How
are you retrieving this file?  If you're going to http://example.org/file.mp3
in a browser, you just "wget http://example.org/file.mp3"; and fuggeddabouddit.
 If the file is hosted on some sort of youtube-like service, there are
probably ways to retrieve the file, but we'd need to see an example of a file
hosted on that service to tell you how to find and retrieve files like that. 
Basically, Details Count, and until we know them, all we can do is handwave.

> And is there some kind of software to transcribe the recorded voice
> message to a text message?

Voice-recognition software has improved a bit.  I think that you'll probably
get results more like http://sluggy.com/comics/archives/daily/991008 than what
you want, though.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: google voice/video vs skype

2012-10-30 Thread Matt Graham
From: Daniel Stasinski 
> Michael Havens wrote:
>> From the articles I've read it seems skype is better. But which
>> uses more resources? Is skype really better?
> I can't recall the exact numbers but in my own usage, Google Voice
> video used significantly less bandwidth than Skype video.  Less
> than half.  I have no idea about system resource usage though.

Since Microsoft bought Skype, I've been thinking that they'll eventually
abandon the Linux Skype client, and it will stop working.  So I'll probably
*have* to use google video or another video-chat client, not skype, at some
point in the future.  I usually video chat with people pretty infrequently,
only about 3 or 4 times per year though.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: Chase access w/ linux

2012-10-23 Thread Matt Graham
From: Robert Holtzman
>> Any extensions that might be doing weird things?  I have to set NoScript
to
>> allow chase.com to execute JS--no JS, no accounts page and probably no
login. 
> As I said, I tried safe mode. Same problem.

Is "safe mode" something in $BROWSER that turns all the extensions off?  If
that's available in FF 10.0.8 ESR, I'm not sure where it is.  If it turns JS
off too, that would cause stupidity.  https://mfasa.chase.com/auth/login.html
, the action= attr of the login form, contains a few screenfuls of JS and some
sort of Flash thing.  It does not seem to be necessary for the Flash thing to
play; I have Flashblock up and I can still log in.  There are comments in the
JS within that about problems with IE9 and cross-window messages--don't know
if that has anything to do with the problem you're having.

>> Going to https://mfasa.chase.com/ in a browser gives me 1 line of cryptic
>> diagnostic/monitoring text. 
> "Prod Core LPAR, cigp01b4a002 Auth2 Web "

I get something similar.  Different hex string, possibly.

So:  You can retrieve the front page from mfasa.chase.com, but another page
somewhere else on that machine is timing out and/or failing miserably.  You
may have to track that down.  I've also noticed that if I've had an FF session
going for more than a few days, JS-heavy things may stop working or fail
unpredictably.  Restarting FF seems to help.  You've probably already tried
that though

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: Chase access w/ linux

2012-10-22 Thread Matt Graham
From: Robert Holtzman
> 3 computers, 2 operating systems, 2 versions of Firefox, 1 of iceweasel
> and 1 of Chrome all give me the same problem after trying to log into
> my account, a blank white screen with a rotating throbber and the
> message along the bottom "Read mfasa.chase.com".

Any extensions that might be doing weird things?  I have to set NoScript to
allow chase.com to execute JS--no JS, no accounts page and probably no login. 
I was just able to log in to my Chase account via FF on Gentoo.  I *have* had
the problem you describe, but it's always gone away after an hour or so, so I
figured it was a server problem of some sort.

> this is the only site that I have this problem with.

Going to https://mfasa.chase.com/ in a browser gives me 1 line of cryptic
diagnostic/monitoring text.  What does it give you?

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: The Great Shared Directory Dilemma

2012-10-18 Thread Matt Graham
From: Wayne Davis 
> So, I run win 7 Pro.  This "cifs" thing looks like the way to go. But 
> is CIFS being used as a transport mechanism to and from the network even 
> though i'm mounting it?

CIFS is a network protocol.  mount.cifs and the cifs kernel module provide a
way for communications to/from a CIFS-running machine to talk to the kernel's
VFS, and make those networking comms look a whole lot like a regular
filesystem on a Linux machine.  The Samba daemon (smbd) on Linux resides in
userspace, listens on ports 137..139, speaks SMB or CIFS to clients, and
reads/writes a filesystem in response to the stuff in /etc/samba/smb.conf . 
Basically, mount.cifs allows a Linux box to read/write stuff on
//MACHINE/SHARE .  Samba allows a Linux box to provide CIFS services to other
Windows/Linux/OS X machines.

> and NFS would NOT be usable in this case... right?

'Doze doesn't speak NFS out of the box.  It will probably be easier to use
Samba and mount.cifs if there are one or more Windows machines in the mix
here.

> What I need is some directories on each machine to be visible to every 
> other machine, _*and*_ one directory in ALL machines visible to ONE.

You'll need to set up Samba such that it does that, then.  There are *a lot*
of options you can set in smb.conf , but it doesn't sound like you're doing
anything really complicated, so one of the Samba frontends like webmin could
make it reasonably easy for you to do this.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: Reiserfs

2012-10-18 Thread Matt Graham
From: Derek Trotter
> I noticed when I installed the latest kubuntu a couple of weeks ago
> that reiserfs was one of the options to use for formatting the
> partition.   Does it have some advantage over newer filesystems? Or
> is it there because it's been around for several years?

There are theoretical advantages to using reiserfs if you've got a huge number
of small files.  I didn't notice any difference in performance between
reiserfs and ext3 when I had partitions of both types on the same system,
though.  Reports from the trenches say that if you've got filesystem
corruption, then reiserfsck has a greater chance of totally hosing everything
than e2fsck does.  The one time I had to use reiserfsck, it recovered
everything, but that's just me.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: The Great Shared Directory Dilemma

2012-10-18 Thread Matt Graham
From: Kevin Fries 
> But on the Linux machines, make sure smbfs is installed.  This will
> allow the Linux boxes to simply mount the samba share the same way
> it mounts NFS.

smbfs is deprecated and should not be used.  Its replacement is cifs.  Like
so:

mount -t cifs //BORG/SHARE /mnt/borg -o domain=WORKGROUP,user=JOEBOB

...will find the share SHARE on the machine BORG and attempt to mount it on
mountpoint /mnt/borg using the user JOEBOB from domain WORKGROUP.  It'll ask
you for a password if one's required.  You may be able to leave the domain=
off if your 'Doze network doesn't use domains.

IME, NFS is faster than Samba, which may be something to think about.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see


---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: fill out forms

2012-10-17 Thread Matt Graham
From: Lester Waltz 
> I open [PDFs] with gimp, add the text, save as a picture, and send
> back to whomever. Most can print the picture just like printing a pdf.

This fails miserably when the PDF has a form with logic inside it.  The AZ
income tax forms in PDF have logic like that in them--you enter the numbers
from your W-2, 1099, and various schedules, and the PDF computes your tax
liability/surplus and pretty-prints it.  The only way I was able to fill that
out and have it work properly was with Acrobrat Reader.  evince/kpdf wouldn't
do it.


About ten years ago, a Grumpy Old Sysadmin said, "Due to some sort of
conversion issue in the PDF -> PS -> PCL chain, when I printed my 1040 form,
there was a giant Euro symbol covering 2/3 of the page.  The conspiracy
theorists would have loads of fun with that."


-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: ssh -Y question [RESOLVED]

2012-10-17 Thread Matt Graham
From: Dazed_75
> Fixed by deleting the files in ~/.dbus/session-bus/ of fogtest.
> Makes me wonder if those files (if any) shouldn’t be deleted
> automatically on startup.

IIRC, on a normal logout from KDE/GNOME/whatever, the DBUS session manager
deletes those session files.  I had a look on my home machine and found 4
files in that dir.  2 of them were stale, 2 were relatively recent and in-use
by the local X session and the one that I started with ssh -Y.  I wonder why
my stale files didn't interfere with me starting ssh -Y, while yours did?

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: ssh -Y question

2012-10-16 Thread Matt Graham
From: Dazed_75 
>> 2.   Permissions: Press alt + F2 and type gksu gedit to verify or run via
>> root
> that does not work inside the ssh -Y session as it just brings up the Dash
> in the local Unity system

Yeah, I'm not sure what's supposed to be going on here.  I'd check
/etc/ssh/sshd_config on the remote system and make sure that you have the
line

X11Forwarding yes

...in the remote system's sshd_config, because leaving that out will totally
hork up any attempt to use ssh -X or -Y.  Also:  "ssh -v -Y remotehost", and
the additional output you get from the -v may tell you "stupid error NNN has
happened in X11 forwarding".

I just tried this with xeyes, a GTK+ app, and gnome-terminal, but everything
worked and I didn't get any stupid errors.  

>> sudo touch /forcefsck && sudo reboot
> Nope, did the fsck route yesterday.

I think if it'd been filesystem problems, you would've noticed other weirdness
before X forwarding problems.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: Tuning MySQL DB server

2012-10-12 Thread Matt Graham
From: Vimal Shah 
> This led to the discovery that 32-bit version of Ubuntu will not allow
> MySQL to use any more that 2GB.

This seems odd, since a single process on 32bit should be able to malloc()
3G.

> 64-bit Ubuntu 10.04, I am *still unable to get to the box to use all the
> memory*.  I feel that the DB server should be using more RAM. Can someone
> point out the flaws in my process or

What's your my.cnf look like?  If there isn't one, what's the text you get
back from "ps auxw | grep /usr/sbin/mysqld" ?  The defaults for the innodb
buffer pool/key buffer/sort buffer and all those things are probably smaller
than they should be for a machine that's got 8G and is a dedicated DB box.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: backup partition

2012-10-10 Thread Matt Graham
> Derek Trotter writes: 
>> I'm looking for something on linux that would allow me to create
>> image files to back up partitions.
From: "kitepi...@kitepilot.com" 
> dd if=/dev/sdXY of=my_backup 
> Recover with: > dd if=my_backup of=if=/dev/sdXY 
> I'd go with tar though.  Simple and bulletproof...

tar is not appropriate for the general case.  There are things that tar cannot
back up and restore properly, like files which have absolute sector positions
and filesystem metadata that tar doesn't know about.  You find those things on
NTFS partitions, HFS+ partitions, /boot when LILO is being used, and the slack
space between the boot record and the start of the first partition when GRUB
is being used.

dd will *work* for the general case, but it's inefficient, especially the way
you wrote the commands above.  dd copies every block, including those blocks
that don't need to be copied.  Since you left the bs= off, it also uses a
block size of 512 bytes, when you should be using bs=32k or bs=64k.  partimage
knows enough about most filesystems to only copy the blocks that are actually
in use, and to retain sector position info.  partimage also has an ncurses
interface, which is a little better-looking and more friendly than dd.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: What benefit .png over .jpg?

2012-10-08 Thread Matt Graham
From: James Dugger 
> GIF and PNG are as others have mentioned more for internet uses where 256
> colors or web corrected colors are adequate.

PNG is capable of storing 8 bits/channel and 4 channels, giving it a much
larger than 256-color palette.

> That said a best practice is always to shoot in raw. Raw saves all of the
> shot information (EXIF data) in the image for further manipulation later.
> If you shoot in jpeg this info not available to you.

Er... the relatively cheap digicam I bought in 2002 saved date/time, effective
f-stop, shutter speed, effective ISO, and various other things in an EXIF
block within the JPEGs it produced.  The slightly better digicam I have now
does the same thing, and it can't produce anything but JPEGs.  Did you mean
"raw format has no JPEG artifacts and can have more than 8 bits per channel"? 
Because that's true, and can have advantages if you're doing a lot of editing
in post.  Especially if you're shooting where the lighting is
terrible/inconsistent.

> I would consider the shooting and storing of images in raw the
> equivalent to [negatives in glass].

This is also true.  It just depends on how much disk space you'd like to
devote to storing stuff.  Since I'm not a professional photographer, I find
that 3500x2600 JPEGs at 90+ quality (about 2.2M per JPEG) seem to work great
for what I need.

> If you need a lossless compressible file format save a copy as a
> TIFF.

Or PNG.  

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: gimp save formats

2012-10-05 Thread Matt Graham
From: Michael Havens 
> I'm delving into GIMP. What is the best save format? JPG, GIF, etc...

Gimp's native format, XCF, saves all the layers, masks, channels, and
subsidiary information.  If you want to stop partway through editing a file
and return to editing it later, then save it as XCF.  Most non-Linux image
viewers can't read XCF, though, and web browsers can't read XCF either. 
You'll probably save the final version of your image as JPEG, PNG, or TIFF.

TIFF is (well, should be) future-proof, supports multiple pages[0], can store
data losslessly or lossily[1], and has always had support for resolution tags.
 Its many useful features should've made it the image format of choice, but
Unisys caused a great deal of stupid hassle and basically killed it for
wide-spectrum use.

People discussed JPEG vs. PNG vs. GIF and when to use each earlier on this
mailing list.  Refer to that for the full scoop.  Short form:  Photos where
lossy is OK = JPEG.  Line art or logos or things where lossy is not OK = PNG. 
Animation required = GIF, since MNG is not as widely supported. 
(Black-and-white, maximum compression required = TIFF Group4, but you probably
don't care about that special use case.)

[0] Some things don't handle multi-page TIFF very well, though.
[1] JPEG-TIFF is possible, but almost nothing supports it.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: OT: Which news source(s) do you prefer?

2012-10-02 Thread Matt Graham
From: j...@actionline.com
> I'm fed up with *all* media sources

This mailing list could be considered a media source.

-EMETAMETAMETA : too many levels of symbolic link fed-upness detected.  Core
dumped.  Going out for pizza.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: How to run 'feh' in the background of a script?

2012-10-02 Thread Matt Graham
From: j...@actionline.com
> I'd like to be able to use something like this:
> feh -x -g 400x400 image.jpg; kwrite textfile.txt 
> 
> And have the image remain on the screen while kwrite opens the text
> file for editing.

Something like this:

#!/bin/bash
display image.jpg &
kwrite textfile.txt
# end of script

...in bash, putting an & at the end of a line tells the shell "run this
process in the background".  You can see this working in the old-school
.xinitrc files that would start various X clients with & before starting the
window manager without &.

The snippet above will display image.jpg , but when you quit kwrite, the
script will reach its end and exit.  The background processes that the script
started will receive a HUP when the script exits.  So when you quit kwrite,
the display process will get HUPped and exit too.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


OT: What are these things?

2012-10-01 Thread Matt Graham
I'm sure someone here knows what the antennae in the links below are supposed
to be for.  There are too many of them too closely spaced for a wireless
network, they don't look directional, and they're probably not Alien Mind
Control Lasers.  Are they some sort of burglar alarm?

http://crow202.org/2012/antenna1.jpg
http://crow202.org/2012/antenna2.jpg
http://crow202.org/2012/antenna3.jpg

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: video transcoding app

2012-09-24 Thread Matt Graham
From: Derek Trotter 
> Can anyone tell me what are some good applications for ripping DVDs and 
> transcoding video on kubuntu 12.04?

I've usually used DVD::Rip for this.  It does just about everything you'd need
to turn a DVD into 1 or 2 smaller AVI files that are not going to be larger
than (user-selectable size) with two-pass encoding.  It may be a bit more
complex than you'd like, though, since it's really just a frontend to
transcode/vobcopy.  (transcode does everything, but it has more options than
smb.conf)

I've also heard of k9copy, a KDE app designed specifically to reduce
dual-layer DVDs to slightly over 4G so you can copy them to cheaper
single-layer DVD-Rs.  It's been a while since I've fiddled with these things
more than casually, though.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: How to reprogram the M$ key? + a PS:

2012-09-21 Thread Matt Graham
From: j...@actionline.com
> How can I reprogram/neutralize that annoying M$ key on a standard
> keyboard? In the past, I have inadvertently hit that key and had it
> lock up my Linux system.  I don't know what it is for anyway

Lock up?  That's weird.  It's usually mapped to a modifier key, one that is
rarely used.  If I type "xev" into a konsole and hit the 'Doze keys, I get
Super_L and Super_R, which are mapped to Modifier 4, which does nothing.  Your
keyboard map may vary.

You can remap a single key to another single key with xmodmap.  If I wanted my
Doze keys to do nothing, I'd do "xmodmap clear Mod4".

> Also, I'd like to neutralize the equally annoying "Caps Lock" key which I
> have *never* used

xmodmap again.  "xmodmap clear Lock" will make the caps lock key do nothing. 
You can use additional xmodmap commands to turn that key into another Ctrl
key.

Distros usually have something a bit friendlier that does similar things.  In
KDE4, it's System Settings -> Input Devices -> Keyboard -> Advanced , look at
the Caps Lock and Alt/Win key settings.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: OT: Internet connection okay, but no access.

2012-09-18 Thread Matt Graham
> On Tue, Sep 18, 2012 at 2:17 PM, Joe wrote:
>> we have a good connection to our in-home wireless network, but she
>> can no longer connect to any internet website.  It was working
>> fine until a recent reboot
From: James Mcphee 
> Can she ping the WAP?  Can she ping the ISP?  Can she ping google?  Is her
> DNS working?

Let's expand on James's answers:

In a cmd.exe window, "ipconfig /all" should show that the 'DozeXP machine has
an IP address that belongs to the range that the AP is giving out.  Not
127.0.0.1 or 169.254.x.y.  If not, the computer's never run DHCP on its
wireless card, or the AP's config is messed up, or there are hardware problems
somewhere.

If that worked:  Ping the AP.  If that works, wireless networking to the AP is
at least working.

If that worked:  Ping the first DNS server, which should've been displayed in
the output from ipconfig /all .  If that fails, networking somewhere between
the AP and the wide internet is probably screwed up, or the DNS server is
blocking ICMP, which is possible.

Then, "ping google.com" should return success.  If you get something like
"could not determine host name for google.com" then DNS is messed up, and a
lot of things will fail miserably.  The AP should be handing out appropriate
DNS server IPs if it's running a DHCP server though.

If all of those things worked, yet a browser is refusing to display
http://foobar.com/ , I'd think it might be a browser problem.  I Could Be
Wrong though.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: new memory record for me

2012-09-18 Thread Matt Graham
From: keith smith 
> I must admit I know little about computer architecture and OSes at
> this level, however it seems multiple computers would be better than
> one big one.  What is the advantage to so much RAM in one computer?

"If you were plowing a field, which would you rather use: Two strong oxen or
1024 chickens?" --Seymour Cray

Some problems are difficult or impossible to break up into parts that can be
run in parallel.  This huge system may be working on one of those problems. 
And there's the inherent coolness factor in having as much RAM as regular
computers had disk a couple of years ago.  How fast would our DB server return
results if it could just load all ~100G of tables into RAM?  Probably 10 times
faster than it does, which is always nice.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see


---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: Helping a Japanese Ftiend

2012-09-16 Thread Matt Graham
From: Dazed_75 
>> Note that the fsck you need may be called udffsck, and it might
>> not be installed.
> I could not find it anywhere   While searching Synaptic for it I did fins
> dares and dares-qt.  It found 53 files and built a recover.iso but that
> does not seem to be helpful either.

udffsck is part of the udftools package.  I see some Ubuntu packages
available, so there must be a Debian package for that somewhere.  Were any of
those 53 files .VOB files?  Single-layer DVDs that can be played in standard
DVD players generally have 1..4 VOB files of about 1G each, and that's where
the stuff you want probably is.  If you can get VOB files and play them using
mplayer/xine, you've got something, and you can probably put those things back
into a better DVD with some work.

> larry@hammerhead:cdrecord -toc dev=/dev/sr0
> track:   1 lba: 0 (0) 00:02:00 adr: 1 control: 4 mode: -1
> track:lout lba:   1989840 (  7959360) -1:59:74 adr: 1 control: 4 mode: -1
> 
> Me, I don't see anything helpful there.

1 track, no indication of multisession, I think.  Er, does cdrecord -msinfo
dev=/dev/sr0 say anything?  I don't have any multisession non-fixated discs
sitting around right now to do an experiment.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: Helping a Japanese Ftiend

2012-09-15 Thread Matt Graham
From: Dazed_75 
> I was able to "dd if=/dev/sr0 of=/dev/null bs=1M count=5" as you
> suggested so I did the whole thing with of=japanese.iso and tried
> mounting that with Archive Mounter with no success

It's definitely a data DVD of some type, then.

> Lastly I used hd [to write] some of it to a file

The strings in the file say that it was supposed to be UDF.  However, if you
try to mount it as UDF, it says something like "can't find a superblock at the
end of the image".  If it's supposed to be UDF, then the first thing I'd try
is to dd the whole thing to a file, then run fsck.udf on that file, and see if
that can reconstruct the superblock or at least make the first few VOB files
readable.  Note that the fsck you need may be called udffsck, and it might not
be installed.  The fsck for UDF should be available on all distros.

It may also be that it was burned as a multisession DVD and never fixated, or
it had 2 sessions and the second session was messed up.  "cdrecord -toc
dev=/dev/scd0" will tell you how many sessions it has.

> try to get some details from her brother about how he
> made it.  I doubt that she will be able to.

If the DVD is damaged at the very edge, where the fs said it was looking for
the superblock, or there's multisession oddness going on, that could cause the
problems you reported.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see


> On Thu, Sep 13, 2012 at 8:02 AM, Matt Graham
wrote:
> 
> >
> > Are you sure this is actually a DVD, and not something weird like a
> > DVD-sized
> > SVCD?  All the DVDs I've seen and heard about can be mounted as either
> > iso9660
> > or udf.  Can you do something like "dd if=/dev/sr0 of=/dev/null bs=1M
> > count=5"
> > and not get an I/O error?  That command should error out on something
like
> > an
> > SVCD that doesn't have 2048-byte sectors.  If dd'ing the first few M
> > actually
> > works, then the filesystem on the DVD is probably messed up in some way
> > that
> > this old player can handle, but other things can't.
> >
> > If this is a VCD-like thing, then vcdxrip may be able to get the video
> > stream
> > off the device, and mplayer can play VCDs.
> >
> > > larry@hammerhead:~$ regionset /dev/sr0
> > > drive plays discs from region(s):, mask=0xFF
> > > So I think you are right that yours was not set for any region as was
> > mine
> >
> > Then it's probably not region problems.
> >
> > --
> > Matt G / Dances With Crows
> > The Crow202 Blog:  http://crow202.org/wordpress/
> > There is no Darkness in Eternity/But only Light too dim for us to see
> >
> > ---
> > PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> > To subscribe, unsubscribe, or to change your mail settings:
> > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> >
> 
> 
> 
> -- 
> Dazed_75 a.k.a. Larry
> 
> Please protect my address like I protect yours. When sending messages to
> multiple recipients, always use the BCC: (Blind carbon copy) and not To: or
> CC:. Remove all addresses from the message body before sending a Forwarded
> message. This can prevent spy programs capturing addresses from the
> recipient list and message body.
> 

> - 
>   Attachment: jdump.txt
>   MIME Type: text/plain
> -

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: Helping a Japanese Ftiend

2012-09-13 Thread Matt Graham
From: Dazed_75 
> this DVD has been tried in 5 players and on 2 computers.  The only
> on that will play it is a 5 year old all region player belonging to the
> lady's friend somewhere across town.
> Matt, I do not know what the video encoding is.
> larry@hammerhead:~$ mount -t iso9660 /dev/sr0 /media/dvd/
> mount: wrong fs type, bad option, bad superblock on /dev/sr0,

Are you sure this is actually a DVD, and not something weird like a DVD-sized
SVCD?  All the DVDs I've seen and heard about can be mounted as either iso9660
or udf.  Can you do something like "dd if=/dev/sr0 of=/dev/null bs=1M count=5"
and not get an I/O error?  That command should error out on something like an
SVCD that doesn't have 2048-byte sectors.  If dd'ing the first few M actually
works, then the filesystem on the DVD is probably messed up in some way that
this old player can handle, but other things can't.

If this is a VCD-like thing, then vcdxrip may be able to get the video stream
off the device, and mplayer can play VCDs.

> larry@hammerhead:~$ regionset /dev/sr0
> drive plays discs from region(s):, mask=0xFF
> So I think you are right that yours was not set for any region as was mine

Then it's probably not region problems.  

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: Helping a Japanese Ftiend

2012-09-12 Thread Matt Graham
From: Dazed_75
> Helping a Japanese friend trying to play a DVD her brother in Japan made.
> It plays in someone else’s all region DVD player 

So it's a regular DVD with MPEG-2 video on it?  

> UDF-fs: error (sr0): __udf_read_inode: (ino 1989838) failed
> UDF-fs: Failed to read VAT inode from the last recorded
> block (1989838), retrying 

This probably doesn't have a UDF filesystem on it.  Try mounting it with -t
iso9660 .  You may have to turn your automounter off temporarily.  Region
codes may be another factor.  If you have regionset installed, run "regionset
/dev/scd0" with a DVD in the drive, see what that tells you.  Mine says "drive
plays discs from region(s):, mask=0xFF" which makes me think it's region-free,
but I don't know for sure since all I have are region 1 DVDs.

> IN=virbr0 OUT=MAC=01:00:5e:00:00:01:da:48:0c:9b:27:c4:08:00
> DF PROTO=2
> 
> Does anyone know if that DF PROTO means region 2 which includes Japan?

That's a networking message, as the network interface name virbr0 and the MAC
and the IP address should've told you.  PROTO 2 is IGMP, which is really not
relevant to your DVD problem.  You may want to take your firewall and tell it
to be less verbose.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: making PDFs workable

2012-09-11 Thread Matt Graham
> Michael Havens wrote:
>> HOw can I make it so I can copy-n-paste the text from
>> a pdf into a oo document?
From: Mark Jarvis 
> The Foxitpro PDF reader allows text to be marked and copied.
> Unfortunately, it's only available for Windows. I don't know if
> there's a Linux PDF reader that has that capability.

AFAICT, evince (the PDF reader that's standard for GNOME-based distros) will
allow you to copy and paste text from PDFs as well.  Also remember that some
PDF readers have multiple tools available, and the default tool might be
"scroll/drag pages" not "select text".

Also also remember that if the PDF doesn't actually contain text, but is a
pile of images, then there will be no text to select.  The PDF that you're
trying to look at doesn't have that problem, but for some reason, evince won't
let you copy the text.  Acrobrat Reader will.  No, I don't know why
either

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: Videos that won't display

2012-09-02 Thread Matt Graham

From: j...@actionline.com
> Some videos will not display on my linux computers.
> http://www.ehow.com/video_4805960_do-rid-sugar-ants_.html
> Any idea why and how to correct the problem?

If you're using NoScript, you have to allow ehow.com and ehowcdn.com to run JS
in order for the Flash video to show up.  You *may* have to allow adap.tv as
well, but try just the ehow and its cdn first.  You should also make sure you
have a reasonably recent version of the Flash plugin installed, otherwise many
video-playing sites could fail miserably.

(HTML 5  tag, where are the sites that know how to use you?)

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: Cox Cable / Static IP / New Router

2012-08-31 Thread Matt Graham
From: Derek Trotter 
> Since they [the ISP] already know what cable modem you're using,
> why do they also require a NIC [behind the cable modem] to be
> registered before it can be used?

IIRC, the original reason was money.  The ISP would allow the cablemodem to
transmit to 1 NIC with 1 MAC addr, and if you wanted additional devices to be
able to talk to the cablemodem, you had to pay the ISP more.  ISPs didn't make
nearly as much money doing this as they thought they would, because
NAT/IP-Masqing are relatively easy to do.

They may retain some language in their contracts/TOS/whatever that say "You're
allowed to connect ONE DEVICE to this network".  If they've got that language,
they have a way to dump any customer they don't like who's ever used more than
1 network device at a time through their service.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: How to install an rpm.tar.gz printer driver?

2012-08-30 Thread Matt Graham
From: j...@actionline.com
> The comedy/tragedy continues.

"This isn't a comedy!"
"Following the rules of comedy helps highlight our essentially tragic
existence."
--Triangle and Robert

> Joseph Sinclair last wrote (in part):
>> make sure to rpm --install *both* rpm's for your architecture; it looks
>> like they're a split of shared libraries and actual driver code.
> 
> $ rpm --install cnijfilter-common-3.70-1.i386.rpm
> error: can't create transaction lock on /var/lib/rpm/__db.000 (No such
> file or directory)

Hm.  You probably have to run this as root; did you?  (root's prompt usually
includes a # by tradition, not a $ .)  Are you running an RPM-based distro? 
If not, /var/lib/rpm/ will not exist, and you'll have to do "rpm --initdb" as
root to make all that stuff.

> $ rpm --install cnijfilter-mx430series-3.70-1.i386.rpm
> error: Failed dependencies:
> cnijfilter-common >= 3.70 is needed 
> libcnnet.so is needed 

libcnnnet.so is provided by the cnijfilter-common package if Teh Almighty
Google is correct.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: dhcp question.

2012-08-25 Thread Matt Graham
From: j...@actionline.com
> While I very much appreciate your suggestions, sadly, this is all way too
> complicated for my feeble mind. I have spent more than a week (including
> all day today) trying to figure out how to be able to send print from my
> Linux machine to this new Canon mx439 printer and still can't get it.

This should've been sent to the list, not just to me.  The list can solve
problems in parallel, while one person can only solve them serially.  I'm also
not a printer guru; the last time I had a printer at home was 2006.

> IP (inet?) and MAC addresses for this Canon printer in my network:
> 192.168.0.68 and 88:87:17:C0:A4:45

This is good.

> equivalent to dhcpd.conf as shown in these two screen captures:
> http://upquick.com/temp/dhcp.jpg -and- http://upquick.com/temp/subnets.jpg

Neither of those is what you actually need to assign that MAC to a static IP
addr.  I'm not sure, but that router may not actually have that capability. 
No real worries though.

> http://upquick.com/temp/canon.troubleshoot.txt

Yikes, that's a lot of text.  

> printer-uri = "ipp://192.168.0.68:631/ipp/printer"'

This shows that CUPS got the right IP address for the printer and is trying to
talk to it on port 631 using IPP.  CUPS thinks that the job was submitted
successfully, as in "[Job 278] Set job-printer-state-message to "Print file
accepted - job ID 1."  It thinks the job was completed successfully too.

Lines 685..694 in the logfile show things complaining about color profiles. 
I'm not sure what this is about, or whether it's worth looking at.

> It is terribly frustrating that something like this should be so
> enormously complicated.

Canon has never been terribly Linux-friendly.  When buying hardware for a
Linux system, the *first* thing to do is do some research on the Net.  If you
can't find one or two reports of "I bought a FOO-1234 and got it working with
Linux pretty quickly, here's what I did!" then buying a FOO-1234 for use with
a Linux system is *not* a good idea unless you're experienced.

Printer trouble has been with us for a very long time.  (What inspired Richard
Stallman to get serious about Free Software?  A recalcitrant printer)

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: Still can't get new Canon printer to print from Linux.

2012-08-24 Thread Matt Graham
From: j...@actionline.com
> I recently posted an inquiry to plug regarding a new Canon pixma mx439
> wireless printer

http://www.openprinting.org/printer/Canon/Canon-PIXMA_MX350 ?  I know, model#
isn't the same, but it'd be a place to start.  Definitely look at the forums
there for anybody else with the same model#.

> More than one person has suggested that I give the printer a static IP
> address, but I don't know how to do that.

Find the device on your wireless net that's handing out IP addrs.  This will
probably be your wireless access point/router.  Find the MAC addr of the
printer.  This'll be something like "00:01:02:03:04:05".  In your wireless
net's access point/router, go into its configuration software.  Find its
equivalent of dhcpd.conf .  In that settings page/file, tell it to always
associate 00:01:02:03:04:05 with 192.168.5.6 .  Sorry about the vagueness
here, but every access point has a maze of twisty settings, all differnet.

> And what else do I need to do to be able to get the printer to print
> documents that I send to it from my Linux machines?

Check the CUPS log files for anything strange.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: video format

2012-08-21 Thread Matt Graham
From: Michael Havens 
> JumpJiveAnWail.mp3: Audio file with ID3 version 2.4.0, contains: MPEG ADTS,
> layer III, v1,  32 kbps, 44.1 kHz, Stereo
>   MPEG tells mpeg. Does 'layer III', or 'ID3' tell me it is an 'mp3'?

mp3 means "MPEG-1, layer 3".  I've seen a few .mp2 files in the wild; those
were probably MPEG-1 layer 2.  ID3 is a standard for embedding information
like artist, title, album, track, genre, and so forth into a formatted block
of data within an audio file.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: GnuCash for Android

2012-08-21 Thread Matt Graham
From: Michael Butash 
> I've attempted probably no less than 4 times over the past 5 years or
> so to get [GNUcash] working in efforts to track finances more effectively,
> but never once got the hbci stuff working with my bank(s) to do so.  That
> bit was quite cryptic and frustrating

I haven't tried that, since I usually have fewer than 5 bank transactions per
day, so entering these by hand is easy/fast.  Getting Finance::Quote installed
and set up for tracking stock/mutual funds was relatively easy once I'd read
the fine manual.

> That and the accounting knowledge required to use it effectively simply 
> eludes me as much seemed to assume I actually understood accounting.

Take a look at the basic help,
http://gnucash.org/docs/v2.4/C/gnucash-help/help.html , and see if anything
in
the advanced help , http://gnucash.org/docs/v2.4/C/gnucash-guide/index.html
is
interesting.

The thing to do when setting up GNUcash is to start out your checking account
opening balance with the opening balance on the first of (month), then just
enter all the income/expenses from then til today that are on your bank
statement.  Start your cash in wallet opening balance with the bills in your
wallet.  *DON'T* try to enter everything you have records of, just pick a
start date.[0]  Then spend 5 minutes every day recording what you spent that
day and what you spent it on.

The real power of GNUcash is that it forces you to categorize every
transaction.  $4.65 double venti marshmellow fluff mocachino every day?  That
accumulates in Expenses:Dining and then you say, "What in the name of Richard
Stallman did I spend so much money on in Dining?" and then you think about
buying cheaper drinks.[1]

Split transactions and scheduled transactions are also useful.  Though if I
were going to use scheduled transactions a lot, I'd schedule the expenses <= 5
days in advance, so that your ledger reflects what you have *now*.  And I only
enter income transactions when I've actually got the money in my wallet or
bank account.  (Somebody I know scheduled a bunch of expenses and income
transactions 180 days in advance, making it look as though she'd paid off her
credit card on the overview window when there was still $1000 on it.  While
that might make you feel better, it doesn't reflect current reality)

FWIW, I haven't had any formal accounting training at all, and I managed to
get GNUcash mostly figured out in 2000-2001, when the documentation was sort
of incomplete.

[0] Accountants, feel free to gasp in horror here.
[1] Not if you file everything under Expenses:Miscellaneous , so don't do
that.  You'll probably need to create a few custom accounts.  I have
Expenses:Cat , you may need Expenses:Dog or Expenses:Kid .

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: how to transfer files

2012-08-16 Thread Matt Graham
From: Michael Havens 
> darn! dyndns won't work. can't afford it at the moment

?  I thought dyndns.org registration was free if it was for personal use (or
nonprofit use).  Commercial use probably requires money.  IIRC, the "pay us to
register!!1!" links are large and visible, while the "register for free" link
is in Flyspeck 3 on the bottom of a disused filing cabinet with "Beware of the
Leopard" stapled to it.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: how to transfer files

2012-08-15 Thread Matt Graham
From: Michael Havens 
> I think I like DYNDNS and SSH (I don't like needing to keep a program
> running) but the man page for DDNS is so confusing! ANy pointers?

Register with dyndns.org .  Note your username, password, and hostname. 
Install ddclient.  Edit /etc/ddclient/ddclient.conf so it contains something
like so:

# start ddclient.conf
daemon=600  # check every 10 min
syslog=yes  # log update msgs to syslog
mail=someb...@example.org   # mail all msgs to somebody
mail-failure=root   # mail failed update msgs to root
pid=/var/run/ddclient.pid
use=if, if=eth0 # via external NIC
login=DYDNS_LOGIN
password=DYNDNS_PASSWORD
server=members.dyndns.org,  \
protocol=dyndns2\
DYNDNS_HOSTNAME
# end ddclient.conf

/etc/init.d/ddclient start , then "chkconfig ddclient on" or whatever.  This
should work to get you started.  There are *a lot* of options to ddclient. 
Some of them might be useful somewhere; that's what you'll have to figure out
on your own

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


OT: anyone want to hire a Linux Expert?

2012-08-13 Thread Matt Graham
Basically, relentless boneheadedness from corporate is making my job way more
unrewarding and difficult than it needs to be.  If you're an employer who
wants a guy who knows lots about running Linux boxes, is offering a decent
wage, isn't completely insane, and is in downtown Phoenix, Tempe, Chandler, or
will let me work remotely, I could be interested.

Resume:  http://crow202.org/~mhgraham/resume/

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see





---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: DON'T PANIC

2012-08-10 Thread Matt Graham
From: Patricia Wilson 
> I was exposed to vi several years ago.  It made me ever so thankful for the
> nice people who developed emacs.

Years and years ago, the Solaris boxen at college had vi, but not emacs.  pico
didn't cut it for anything complicated.

This left me no choice but to become a vi king.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: firewall

2012-08-07 Thread Matt Graham
From: Derek Trotter 
> Recently I got dsl and decided to have my linux box pass on traffic to 
> my windows box rather than buying a firewall. 
[snip] 
> iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 40998 -j DNAT --to 
> 192.168.0.2:40998
> # packets on port 40998 forwarded to internal windows machine

That's what the above iptables rule is actually doing.  No real problems, just
that you'll have to use a different port if you're using bittorrent on the
Linux box.

> iptables -A OUTPUT -o eth0 -p tcp --dport 80 -m state --state 
> NEW,ESTABLISHED -j ACCEPT
> iptables -A INPUT -i eth0 -p tcp --sport 80 -m state --state ESTABLISHED 
> -j ACCEPT
> # Allows me to surf the web from windows box
[snip similar rules for port 53 tcp/udp]

You'll probably want a similar rule for port 443, unless you never use HTTPS
from the windows box.

> iptables -A INPUT -i eth0 -j DROP

Putting a default DROP like that at the end of INPUT is OK, you just have to
make sure you allow all the things you'll need to access from outside.  Like
ssh, or a VPN, or other stuff like apache/postfix.  It's annoying to iptables
yourself out of your home box from outside.  There are other things that often
get done to INPUT, like blocking incoming from 10.0.0.0, 192.168.0.0,
127.0.0.0, and multicast, but having a default DROP sort of covers all of
those

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: ubuntu 12.04 intel fake raid

2012-07-24 Thread Matt Graham
From: Nadim Hoque 
> I was trying to install ubuntu 12.04

Maybe not the greatest idea.  People seem to be griping about various things
in Ubuntu all the time.  But if you want that

> using a intel fake raid mirroring both drives.  the partitioner [for the
> Ubuntu fancy GUI installer] seems to be displaying /dev/mappper/raid_name
> as well as the [actual] partitions on both hard drives because the
> partitions are listed twice.

Of course.  If the kernel has modules for this fakeRAID chip, you'll see both
the fakeRAID and the real disks.  You may need to do something to the real
disks, after all, so the kernel makes those available.  If you really want to
use the fakeRAID, then don't touch the real disks, and just use the fakeRAID. 
If this is just going to be a Linux box, and not dual-boot, you may wish to go
into the fakeRAID controller's BIOS setup/whatever and tell it to leave the
disks alone.  Then you can use Linux softRAID, which may work faster and won't
be tied to that particular motherboard.

> Now I am not relying on ubuntu, but I can use centos or even fedora

The distro doesn't really matter here.  You just need something with a recent
enough kernel.  If Ubuntu 12 can find the fakeRAID, it's almost certain that
CentOS 6 can find it too.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: kubuntu 12.04 performance deterioration

2012-07-21 Thread Matt Graham
From: j...@actionline.com
> Can't believe that I had never heard of CTRL+ESC before.
> Is there some way to save a copy of that list to a text file?

Not that I could find.  However, "top -b -n 1 > top.txt" puts similar info
into top.txt, where you can fool with it in a reasonable way.

> Could not find any file named /var/log/messages

kUbuntu must put that info in a differently named file somewhere in /var/log/
.  Look in there and find where the logs are, because that info will be very
useful at some point in the future.

> but when I click on the menu icon, a desktop firefox icon bounces
> for a few seconds (how to stop that annoying effect?)

System Settings -> Application and System Notifications -> Launch Feedback,
then set it to whatever you like.  There's a *lot* of stuff in KDE's System
Settings application; poke around in there and find as much as you can.  It's
possible that disabling "nepomuk semantic desktop" under Desktop Search would
help, as constantly re-indexing everything in your ~ would use a lot of CPU
and I/O to no real purpose.

> and firefox does not load.
 
Open a konsole and start firefox from the command line.  It should output
something like "/usr/lib64/libfoobar.so.1 : cannot open shared object file, no
such file or directory", which will give you some idea of what needs to be
fixed.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: How to stop "session was locked"

2012-07-15 Thread Matt Graham
From: j...@actionline.com
> On a new install of kubuntu, after I close the lid, and the system
> goes into suspend mode, then I open the lid again, there is an
> annoying pop-up that requires a password to "unlock" the system.
> 
> What do I need to do to eliminate this?

If Kubuntu is using KDE's power management daemon (which seems reasonably
likely), then what you need to do is this:  System Settings -> Power
Management -> Advanced Settings -> make sure "lock screen on resume" is not
checked.

If this isn't what's being used, then you need to figure out what exactly is
being used, and edit its config file and/or fiddle with its GUI until it does
the right thing.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: How to edit ECDSA fingerprint?

2012-07-12 Thread Matt Graham
From: j...@actionline.com
> would like to know if it is possible/permissible to edit my
> /home/joe/.ssh/known_hosts in a text editor.

Of course.

> WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!
> 
> The fingerprint for the ECDSA key sent by the remote host is
> f7:d3:24:83:f8:fa:50:00:6f:82:2a:eb:3e:6b:25:51.
> Add correct host key in /home/joe/.ssh/known_hosts to get rid of this
> message.
> Offending ECDSA key in /home/joe/.ssh/known_hosts:10

Messages like this often mean that the remote machine's been re-OSed recently,
and the person who did that didn't remember to save the host keys from the old
install.  If you know that the remote machine hasn't been r00ted by Evil
H4xx0rZ,[0] then the thing to do is to edit your known_hosts file, delete line
10 (the offending key), then ssh in to the remote machine again.  ssh will say
"host key fingerprint is unknown!  Accept key {1234} from $HOST?" and if you
allow that, stuff should start working again.

If you think the remote machine's been compromised, you may wish to use a
crew-served mortar on it.  Just to be sure.  :-)

[0] http://crow202.org/2008/haxored_by_pigs2.jpg

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: How to auto-start /etc/init.d/sshd start

2012-07-01 Thread Matt Graham
From: j...@actionline.com
> How can I get the following command to run automatically
> whenever I boot up my Thinkpad?
> # /etc/init.d/sshd start 
> 
> Normally, I have to su to root, and then run the command.

Add sshd to the default runlevel.  The exact command to do this depends on
which distro you're using.

Redhat:  chkconfig sshd on
Gentoo:  rc-update add sshd default

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: lubuntu 'find'

2012-06-30 Thread Matt Graham
> On Sat, Jun 30, 2012 at 2:26 PM, betty  wrote:
>> I am using l-ubuntu 12.04 with the pcMan manager and i can't for the life
>> of me find the  way to 'find' a file or something with part of a file name
>> in it. it is driving me crazy. What am i missing???
From: Michael Havens 
>  try apropos part-of-file-name

apropos is equivalent to "man -k" and is only for searching man pages.  I
think that what betty wants is "locate", as in "locate \*some string\*" should
give you a list of files whose names contain the string "some string".  NOTE: 
This only works if your distro runs updatedb every so often.  Most distros are
set up so that updatedb indexes all files once a day at roughly 4am.  Check
/var/lib/slocate/slocate.db ; if that file exists and is reasonably large,
your distro is running updatedb every so often.

There are some GUI-fied interfaces to locate too.  Not sure what they are,
since I'm a command-line sort of person.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: Urgent: need to ID some Network Manager icons - STAT!

2012-06-12 Thread Matt Graham
From: Jim March <1.jim.ma...@gmail.com>
> IF those [active wireless cards] are in fact ad-hoc, that's potentially
> bad.
>Cell 02 - Address: 6E:4B:8D:A4:25:B0
>  Encryption key:off
>  ESSID:"HPC4380E"
>  Mode:Ad-Hoc

Based on what you posted, I'd be inclined to think that some people near the
voting machines had their laptops on and had forgotten to turn their wireless
cards off, or were too dumb to turn their wireless off, or didn't know they
were supposed to turn their wireless off.  Remember that people being dumb is
far more common than people being malicious.  If they were actually doing
something they weren't supposed to be doing, they probably would've turned
some sort of encryption on, after all

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: OT: computer/electronics recycling

2012-05-20 Thread Matt Graham
From: AZ Pete 
> I have 2 old laptops that I'd like to get rid of and would prefer
> not to simply throw them in the trash. Is there a place I can drop
> them for recycling?  I live in North Scottsdale, 

IIRC, there's a Boy Scout troop that does a computer swap meet/computer
hardware recycling thing on the 3rd Sunday of every month.  So you just missed
it.  It's held by the 5 and Diner in the mall to the W of Indian Bend and
AZ-101, so it'd probably be easy to get to on June 17

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: How to gzip multiple image files into one .gz?

2012-05-14 Thread Matt Graham
> On Mon, May 14, 2012 at 11:32 AM,  wrote:
>> Is there a way to gzip multiple image files into a single .gz file?
From: James Finstrom 
> tar -czvf images.tar.gz image1 image2 image3

gzip , like bzip2 , works on *one file*.  If you want to put multiple files
together and compress them, you can't do it with gzip alone.  One way to do
that is to use tar in conjunction with gzip (or bzip2) as James showed above.

You don't have to use tar; you can also use another archiver like cpio.  Or
you can use zip, as in "zip -r mydirectory.zip mydirectory/" , which will
create a pretty ordinary zip file that may be easier for a less-literate
person to open on Windows/OS X.  There are many ways to archive and compress
files, since people have needed to do that for almost 40 years now

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: I got a message from google this morning.

2012-05-13 Thread Matt Graham
> On May 13, 2012, at 5:57 PM, Michael Havens wrote:
>> This is the second message I've gotten from them telling me someone
>> broke into my account. [...] Is google just filling us with paranoia
>> or is someone really hacking me?
From: Alex Dean 
> Are you sure that message is from Google? Could be more phishing.

Phishing attempts are usually totally obvious if you look at the full headers
of a message and/or the href= attributes of any links within the HTML portions
of a message.  So:  Take a look at the message's raw source and find out.

(If this *is* phishing, I fully expect to see about 20 mails like this in my
work account tomorrow morning, since whoever's in charge of mail filtering
there seems to miss a lot of stuff)

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: syslog stuff (was RE: wireless stoped working)

2012-05-10 Thread Matt Graham
From: "Carruth, Rusty" 
[snip logrotate info]
> On a slightly different topic, I have found that some versions of 'less'
> will automatically decompress compressed files to text.  Or at least,
> one time I mistakenly said 'less /var/log/syslog*' when some of them
> were zipped, and LO! I didn't see any binary junk - it decompressed them
> for me.  YMMV!

This is actually found in *all* versions of less, at least since 1999, but the
environment variable that controls this feature isn't always set.  An older
Ubuntu didn't set it, f'rinstance.  That's:

export LESSOPEN='|lesspipe.sh %s'

...so less, when invoked, checks that LESSOPEN var and pipes files through
/usr/bin/lesspipe.sh , which checks the filename for a metric ton of common
patterns and attempts to invoke appropriate decompressers for those patterns. 
Like "bzip2 -dc" for files ending in .bz2 , "bzip2 -dc | tar tvvf -" for files
ending in .tar.bz2 , and so forth.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


RE: x forwarding ssh

2012-04-30 Thread Matt Graham
From: "Carruth, Rusty" 
> First, edit your .ssh config file to allow x11 forwarding.

The remote machine's /etc/ssh/sshd_config file must have "X11Forwarding yes"
in it, I thought.  sshd's default is to set that to no, isn't it?

> Then, 'ssh -X me@overthere'

And if that doesn't work, try "ssh -Y remotemachine" since -X can run afoul of
one of X's security extensions.  At least that's what the man page said, and I
had some trouble using -X a while back while -Y worked.

> Done.  Just do NOT change 'DISPLAY' on the remote machine (which will
> look something like "localhost:10.0" IIRC).  

Yep.  

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: hard drive won't shut off

2012-04-30 Thread Matt Graham
> On Mon, Apr 30, 2012 at 1:11 PM, Mike Bushroe  wrote:
>> my old desktop system, which has several hardrives of various sizes
>> and ages, has int he last week or two started making on odd sound [...]
>> It is clearly not affecting the drive I am running off of, but I do
>> not know of any tool or system monitor that would help me isolate which
>> drive is going.

/usr/sbin/smartctl -a /dev/sda , repeat for all other disks connected, then
look at the output for anything that looks flaky?  It's a place to start at
the very least.  It might not give you useful output, but it should already be
installed and shouldn't take that long to run.

From: Stephen 
> usually there are diagnostic tools provided by the manufacturer of the
> drive, i would investigate those.

While this may work, it'll take longer, and they're usually
manufacturer-specific if not drive-model specific.  Also, you'll have to
reboot, which is annoying.  Try smartctl first, go for manufacturer diags if
smartctl reports stuff in failure/prefailure on a disk.

> and in a fit of paranoia make a backup of all data i care about.

Having recent backups isn't paranoia, it's a perfectly logical and valid
response to the Universe being out to stomp on all the stuff you really care
about!  :-)

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: applications

2012-04-28 Thread Matt Graham
From: Michael Havens 
> the default media player is Banshee which makes things s-l--o---w
> down. Not as bad a the download manager did but still... I have
> no experience with media players so I need to open this to discussion.
> Which do you guys and gals prefer and, if you can say, why do you
> prefer it?  I'm looking for something that is not very resource
> intensive as this will be on a machine that is around ten years old.

Music:  audacious .  It's essentially a clone of old-school WinAMP, it can use
the same skin files, and it really whips the llama's ass.  Its predecessor
XMMS ran fine on a P150 with 48M, so it should run just fine on a machine from
2002.

Movies:  Depends.  mplayer or xine.  xine has better DVD-navigation, while
mplayer can play almost any video format.  I use xine more often, because I've
often wanted to play DVDs I owned/rented on a Linux box.  Video decoding is
more CPU-intensive than audio decoding, though, so you'll probably want
something like an PII-400 with 128M to get reasonable results for MPEG-2.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: Accounting software.

2012-04-26 Thread Matt Graham
From: Nathan England 
> http://moneydance.com/ 
> Is by far the best, though it is not free

The OP said he was looking for free stuff.  I guess this might work if you're
willing to pay them whatever yearly fee they're charging now.

> GnuCash is an accounting program but it is so complicated to use it
> is not worth the time or hassle.

Seriously?  I started using GNUcash in 2000, when the documentation was barely
there.  I've never had any formal accounting training, and I figured it all
out pretty quickly.  The double-entry bookkeeping that GNUcash uses makes it
really easy to see how much you've spent from date X to date Y on (category of
expenses), and it'll track stocks/bonds/mutual funds if you install
Finance::Quote.

Take a look at the basic help,
http://gnucash.org/docs/v2.4/C/gnucash-help/help.html , and see if anything in
the advanced help , http://gnucash.org/docs/v2.4/C/gnucash-guide/index.html is
interesting.

The thing to do when setting up GNUcash is to start out your checking account
opening balance with the opening balance on the first of (month), then just
enter all the income/expenses from then til today that are on your bank
statement.  Start your cash in wallet opening balance with the bills in your
wallet.  *DON'T* try to enter everything you have records of, just pick a
start date.[0]  Then spend 5 minutes every day recording what you spent that
day and what you spent it on.  It should become second nature pretty quickly.

If you're going somewhere without your computer[1], one way to keep records is
to write down how much cash is in your wallet right before you leave, and call
that X.  Then write down how much is in there when you get back, and call that
Y.  Take (X - Y) and charge that to Expenses:Entertainment:Travel [2] with a
description of "trip to $SOMEWHERE".  Debit card/whatever charges will show up
on your bank's page and you can just enter those numbers when you get back.

If you're really hardcore, you can read
http://gnucash.org/docs/v2.4/C/gnucash-guide/txns-registers1.html#txns-registers-multiaccount2
, so you can split every grocery/restaurant bill into "bill" and "sales tax". 
Then at the end of the year/month, you can complain about how the government's
wasting your $XXX.YY on $THINGS_YOU_DONT_LIKE .

[0] Accountants, feel free to gasp in horror here.
[1] I know, that's crazy talk, man.
[2] The default setup should create a bunch of expense accounts like that.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: ot

2012-04-19 Thread Matt Graham
From: Michael Havens 
> api? what is an api?
[snip]

API = Application Programming Interface.  This is shorthand for "a
semi-standardized set of mostly-documented function calls that should return a
semi-standardized set of data or perform a set of actions in a format that
mostly makes sense according to the documentation".

The term is often overloaded and/or misused.  The API documentation is often
out of date or missing various important info.  But APIs are all over the
place, and if you're dealing with binary-only things, they may be the only way
to do what you need to do.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Anybody have a spare nVidia card?

2012-04-16 Thread Matt Graham
I've been fooling around with the open-source nouveau kernel and X modules for
getting TV-out and accelerated 3D working on my nVidia GeForce 7100 GS.  I've
got it mostly working.  However, I'm seeing some spotty corruption when using
OpenGL.  I don't know whether this is because of A) the latest git
Mesa/gallium nv30 module having silly bugs in it B) my video card being 5
years old with the possibility of marginal hardware failure.

If you've got a spare PCI-E nVidia card lying around, could I borrow it and
test it?  I'd be using it for less than 1 hour.  I'll be at the Stammtische
tomorrow night.  Heck, I could bring the desktop system to the Stammtische. 
If nobody has one, no worries; I'll just end up spending $50ish on a slightly
newer card

(FWIW, the corruption is still present, and actually much worse, when using
the evil binary-only nvidia kernel module and X module.  It's not present at
all with nv, and only noticeable with nouveau if I start using accelerated
OpenGL--which is why I thought "hardware problem".  I Could Be Wrong.)

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: OT: Free PHP Directory Code w/reviews

2012-04-11 Thread Matt Graham
From: keith smith 
> I'm wondering if anyone knows of any Free PHP Directory Website
> Software that allows for reviews?

I think you need to explain what it is that you want in more detail.  What are
you making a directory of?  Who's reviewing the things that are in the
directory?  How much traffic do you think this'll get?  If you answer these
questions, someone may be able to say, "Use package NNN on freshmeat.net", or
"just kludge something together with wordpress/drupal/joomla and call it
good".  (Vague specifications in => garbage out, usually)

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: Win 2k3 co-located server and Linux Samba Mirrors

2012-04-10 Thread Matt Graham
From: Alex Dean 
> On Apr 9, 2012, at 11:42 PM, Stephen wrote:
>> ok here is something i haven't considered in this way.
>> Openfiler with drbd
> drbd is great if both cluster nodes are in the same data center.
> Over the internet… not so much. The latency will kill your
> performance. Check it out for your scenario, though. If you have
> the right pre-requisites, drbd is pretty great.

However, DRBD is basically "replicate one block device to one other block
device".  There's not much support for 3-node setups.  (Stacked resources
allow you to do this, but it looks like a total pain.)  Also, DRBD's
dual-primary mode will only work right if multicast is enabled on your network
and you're using OCFS2 or GFS2 on the device and running the distributed lock
manager.  OCFS2/GFS2 are slower than ext3 because of locking/replication/the
paranoia of making sure everything's always consistent on both nodes.

I'd say that a solution would probably involve regular rsyncs instead of DRBD,
given that the original post mentioned multiple sites.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: network issue blocks svn code pull?

2012-03-30 Thread Matt Graham
From: "Steven A. DuChene" 
> Can anyone else try the following svn checkout command and let me know if
> it works for you?
> svn co svn://clusterresources.com/torque/branches/4.0-fixes

I get "connection timed out" as well.  It's highly probable that their
server's gone arse-over-teakettle and needs to be kicked.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: Disk Space Inaccuracy

2012-03-27 Thread Matt Graham
From: Brandon 
> We currently have a VPS server which runs in a Virtuozzo container.
> CentOS 5,  Apache 2.2.14
> /dev/vzfs  90G   78G   13G  87% /
> [root@production ~]# service httpd restart
> /dev/vzfs  90G   61G   30G  68% /
> However, a couple days later and I'm back in the same situation.

Log rotation not working right?  I've seen exactly these symptoms when
logrotate's been misconfigured.  You need to have logrotate do "apachectl
graceful" after it's rotated the logs; otherwise the httpds will have logfiles
still open even though logrotate's unlinked them.  Check that first.  You want
something like:

postrotate
 /usr/sbin/apachectl graceful

...in the right section of your /etc/logrotate.d/apache file; modify for your
setup.

Disk quotas should be totally orthogonal to this particular problem, unless
something really weird is going on.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: How to access photos on a windows file sharing service]

2012-03-25 Thread Matt Graham
From: j...@actionline.com
> mount -t smbfs -o username=zzz,password=zz //ZZZ-HP
> /home/joe/remote

SMBFS has been deprecated for years.  You also forgot the workgroup/domain
parameter, which you will need if the 'Doze box belongs to a
workgroup/domain/whatever.  You want:

mount -t cifs -o user=JOE,password=,domain=EVIL //BORG/SHARE
/mnt/somewhere

...note that BORG must be resolvable via DNS, if not, you can of course use
its IP.  If it sits there for many seconds and doesn't return, you may need to
add port=139 to the option string, as some CIFS tools will default to 445 and
sit there forever when they don't get a response from 445.  If you're doing
this as a normal user, then the normal user must own the mountpoint.  "man
mount.cifs" for the many, many options that are available.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: GIT and Github - howto.

2012-03-07 Thread Matt Graham
From: keith smith 
> Thanks James.  What is everyone else doing[?]  I'm sure others have
> had the problem of needing to "check out" code so others cannot
> modify the file.

Lock->modify->check in->unlock is the old way, dude.  You can *do* that using
SVN, but you're discouraged from doing so repeatedly in the documentation. 
Apparently, now you're supposed to grab everything, modify things, then merge,
handling conflicts/breakage via your brain.  This makes it easier to modify
parts of a huge project.  (It can create problems for small projects with few
developers, but who cares about those projects, anyway?)  Note that these
problems were also present in older things like CVS, but CVS is very infra dig
now because it's so annoying to move/rename things in CVS.

If you *need* exclusive locking, git is the wrong source-code versioning
system to use.  But as Alan said, you probably don't need exclusive locking as
much as you think.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: Seeking a concise Linux installation checklist

2012-03-06 Thread Matt Graham
From: keith smith 
> I agree with bloat.  Seems Linux just keeps on growing.

Users keep demanding MORE FEATURES, so the space that software requires keeps
going up.

> I wonder if there is a "thin" Linux.  Of course right out of the
> box.  I have no time to optimize Linux or M$.  

Of course.  However, it'd be missing one or more of the things you really
like, and you'd get upset about that.  The least bulky distros are probably
Arch or Gentoo or Debian, but getting those up probably requires more time
than you're willing to spend.  As such, you're probably stuck with dealing
with a bunch of disk space getting eaten.  Let's see, CentOS 5, 600M / , 1.9G
/usr , 203M /var , 40M /boot .  This is for a production box with some X11
stuff and a few dev libraries and things installed.
A CentOS 5 orkstation?  450M / , 4.8G /usr , 152M /var .  More dev libraries
and a whole bunch more X11 user programs and documents.  This is acceptable
when regular disks are >= 100G, I think.

> I sometime think of the good old days when Linux fit on a handful
> of 1.44MB micro floppies.

The Good Old Days, when men were real men, women were real women, and real
users wrote their XF86Config files by hand using /bin/vi !  And getting sound
required sorting through a huge list of hard-to-understand parms for mostly
undectable ISA cards!  And playing most video required compiling mplayer by
hand!

Seriously, many many improvements have been made, and if a 2011 user were
given a 1999 distro (and 1999 hardware) and made to use it, that user'd have a
hissy fit.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: fatherswithforeignbabies.us

2012-03-05 Thread Matt Graham
> On Mar 5, 2012 1:50 PM, "Michael Havens"  wrote:
>> I hope this doesn't seem rude but why [resize images from huge to
>> smaller]]? I mean it is the proper size on the web page.

If you have a limited amount of bandwidth available, sending a 50K 500x400
JPEG is a lot less costly than sending a 1.3M 2500x2000 JPEG.  Also, the
faster the page loads, the more page users seem to like it.  ("5 seconds?  But
I want it NOW!!1!")

From: Kevin Fries 
> Some data connections are faster than others, and if you want to
> reach the widest possible market, you should build for the slowest
> users.

To reach as many people as possible, you should also remember that "slow"
could refer to mental acuity as well as download velocity :-P

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: OT--HTML coding question

2012-02-27 Thread Matt Graham
> From: "Mark Jarvis"   
>> [SSI] sounds like a good solution. If this was a commercial web site
>> I'd probably do it. However this is something I'm doing on a
>> volunteer basis using donated space and I'm trying to keep everything
>> small and simple--especially simple.

SSI is pretty simple as these things go, and every web server seems to support
some form of it because it's just so useful.  The only thing you really have
to do is to make sure it's enabled for your directory and that the server's
actually interpreting SSI statements in appropriate files.  That's another
line in the apache conf:

AddOutputFilter INCLUDES .html .htm .php .inc

...which tells apache to parse filenames ending in those things for SSI
statements.

From: Phillip Waclawski 
>  

This may work too, but:  Relative filenames may not work, depending on your
php.ini's include path settings.  And usually, files that end in .html won't
be parsed for PHP code, unless you change the server's config to make it do
that.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: OT--HTML coding question

2012-02-26 Thread Matt Graham
From: Mark Jarvis 
> I have a web site with a large number of hand coded pages. I have a 
> block of code that needs to be inserted into each page. The problem is 
> that the block will change occasionally as new material is added. 
> Obviously, things would be much simpler if I could make the change in 
> one place and have each page attach/include/link to/etc. a file 
> containing that piece of code. If there is an HTML construct that allows 
> that, I haven't found it.

It's called "server-side includes", and it's relatively standard if you're
using Apache.  You have to have the directory you want to have server-side
includes enabled in with a config stanza kind of like so:


   Options Indexes FollowSymLinks Includes

# note that Includes is the option you want to have enabled for this dir.
# that's the docroot of my webhost; modify for your setup
# make sure to restart apache if you change the config file

Once this has been done, all you have to do is to put a construct like so into
foobar.html:



...this tells apache that when it's reading foobar.html, it should read the
file /var/www/localhost/htdocs/incs/nav.html and insert that file's contents
into foobar.html at that point, before sending stuff to the client.[0]  This
is *really* useful.  At work, we basically depend on apache SSI to do 5 tons
of stuff, since many pages use the same stuff across the whole site for
navigation/menu bars/whatever.

If this didn't make any sense, holler.

[0] It can get a bit more complex than that, what with RewriteRules and other
stuff, but that'll get you started.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: OT: What is the best way to restore crashed xp

2012-02-24 Thread Matt Graham
From: j...@actionline.com
> I did find an old widows XP install disk

XP: The Widow-Maker!

> but ran painfully slow and locked up several times, so I suspected
> either a memory or HD problem. Then I tried installing Linux and
> that installed fine and worked for a while, but it also locked up
> at various stages.  So, I suspect either a memory or HD problem.

The last two times I ran into that particular symptom with Linux, it wasn't
anything to do with the disk or RAM.  It was the motherboard flaking out. 
That's always fun, since the motherboard on an x86 is expensive, annoying to
replace, and difficult to diagnose problems with.

> How can I check the memory and HD integrity on his old box? (or what
> else should I check?

memtest86 for the RAM.  badblocks -n -s /dev/NNN for the disk.  The other
thing that could be going wrong is the CPU, but modern CPUs rarely die if
their fans are working properly and they don't get too hot.  Make sure the CPU
and case fans are all working, and try lmsensors or the BIOS temperature
monitor after the thing's been on a while to make sure it isn't getting too
hot.  However, CPUs are relatively easy to replace, and if they're a few years
old, they're not that expensive either.

> How can I reformat the entire HD to try reinstalling again?

dd if=/dev/zero of=/dev/NNN bs=1M count=1

NNN should be the whole disk, like /dev/sda or /dev/hda , not a partition like
/dev/sda1.  This'll zorch the partition table and the filesystem on the first
partition, so make sure you want to do that first.  

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: hard disk failure

2012-02-21 Thread Matt Graham
From: Michael Havens 
> If e2fs is saying that the first backup superblock is at 32768, why do
> you multiply it by 4 to get the real superblock backup location?

Because ext23 filesystems can have block sizes other than 4K.  In the old
days, when disks and files were smaller, there were some advantages sometimes
to having 2K or 1K blocks.  These advantages are mostly irrelevant now, but
the lowlevel filesystem code and tools MUST be able to deal with block sizes
that are not 4K for obvious reasons.

> Is that a bug?

Closer to "obsolete feature".

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: hard disk failure

2012-02-20 Thread Matt Graham
From: Michael Havens 
> "sudo e2fsck -b block_number /dev/xxx"
> The first backup superblock was at 131072. Are other
> backup blocks located every 131072?

No.

 dumpe2fs  /dev/mapper/vg-usr32 | grep 'Backup super'
  Backup superblock at 32768
  Backup superblock at 98304
  Backup superblock at 163840
  Backup superblock at 229376
[snip]

Multiply those by 4, and you see the first backup is 131072, second is 393216,
third is 655360, fourth is 917504, and they're spread even farther apart as
they go up.  A 7.9G filesystem here has 8 backup superblocks, while a 50G
filesystem has 11.  I'm not sure how the copies are distributed, but there's
probably a fairly simple algorithm in the source for mke2fs that describes it.


-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: hard disk failure

2012-02-18 Thread Matt Graham
> technomage.ha...@gmail.com> wrote:
>> now I remember what the other tool was: hdparm. that tool will tell
>> you what the SMART status is on the HDD.
From: Michael Havens 
> It seems to me everything is good. 
> hdparm /dev/sda1

hdparm won't tell you about the SMART status on a disk.  I think you may be
looking for /usr/sbin/smartctl , which will report the SMART status for
everything on sda if you call it with "smartctl -a /dev/sda".  However, the
last time one of my disks died, smartctl didn't say anything was wrong until I
started getting read errors on various sectors.

Also, if you're having trouble mounting an ext23 filesystem, something you
might want to try is to mount it using the backup superblocks.  "mount -t ext3
-o sb=131072 /dev/sda2 /mnt/somewhere" is the canonical first backup
superblock to try.  Or since reading the disk appears to be working, copy each
partition somewhere, make a copy of that copy, and attempt to work on that
copy with e2fsck and/or debugfs.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see


---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: I need opinions.

2012-02-16 Thread Matt Graham
From: Michael Butash 
> Whatever such you intend for them to do once there, you first
> need to drive people there, meaning you need to be found, and
> not immediately closed as irrelevant.

> Pick out a theme, just don't go crazy and make it myspace-ish
> with nauseating graphics everywhere.  Then look up "search 
> engine optimization" and dig to get it out there.

Pretty good advice there.  SEO:  make sure the meta tags for description and
keywords are correct/relevant, make sure you're using  appropriately, make
sure robots.txt allows various search engines to look at your site.

Also, don't go overboard on trying to be (like this on Spacebook!)
hyper-relevant and/or more (+1 this on Googel!) socially connected than (bleat
this!) every other site since it can get (crow202Spot this!) annoying.  Also
also, if you have popup, popunder, sound-using, or screen-taking-over ads on
your site, people will want to hunt you down and beat you with a bag of
doorknobs instead of spending time at your site.
 
> Tough part is giving someone a reason to stay around your site - one 
> page won't do that, let alone sell a cause.

Getting people to visit one page isn't insanely difficult.  Getting people to
*explore* a site or visit it regularly seems to require one or more of:

* regularly updated interesting text or images
* a reasonably active user community that posts comments and aren't all
complete raving jerks
* a product for sale that people actually want
* pictures of nearly-naked cute people

...at least that's what I've seen.  

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: New monitor

2012-02-14 Thread Matt Graham
From: John 
> Anyhow, I'm looking to get a new monitor for 11.10 KDE using a
> GEForce 7300 LE on a desktop. The current monitor is a 4:3 15in
> but I do like 4:3 aspect ratio.

I don't think there will be a big selection of stuff in 4:3 these days. 
Everything is now 16:9 because that's what widescreen movies come in, and
people love movies.

> Is a touch screen monitor a good choice?

http://catb.org/jargon/html/G/gorilla-arm.html provides some context for why a
vertically mounted touchscreen may not be a great idea.

> Will it work with Ubuntu? Waste of time?

The vast majority of monitors Just Work.  If your current monitor is failing
miserably, it's time for a new one.

> I don't do anything but surf the net and use OpenOffice read
> email etc no gaming. I have a normal size desk. Is 24 inches
> 16:9 too big? Too small? Any recommendations on resolution?

The bigger they are, the more they cost.  I'd look at things in the $250-$300
range, since there's a lot of decent stuff at that price, and get something
that had good brightness, good contrast, and as many pixels as possible.

> Will I need a new video card?

Maybe.  If your video card has DVI-out, you'll be OK unless you get something
with a really high resolution ( > 2048 pixels wide, or so) when you'll need
DVI's big brother.  If your video card doesn't have DVI-out, you'll probably
have a lousy picture until you get a video card with DVI-out.  My nVidia card
refused to display anything on DVI until I cold-booted the machine with the
monitor plugged into the DVI port, but that's a one-time thing.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: Red Hat Linux Systems Administrator position in Scottsdale

2012-02-06 Thread Matt Graham
From: Lisa Kachold 
> The Systems Engineer is responsible for 
[snippage]
> You have Ninja skills with RedHat/CentOS Linux (command line), Java,
> Apache WS and Tomcat
> You have great skill with the deployment and tuning of Tomcat server
> You have strong application troubleshooting skills and amazing
> attention to detail
[more snippage]

Isn't this the exact job that Shawn Badger posted to this list on Jan. 31 at
6:21am?  They're using the exact same language.  Guess they haven't found
anybody yet

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: Question about USB R/W Speed

2012-02-02 Thread Matt Graham
From: Mark Phillips 
> Matt Graham  wrote:
>> If ehci_hcd isn't loaded, then USB2 devices will be limited to USB1
speeds.
> OK, # lspci |grep -i ehci

That just tells you whether an EHCI controller is present on the PCI bus (one
is).  You want "lsmod | grep ehci", which will tell you whether the ehci_hcd
kernel module is loaded.

> How do I check if devices are automounted with -o sync?

This depends on whether you're using an automounter and which one you're
using.  I can't help that much with the automounter config, since I always
mount removable media manually and use fstab entries.  But if you plug the
device in and start doing stuff with it, typing "mount" in a terminal should
show you a bunch of output with a line like

/dev/sdb1 on /mnt/somewhere type vfat (rw,noauto,users,umask=000)

...where the stuff within ()s is the options the device was mounted as. 
"sync" probably shouldn't be in there if you want the fastest possible I/O.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: Question about USB R/W Speed

2012-02-02 Thread Matt Graham
From: Mark Phillips 
> Gnome reported that the transfer speed was around 400 - 500 KB/sec.
> I then plugged the same stick into the same port on my laptop, but
> transferred files (~1.5 GB lots of little files) from Windows 7
> running in VMPlayer, and got a transfer speed of 4-5 MB/sec - 10
> times faster! Is there some magic in windows that makes USB sticks
> faster?

If ehci_hcd isn't loaded, then USB2 devices will be limited to USB1 speeds. 
If a device is mounted with "-o sync", I/O on that device will be slower (but
it shouldn't have been that slow).  If you're using an automounter, that
automounter may mount removable media with -o sync .  Finally, your USB device
may have some sort of flag in unusual_devs.h that says "This device may not
work reliably at high speed; force it to low"--but I think that'd be unlikely.
 Check the presence of ehci_hcd first.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: descend the network tree

2012-01-28 Thread Matt Graham
From: Michael Havens 
> thank you lisa. not quite what i wanted to know but it is useful
> information. what I meant is how do you descend into other computers.
[snip]

I'll assume you meant "find out what resources other computers are sharing
over the network" there.

For SMB servers, "smbclient -L MACHINE" will show you all the network
filesystems, printers, and various other things that MACHINE is making
available via SMB.  You can use an IP address instead of a machine name too. 
You may need the -U username and -W workgroup options, depending on how the
remote machines are set up.

For NFS servers, "showmount -e MACHINE" should show you all the NFS
filesystems that MACHINE is making available.

For printers, the CUPS web interface shows quite a bit of info about many
modern printers hooked to a network, but I'm not sure how it gets that info. 
"lpinfo" might be what you're looking for.  Can't tell; I don't have a printer
at home.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: drupal or plone

2012-01-25 Thread Matt Graham
> On Wed, Jan 25, 2012 at 9:29 AM, Michael Havens  wrote:
>> I installed plone just fine but in the readme one of the recommended
>> programs is poppler. So I went to their d/l page and loaded it. So I
unpack
>> it and see it needs to be compiled.

In general, if you want N, you do "yum search N" or "emerge --search N" or
whatever your distro's equivalent is *before* you try to compile N from
source.  It's usually a lot easier and faster.  I'd be very surprised if your
distro doesn't have a package for poppler.

Also, poppler is for making PDFs.  If you don't need to make PDFs right now,
fuggeddabouttit and deal with it later.

>> No package 'fontconfig' found
>> Consider adjusting the PKG_CONFIG_PATH environment variable if you
>> installed software in a non-standard prefix.

poppler's ./configure is using pkg-config to look for the cflags, headers,
libraries, and so forth for fontconfig.  And it's failing.  This is
suboptimal, but I get absolutely nothing from "pkg-config --cflags fontconfig"
even though I've got fontconfig and fontconfig-devel installed on this CentOS
box, and /usr/lib/pkgconfig/ has a fontconfig.pc file in it.  (pkgconfig
problems, sigh.)

So, you can fix poppler's configure script[1], or you can *install your
distro's package(s) for poppler*, where someone's already done all the work of
compiling it and putting all of its dependencies in the right place.

> whole mess of fontconfigs on my system so it isn't a matter of installing
> the program but rather of getting poppler to see that it is installed.

See above.

[0] Gentoo is the exception here
[1] I remember running into something like this at some point with poppler; it
took a couple of days for the Gentoo people to release a patch.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


OT: web developer job

2012-01-23 Thread Matt Graham
Want a job doing PHP and Ruby on Rails in a Linux environment?  We've got an
opening.  Take a look at
http://azcentral.ats.hrsmart.com/cgi-bin/a/highlightjob.cgi?jobid=1765

(No, we had nothing to do with the design of the site above :-P )

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: What is the simplest date reminder method?

2012-01-20 Thread Matt Graham
From: "Matt Graham" 
> This works in KDE 3.5; the syntax is different in KDE 4

> shell:~$ xhost +local:
> (only have to do that once)
> shell:~$ at 10am Jul 31
> at> export DISPLAY=0:0
> at> dcop --user YOUR_USERNAME --all-sessions knotes KNotesIface newNote
> Remember "Remember this here text" 
> at> ^D

In KDE 4, it's like so:

shell:~$ xhost +local:
(only once)
shell:~$ at 10am Feb 8
at> export DISPLAY=0:0
at> qdbus org.kde.knotes /KNotes newNote RememberThis "Remember your
anniversary, you putz."
at> ^D

...KDE 4 and recent GNOME use qdbus (command-line) and qdbusviewer (GUI
explorer) for telling various GNOME and KDE apps to do various things. 
AFAICT, the vast majority of interesting/useful stuff is done through
org.{kde,gnome}.APPNAME /AppName (various commands).  It's sorta complicated,
but it rewards some study and fiddling with, in much the same way that DCOP
did with KDE 3.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: What is the simplest date reminder method?

2012-01-20 Thread Matt Graham
From: j...@actionline.com
> (1) First, what would the PLUG brain rust

I *like* that typo.

> ideally, I think I would like to have a command line
> shell script where on the command line, I could just type:
> $ remember "Dr. appointment Jan 25 at 12 pm" 
> And 24-hours before that date/time, a small, bright-yellow
> window would pop up on the top left corner of my desktop with
> that message.

This works in KDE 3.5; the syntax is different in KDE 4, but I don't *have*
KDE 4 on this machine.

shell:~$ xhost +local:
(only have to do that once)
shell:~$ at 10am Jul 31
at> export DISPLAY=0:0
at> dcop --user YOUR_USERNAME --all-sessions knotes KNotesIface newNote
Remember "Remember this here text" 
at> ^D

Wrap some shell around that, so you can just do "remember.sh 10am Jul 31
'Remember this'".  Simple, if you're running KDE 3.x.

(What *have* they replaced DCOP with in KDE 4, anyway?  It's useful enough
that they had to have invented something like it)

> (2) When I click on the digital clock on my start line,
> an image like this: http://www.upquick.com/temp/calendar.jpg
> appears and I can't find any explanation for why there are
> different colored boxes around some dates, nor what the icon
> in the lower left corner does, not what the up/down arrows in
> the bottom right corner are for, nor what any other functions
> of this clock do.

The colored dates are holidays in your locale.  See how Christmas, New Year's
Day, and Groundhog Day are colored?  Which WM/DE are you using?  The analogous
icons/arrows do stuff in the clock/calendar in KDE 3.5.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: Throttling mysql command line

2012-01-18 Thread Matt Graham
From: Eric Cope 
> good point. Its just a series of INSERTs (8000 or so), but the table
> has a fulltext index, so its pretty slow (10 records/sec).
> It sounds like I should split up the batch script, then load a few,
> pause, load a few, pause, etc.

Run through 10 inserts, sleep 1, 10 inserts, sleep 1, until finished.  I don't
think that you can do "sleep 1" in SQL, though, so this means putting the
queries through a shell/PHP/something wrapper.  This would mean the inserts
would take longer, but the webserver would probably be usable while the whole
thing was running.

> Any ideas?

Something that might work down the road is to turn off full-text indexing and
offload searches like that to an instance of sphinx.  Then you could have the
table you're inserting into be InnoDB, which has all kinds of useful benefits
(yay row-level locking).  The tradeoff is that you have to learn sphinx, use
it, and set up a cron to regenerate the sphinx indexes every hour or half-hour
or something.  This might not be worth it for your application.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: compressing c:

2012-01-14 Thread Matt Graham
From: Michael Havens 
> After searching fir an answer I found mount.ntfs-3g so I type in
>  mount.ntfs-3g /dev/sda2 /c
> 
> and the machine tells me I have an invalid argument. This is strange
> because when I mount sda1 with the same command it does it with no
> problems.

Is there a filesystem on sda2?  If "mount.ntfs-3g /dev/sda1 /mnt/somewhere"
works and it doesn't work with sda2, then check.  Doing "dd if=/dev/sda2 bs=16
count=1 | od -a" should return a line or 2 with "N T F S" immediately visible.
 If you get nothing but zeroes, then there isn't an NTFS filesystem there. 
Figure out what is there and go from there.  If there isn't anything there,
sda2 isn't an extended partition, and you *want* to have an NTFS filesystem
there, mkntfs could do that, but I don't know what Windows would do with it. 
It tends to get irritated when everything isn't exactly like how it expects.

Also, when Windows creates more than one partition on a disk, it generally
makes those extra partitions logical, not primary, or at least it *used* to in
2000/XP.  "fdisk -l /dev/sda" and post the results.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: RHEL-6.1 system with 4 CPU sockets and 1TB of memory

2012-01-10 Thread Matt Graham
From: JD Austin 
> I haven't found a significant difference between CentOS and RHEL.

There isn't one.  It's all binary-compatible.

> Likely one reason - support.

RHEL's support is *completely useless*, or it was the one time I tried to get
them to answer a question.  Then again, I usually know what I'm doing, and
less experienced folks may find some basic hand-holding useful.  (The problem:
 strace -ff showed something in /usr/lib/ had been deleted.  Missing shared
libs are probably outside the scripts the support people read)

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: OT - Windows XP Installation CD

2012-01-01 Thread Matt Graham
From: Lisa Kachold 
> Try to find someone with a DVD?

This'd probably be the best bet if possible.
 
> You should not need to use Windows for anything!

Real-world considerations mean that people sometimes HAVE to use Windows.  The
VPN at my work doesn't allow Linux users to connect to it.  They *could* allow
Linux users to connect, but the people in charge of the VPN say that's a
"security risk", and they won't consider it.  If I need/want to work remotely,
my only option is a Windows machine.  ("Getting smarter people in charge of
the VPN" is not an option, sadly.)

Also, what about games?  You may not play games, but lots of games only run on
Windows.

Mark Philips wrote:
> One has to use Windows or MacOS for iTunes

gtkpod should work for managing the music/video/whatever on almost all iPods,
and it's cross-platform.  Buying stuff via the Apple store may require iTunes
itself--I don't know since I've never wanted to buy stuff from there.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: backup entire system

2011-12-27 Thread Matt Graham
> On Tue, Dec 27, 2011 at 12:19 AM, Michael Havens  wrote:
>> I got things just the way I want them. How do I make a mirror image of my
>> hard drive?

This is usually the wrong way to approach backups.[0]  What if your disk dies,
and you need to restore your stuff onto a disk with a different size?[1] 
You'll have to mount the images loopback and cp everything over, which makes
things less simple than you want.

>> What do you all recommend? You know, on the first page about this
>> one of the programs is partimage and they say that one of the
>> limitations of it is that it does not support ext4

ext4 is still in development.  I can't think of any advantages ext4 would
offer the home user right now.  But what I'd recommend is to just back up the
things that need to be backed up.  It's so easy to install a system and
bootloader now that I'd just back up /home , /usr/local , and possibly /etc . 
That said:  rsync.  rsyncing my ~ to an external USB2 disk takes a couple of
minutes, which is a lot faster than almost anything else I could think of. 
(The initial sync to the blank disk took about an hour, as 110G is kind of a
lot of data.)  And the rsynced disk can be mounted anywhere[2], and its dir
structure is exactly like my ~s, so I can quickly find that copy of
~/junk/importantstuff/ that I mistakenly rm -rf'ed earlier.

From: Stephen 
> I would use clonezilla (http://clonezilla.org/) to make a "initial
> system image" (its really partimage and DD wrapped up in a series of
> easy scripts)

This'll take a whole lot longer than rsyncing things, especially if partimage
doesn't grok ext4 and falls back on dd.  Backups should be as convenient as
possible, so you can do them often without saying "@#$%ing backups take too
long!"  I'd only use partimage for things like NTFS partitions, where not
everything is a file.

Or you could do a hybrid approach:  "fdisk -l /dev/sda >
/mnt/backup/fdisk.txt", use partimage on /boot , and use rsync for the rest of
the partitions.  

[0] Unless you're doing softRAID-1, which isn't a backup plan, but an "in case
of disk failure" plan.
[1] Even disks that are the same size can have different C/H/S geometries,
though this is a lot less common than it used to be.
[2] So long as you have a Linux box.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: training

2011-12-19 Thread Matt Graham
From: Michael Havens 
> I think I'll take Kevin's advice. After googling the differences between OO
> and procedural programming it looks to me as if the natural progression for
> a beginner would be to learn bash and then learn Ruby. Would trying to
> learn both at the same time be wise or not?

bash's syntax is different from the C-like languages, and bash's handling of
complicated data structures leaves something to be desired.  But it's an OK
place to start to learn about programming concepts.

I think you'd get confused by trying to learn two languages at once.

> I think what it is saying is that the error is in line 28 character
> 3. But it looks exactly like the instructions are telling me to make it!

> argexample2.c: In function ‘main’:
> argexample2.c:28:3: warning: incompatible implicit declaration of built-in
> function ‘exit’ [enabled by default]

I'm guessing you forgot to #include .  This is one of many errors
that beginning C programmers always run into.  I know I ran into the same
thing years ago.  "man 3 exit" will tell you which include file exit() is
defined in.  "man 3 $FUNCTION" can provide a bunch of useful info about the C
library function $FUNCTION , and many things not in the base C library also
have man pages in section 3 which are really useful if you've forgotten any of
the details.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: training

2011-12-19 Thread Matt Graham
From: keith smith 
> I would second starting with C.  I learned and used several
> languages before taking a C class.  C helped me understand the
> others.

The good thing about C is that it's relatively simple[0], and easy to get
started with in a Unix environment.

The bad things about C are that its base set of libraries is missing a bunch
of stuff that's just there in higher-level languages.  You also have to manage
your own memory in C, and do pointer arithmetic, which tends to cause
confusion among new programmers.[1]  C doesn't really do objects, either, and
if you write things without using objects in this day and age, other
programmers will sneer at you and treat you like a backwards outcast.  OTOH,
Angband and its variants are written in C, which gives you a fun multiplatform
roguelike game with lots of code examples to take a look at.

If you want to write something useful reasonably quickly, PHP's not bad at
all.  The base language has tons of useful functions in it.  Plus you can put
your application on the web reasonably easily after you've written it.

[0] The base language, that is.  Learning all the stuff in
libc/libm/libncurses and how to use them takes a lot longer.
[1] It took me several days to figure the pointer thing out.  YMMV on this.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: networking ubuntu and mint

2011-12-02 Thread Matt Graham
From: Michael Havens 
> No MAC. Two Linux boxes and 1 Windows XP box.  Is there a way to
> make it so that I can have the desktop of the other computer on
> another or else is this all text?
[snip]

That's a bit of a different question, and has nothing to do with NFS.  This is
more like "remote access".  There are a bunch of ways; here are the most
popular:

VNC/TightVNC : Totally cross-platform, tested, stable, etcetera.  On 'Doze,
TightVNC Server will, if run, make the 'Doze desktop available to clients.  On
Linux, you want x11vncserver or its GUIfied/friendly counterparts KDE Desktop
Sharing or the GNOME equivalent (vino?).  Many clients exist.  Pick your
favorite; they usually have "vnc" in their name somewhere.  NOTE:  vncserver
and tightvncserver create a virtual Display instead of sharing an
already-existing Display.

Windows Desktop Sharing : A 'Doze box can share its desktop to remote clients.
 There's a Linux client called rdesktop that works pretty well.  Last I
checked, there was a proof-of-concept Linux server that didn't work all that
well, so this is pretty much one-way only.

NXServer : Proprietary free as in beer, but quite fast over low-bandwidth
links.  It's a bit of a pain to set up.  It works well once it's been set up.

X11 : Can be used, usually isn't, since most modern X servers are started with
-nolisten tcp , and GTK+ apps tend to behave badly when not able to connect to
a local X socket.

sshing to a Linux box is usually much faster than dragging a GUI around.  But
there are ways if you really need them.  Don't forget that you can "ssh -Y
remotehost xclient" to ssh to remotehost, then tunnel X over ssh, so that
xclient is running on remotehost, but displaying on your local Display, which
may be useful in some cases.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: OT: SSD and EMP

2011-12-01 Thread Matt Graham
From: keith smith 
> That [raises] the question - if the device you store your data on
> is not [affected] by an EMP what will you read it with?  And how
> will you use the data?  Every part of our computers will be [affected]
> - destroyed. 

This is why the discerning paranoiacs always keep a spare laptop inside a
Faraday cage in case of nearby nuclear weapons tests.  :-P

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: compress pictures

2011-12-01 Thread Matt Graham
From: Michael Havens 
>> That's "tar cjf images.tar.bz2 images/" to create compressed tarballs
>> of everything in the images/ dir.  Replace "tar cjf" with "tar xjf"
>> to uncompress.
> I want to keep the original files I'm going to compress.

tar as invoked with c above won't delete or change the files it's turning into
a compressed tarball.

> the man file it looks as if I should use the option '--backup'.

Not really.

> or should I just copy the directories I want to archive?

Unnecessary.  Try creating a tarball on a dir with some files you don't care
about and see.

> when I append these files from the top level directory will it append
> the files under it as well?

Appending files to a compressed tar file probably won't do what you want. 
Remember that tar was originally a TapeARchiver , and tapes aren't seekable in
the way disks are, and the way it works makes a bit more sense.  If you want
to make a compressed archive and change it often, zip would probably be easier
than tar.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: compress pictures

2011-11-30 Thread Matt Graham
From: Michael Havens 
> I want to compress a bunch [of] pictures to put a bunch on my zip
> drive. What is the best program to use?

Most image formats are already compressed in some way.  JPEG, GIF, TIFF, and
PNG are almost always compressed.  Compressing an already-compressed data set
doesn't usually buy you very much at all, 1 or 2% if that.

> I was thinking 'zip' would be good

See above.  zip will work, though tar combined with bzip2 (or xz/lzma) may be
more space-efficient at the cost of it taking longer to compress and
uncompress the data.  That's "tar cjf images.tar.bz2 images/" or "tar cJf
images.tar.xz images/" to create compressed tarballs of everything in the
images/ dir.  Replace "tar cjf" with "tar xjf" to uncompress.  

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: md5sum

2011-11-28 Thread Matt Graham
From: Michael Havens 
> didn't remember umount needing the full line... I thought you just needed
> to tell it the device in /mnt to umount.

machine:~$ mount
[snip]
/dev/sda1 on /mnt/kingston type vfat (rw,noexec,nosuid,nodev,umask=000)
machine:~$ umount kingston
umount: kingston is not mounted (according to mtab)
machine:~$ umount /mnt/kingston
[works]
machine:/mnt$ umount kingston
[also works]

When you tell umount to umount something, you need to give the device or the
mountpoint.  If you give it a relative path, that won't work unless you're in
the appropriate dir.  So I've gotten in the habit of giving a full path when
mounting or umounting things.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: md5sum

2011-11-28 Thread Matt Graham
From: Kevin Fries 
> You probably have a terminal open that has a shell whose current working
> directory is on the drive.

Michael wrote:
bmike1@Michael-Notebook:/mnt/dvdrw$ eject /dev/dvdrw

Where is /dev/dvdrw mounted?  Probably /mnt/dvdrw/ .  If a process (Michael's
shell) is in /mnt/dvdrw/ , then you can't umount it.  So, "cd ; umount
/dev/dvdrw" will probably work a lot better

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: someone figured out my email address

2011-11-23 Thread Matt Graham
From: Technomage Hawke
> was that a comic page? I tried to find more than the apology there
> for the arguments about password security but I was confronted
> with the bane of every blind person: images that aren't
> descriptive.

Take a reasonably common password, like "troubaD0r&3".  There are about 28
bits of entropy in that password; 11 for a reasonably random dictionary word,
a few extra for replacing chars with numbers, a few extra for having a capital
letter, and a few more for a random punctuation char and a number.  2^28 bits
of entropy at 1000 guesses per second = 3 days to crack the password.  And
it's hard to remember.  Was it trombone?  Or troubador?  And which O was a
zero?  And there was some symbol

Take a different password, like "correct horse battery staple".  4 common
English words, in a random order.  This is 44 bits of entropy.  2^44 bits of
entropy at 1000 guesses per second = 550 years.  So it's hard to guess.  Is it
easy to remember?  You've already memorized it!

Through 20 years of effort, we've trained people to use passwords that are
hard for humans to remember, but comparatively easy for machines to guess.

This is not entirely serious (big surprise in a comic strip!)  Some systems
have a max password length, and the number of bits of entropy in those
passwords is very open to debate.  This didn't stop me from writing
"correcthorsebatterystaple.php", which picked 20 random words from
/usr/share/dict/words and spat them to stdout.  What do you mean "viridian
Syria cacomixl devilfish" isn't going to work on older Active Directory
systems?  Also, if you have to type in a password ~50 times a day, it's easier
if it's short.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: Brookings: CyberSecurity In the Balance - 2 New Bills

2011-11-17 Thread Matt Graham
From: Eric Shubert 
> I haven't read the legislation, but since windoze (xp/vista/7) runs its 
> own resolver (DNS cache), it's conceivable that this might apply to all 
> windoze hosts, depending on how the word "server" is defined.

Practically all the machines at work have extensive /etc/hosts files in case
the DNS boxes have a cow.  I wonder if a stupid legislator would consider that
a "server" in the right circumstances.  If not, I'd think a bunch of people
would start trading multi-M hosts.bz2 files and not paying as much attention
to DNS.  If so, really stupid stuff would happen, like saying, "A hosts file
with more than N entries or entries for @HOSTNAMES is totally evidence that
the possessor is attempting to subvert various laws!"  

That's pretty tinfoil-hattish.  It's also something I could see people doing
if they were completely idiotic, or thought they could get more money and
power by doing.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see



---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: Introductions and Current Status

2011-11-15 Thread Matt Graham
From: Nathan England 
> I'll start it off, how about you? When did you get started with Linux,
> how did you find it? What are you doing with it now?

In 1998, I found that students with regular user accounts could use gcc on the
Solaris boxes.  I thought this was really neat, because I could code in C,
which was difficult on my Mac SE/30.  Then I learned about Linux by stumbling
onto now-defunct humor website segfault.org [0].  It was another year before I
scraped up enough money to buy an x86 and try Linux out for real.  And I spent
about 7 months reinstalling things, tweaking the kernel, and trying different
desktop environments because the machine was unstable and I thought I'd done
something wrong.  No, the motherboard was low quality, and replacing it fixed
*everything*.

I did some stuff with the U of M's LUG, played with raytracing, settled on
KDE, and burned a bunch of Linux CDs for interested friends/students/randoms. 
The refurbished laptop I bought later was the only machine in my workplace
that could read MacOS-formatted floppies, which was REALLY useful at some
points.  Later, I ditched SuSE for Gentoo and zorched the Windows install on
my desktop since I never used it.

Anyway, I use Linux for just about everything at home and work.  At work, I
herd a bunch of standalone boxes and DRBD clusters, keep the databases from
exploding, fix stuff that people are complaining about, write new features for
existing stuff, and serve as a repository for interesting and weird
knowledge.[1]  At home, I do standard user stuff and bang on small cheesy web
applications.[2]  The only thing I need Windows for is VPN access to work--and
that's a political problem, not a technical one.

> I'm not trying to start a flame war, but I really think Unity is a 
> mistake.

Lots of people seem to have the same opinion.  (KDE forever!  Code for the
Code God!  Bits for the Bit Throne!  :-P )

[0]  Solaris leads to segfault.  Segfault leads to Slashdot.  Slashdot
leads to SUFFERING!   I actually wrote several stories for segfault,
one of which got the site slashdotted.
[1] We've got an internal wiki, but I have better fuzzy matching than it
does.
[2] I don't have as much time as I used to for this, which is why they've been
dead in the water for months.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: OT: newegg alternatives

2011-11-14 Thread Matt Graham
> On Nov 13, 2011 9:53 PM, "der.hans"  wrote:
>> I first heard of newegg via PLUG many years ago. I've been mostly happy
>> with company, but I'm tired of not being able to navigate the site without
>> enabling javascript.

AFAICT, JS is pretty much *required* for large parts of the WWW as it
currently exists.  Blame this on the marketing people ("We want to track
*everything*!") and people who want to do all kinds of Cool Web 2.0 Things
even when they're not useful.  I have to turn JS on for my phone company's
site to pay my phone bill.  My bank's site is just as bad; no JS, no accounts
page.

>> TigerDirect is out because of spammy messenging.
From: Kevin Fries 
> I don't know about JavaScript, but have you tried mwave?

If you buy anything from mwave, they'll put you on a mailing list, and you'll
get spam every few days.  At least it's reasonably easy to unsubscribe.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: How to convert cr2 (raw) image format to jpg?

2011-11-09 Thread Matt Graham
> On Nov 1, 2011 8:51 PM, "Matt Graham"  wrote:
>> or holler at me off-list and I'll get you a user account
>> so you can scp/WinSCP/sftp:// the file right to my webhost.
From: Lisa Kachold 
> You can give me a shell/ftp/winscp account.

80c0ffee:badfeed -- "holler at me off-list" condition not met.  Out of cheese
error.  Melon melon melon.

> 

I are serious Matt, this are serious mailing list.  (
http://crow202.org/2008/cat_serious_magritte2.jpg )

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: How to convert cr2 (raw) image format to jpg?

2011-11-01 Thread Matt Graham
From: "Matt Graham" 
> 1. convert FILE.cr2 FILE.jpg
> 2. if FILE.jpg is not an appropriate JPEG, or you get an error message...

> I've always grabbed files from my digicam as JPEG not RAW, but I could
> try grabbing one as RAW and trying /usr/bin/convert after dinner.

Well, #include .  According to everything I'm seeing in The Fine
Manual for my camera, it won't record still images in anything but JPEG.  Joe,
if you want to send me a test RAW image for me to try to fiddle with, please
do so.  If it's over 8M, use split to split it up into 4M slices before
mailing it to me, or holler at me off-list and I'll get you a user account so
you can scp/WinSCP/sftp:// the file right to my webhost.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: How to convert cr2 (raw) image format to jpg?

2011-11-01 Thread Matt Graham
From: j...@actionline.com
> What is the easiest, fastest, most efficient way to convert
> a cr2 (raw) image format to jpg?

0. Install ImageMagick (if it's not already there)
1. convert FILE.cr2 FILE.jpg
2. if FILE.jpg is not an appropriate JPEG, or you get an error message from
convert about image formats, that's when you go to
http://www.imagemagick.org/script/command-line-options.php and start digging
for useful junk.  You may have to tell convert what the width and height of
the original were, for instance.

I've always grabbed files from my digicam as JPEG not RAW, but I could try
grabbing one as RAW and trying /usr/bin/convert after dinner.  Will let the
list know what I find, as it might educate me and/or the list.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


  1   2   3   4   5   6   >