Programming

On the Use of Environment Variables? 20

ender-iii asks: "The company I work for is ready for a ground up revamp of our application. The old version relies heavily on environment variables (so much so, that if they aren't set, the app core dumps!). The old programmer wants to do the same thing and put all configuration in the environment. I am arguing for a config file. My question is this: why would anyone use environment variables for a standalone application?" I can think of lots of reasons where an environment variable for certain settings is better than having to edit a configuration file (user overrides of that setting, for example...and many time users aren't going to have write perms to config files!) however, they have the strongest value when used appropriately. If you are setting 10-20 variables in the environment, then you really should be thinking about a config file of some sort...not every admin/user will be happy cluttering their environment with unnecessary variables. What do you all consider appropriate use of ENV variables, and when is it acceptable to use it to store lots of config information?
Education

How Much Do Employers Budget for Education? 241

FunkyMonkey asks: "I've been able to convince my current employer that we (the programing staff) need to maintain our skills and keep up with rapidly changing technology by implementing an ongoing training/education program. Apparently, my plan entails more time in training than my employer is willing to give us and thinks that there should be 'some extra effort on the programmers part to make this happen.' My question to the Slashdot community is how much time does your employer allocate for ongoing education? Do they expect you to do on your own time?" It's an interesting question, and I'm sure that this varies wildly from employer to employer. Still, this might be some interesting information to share for those of you out there trying to make a case for (or against) budgets for IT training. If you were in control, how much would you spend on training?
Hardware

Cases w/ Knockouts Up-To 10 I/O Ports? 19

SpdyVkng asks: "Once, I worried if I ever would have the money to buy a significant number of expansion cards for my PC; then I worried about the number of slots available; now most cards I have in my computer use not only one back end, but two (or more in some cases), for their I/O needs. That has me worrying about the cases I can use: 7 knock outs for expansion cards are too few, since I really would need someting like 9 or 10. To make it perfectly clear, I don't need more than 6 PCI slots on the mother board, and an AGP, but I need more physical knock outs in the case to have access to the extra I/O ports I need and which every card seems to have these days." Of course, necessity being the mother of all invention, how difficult would it be to "adapt" some off-the-shelf cases with added ports? I would figure that an adept person with the right tools might be able to add in side and front ports, depending on the case. Are there any places out there that will custom make chassis with these and other modifications?
Mandriva

Debian's apt-get vs Mandrake's urpmi? 238

Deven Phillips asks: "I have been using Linux-Mandrake for quite a while now, and I wanted to know what Slashdotters think of the two rival package management systems available for Mandrake: apt and urpmi. I have been playing with both (apt is available in the Contribs section), and I have to say that so far urpmi is winning. I have always heard that apt-get is the best, so I am surprised by my conclusions. Am I missing something? Is apt for RPM not as mature as the deb counterpart?" I, for one, would have liked to have heard the reasons as to why Deven feels that urpmi is superior, but maybe there are a few of you out there who feel the same way, that can communicate this as well as he can. For those of you who have tried both, what features do you like out of the two of them, and which tool serves your needs the best?
Linux

Linux Based Media Boxes? 17

Matt Dugan returns an old question to the forefront: "I am building a Linux-based 'media box', which will sit alongside the TV, Stereo, VCR, etc.. My goals are to play DVD's, MP3s/Oggs, CD's, VCD's, and the occasional Divx AVI. Though DVD support isn't perfect, I expect it to be well on it's way by the time I get everything set up and running the way I want, but my problem lies here: I want to be able to do 'real-time' video capture to an IBM Desktar 60GXP 30GB drive via a Pinnacle DC10+ MJPEG PCI card. Has anyone else successfully configured such a beast?"
The Courts

"Defacing" Sites Without Intruding? 42

clambert asks: "In putting the finishing touches on a recently launched site, I decided to place one of the many 'Powered By PHP' logos on the bottom of the page. Being tired, I carelessly put in a direct link to the file on the server offering the image. The next evening, I was informed that there was a large, offensive picture on the bottom of every page. Apparently, the webmaster of the remote server thought it would be funny to replace the 900 byte PHP logo with a 121KB 'photo' (I'll spare everyone from the details). This was done without contacting any of our admins first, and was clearly a move to deface our site's presentation. Would bandwidth have been their concern, they wouldn't of increased the size of the image being requested. Although we're not considering it, my question is who would have the upper hand if this were a high profile case brought to court. Intentionally defacing a site's appearance, but without breaking into the any of the site's servers." Publishing content on the web largely boils down to a matter of trust. If you are going to link from your homepage to an image, or another web page, you are trusting the author of the web page (and the administrator of that web server, assuming they aren't one and the same) to keep that content intact. So what should happen when that trust is broken, if anything?
Hardware

No-Nonsense, Compact, USB/PS2 Keyboards? 35

JonMartin would like to poll the collective wisdom and experience of those Slashdot readers who would like to assist him in his quest for his idea of the perfect keyboard. Check out his description and see how well his ideal matches to yours.
Spam

Web-Based Emailers That Allow an Access List? 11

claud9999 asks: "Are there any web-based e-mail services that would limit receiving e-mail from a list of specified addresses (bouncing all other e-mails that aren't from that list)? At first I thought someone like Yahoo would filter SPAM simply as a matter of managing liability and space consumption but they almost seem to encourage spammers as my yahoo account generates the bulk of the spam that I receive." It seems like this would be a fairly easy thing to implement, I mean, how difficult would it be to stick a web interface in front of procmail? Does your e-mail web-based service do this? Maybe it's time to start sending some polite emails encouraging them to do so, if they aren't.
Programming

Large Scale, Professional, Mail Merge Apps? 17

xtermz asks: "I recently began working for a mid-large scale print house. We do everything from printing of sales fliers to invoices for some fortune 500 companies. For doing these invoices, we use something called JetLetter which is basically a mail merge program on crack. It lets your create a template, pull from a database and send a PCL stream to your desired printer type. The problem with this program is that it is designed only to pull from flat text files, or antiquated .dbf files. It can't support SQL Server, XML, or anything made after say...1992 (even though they have a 'JetLetter 2000' version, which is basically the same DOS based app with a 'Windows' interface). If you try doing a search for 'mail merge', your likely to get back a couple thousand hits for MS Word. Talking to my co-workers, JetLetter seems to be the only solution which suits our needs." Many people seem to think that to do "mail-merges" you need a word-processor. Not so. A mail-merge is simply applying a subset of data over a text template. Looking at the problem this way, can any of you offer suggestions to a solution that xtermz might be able to use to replace (or supplement) JetLetter?
Hardware

Protecting Computers From Lightning? 83

rackrent writes: "I'm wondering what others do, both in their workplaces and homes to protect from lightning strikes. One look at Intellicast's lightning page should make us aware how often this must affect computers. Again, just curious as to what everyone does to safeguard their machines against lightning."
Graphics

Are Computer Graphics A Fine Art? 444

wduffee writes: "As a young artist and a computer geek, I am interested in converging the two fields of study. I had an art show in Little Rock, Arkansas last year of computer-generated art, but it was very poorly received. The art critics there claimed that computer-generated art was not a 'fine art' but more of a graphic design, regardless of the quality of the work. I have received the same response from art professors here in Mississippi, and from other schools (such as students from Glasgow School of Art in Scotland)." So what makes something art exactly? Does having a computer between artist and object somehow detract from the results?
Sun Microsystems

Hacking A PC Around The Sun PCI IIPro? 20

lowlymortal writes: "Hi, I have a few Sun PCi II Pro cards that are not being used (no jokes please). The white paper about it can be found here. Although, it does not have an IDE/SCSI (I know the older ones had them!), it does have a PCI bus (both the normal one and the "Sun" one). What I want to know is, whether any brave /.er has tried building a PC around this? Thanks." An oddball piece of equipment perhaps, but it certainly seems to have all the necessary guts -- any takers?
The Media

What's the Best Online News Story You've Read Lately? 124

The entry deadline for the Online News Association's second annual Online Journalism Awards is less than a month away. Last year, almost all of the finalists and winners came from big, well-funded sites, possibly because of the $100 ($80 for ONA members) entry fee. This year I am going to try to level the playing field a little, and I need your help.
News

Linksys AP/Routers Not Supporting Non-Microsoft OSs? 28

Multispin asks: "This isn't exactly new, but Linksys has a nifty little router/firewall/switch/802.11b Access Point box for sale. The only problem is that the wireless interface seems to only work with windows. I've put together a little page about this issue, here. I'd like to try to put together a larger group of interested people. Linksys makes good stuff, I just want to help them solve this problem, not boycot them! I think the problem problem due to the device not sending Ethernet II type however I'm not quite sure." Has anyone else tried fixing this problem?
GNU is Not Unix

Can University Students GPL Their Submitted Works? 242

Mdog asks: "I'm an instructor for The University of Illinois's CS 125 (intro to CS for CS Majors) class. I've been asking around the department regarding the legitimacy of students GPLing their submitted programs. Somebody pointed me to this document which talks about U of I policies regarding intelectual property. Having read the link, I'm still not quite sure what a students rights are in this situation, specifically part that reads that there exists a license which you implicilty agree to...: 'The minimum terms of such license shall grant the University the right to use the original work in its internally administered programs of teaching, research, and public service on a perpetual, royalty-free, non-exclusive basis.' Can I take this to mean: 'GPL compatible'? I'd be curious to know about anybody's experiences at other schools where this question has come up." I've seen several submissions where colleges take total posession of reports and projects created by students in their classes. Such a move would at least give the students some power in how their work is used.
Hardware

Hardware Suggestions for an x86 Linux WAN Router? 18

il_seba asks: "We are looking for x86 hardware which could be used to build a stilish/compact WAN router for our LUG. The main requirements, in no precise order, are: small size, fanless operation (low power/low heat CPU + compact flash boot medium), on-board fast ethernet and a single PCI slot. The actual candidates are IGEL thin-clients and ALLWELL STB1030N, although if you have more, we'd appreciate knowing about them. We just need the barebone system, as we'll provide software by ourselves."
News

Multi-User Websites and Lack of Security? 27

gh0ul asks: "I've come across a large and seemingly unspoken problem when it comes to webhosting: a multi-user shell service in which any of the hundreds of users can view any file for my website, including my SQL passwords and PHP scripts. I've tried many times talking to the admins but have run out of luck trying to find a way to have my scripts run as they should without anyone being able to just view the source at will or view the passwords for my MySQL databases. Apache runs as nobody, therefore the files have to be readable by nobody, I've heard about wrappers, but the admins refuse to install them.. So how would a normal user go about securing his web files and passwords for this purpose on a heavily populated machine?" When dealing with adminstrators who aren't willing to handle even the basics of web security for their customers, consider moving somewhere else. In the meantime, for Perl users concerned about leaving passwords in scripts, consider using DBIx::Password. I would be interested in knowing of alternatives for DBIx::Password in other languages, as well. It's a useful idea especially if your scripts find themselves in hostile environments.
X

X + VNC + SSH + Keyboard Shortcuts = Dueling Network WMs? 22

nil0lab asks: "I want to use keystrokes to switch between various systems and go from workspace to workspace within each system with another set of keystrokes." By using a combination of VNC, SSH and the right window manager, nil0lab wants to be able to look at any desktop on his network. Sounds cool, and I bet there are a lot of us who could put a trick like this to use. nil0lab has a partial solution, however there are still issues that need to be solved, and this is where he needs your help.
News

Tips for Teaching Seniors About the Internet? 175

ColGraff asks: "I'm spending this summer teaching senior citizens how to use the Internet - specifically, email and the world wide web, so how do I teach them in a way that will meet their needs in the best way possible? Some of these people have no computer experience and I don't know if should I plunge right into web browsers (while filling in knowledge gaps as needed) or give background info first? How do you teach someone to use a mouse effectively? (Sure, it seems simple, but think about it a minute. How do you know how far to move a mouse? How fast to double-click?). What about tips on using search engines, and how to sort the wheat from the chaff? Finally, what else should I teach? Is there anything in particular I should know about when tutoring the elderly?"
Technology

Alternative Text Input Methods? 20

A reader asks: "I've been tentatively researching existing solutions to enter text without a full (QWERTY) keyboard, and besides touchpads, morse code, and the system used in mobile phones (added with dictionary-powered predictive methods) and some wild gesture-based ideas I've come with the following systems: chording, as exemplified in some of the keyboards in this gallery, and Thumbscript (which is patented). Does anybody know any other good methods to enter text on a limited keypad? This issue is likely to become more important as new, smaller devices of all types enter the market." Interesting question. Devices that are already in the market (and those soon to hit the market) which are designed to be portable in size (but not in functionality), this will be a huge issue. Try editing song titles on today's portable MP3 player or writing a paper on your Palm. It's doable but not very pleasant. Such alternative methods would be a welcome addition to such devices.

Slashdot Top Deals