The main stereo system in my house is a command-line only OpenBSD box, using nothing but mpg123 and bash. And old CPU and an 80 gigs of high bitrate MP3s.
Put the aliases, below, into your.bashrc. SSH into it from anywhere in the house. `cd` into the folder with your MP3s, and type `play` or of these bash aliases...
# PLAY ALL SONGS IN FOLDER: ALPHABETICALLY alias play='ls -l1 *.mp3 > ALL.m3u && mpg123 --list ALL.m3u' # PLAY ALL SONGS IN FOLDER: NEWEST FIRST alias playnew='ls -tl1 *.mp3 > ALL.m3u && mpg123 --list ALL.m3u' # PLAY ALL SONGS IN FOLDER: RANDOM ORDER alias playr='ls -l1 *.mp3 > ALL.m3u && mpg123 -z --list ALL.m3u' # VOLUME UP alias v+='mixerctl -w outputs.master=+10' # VOLUME DOWN alias v-='mixerctl -w outputs.master=-10' # VOLUME RESET TO NORMAL alias v9='mixerctl -w outputs.master=199,199' # PLAY MY FAVORITE SHOUTCAST STREAM (R.I.P.) alias groovesalad='mpg123 -b 256 http://205.188.209.193:80/stream/1002';
But was VERY surprised, as a silence freak and hater of fan noise, that this thing must have no fan or something. It's TOTALLY SILENT!
The only thing you EVER hear from it is the itty bitty sound of writing data to the hard drive. And you know if THAT'S the only sound you hear, the rest is pretty damn quiet.
Anyway - I've been following the "How to Make a Silent PC" threads on Slashdot with great interest, and I think I accidently stumbled across a much easier solution.
This thing is a silent powerhouse 1000 mHz, 256meg RAM, intel 10/100 ethernet, 20gig hard drive box, ready to go. Highly recommended. So is my girlfriend's new Apple iBook.
Look into it. Much easier than the days you'll spend trying to make your own quiet PC.
Eben Moglen, a professor of law at Columbia University and the general counsel of the Free Software Foundation, DID mention the Free Music Movements, and was scoffed at. It was a strange scene.
LAST year, Eben Moglen was the hit of the conference, talking revolution and how copyright is dead, and we should make it all free, and the music lovers will pay for what they love because they want to, not because they're forced to.
THIS year, the mood was different. People talking "revolution" and "entirely new way of doing things" were laughed at. Eben said the same things as last year, but this year was dismissed.
It's pessimistic. The people with new ideas were sued into oblivion (Napster).
The musicians don't believe anything can save them except slow, incremental, legal fighting against the arch-enemy: the RIAA.
They do have that nice feature where you can download an entire album at once. And you can queue those, too. So every night before bed I'd pick 10 albums, start them downloading, and go to sleep. Soon I had 40 GIGS of good mp3s from around the world.
Highly recommended.
Anything Python can do that PHP can't?
on
PHP 4.1.0 Released
·
· Score: 1
I'm not a programmer. Just a musician who learned some PHP out of necessity for my website.
Now I know PHP pretty damn well - and I'm getting to LOVE programming web-based applications.
I've read about Python, and I'm starting to wonder - for those here who know Python - is there any reason to learn it? (Besides just curiosity or learning OOP.)
Is there a lot Python can do that PHP can't?
I don't mean in its methods ("PHP can't do real OOP!") - but in a practical sense.
Should I just stick with PHP or is there a big reason to learn a whole new language?
Does this mean that all of the "other" places to register your domain names (like OpenSRS) won't be able to do it anymore?
I've found everyone BUT Network Solutions to be incredibly helpful and much better priced for domain name registration.
Any insight into what this means for the open competitors, anyone?
As the RIAA gets their DOS scripts ready...
:-)
Anyone know the difference?
All it takes is mpg123. (http://www.mpg123.de/)
.bashrc.
The main stereo system in my house is a command-line only OpenBSD box, using nothing but mpg123 and bash. And old CPU and an 80 gigs of high bitrate MP3s.
Put the aliases, below, into your
SSH into it from anywhere in the house.
`cd` into the folder with your MP3s, and type `play` or of these bash aliases...
# PLAY ALL SONGS IN FOLDER: ALPHABETICALLY
alias play='ls -l1 *.mp3 > ALL.m3u && mpg123 --list ALL.m3u'
# PLAY ALL SONGS IN FOLDER: NEWEST FIRST
alias playnew='ls -tl1 *.mp3 > ALL.m3u && mpg123 --list ALL.m3u'
# PLAY ALL SONGS IN FOLDER: RANDOM ORDER
alias playr='ls -l1 *.mp3 > ALL.m3u && mpg123 -z --list ALL.m3u'
# VOLUME UP
alias v+='mixerctl -w outputs.master=+10'
# VOLUME DOWN
alias v-='mixerctl -w outputs.master=-10'
# VOLUME RESET TO NORMAL
alias v9='mixerctl -w outputs.master=199,199'
# PLAY MY FAVORITE SHOUTCAST STREAM (R.I.P.)
alias groovesalad='mpg123 -b 256 http://205.188.209.193:80/stream/1002';
More info on it, for people who are interested, at on-the-i.com.
Unfortunately it still takes a special player to download. But worth looking into.
I just bought a Sony VAIO GR250P laptop - for the specs. And it was cheap! ($1500 or so.)
But was VERY surprised, as a silence freak and hater of fan noise, that this thing must have no fan or something. It's TOTALLY SILENT!
The only thing you EVER hear from it is the itty bitty sound of writing data to the hard drive. And you know if THAT'S the only sound you hear, the rest is pretty damn quiet.
Anyway - I've been following the "How to Make a Silent PC" threads on Slashdot with great interest, and I think I accidently stumbled across a much easier solution.
This thing is a silent powerhouse 1000 mHz, 256meg RAM, intel 10/100 ethernet, 20gig hard drive box, ready to go. Highly recommended. So is my girlfriend's new Apple iBook.
Look into it. Much easier than the days you'll spend trying to make your own quiet PC.
Maybe perfection is impossible, too.
But it's better to TRY hard to aim for it.
Eben Moglen, a professor of law at Columbia University and the general counsel of the Free Software Foundation, DID mention the Free Music Movements, and was scoffed at. It was a strange scene.
LAST year, Eben Moglen was the hit of the conference, talking revolution and how copyright is dead, and we should make it all free, and the music lovers will pay for what they love because they want to, not because they're forced to.
THIS year, the mood was different. People talking "revolution" and "entirely new way of doing things" were laughed at. Eben said the same things as last year, but this year was dismissed.
It's pessimistic. The people with new ideas were sued into oblivion (Napster).
The musicians don't believe anything can save them except slow, incremental, legal fighting against the arch-enemy: the RIAA.
They do have that nice feature where you can download an entire album at once. And you can queue those, too. So every night before bed I'd pick 10 albums, start them downloading, and go to sleep. Soon I had 40 GIGS of good mp3s from around the world.
Highly recommended.
I'm not a programmer. Just a musician who learned some PHP out of necessity for my website.
Now I know PHP pretty damn well - and I'm getting to LOVE programming web-based applications.
I've read about Python, and I'm starting to wonder - for those here who know Python - is there any reason to learn it? (Besides just curiosity or learning OOP.)
Is there a lot Python can do that PHP can't?
I don't mean in its methods ("PHP can't do real OOP!") - but in a practical sense.
Should I just stick with PHP or is there a big reason to learn a whole new language?
Thanks!
3ware 6800 Escalade IDE RAID is working great, and it's only $350 or so.
It's a PCI card with *8* IDE drive slots, which you can configure in a RAID 5 array for huge, failsafe backups.
I've got 8 60-gig IDE drives on it, in a RAID 5 array. Gives aboout 420 gigs. Shows up as a SCSI device in OpenBSD. Works great with Linux.
Churning away wonderfully.
I've backed-up 200 gigs of files on it so far.
420 gigs of RAID5 storage = $1100 USD. ($300 for the card. $800 for 8 60-gig drives.)
Here's my post on the OpenBSD list about it
Yep - just checking - it works great in Opera 5.12 on Win98.
Opera rules...
Click here: https://https.openbsd.org/cgi-bin/order
Or just use your existing 2.8 for your firewall and use 2.9 for everything else.
Does this mean that all of the "other" places to register your domain names (like OpenSRS) won't be able to do it anymore? I've found everyone BUT Network Solutions to be incredibly helpful and much better priced for domain name registration. Any insight into what this means for the open competitors, anyone?