Forum: Storage 8 Days Ago |
| Replies: 5 Views: 213 Re: Is it worth keeping an old hard drive? A seven year old disk drive? I would trust it to be useful for testing and for educational/training purposes. But given a choice between using old drives for my system and data and buying new ones, I... |
Forum: IT Professionals' Lounge 9 Days Ago |
| Replies: 6 Views: 219 |
Forum: Troubleshooting Dead Machines 9 Days Ago |
| Replies: 2 Views: 203 |
Forum: Kernels and Modules 12 Days Ago |
| Replies: 2 Views: 268 Re: question on /etc/passwd file I believe /etc/passwd is 'keyed' on the username, and I believe the system uses only the first instance it finds. So while you can have many users with the same name, only the first entry will be... |
Forum: *nix Hardware Configuration 13 Days Ago |
| Replies: 7 Views: 1,121 |
Forum: Shell Scripting Jul 7th, 2008 |
| Replies: 10 Views: 3,484 |
Forum: Networking Hardware Configuration Jul 7th, 2008 |
| Replies: 8 Views: 4,259 |
Forum: *nix Software Jul 3rd, 2008 |
| Replies: 12 Views: 2,790 |
Forum: *nix Software Jul 2nd, 2008 |
| Replies: 12 Views: 2,790 |
Forum: Getting Started and Choosing a Distro Jul 2nd, 2008 |
| Replies: 2 Views: 1,375 Re: counting -| in Linux using grep I think
echo "sdf -| qwe-|fgh-|fubar" | sed -e 's/-|/-|\n/g' a.a |grep -- "-|" |wc -l
should do and illustrate the trick. (Hint: try '--' before an argument that begins with a '-'; many GNU program... |
Forum: Getting Started and Choosing a Distro Jul 2nd, 2008 |
| Replies: 30 Views: 2,808 Re: Linux? Using the computer as a tool, you can be *far* more productive using Linux (or almost any of the UNIX/unix-like systems).
Is OpenOffice perfect? No; it has it's problems. But I've found that for... |
Forum: Getting Started and Choosing a Distro Jul 1st, 2008 |
| Replies: 25 Views: 5,003 Re: Required ram for linux This is a somewhat more generic answer to the original question.
Linux can run in as little as 4MB of RAM; one example of this is the DD-WRT firmware running on certain Linksys routers (among... |
Forum: PHP Mar 6th, 2008 |
| Replies: 6 Views: 1,008 Re: My PHP math is calculating weird! But, grasshopper, you are forgetting that the computer does not operate in the decimal realm. It operates in the binary realm. What you think is 342/100, the computer sees as:
... |
Forum: PHP Mar 5th, 2008 |
| Replies: 6 Views: 1,008 Re: My PHP math is calculating weird! To find the best answer, you have to travel 30 years back in time. :) In a nut shell, you don't get exact answer all the time because binary floating point machine arithmetic cannot reproduce all... |
Forum: IT Professionals' Lounge Mar 5th, 2008 |
| Replies: 4 Views: 3,711 Re: Share you software testing experience Should you want a longer description....
The following assumes that the target company actively works to prevents software bugs from getting out the door. A software/system tester will be miserable... |
Forum: *nix Software Mar 5th, 2008 |
| Replies: 1 Views: 466 Re: Apache ddos One possible way would be to run a cron job every so often that: fetches log entries with the offending requests from the previous interval pipes the result to 'sed -e 's/ - -.*//'|sort|uniq -c|sort... |
Forum: *nix Software Mar 5th, 2008 |
| Replies: 2 Views: 366 Re: Help! A vim editor problem Vim, with highlighting turned on, will highlight all instances of the last thing you searched for. Looks like you (or someone) executed a search similar to:/[^A-Za-z0-9]<ENTER>
(meaning search for... |
Forum: Getting Started and Choosing a Distro Mar 5th, 2008 |
| Replies: 57 Views: 11,220 Re: Linux: Some Ugly OS' I don't look for sleek or pretty or glamorous in any of my tools. Not in screw drivers, not in hammers, not in pots & pans, not in laundry machines or in lawn and garden equipment.
I look for... |
Forum: Getting Started and Choosing a Distro Mar 5th, 2008 |
| Replies: 63 Views: 15,776 Re: Why Linux doesnt need an anti virus I think '60%' may be a bit of an overstatement.
I have *some* experience managing email and spam. In the past couple years, 80-90% of all email arriving at my few domains comes from IP addresses of... |
Forum: Getting Started and Choosing a Distro Mar 5th, 2008 |
| Replies: 63 Views: 15,776 Re: Why Linux doesnt need an anti virus I've had the displeasure of using Vista and getting those infuriating pop-ups. And those pop-ups make absolutely no sense whatever. The pop-up requires no password if one is already an administrator.... |
Forum: Computer Science and Software Design Jan 28th, 2008 |
| Replies: 34 Views: 15,414 Re: designing an operating system Hint: limit commands to 3 chars; as each char is typed, jump to the code handling that char (get another char or execute command). Make your proggies query for options and params.check to see if the... |
Forum: Computer Science and Software Design Jan 28th, 2008 |
| Replies: 34 Views: 15,414 Re: designing an operating system Cool! The next step is to write open(), read(), write() and close() functions so you can open a file on a raw floppy, read it into memory, make changes, then write it to floppy.
Hmmm. Perhaps even... |
Forum: Computer Science and Software Design Jan 28th, 2008 |
| Replies: 34 Views: 15,414 Re: designing an operating system No, apparently they do that with a version of their Java Runtime Environment. The typical JRE requires the services of an OS to interface with the universe off the CPU. I would expect their modified... |
Forum: Computer Science and Software Design Jan 12th, 2008 |
| Replies: 34 Views: 15,414 Re: designing an operating system Hmmm. Tall order. :)
At the most basic level, an operating system is nothing more than a program than: initializes the hardware provides a means to run programs, and provides orderly access to the... |
Forum: JavaScript / DHTML / AJAX Jan 6th, 2008 |
| Replies: 11 Views: 4,539 Re: js doesn't work on IE7 and/or vista Hmm. It works for me on IE7.0.5730. However, I *can* make it ignore the javascript by DISABLING Active Scripting (Tools->Internet Options->Security...) I can think of no other reason for this to... |
Forum: JavaScript / DHTML / AJAX Jan 3rd, 2008 |
| Replies: 2 Views: 578 Re: Obfuscating email addresses in HTML Quite right. Do note that if you copy/paste the examples below, you may receive an error. Daniweb's VB seems to insert "<b></b>" between 'about' and ':' in the HTML example.
Minimal PHP... |
Forum: PHP Jan 2nd, 2008 |
| Replies: 9 Views: 1,108 Re: Linking mysql output results Suppose your HTML form has the user select a name from a list, and the SUBMIT button sends that name to the server, in the form:
http://www.sample.com/mysql-query.php?user=SUE
Suppose the php... |
Forum: PHP Jan 2nd, 2008 |
| Replies: 15 Views: 839 |
Forum: PHP Jan 2nd, 2008 |
| Replies: 9 Views: 1,108 Re: Linking mysql output results Whatever you do, be sure you escape the result if you use it directly in a MySQL query. You don't want to be the victim of SQL injection. |
Forum: PHP Jan 2nd, 2008 |
| Replies: 5 Views: 592 Re: Restricting access to a page If you want to restrict access to those users who clicked a link on a specific web page, you would have to use PHP and reference $_SERVER['HTTP_REFERER']. But this value can't really be trusted. From... |
Forum: JavaScript / DHTML / AJAX Jan 2nd, 2008 |
| Replies: 11 Views: 4,539 Re: js doesn't work on IE7 and/or vista Moving the script and noscript tags and content inside the body (where they belong), and changing onSubmit to onsubmit makes the file Valid XHTML 1.0 Transitional (according to w3.org).
Either way,... |
Forum: JavaScript / DHTML / AJAX Jan 2nd, 2008 |
| Replies: 2 Views: 578 Obfuscating email addresses in HTML I've created a fairly simple method for obfuscating email addresses as an anti-spam measure. It should work for any browser that supports JavaScript and a fairly modern Document Object Model (DOM). A... |
Forum: Existing Scripts Jan 2nd, 2008 |
| Replies: 4 Views: 856 Re: Help Ah. This is a well-known problem that can be worked around fairly easily to achieve reasonable security.
Post an example of what you are doing and how you are doing it. (Not the actual code, but... |
Forum: Website Reviews Jan 2nd, 2008 |
| Replies: 12 Views: 1,350 Re: V2.0 -- is this site too confusing? I didn't post about the old site, but I won't let that stop me from kibbitzing now. :)
Design a simple picture frame for the model images. The pictures kind-of lay there. A frame would soften the... |
Forum: Existing Scripts Jan 2nd, 2008 |
| Replies: 4 Views: 856 Re: Help I'm not sure just what you are asking.
Creating users in MySQL is done via GRANT:
GRANT ALL on db.* to thisuser@localhost IDENTIFIED BY "password";
But then, you might not be talking about MySQL... |
Forum: IT Professionals' Lounge Jan 2nd, 2008 |
| Replies: 14 Views: 2,708 Re: problem with passwordless ssh One reason I've found for PK SSH to not work is file permissions. Make sure repository's .ssh directory is 'chmod 700' and the contents within it are 'chmod 600'. If there's any possibility that a... |
Forum: Windows NT / 2000 / XP / 2003 Nov 1st, 2007 |
| Replies: 1 Views: 2,864 Re: found new hardware wizard Two snide responses:
1. Install the hardware it has found.
2. Never shut down the computer.
:)
A more reasonable answer:
- discern what hardware it has found
- possibly download the latest... |
Forum: Windows NT / 2000 / XP / 2003 Nov 1st, 2007 |
| Replies: 1 Views: 1,485 Re: Problem creating ftp users in Win 2003 I's'll gauchely answer my own post.
The directory under FTP_ROOT needs to be the OLD-STYLE windows domain name, not the internet-style domain name, as in:
D:\userdir\FTP_ROOT\OFFICE\firstuser
... |
Forum: Windows NT / 2000 / XP / 2003 Nov 1st, 2007 |
| Replies: 1 Views: 1,485 Problem creating ftp users in Win 2003 I must be suffering a brain fart. I cannot figure out how to set up a user to be able to access a Win2003 server via FTP.
I installed IIS with FTP and other required stuff
I created an FTP server,... |
Forum: Windows NT / 2000 / XP / 2003 Nov 1st, 2007 |
| Replies: 3 Views: 1,783 |