Slashdot Mirror


User: Khopesh

Khopesh's activity in the archive.

Stories
0
Comments
833
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 833

  1. Debian updates checker, apt-update on Cross-Platform Company Storage Architecture? · · Score: 1
    Keep the thing updated, and set auto-updates to do dry-runs and email you what they could do. ... I actually have a nice shell script for that ... ask me and I'll post it online for you.

    Yes, please post it or email it ... I've got a dozen or so Debian servers that could benefit from it regardless of the new storage box. Thanks in advance.

    My script in its current form will email security-related update notifications as they arrive, and other upgrades are only reported on Mondays. Some day, I'll write a logwatch plugin that shows available updates in the daily output (and emails directly on security updates, as the current script does).

    I run this from a bash script /etc/cron.daily/apt-update which delays 30-60 minutes and then runs the main script. Note that $RANDOM, and the hash function need bash and won't work in dash/sh. The cron script's code looks like this: sleep $(($RANDOM % 30 + 30))m && /usr/local/sbin/apt-update -m ... I'm not even going to try to put my apt-update script here as a slashdot comment.

    This is my first public release of apt-update, released under the GPL. Also note there are other similar solutions, like apticron and cron-apt, both of which are in the Debian stable repository, but both of which seemed more code than is needed (and they are primarily for actually performing the upgrades, which is dangerous).

    On RHEL/CentOS, Fedora, and other APT-capable distributions, this script will work fine. There is one snag; the script searches for "security" in the dry-run install ... DAG/Dries/RPMForge, FreshRPMS, CentOS, and ATrpms don't have a specially reserved source for security the way Debian does, so this won't work. Also of note, Axel Thrimm's atrpms package for most Fedora/RHEL derivates includes a script called "check4updates" which was the inspiration for my script. ... it is a bit more basic, but it uses what it can find of up2date, yum, apt, and smart.

  2. reliability, raid, updates, security, monitoring on Cross-Platform Company Storage Architecture? · · Score: 1
    You mentioned needing a support contract. What happens if the system goes down? Does the company go out of business after a few hours of downtime? How about a day? Do-it-yourself solutions don't have full software support, even if your hardware support is above reproach and you subscribe to RHN or whatever. In 24/7/365 environments with big money on the line, you need to go with NetApp like everybody here is telling you. Always ask your sales reps how long it will take to get a support expert ON SITE after your system dies at 4PM on a Friday.

    Looks like there is enough advice on vendors and hardware specs ... the only thing I'd add is that SATA is NOT reliable enough for this purpose unless you're comfortable replacing a drive or two every month or so (don't do SATA RAID 5; try RAID 1 or 10 ... see WikiPedia:RAID for more). ... Use SCSI despite the price hit. SATA in stripes (a la RAID 10) will partially compensate for the RPM hit. Oh, and get redundant power and a battery backup (UPS). If you can get an on-board battery for your hardware RAID card, do it.

    The file server and ALL systems connected to it must have synchronized time. Also, be sure it's on a gigabit ethernet, hosts only a VERY minimal number of services, and is completely locked down from the internet ... not even SSH should be visible; force administration to go through a bastion machine first. Keep the thing updated, and set auto-updates to do dry-runs and email you what they could do. I have my Debian box set up to apt-get update; apt-get -y --download-only upgrade; apt-get -qq -s upgrade |mail -s "Updates for `hostname`" root every night (note, that's a hasty summarization; I actually have a nice shell script for that ... ask me and I'll post it online for you ... ideally, this should be a part of the daily logwatch output and only a seperate email when there are security updates).

    Lock down the file server. NOBODY but an admin doing admin work should even have the ability to log into it, for any reason. If there is such a need, make a nice little dummy machine that mounts the network shares and give them access to that.

    Monitor the system from afar. Intrusion detection (NIDS like Snort or LIDS) is nice, maybe even essential for you, but I'm referring to something more basic ... you need to be alerted the moment something on the server fails. There are a few solutions for this out there (I use a home-brew one), but the nicest I've seen is Big Brother, which is freeware unless you depend on them (in which case you would want to pay for support anyway). BB4 is open-source but non-free (a look-but-don't-touch "Better than Free" license).

    In over your head yet? Get a NetApp. They're the Apple of the NAS/SAN world; their products just work.

  3. Re:cheap and fast always wins in console gaming on Sony vs. Microsoft, Tortoise vs. Hare · · Score: 1
    The Saturn was release ages before the PSX, and the Dreamcast was release before the PS2, both were abysmal Failures.
    I must have typoed. They should both say 1994, and they both came out at the beginning of the holiday season: the Saturn was released in Japan on 1994/11/22 and the Playstation followed eleven days later, on 1994/12/03. This is a rather insignificant time difference, given the vast number of other variables involved.

    As to the Dreamcast (1998/11/27) vs Playstation 2 (2000/03/04), I noted the dates in my table and also noted the reason for its early release not winning the battle below the table. An additional reason was that it may have been too early (gasp!). Also recall I said "it's not an absolute rule..."

    I have cited my sources and spelled out exact dates (based on initial releases, which is Japan for all but Microsoft). Where WikiPedia lacked in initial prices, I found answers through Google. Regretably, I have not saved the sources for those one or two figures. The Wii price estimate is a common one (shared by Wikipedia and experts) based on speculation derived from past precedent (all previous Nintendo systems have been $200).

  4. cheap and fast always wins in console gaming on Sony vs. Microsoft, Tortoise vs. Hare · · Score: 2, Informative
    take a look at past precedent (second listed price is value adjusted for inflation circa 2004):

    • 8-bit: Nintendo NES (1985, $200/351) > Sega Master System (1986, $200/345) > Atari 7800 (1986, $140/241)
    • 16-bit: NEC TurboGrafx 16 (1987, $190/316, only big in Japan) > Sega Genesis (1988, $190/303) > Nintendo SNES (1990, $200/289)
    • mid-90s: Sony Playstation (1994, $300/382) > Sega Saturn (1995, $400/496) >= Nintendo 64 (1996, $200/241)
      mid-90s Flops: Laseractive (1993, $970/1268), 3DO (1993, $700/915), Atari Jaguar (1993, $250/327, company went under)
    • y2k: Sony Playstation 2 (2000, $300/329) = MS Xbox (2001, $300/320) > Nintendo GameCube (2001, $200/213) > Sega Dreamcast (1998, $200/232)
    • mid-00s: MS Xbox (2005, $300+), Sony Playstation 3 (2006, $500+), Nintendo Wii (2006, $200?)

    It's not an absolute rule, but releasing early was WILDLY successful for Sega's Genesis and Sony's Playstation, giving them access to an industry that they were previously all but unknown in. Dreamcast's failure was due to Sega falling apart, kind of like what happened to Atari's delayed and corporately ruined 7800.

  5. water, fruit juice, tomato juice, soup broth, tea on The Soda Situation - Succulent Drinks w/o the Sweets? · · Score: 1
    If living on my own during and directly after college taught me one thing, it's that I am a frugal guy. I've never met anybody who drinks as much as I do (waiters usually have a hard time refilling my drinks), and when I'm paying for my drinks, I tend to drink water. After a while, I grew used to it, though every once in a while I need something else. Something with sugar or maybe just real flavor.

    Punch was mentioned, but it contains added sugar. how about pure juice? orange juice is really good, and cheap when you buy frozen concentrate, and the same goes for most of them.

    Unless it's not your thing, try tomato juice (cheap when bought in those giant store-brand cans). It's very refreshing and more than quenching. I drink tons of it, with huge glasses of ice water between them (it's too thick to drink fast when I'm really thirsty).

    I also have a thing for soup. On colder days, I'll actually throw bouillon cubes in boiling water and drink just the broth. There is tea at my desk, too. Some tea is naturally sweet and doesn't need sugar. I especially like Zambezi Red Chai tea, which despite the name is not caffeinated.

    On hot days, I have some pre-sweetened iced tea syrup in the fridge. I put just a small bit of that in a glass of water ... just enough to make the water not bland. Syrup works FAR better than powder, since it's already in liquid form, and it's as easy as adding cream to coffee; just pour and stir.

  6. Re:enable spellcheck safely on Vim 7 Released · · Score: 1
    ooh, hit submit too early. now that i'm done tweaking my .vimrc:
    " vim 7.0+ features
    if version >= 700
    " activate spellcheck, toggle with F6, starts ON
    setlocal spell spelllang=en_us
    noremap <silent> <F6> :set spell!<CR>
    inoremap <silent> <F6> <c-o>:set spell!<CR>

    " turn on omni-completion when available
    au Filetype * if exists('&omnifunc') && &omnifunc == "" |
    \ set ofu=syntaxcomplete#Complete |
    \ endif
    endif
    (most of this is taken from http://pierreantoine.lacaze.free.fr/linux/config/f iles/vimrc.html)
  7. enable spellcheck safely on Vim 7 Released · · Score: 1
    in your .vimrc, check for version 7 before enabling spellcheck:
    " if in vim 7.0, activate spellcheck in American English
    if version >= 700
    setlocal spell spelllang=en_us
    endif
    See also :help :spell
  8. the reviewers downplayed revolution coverage on E3 Previews for Capcom, Activision · · Score: 1
    Next-gen's Nintendo E3 Coverage blows:
    Mario Revolution (Mario 128) Expect Nintendo to showcase their new controller's abilities with this much-anticipated title.

    The Legend of Zelda It's no surprise that a Zelda game has already been confirmed for the Revolution.

    Super Smash Bros. Revolution Hitting Nintendo mascots with nonsensical objects is made new again.

    Animal Crossing Revolution Spend hours and hours looking for furniture on a next-gen console.

    Donkey Kong Revolution The big ape will be making his way to the Revolution in some form or another.

    Metroid Prime Revolution It's a lock - the galaxy of Samus will be there in the next generation.

    Unnamed RPG Few details are known about this next-gen RPG from the creators of Golden Sun.

    ... So the one title they can't have some sort of insulting blanket statement about has no guesses, either. How un-informative. Not even speculation like MMO interactivity for Animal Crossing.

    So we have a few titles, but most are sequels, and nothing has been said about how they'll be different, controller-related or not. Donkey Kong and Mario are forecasted for 2006, and that's all we get. Keep on guessing.

  9. Re:This is a famous AI test called the Turing Test on 2006 Chatterbox Challenge In Full Swing · · Score: 1
    I resent that. The article was a perfect encapsulation of the Turing Test without mentioning the test by name. I merely assigned credit and included a small bit describing how the test was defined. Sorry for citing my sources.
    > Often these will be needless information (such as a link to a Wikipedia article relevant to the subject being discussed), or a message of a political nature that is in alignment with the groupthink so that it will be moderated upwards by people who agree with the stance expressed in the message.
    This was not needless, it was pertinant and neither peripheral nor needlessly redundant, and certainly not political. However, your post fits that description to a tee. You also mis-cited, but that's hardly worth mentioning.
  10. Turn down your speakers on How to Avoid Mobile Phone Interference w/ Speakers · · Score: 1
    I mentioned that my solution was to keep distance between phone and speakers ... this is the common response. It is only half of my solution (oops, should have paused after proof-reading the preview) ...

    The speaker buzzing on my system is louder when the speakers are set to a higher volume. Therefore, I have my computer set to output at maximum volume (Wav/PCM and Master channels at 100%) and my speakers are set very low. The result is that there are still buzzes, but they aren't loud enough to give headaches to me or people in the next room (my Cingular-branded Motorola Razor is exceptionally good at interfering, perhaps because its output signal strength is stronger than the average cellphone).

  11. I asked this on the Cingular Wireless FAQ wikibook on How to Avoid Mobile Phone Interference w/ Speakers · · Score: 1
    From WikiBooks:Cingular Wireless FAQ#What's that Buzzing in my Speakers? we have a non-answer:
    GSM radio transmissions, particularly control signals (e.g., periodic mobile device registration, SMS message transmission), can induce audible interference (buzzing) in nearby speakers. (Hearing aids can also be affected.) The general issue of radio frequency interference (RFI) is exacerbated by the short pulsing nature of these time division multiplexed transmissions. The most straightforward solution is to separate the mobile device (e.g., cell phone) from the speakers; otherwise, shielded speakers and/or shielded speaker wiring may help.
    GSM (AT&T, Cingluar, T-Mobile) may be a codec, but it does something that CDMA (Verizon, Sprint) doesn't do ... the jargon above seems to be saying it is something like a barrage of messages patterned in a manner that happens to interfere with the magnets in some amplifiers. Shielded speakers don't help ... all decent computer speakers are shielded.

    My solution wasn't to turn off the phone, but rather to turn off the speakers ... and in my last move, I placed my bed table on the opposite side of the room from my computer (and its speakers), so that I can have music when my phone is charging. ... Sadly, this means I can't roll over in bed and hack on the computer.

  12. This is a famous AI test called the Turing Test on 2006 Chatterbox Challenge In Full Swing · · Score: 1, Informative
    From WikiPedia:Turing test,
    The Turing test is a proposal for a test of a machine's capability to perform human-like conversation. Described by Alan Turing in the 1950 paper "Computing machinery and intelligence", it proceeds as follows: a human judge engages in a natural language conversation with two other parties, one a human and the other a machine; if the judge cannot reliably tell which is which, then the machine is said to pass the test.

    It is assumed that both the human and the machine try to appear human. In order to keep the test setting simple and universal (to explicitly test the linguistic capability of the machine instead of its ability to render words into audio), the conversation is usually limited to a text-only channel such as a teletype machine as Turing suggested or, more recently IRC or instant messaging.

  13. play the name game on Should the Computer Science Guy Be CEO? · · Score: 1
    One solution that I've seen is to give each of you two titles; make one of you the CFO and the other the CTO, then draw straws to split CEO and President.

    These titles would be relative; you might not want your business card to say both, since the President's partner is the "Vice President/C[FT]O" (not the CEO) and the CEO's partner is the C[FT]O (not President).

    There is a lot of work involved in getting a company off the ground. At some point, you'll have to do a re-structuring. By then, you'll have enough experience and perspective to justify some view that you just can't see now (like a non-owner as a CEO, or one of you takes the lead, or you've sold the company and it doesn't matter, or you're bankrupt and it doesn't matter).

    Bottom line: Don't sweat it, this don't matter right now ... you BOTH have soooo much work to do that it's better to have the shared responsibilities. Dual CEOs don't look good on paper, so don't do that, but CEO/CFO and President/CTO will do for the first stage.

    Besides, you are quite likely to know the better choice after taking turns for a while.

  14. Also happens on the web daemon side on Misconfigured Webserver, Threats to Call FBI · · Score: 5, Interesting

    The thttpd (a lightweight Apache alternative) author has a similar story, but with more stupidity involved (see email history in link): thttpd author's "Attack of the Repo Men"

  15. Re:i'm a unix sysadmin, here's my top ten list on Sysadmin Toolbox Top Ten · · Score: 1
    You complained just because I mentioned rdesktop?

    Most small company sysadmins need to at least occasionally deal with Windows. I prefer to do so without leaving my desk. I also ensure cygwin and sshd are on Windows boxes, so that I don't always need rdesktop or vnc. ...

    My windows list would look something like

    • uptime.exe
    • cygwin with sshd, exim, and cron installed as services
    • PuTTYcyg, which is PuTTY with the ability to run bash shells locally (i.e. xterm)
    • SysInternals Junction, directory symlinks in NTFS
    • StartupCPL, monitor everything that starts up when Windows does
    • 7-zip
    • WinSCP
    • KNOPPIX for when shit hits the fan
    • Debian for when it won't come off the fan
    • One antivirus (any, I prefer PC-Cillin) and two anti-spyware agents (any two with different engines)
    Now look what you made me do.
  16. Re:i'm a unix sysadmin, here's my top ten list on Sysadmin Toolbox Top Ten · · Score: 3, Informative
    oops, forgot nmap and poke.

    poke is a shell function I wrote, as I needed to test network capability in a place that blocked ICMP traffic. It returns true when it can make a connection, or false otherwise. You may wish to add reporting; just uncomment the second line.

    poke() {
    echo X |telnet -e X $1 80 >/dev/null 2>&1
    #[ $? = 0 ] && echo connected to $1 || echo failed to connect to $1 >&2|false
    }
    Also please note that I purposefully left anything that is in standard installs (yes, Redhat fails to install cvs and vim-enhanced in its "server" config).
  17. i'm a unix sysadmin, here's my top ten list on Sysadmin Toolbox Top Ten · · Score: 4, Informative
    (in no particular order)
  18. slashdot article caching on Google's Cache Ruled Fair Use · · Score: 1
    The idea just got legitimized. Sure, let appeals pass to solidify the ruling, and perhaps get some loyal slashdotter lawyer to do a cheap verification on some disclaimer/license. A nice archive of the past few days' stories and their links would be VERY nice.

    Mirrordot and company do a decent job, but too often they don't cache enough (like Pages 2-5 of a story), and having it official would be great for users and would-be slashdotting victims. ... though this does bring potential advertising revenue into perspective; good for OSTG, bad for article hosters.

  19. Photo/video gallery on Other Uses for Wiki Software? · · Score: 1
    This is something I've wanted for a while and wiki technology is not quite there ... why use flikr or some similar service when you could use a wiki? The ability to comment on pictures makes them searchable; this is just like what google is doing with closed-captioning on videos (and what they've done with images.google.com).

    Mediawiki (of wikipedia fame) lacks in two places when it comes to image galleries: First, there is no pager (i.e. first, previous, next, last, index). Second, uploading updates to images is not trivial and the automated resizing is a bit clunky. When you update images, you completely replace them. There has to be some less primative way to do this, even if it is as simple as an image-diff program and more intelligent sizing.

    Also note that this concept is not limited to images; again look at google's video beta - you see indexed videos based on surrounding text, with automaticly generated stills from regular intervals of each video. This can easily be implemented in a wiki.

  20. intranet wiki on Other Uses for Wiki Software? · · Score: 1
    > Working in an IT department, the first alternative that came to my mind was an intranet knowledge-base.

    I head an IT department. Our internal wiki is gold; half of the answers I give out are along the lines of either "have you rebooted?" or "take a look at the wiki."

    The development team and the sales team also use the wiki to a degree - it helps in collaboration and notes. Lots of people keep notes to themselves that would actually be quite useful to others in their department or even the whole company. Putting those notes on the wiki, even if poorly organized (which is definately the case), is a good step in the right direction, as things get cross-referenced eventually, and other things are searchable.

  21. Live Lecture Notes; alternative to the whiteboard on Other Uses for Wiki Software? · · Score: 2, Interesting
    I have seen one use of a wiki in creating notes during a meeting, in place of using the whiteboard. While there isn't (yet) a usable interactive application for multiple parties to participate, it works wonderfully for a single computer that everybody watches.

    Basically, wiki is so fast that one can create a fully functional and cross-referenced web site on the fly, while carrying out a discussion on the topic. This could be used as a lecturing tool and/or as a note-taking system.

  22. Mod Article Down + Nofollow on On the Matter of Slashdot Story Selection · · Score: 2, Insightful
    Adding to the thought - article moderation would have to be of a higher threshold.

    Once the threshold is hit, the article's links get stripped of references.
    Done and done.

  23. IBM or Novell should just buy SCO out on SCO Amends Novell Complaint · · Score: 2, Informative
    SCO's Fiscal 2005 Results noted that their assets total roughly $30 million (down from $56 million the previous year). See also the SCOfacts.org Scorecard for SCO vs. World. IBM's numbers are all measured in billions of dollars, and Novell's numbers all exceed a hundred million.

    If IBM or Novell (or some trust composed of several heavy hitters) completely bought SCO out, all of this legal crap would go away. It's not too far-fetched, either. We could even see SCO's copyrighted UNIX code released under the GPL ... in the event that we actually wanted it ;-)

    Maybe my suggestion is a year or two early; at the rate SCO is shrinking, its value will soon drop below the cost of defending its claims in court.

  24. Re:Duke Nukem 3d didn't make the list!? on Games That Deserve New Year Sequels · · Score: 1

    I was under the impression that was more of a port with a few extras than a sequel, though I haven't played it.

  25. Duke Nukem 3d didn't make the list!? on Games That Deserve New Year Sequels · · Score: 4, Insightful
    Duke Nukem Forever is among the most famous vaporware titles out there, as the intended sequel to Duke Nukem 3d ... and somehow doesn't make this list.

    Duke Nukem 3d was one of the best single-person FPS games ever published; the secrets and plot were unparalleled, and the game got shadowed by the release of Quake (which evolved FPS from sprite-based graphics to today's 3-D feel and made the (spirte-based) Duke Nukem "3d" title look ... dumb). Gameplay and overall design were either on-par or superior to Quake, and many people still regard it as the best of the genre. This screams for a sequel.