Re: Ripping OGG files (was Re: can't mount cdrom)
There's a couple of Jethro Tull albums like that, too. In fact if you get the CD versions of Thick As A Brick and A Passion Play, they're just two tracks long. One track for each side of the original album. I think if they had CDs in the early '70s when these albums were originally recorded, there'd be just one track on each. I generally rip my CDs with cd2mp3, and have it store the files in a hierarchy of subdirectories under /home/mp3s. First, a subdir for the artist, followed by one subdir for each CD. I have one subdir just for soundtracks and compilations. I also have a couple of subdirs named for friends. These subdirs contain MP3s and Oggs that those particular friends have sent, and contain a fairly random selection of stuff. Randy Edwards wrote: I see one. Occasionally, you run across albums such as Pink Floyd's The Wall where, I believe, there are separate tracks, but the music doesn't necessarily stop between tracks. Or the flow of the album just demands that the next track on the album be played. Single tracks are fine for the vast majority of songs and I have xmms randomize them; this typically works well and gives a nice variety. But there's quite a few albums where the tracks should be played as they were on the album. (Who'd of thunk it that some bands would nail that album thing and not just see it as a way of pricing music more expensively.) Since you mentioned Pink Floyd, Dark Side of the Moon is one such album -- it just isn't normal to go from a track on that album and to have xmms randomize in The Offspring or something else as the next track. There's a couple of spots on Dark Side of the Moon where one could cut to something different, but the work is best played in its entirety. Thanks to all that responded; I'll play around with cat and see how that works. ___ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
Re: Ripping OGG files (was Re: can't mount cdrom)
Yeah, but I don't know of any ripping software that does that. If anybody finds such a beast, please be kind enough to tell the rest of us. The software that I use rips each track off the CD into it's own file and there is no option to rip it all into one file. I imagine you could dd the CD to a file and try playing it as an audio CD. I don't know if that would work. [EMAIL PROTECTED] wrote: This discussion is ludicrous, even by GNHLUG standards. :-) If someone wants their audio in one big file, who cares? It's their music; they should be able to listen to it however they want to. And I thought *I* was pedantic! :-) ___ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
Ripping a CD to a single file (was Re: Ripping OGG files (was ...))
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 11 Dec 2002, Jason Stephenson wrote: Yeah, but I don't know of any ripping software that does that. [Rips a CD to a single file] If anybody finds such a beast, please be kind enough to tell the rest of us. I posted this suggestion a few days ago, but I guess it got lost in the crowd. I just tested my theory on a CD I borrowed from the boss. This command line: $ cdparanoia -X -Z -d /dev/cdrom 1- Beethoven\ -\ Symphony\ No.\ 9\ \Choral\.wav ...generated this display: Ripping from sector 0 (track 1 [0:00.00]) to sector 315606 (track 4 [25:38.66]) outputting to Beethoven - Symphony No. 9 Choral.wav ...and this output: $ ls -l - -rw-rw-r-- 1 mbrodeur mbrodeur 742307708 Dec 11 11:33 Beethoven - Symphony No. 9 Choral.wav Which is indeed a single .wav containing all four tracks from the source CD. The secret is the 1- passed to cdparanoia, which tells it to rip from the beginning of track 1 to the end of the last track. In real life I wouldn't have used the -Z option, as this disables almost every error check/correction, but this was just a test. Now a more useful command line would be something like: $ cdparanoia -X -d /dev/cdrom 1- - | oggenc -o \ Beethoven - Symphony No. 9 \Choral\.ogg -q 4 -c \ comment=Single Rip/Pipeline Test - ...which _SHOULD_ produce an single .ogg of the entire CD without an intermediate .wav file. I'm testing it as I type, and on my machine it's working. YMMV. Again, in the real world I use a higher quality and add tags through the oggenc command line. - -- Matthew J. Brodeur RHCE, GSEC [EMAIL PROTECTED] http://www.NextTime.com A little inaccuracy saves a world of explanation. -- C.E. Ayres -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.0 (GNU/Linux) iD8DBQE9926sc8/WFSz+GKMRAi3BAKC+Cv2OiNXdhUX8KL3roODwEdh/VACcCuKW lGDNFHf2TNlfSb6KrdpNnR0= =qyTb -END PGP SIGNATURE- ___ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
Re: Ripping OGG files (was Re: can't mount cdrom)
On Wed, 11 Dec 2002, at 9:03am, [EMAIL PROTECTED] wrote: This discussion is ludicrous, even by GNHLUG standards. :-) If someone wants their audio in one big file, who cares? Yeah, but I don't know of any ripping software that does that. If anybody finds such a beast, please be kind enough to tell the rest of us. I was referring to the discussion over whether or not one should keep their music in a single large file or not. :) As far as the extraction goes, someone pointed out that CDParanoia should do that if you give it an argument of 1- (rip all tracks) but leave out the -B (batch) switch. I imagine you could dd the CD to a file and try playing it as an audio CD. I don't know if that would work. That will not. The CD block device only works if the CD-ROM device driver finds an Orange Book data session. Red Book audio is read at a lower level than that. Even using regular dd on an Orange Book data CD-ROM does not always work properly. The cdrecord package includes a command, readcd, designed to extract all data from a CD. -- Ben Scott [EMAIL PROTECTED] | The opinions expressed in this message are those of the author and do not | | necessarily represent the views or policy of any other person, entity or | | organization. All information is provided without warranty of any kind. | ___ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
scp to directory w/o execute permissions
I'm trying to scp files to a directory that won't allow a user to execute anything. If I remove execute permissions from the directory I can't upload any files. Does anyone know a way I can do this? --charlie -- Charlie Farinella, Appropriate Solutions, Inc. [EMAIL PROTECTED] 603-924-6079 ___ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
Re: shift() in C std lib
On Wed, 11 Dec 2002, Price, Erik wrote: =I'm wondering if there's a shift() function (similar to the one in Perl/ =PHP/etc) in the C standard library? (I have access to the C std lib =that comes with Gentoo linux, if that matters any.) = =That would accept an array pointer and a char as an argument and allow =me to put that char at the beginning of the array? You're not describing shift. You're describing push. = =If not I can write this but I wanted to try accessing the standard library. =(It's for a homework assignment.) I think you're writing it. It'sabout two lines long :-) = =Is there a utility other than grep for finding useful functions in the =C std library? yes. Use info, preferably from emacs. The entire info doc is available. -- -Time flies like the wind. Fruit flies like a banana. Stranger things have - -happened but none stranger than this. Does your driver's license say Organ -Donor?Black holes are where God divided by zero. Listen to me! We are all- -individuals! What if this weren't a hypothetical question? [EMAIL PROTECTED] ___ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
Re: scp to directory w/o execute permissions
On Wed, 11 Dec 2002, Derek Martin wrote: On Wed, Dec 11, 2002 at 03:47:40PM -0500, Charles Farinella wrote: I'm trying to scp files to a directory that won't allow a user to execute anything. If I remove execute permissions from the directory I can't upload any files. Does anyone know a way I can do this? That's not what the execute bit on a directory does. It allows you to cd into that directory. If the x bit is off, scp won't work. Sorry Charlie. =8^) (Remember those old StarKist ads?) I should have known. And yes I remember those ads very well, thanks. :-) --charlie -- Charlie Farinella, Appropriate Solutions, Inc. [EMAIL PROTECTED] 603-924-6079 ___ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
RE: shift() in C std lib
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 2:00 PM To: Greater NH Linux User Group Subject: Re: shift() in C std lib On Wed, 11 Dec 2002, at 1:33pm, [EMAIL PROTECTED] wrote: Is there a utility other than grep for finding useful functions in the C std library? man is good. For string functions, start with man string. If you do not already have a copy, obtain a copy of _The C Programming Language_, 2nd edition, by KR. You must do this if you program in C. It's a law. I almost got one last night! Elaine Ashton and Jarkko Hietaniemi were giving away their book collection at the boston.pm meeting. Someone got to it right before I got there. I'll get it at the library. Erik ___ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
RE: scp to directory w/o execute permissions
Sorry Charlie. =8^) (Remember those old StarKist ads?) I should have known. And yes I remember those ads very well, thanks. :-) I don't, you guys must be old ;) ___ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
Re: Photo printers?
Okay, I seem to have narrowed my search for a printer down to 2: hp photosmart 7150 EPSON Stylus Photo 1280 - C393011 Now, the problem I'm having is making a decision. This should probably be a no brainer, but, I'm a *very* skeptical shopper, and paranoid! The HP is cheap, at $149 (list), whereas the Epson is expensive, at $499 (list). They both fit all my qualifications: - supported under Linux (both are reported to work perfectly at LinuxPrinting.org) - decent quality - print at least an 8x10 image (both portait/landscape) - handle color as well as b/w. - print on both normal paper as well as that photo-quality glossy stuff - be a reasonable price ($500?) However, it appears that the HP printer is really the best deal. It's resolution is much higher (4800x1200 vs. Epson's 2880x720). The HP can also handle a Duplexor, which I don't believe the Epson can (not stated either way). The main thing I see going for the Epson is: - I'm not locked into really expensive HP cartridges - It claims: 6-color (CcMmYK) Micro Piezo ink jet technology, borderless printing 4 x 6, 5 x 7, 8 x 10, 11 x 14, 13 x 19, and letter support whereas the HP only claims 4x6 and letter, but nothing about borderless. - It's fast: 4 x 6 Photo:54 secs. 8 x 10 Photo: 1 min. 50 secs. Black text memo: 9 ppm The HP claims only 10ppm, nothing about photo speed. Even if I jump up to the HP 7359, it's only a $199(list), and you get a 17ppm printer with more memory.(hmmm, I wonder if I can get a 7150 and up the memory for less than the $199) Any opionions? Thanks -- Seeya, Paul -- Key fingerprint = 1660 FECC 5D21 D286 F853 E808 BB07 9239 53F1 28EE It may look like I'm just sitting here doing nothing, but I'm really actively waiting for all my problems to go away. If you're not having fun, you're not doing it right! ___ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
RE: Photo printers?
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 4:53 PM To: [EMAIL PROTECTED] Subject: Re: Photo printers? Any opionions? Well, the context is somewhat different, but my family vowed not to purchase any more Epson printers after my father bought a nice scanner/printer combo (I forget the model) and then a year later, when he was ready to upgrade from MacOS 9 to MacOS X, the company flatly stated that they would not be releasing MacOS X-compatible drivers. Fortunately someone reverse engineered it and put one up on Version Tracker, so we can still use it. But I won't buy one. B'sides, HP makes some really great printers. Erik ___ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
Boston Linux Meeting Wednesday, December 18, 2002
When: Wednesday, December 18, 2002 7:00 PM (6:30 for general QA) Topic: VMWare and IBM on VMWare ESX Presented by Sean Shea, - sshea at expertserver dot com Location: MIT Building 4-370 VMware ESX Server is virtual machine software for consolidating and partitioning systems in high-performance environments. It is a cost-effective, highly scalable virtual machine platform with advanced resource management capabilities. For more information and directions place consult the BLU web site :http://www.blu.org As usual we will meet at the Cambridge Brewery at 9:30 after the meeting. -- Jerry Feldman [EMAIL PROTECTED] Boston Linux and Unix user group http://www.blu.org PGP key id:C5061EA9 PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9 ___ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
Linux for IBM eServer (or, finally, a cool use of Flash :)
http://www-1.ibm.com/servers/eserver/linux/fun/index.html?c=eservern=linuxfun_callout_servershomet=advertise# -- Seeya, Paul -- Key fingerprint = 1660 FECC 5D21 D286 F853 E808 BB07 9239 53F1 28EE It may look like I'm just sitting here doing nothing, but I'm really actively waiting for all my problems to go away. If you're not having fun, you're not doing it right! ___ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
Re: Photo printers?
On 11 Dec 2002, at 5:22pm, [EMAIL PROTECTED] wrote: How many times have you changed printer cartridges? I use my inkjet at home so infrequently, I have to buy a new ink cartridge every time I use it, because the old one has dried out by then. ;-) IMO, all inkjet printers are, at best, cheaply made. Thus, one should buy the cheapest unit that meets your needs, and be prepared to throw it out when it inevitably breaks down. :) -- Ben Scott [EMAIL PROTECTED] | The opinions expressed in this message are those of the author and do not | | necessarily represent the views or policy of any other person, entity or | | organization. All information is provided without warranty of any kind. | ___ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
pipe/redirect dumb question
Is there a difference between piping something into another utility and using the redirection operator to send data to it? Erik ___ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
Re: Photo printers?
[EMAIL PROTECTED] said: Okay, I seem to have narrowed my search for a printer down to 2: hp photosmart 7150 EPSON Stylus Photo 1280 - C393011 I have an Epson Stylus 740 that I use infrequently. *every* time I turn it on it takes 5 minutes to warm up then 15-30 minutes running through the unclogging process. Then I can print. Getting a new print cartridge doesn't seem to help. If I recall the early HPs, the ink cartridges included a new printhead. If they still do that, I think the HP has an advantage. My epson will always have the same print head. I ended up getting a laser printer. No waiting. 99% of my printing doesn't involve color. -- --- Tom Buskey ___ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
Re: pipe/redirect dumb question
On Wed, 11 Dec 2002, Price, Erik wrote: Is there a difference between piping something into another utility and using the redirection operator to send data to it? As I understand it, piping (|) redirects the standard output of one app into the standard input of another app; the operator is for using a /file/ as the input for the app (it reads the file into the app's STDIN). -- Bill Mullen [EMAIL PROTECTED] MA, USA RLU #270075 MDK 8.1 8.2 The power of accurate observation is commonly called cynicism by those who have not got it. - George Bernard Shaw ___ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
Re: pipe/redirect dumb question
Is there a difference between piping something into another utility and using the redirection operator to send data to it? An ordinary redirection opens a file descriptor with regular file semantics. Some shells implement process redirection which is similar to a pipe. The main difference between pipe file descriptors and file file descriptors is that pipes implement a sort of flow control. Draining a pipe causes the reader to block rather than receive an EOF. Filling up the pipe will cause the writer to block. Other differences are the way the file descriptors respond to various other syscalls. For instance, you can't do a 'seek' on a pipe. ___ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
Re: pipe/redirect dumb question
On Wednesday, December 11, 2002, at 07:00 PM, [EMAIL PROTECTED] wrote: An ordinary redirection opens a file descriptor with regular file semantics. Some shells implement process redirection which is similar to a pipe. The main difference between pipe file descriptors and file file descriptors is that pipes implement a sort of flow control. Draining a pipe causes the reader to block rather than receive an EOF. Filling up the pipe will cause the writer to block. Other differences are the way the file descriptors respond to various other syscalls. For instance, you can't do a 'seek' on a pipe. Thanks for this comprehensive answer. Originally I asked this question from a strictly pragmatic approach (does it make a difference if I pipe from a utility or redirect from a file, if it's the same data either way), but I had never considered the way piped data works. Specifically that it causes the reader/writer to block depending on the circumstances. Does the code that tells the reader or writer to block have to be written into the application, or is that somehow built into the shell? If it needs to be built into the application, well then say for instance I'm writing a Perl script. I've never programmed my Perl script to block if the writer gets full. So perhaps it's handled internally by Perl. But if I'm writing a C program, I shouldn't make the assumption that this will be done for me. Unless of course I'm totally off the mark here, and the rules of piping are handled by the shell or OS or something. Erik -- Erik Price (zombies roam) email: [EMAIL PROTECTED] jabber: [EMAIL PROTECTED] ___ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
Re: pipe/redirect dumb question
On Wed, Dec 11, 2002 at 10:41:52PM -0500, Erik Price [EMAIL PROTECTED] wrote: Does the code that tells the reader or writer to block have to be written into the application, or is that somehow built into the shell? If it needs to be built into the application, well then say for instance I'm writing a Perl script. I've never programmed my Perl script to block if the writer gets full. So perhaps it's handled internally by Perl. But if I'm writing a C program, I shouldn't make the assumption that this will be done for me. Unless of course I'm totally off the mark here, and the rules of piping are handled by the shell or OS or something. Applications don't normally do their own flow control. When you use '|' in the shell, basically all the shell does is create a pipe (see `man 2 pipe`), and connect the write end to the stdout (fd 1) of the first app, and the read end to the stdin (fd 0) of the second app. When you use redirection, like '', the shell opens the file for reading, and dups (see `man 2 dup2`, which also applies in the previous case) the fd for the file to the program's stdin (again, fd 0). The programs just read from stdin and write to stdout as 'normal', but the file descriptors are not what is normally the case without piping or redirection. As far as blocking goes, that just happening when a write buffer is full or there is no data in the buffer (yet) for a read. That buffer could potentially be in libc and/or the kernel, depending on your precise semantics. This is true for whatever programming language you are using, unless of course you have specified non-blocking behavior. With '' shell redirection, you are reading directly from a file, so you wouldn't expect read() to normally take very long to complete, though it may need to block to bring the data into the kernel cache. When read()ing from the output of another program, as is the case with '|', you may find yourself blocking more, depending on the producer's ability to keep up with the consumer. -- Bob Bell [EMAIL PROTECTED] - Every rectal thermometer made by Q-Tip has been personally tested. -- Material packaged with a Q-Tip rectal thermometer ___ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
Re: pipe/redirect dumb question
Erik Price wrote: Does the code that tells the reader or writer to block have to be written into the application, or is that somehow built into the shell? It's probably best to think of this behavior as built in, provided by the OS. The shell just provides a convenient and easy-to-use syntax for settings things up so the OS can do its job transparently. ___ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss