Re: How is this List Connected with the usenet?
Eric Schultz wrote: Chris Maness wrote: Does this list crossover into Usenet? Good afternoon... check out http://dir.gmane.org/index.php?prefix=gmane.os.freebsd they have various web interfaces, as well as nntp and rss feeds. read-only though. to post you have to subscribe and send mail to the list. That's not true. I'm posting via GMane.org right now. -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ UNIX is user-friendly. It's just a bit picky about who its friends are. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Playing streaming music
Mark Kane wrote: Andreas Rudisch wrote: On Wed, 01 Feb 2006 22:12:41 +0100, JD Arnold [EMAIL PROTECTED] wrote: Now that I have my sound card working, I was wondering if there is a port to play streaming music from my favorite college radio station? The live streams from http://www.wzbc.org send me PLS files, which I understand to be WinAmp playlist files. Is there a FreeBSD app that can play this streaming format? I installed XMMS, but I'm not really sure if there is a plugin for these files. PLS-files are usually only normal text files containing a playlist of music files or URLs to media streams. All you need to do is open the PLS-file and write down the URL. mplayer, vlc or xmms should all be able to play the music stream. Andreas If you want to use pls files with XMMS, download them first to a directory with fetch/wget or your browser, then in the lower left corner of XMMS, click the + FILE button and browse to the pls file. Unfortunately with XMMS you can't just put the pls file into Add URL like in Winamp. Thanks, this seems to be opening up the stream in XMMS (I'm getting the info for the radio station), but I'm not getting any sound. I get sound just fine if I play an audio CD using xmms. Any ideas why sound wouldn't come out when playing streaming audio? -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ UNIX is user-friendly. It's just a bit picky about who its friends are. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RAM check
Philip Juels wrote: I'm running into random seg faults during KDE and Gnome compilation, and I and others on the list suspect faulty RAM. Are there any utils out there that can test/diagnose RAM (aside from the laughable BIOS POST). Kinda late now, I know, but I highly recommend the Ultimate Boot CD, which contains dozens of great system test programs, all on one bootable CD: http://ubcd.sourceforge.net/ -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ UNIX is user-friendly. It's just a bit picky about who its friends are. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Playing streaming music
Now that I have my sound card working, I was wondering if there is a port to play streaming music from my favorite college radio station? The live streams from http://www.wzbc.com send me PLS files, which I understand to be WinAmp playlist files. Is there a FreeBSD app that can play this streaming format? I installed XMMS, but I'm not really sure if there is a plugin for these files. -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ UNIX is user-friendly. It's just a bit picky about who its friends are. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
New FreeBSD 6.0 system advice sought
So, I'm building a replacement 6.0 system from the bare metal, moving over my 4.11 server data after I'm done. I've started from a minimal installation, and I'm looking for some input. 1] Apache - do I stay with 1.3 or move on up to the 2.x branch? 2] MySQL - do I stay with the 3.x (!), or move to the v4 or v5 branch? 3] What would be the best order to do the installation, or does it matter? * Apache * MySQL * mod_php5 I'm really just running it as a web server, with php MySQL support and not much else. -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ UNIX is user-friendly. It's just a bit picky about who its friends are. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Which is the best open source C/C++ IDE out there?
Chuck Robey wrote: JD Arnold wrote: Danial Thom wrote: --- Vladimir Tsvetkov [EMAIL PROTECTED] wrote: This is obviously a trick question, because real programmers don't use IDEs. Case Closed. I'm not a real programmer, but UNIX is a great developer environment. It's a tool based environment. Small tools, strong cohesion in what they are designed for, easy ways to combine them to form more complex tasks. Good documentation too. Actually you don't need anything else, you don't need a colourfull IDE. But... Maybe only few, really exceptional people can benefit and grok the power of this kind of environments. To me the ideal IDE is actually a toolkit: - Source Editor, preferably with a object browser or other kind of a source browser. An autocomplete functionallity could increase productivity too - this could increase quality if we measure quality of code by the low number of syntax mistakes, but this could also be a threat to quality letting the programmer write without reading carefully what is written - code bloating. - Compiler with a debugger. We must discuss about the pros. and cons. of a grafic debugger versus a text-mode debugger. The things are getting really messy when it comes up to debugging multithreading code and I really don't know what is the ultimate tool for this task. - A build tool. Ant or make will suffice. - Source control tools. CVS, SVN etc. - Documentation tools. POD, Doxygen, Javadoc or something else. - Unit testing framework. This is not always a tool. This could be a language extension, or a testing API. - Other tools. You don't need to put everything together in a single swissknife-tool, but this could be convenient in some cases. IDE vs. Toolbased Environments ??? Which is more productive and how to measure productiveness? Best Regards, Vladimir Tsvetkov Tools, schmools. vi and cc work for me. I do admit that I wish someone would get make to accept spaces instead of the (damn) tab. I think its time for that :) That's why you should graduate to Emacs - with the makefile syntax highlighting, you'll at least see the differences between tabs and spaces before getting into trouble due to bad whitespacing!-) you're certainly giving a viewpoint that has a great deal of truth to it, but I guess what scares folks is the horrible, horrible emacs learning curve,. At one point in my career (in school, lisp programming) I learned/used emacs. I admit, it's got so much power, there isn't even a close competitor. BUT at that time, I had a genius girl programmer at my side, and she helped me with emacs syntax so heavily it was funny, and so I could make use of emacs without really having to scale the learning curve. If I'd actually had to scale that learning curve, do you think I would have, even COULD have used emacs? One of the worst things I had happen, I needed, one year later, to go back to vi for a job, and just forgot enough emacs usages, and never went back. I'd love to, but I'd have to find another genius Lisp girlfriend, before I could do that. Likely? That's why emacs isn't the world's most popular editor/IDE. A couple of notes on this: * The coolest thing about Emacs is you learn it once and you are set for life. No matter what platform, there's bound to be an Emacs port. I've been using Emacs for 15+ years, and I've never had to learn another editor. And that includes working on the Atari ST, OS/2, any Un*x flavor of the month, etc. The native Windows port is one of the best ports, too. * You in no way, shape or manner need to know lisp. These days, with the fancy customize stuff, you almost never need to program in elisp. * I'd actually contend that emacs *is* the world's most popular (ie., used) editor in the world. Given the gazillion platforms it runs on, and it's amazing flexibility, I think you'd be hard pressed to name another one that can contend with it. * I'm not sure why you'd have to go back to vi for a job. Why would anyone care what editor you use, as long as you get the job done? I've worked in many companies, using many different platforms, and I've always used Emacs. -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ UNIX is user-friendly. It's just a bit picky about who its friends are. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how do you install wx-config in FreeBSD?
bob self wrote: JD Arnold wrote: bob self wrote: I'm running FreeBSD 6.0 and have installed wxgtk2-2.6.2_1 and wxgtk2-common-2.6.2. VLC runs fine so I know that wxwidges is installed correctly. But I want to install the wxsamples and compile them. I copied wxsamples manually and try to compile using a script from an older freebsd system but it wants wx-config and I can't find out how to get that installed using the ports. Which port would include that? wx-config is in the wxWidgets port, only it is named using the version of wxgtk: /usr/X11R6/bin/wxgtk2-2.6-config I guess maybe they don't want to overwrite any existing wx-config, but I suppose it would be nice if the port installer checked for it, and if it didn't exist, create it using a link. You should do that (as root): # cd /usr/X11R6/bin # ln wx-gtk2-2.6-config wx-config You can find out whether it got intalled by the wxgtk port by using pkg_info: # pkg_info -xL wxgtk | grep bin would should show where the -config and the wxrc got installed. BTW, I talk about the pkg_info option in a recent post on my blog. Thanks to Dru from OnLamp.com for showing me this very cool option, something I've always wondered about, as sometimes it can be very mysterious as to what and where a port might install stuff. I did find setup.h in /usr/X11R6/include/wx-2.6/gtk2-ansi-release-2.6 I installed wxgtk2 using portupgrade but no configuration screen came up. What is the procedure to configure wxgtk2 if you use portupgrade? I see that my setup.h has #define wxUSE_MEDIACTRL 0 which is not what I want, so I need to reconfigure it but haven't been able to find out how to do that. When you use the ports system, you can see the normal source distribution in the /usr/ports/(category)/(port)/work folder. So if you go into : /usr/ports/x11-toolkits/wxGTK26/work/wxGTK-2.6.1 you see the normal installation hierarchy. INSTALL.txt gives you more installation options, and reading the configure script file in there gives you even more. You'll see in configure an option called '--enable-mediactrl'. Edit the Makefile in /usr/ports/x11-toolkits/wxGTK26 to add that flag to the configure run. After you do this, you'll want to go into the work folder and run make clean, then go back to the wxGTK26 folder and re-run make make install. I think there is some way to tell the make to redo stuff because you've changed the config options, but I can never remember the variable to set. -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ UNIX is user-friendly. It's just a bit picky about who its friends are. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Which is the best open source C/C++ IDE out there?
Danial Thom wrote: --- Vladimir Tsvetkov [EMAIL PROTECTED] wrote: This is obviously a trick question, because real programmers don't use IDEs. Case Closed. I'm not a real programmer, but UNIX is a great developer environment. It's a tool based environment. Small tools, strong cohesion in what they are designed for, easy ways to combine them to form more complex tasks. Good documentation too. Actually you don't need anything else, you don't need a colourfull IDE. But... Maybe only few, really exceptional people can benefit and grok the power of this kind of environments. To me the ideal IDE is actually a toolkit: - Source Editor, preferably with a object browser or other kind of a source browser. An autocomplete functionallity could increase productivity too - this could increase quality if we measure quality of code by the low number of syntax mistakes, but this could also be a threat to quality letting the programmer write without reading carefully what is written - code bloating. - Compiler with a debugger. We must discuss about the pros. and cons. of a grafic debugger versus a text-mode debugger. The things are getting really messy when it comes up to debugging multithreading code and I really don't know what is the ultimate tool for this task. - A build tool. Ant or make will suffice. - Source control tools. CVS, SVN etc. - Documentation tools. POD, Doxygen, Javadoc or something else. - Unit testing framework. This is not always a tool. This could be a language extension, or a testing API. - Other tools. You don't need to put everything together in a single swissknife-tool, but this could be convenient in some cases. IDE vs. Toolbased Environments ??? Which is more productive and how to measure productiveness? Best Regards, Vladimir Tsvetkov Tools, schmools. vi and cc work for me. I do admit that I wish someone would get make to accept spaces instead of the (damn) tab. I think its time for that :) That's why you should graduate to Emacs - with the makefile syntax highlighting, you'll at least see the differences between tabs and spaces before getting into trouble due to bad whitespacing!-) -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ UNIX is user-friendly. It's just a bit picky about who its friends are. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Programming Book(s)
Giorgos Keramidas wrote: On 2006-01-07 15:25, JD Arnold [EMAIL PROTECTED] wrote: Danial Thom wrote: --- Nicolas Blais [EMAIL PROTECTED] wrote: On January 2, 2006 04:52 pm, Sean wrote: Sean wrote: Looking for recommendations on any Unix programming books. I have been out of things for a while so I would put my skill level back to the beginning. I forgot to mention that I wish to work withC/C++ There's a free C++ book which is great: http://mindview.net/Books/TICPP/ThinkingInCPP2e.html You can also buy the hardcopy on Amazon. I'd recommend learning C before C++. In order to be an effective unix programmer you must master the C language, as you'll have to examine and modify code in C to do anything substantial. Virtually all major programs and kernels are 'C' based. I think, in general, this is wrong. I think, in general, this is right. And I think many professionals also feel that learning C++ is the way to go. If you just learning, you might as well start with C++. For many good reasons, see Stroustrup's answer himself: http://public.research.att.com/~bs/learn.html Which essentially boils down to learn C++ it's better and easier to learn. I very much disagree, but this is another flamewar, I guess. Danial is right that there are many large programs out there that are written in C, not C++. This means that just learning C++ and hoping to cope with it when an 11,000,000-line monster, written in plain C, comes along is just not going to cut it. Thus, learn both is a good answer, but I understand that this may be quite impossible some times. Jeez, you make it sound like the difference between C and C++ is like the difference between learning English or learning Russian. I find it difficult, if not impossible. to believe that someone who knew C++ would be in any way shape or form be forced to cope with any gazillion line C program. They'd probably be itching to do it better and more safely, but if they were even the slightest bit proficient in C++, they'd know pretty quickly what was going on in any C program. And the opposite is absolutely not true. -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ UNIX is user-friendly. It's just a bit picky about who its friends are. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Programming Book(s)
Danial Thom wrote: --- Michael P. Soulier [EMAIL PROTECTED] wrote: On 07/01/06 Jorge Biquez said: Hello all. Very interesting comments and suggestions. I hope my question does not seems too off topic. Do you think the path to follow for developing applications for the new PDA, Smartphones, Ipaq and similar devices it is the same? C or C++? I have some friends that said it is the only way but I am not sure of that. Any experiences or comments.? With the kind of hardware that can be put into a device like that these days, it's hard to tell, but I tend to see C/C++. Occasionally I see Java, sometimes Python. There is no rule for this, you simply use the right tool for the job. Am I the only one that has noticed that virtually everything written in Java sucks? I don't understand why its used. Is having a program that sucks on multiple platforms really an advantage over having a program that is good on 1 or 2 platforms? I really don't get it. You should read Joel Spotsky's diatribe against Java Schools, where many colleges are stooping to teaching in Java, leaving most students woefully unprepared for the real world, and making it hard for someone to separate the wheat from the chaff when it comes to hiring: http://www.joelonsoftware.com/articles/ThePerilsofJavaSchools.html -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ UNIX is user-friendly. It's just a bit picky about who its friends are. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how do you install wx-config in FreeBSD?
bob self wrote: I'm running FreeBSD 6.0 and have installed wxgtk2-2.6.2_1 and wxgtk2-common-2.6.2. VLC runs fine so I know that wxwidges is installed correctly. But I want to install the wxsamples and compile them. I copied wxsamples manually and try to compile using a script from an older freebsd system but it wants wx-config and I can't find out how to get that installed using the ports. Which port would include that? wx-config is in the wxWidgets port, only it is named using the version of wxgtk: /usr/X11R6/bin/wxgtk2-2.6-config I guess maybe they don't want to overwrite any existing wx-config, but I suppose it would be nice if the port installer checked for it, and if it didn't exist, create it using a link. You should do that (as root): # cd /usr/X11R6/bin # ln wx-gtk2-2.6-config wx-config You can find out whether it got intalled by the wxgtk port by using pkg_info: # pkg_info -xL wxgtk | grep bin would should show where the -config and the wxrc got installed. BTW, I talk about the pkg_info option in a recent post on my blog. Thanks to Dru from OnLamp.com for showing me this very cool option, something I've always wondered about, as sometimes it can be very mysterious as to what and where a port might install stuff. -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ UNIX is user-friendly. It's just a bit picky about who its friends are. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Programming Book(s)
Danial Thom wrote: --- Nicolas Blais [EMAIL PROTECTED] wrote: On January 2, 2006 04:52 pm, Sean wrote: Sean wrote: Looking for recommendations on any Unix programming books. I have been out of things for a while so I would put my skill level back to the beginning. Thanks Sean ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I forgot to mention that I wish to work with C/C++ Thanks again, Sean There's a free C++ book which is great : http://mindview.net/Books/TICPP/ThinkingInCPP2e.html You can also buy the hardcopy on Amazon. Nicolas I'd recommend learning C before C++. In order to be an effective unix programmer you must master the C language, as you'll have to examine and modify code in C to do anything substantial. Virtually all major programs and kernels are 'C' based. I think, in general, this is wrong. And I think many professionals also feel that learning C++ is the way to go. If you just learning, you might as well start with C++. For many good reasons, see Stroustrup's answer himself: http://public.research.att.com/~bs/learn.html -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ UNIX is user-friendly. It's just a bit picky about who its friends are. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Prompt for root password
I'm writing a program that needs to write a file and I'd like to have it ask for the root password and run as root, like many of the system config applications do. Do I have to write something special, or is there some way to tell KDE (or GNOME) to prompt for the root password? Is this what a setuid program is? -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ UNIX is user-friendly. It's just a bit picky about who its friends are. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make targets, was: Running qmail
Michael P. Soulier wrote: On 12/18/05, Shantanoo Mahajan [EMAIL PROTECTED] wrote: Daemontools can be found out by: cd /usr/ports make search name=daemontools Where are these make options in ports documented? I'd like to know all of the options available in ports. I usually just cd /usr/ports ls -d */*daemontools* 1] There is a script for searching the ports too. Check out /usr/ports/Tools/scripts for the portsearch script, and it's man page, README.portsearch. Plenty of search options in there. 2] I normally just use the freebsd.org ports web page to search for a port. It has the best interface. 3] I talk about the ports Makefile here: http://freebsd.amazingdev.com/blog/archives/000140.html A target that tells me what a port has in the way of options would be nice too. For that, you just need to read the Makefile in the port folder. It's usually pretty self explanatory. -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ UNIX is user-friendly. It's just a bit picky about who its friends are. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Reading roots mail when connected remotely
Daniel A. wrote: Stupid question, I know :( How do I read the mail sent to root, if I can only access my server via SSH? When I su, and type mail, it shows only mail to the user I connected with. Yeah, I had the same problem. I've been doing 'su -l', which simulates a full login, so then I really am root. -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/ UNIX is user-friendly. It's just a bit picky about who its friends are. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]