Slashdot Mirror


User: JWSmythe

JWSmythe's activity in the archive.

Stories
0
Comments
6,545
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 6,545

  1. Synchronization Woes on Laptop/Server Data Synchronization? · · Score: 5, Interesting

    A few people hit this one pretty well. rsync (and probably rsyncd).

        The more complex problem has been thrown at me a few times. What if it's not just one person?

        Say you have a repository of data that a dozen people may be working in. When they're all network connected, they're all dealing with the same file pool. When they take their off-line copies with them (unplugged laptops on vacation), they all make changes to the same files. Maybe mine is a one line change. Maybe one guy copy&pasted the first 3 chapters from War And Peace into a comment somewhere in the middle. Maybe another developer did some very intellectual looking changes but hosed some major functionality.

        When you start putting machines back on the network, who is right? The 6 guys who did real work are obviously right(ish), but they all made different changes. The very last change will end up being someone's 3 year old kid who was pounding on the keyboard right before daddy shut down the laptop, saving the new changes. Probably the last is the most recent, and right by most methods.

        It's not a pretty picture, and requires some intelligence to sort out the mess.

        The only "good" resolution I've found is to give logical authority to the changes. Bob is in charge of development. Any changes going into the development or production tree must clear him. He should be able to recognize that the 6 guys made changes, and diff them to come up with the common changes. The 3 chapters of war and peace go by the way side. And the guy with the 3 year old "developer" gets reprimanded.

        In the end, a good revision system and good backups are needed too. Something will slip through the cracks, and you'll need to roll back to something you hope is good.

        I take control over whatever I'm working on, so if I know I'll be working offline, I'll scp the data to my laptop, work on it on the road, and scp my changes up to the server when I'm done. Anyone else who may have worked in my project space in the duration should have known better. :)

  2. Re:File synchronization... If you must... on Backing Up Laptops In a Small Business? · · Score: 1


        I've used rsyncd very successfully with BackupPC. There are still some things that don't work quite right, thanks to the way Windows behaves, but it's all avoidable.

  3. Re:File synchronization... If you must... on Backing Up Laptops In a Small Business? · · Score: 1

    I was going to suggest BackupPC also.

        I've used it for both small and large installations. Here's an example of one I've been working on for the last few weeks. We've slowly been adding machines in, to conserve bandwidth.

    From the host summary page:

    There are 54 hosts that have been backed up, for a total of:
      82 full backups of total size 1375.75GB (prior to pooling and compression),
      280 incr backups of total size 730.47GB (prior to pooling and compression).

    root @ silo (/root) df -h
    Filesystem Size Used Avail Use% Mounted on /dev/md/1 1.4T 526G 780G 41% / /dev/md/0 99M 22M 72M 24% /boot

    root @ silo (/root) cat /proc/mdstat
    Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] [multipath]
    md1 : active raid5 sdd2[3] sdc2[2] sdb2[1] sda2[0]
                1464573504 blocks level 5, 64k chunk, algorithm 2 [4/4] [UUUU]

    md0 : active raid1 sdd1[3] sdc1[2] sdb1[1] sda1[0]
                104320 blocks [4/4] [UUUU]

    unused devices:

        The big thing to remember when backing up Windows machines is that there are files that you can't back up directly. MSSQL and the Windows Registry are the ones that come to mind immediately. It's easy to get around that though. Export them nightly, and then you can safely back up those exports.

        The best thing to do is set up and start the backups, and then restore to another machine. If you can get to everything you wanted to, you know it's a good backup.

        I like the fact that BackupPC is done on hard drives, so it has immediate access to the saved data. I've gone picking and choosing different versions of files in the past. Oh, was yesterday's incremental what I wanted? Nope. Lets go back another day. Nope. Oh, 3 days ago had the right data. Good. That only takes a few seconds, and is a lot better than waiting for tapes to spool through.

        We're backing BackupPC to tape, so we have that extra level of security. But since it's on a RAID5, we don't worry too much about the drive dying. :)

  4. Re:Rant as news on The Real Problem With Alexa · · Score: 3, Insightful

    There's a neat thing in journalism. Editors retain the privilege of being able to commandeer any space they want in their publication, and say just about anything they want. In the format of Slashdot, the editorial would take the top most position on the page, until a newer story filled the position.

        I have been known to do the same thing on my site. It may be a "thank you" to our users. It may be a birth, death, or wedding announcement. It may just be that a particular topic has infuriated me to the extent that I needed to put my opinion in big bold letters on the front page, because no matter how much we may report on the topic, people still don't have a clue about the meaning.

        If Cmdr Taco had posted a news story on the poor metrics used by Alexa, would that have received the same attention that his own personal account did?

        Unfortunately, he's echoing what many of us already feel. Boss type people feel the need to rank high with Alexa. If the ranking goes down for any reason, they want it brought back up. Even on some of the lesser technical sites, discussions start about spyware, and people start removing these utilities. When that happens, the score for those sites drop, and the score for AOL.com and Disney.com go up. (when's the last time you de-spywared the kids computer?)

        I know from reliable information, that my news site is read heavily by those in the intelligence services around the world. I sincerely hope that they wouldn't have the Alexa toolbar on their machines. Most of our users are very aware of what's happening around them. They're the ones that are careful to keep their machines clean of viruses and spyware. That leaves us with the random users who follow links from other news sites, or find us in search engines. Maybe they'll stick around. Maybe they'll even learn something.

  5. Re:Hooray! on Giant Microwave Turns Plastic Back to Oil · · Score: 1


        I put one on a bible, and it did the same thing.

          Evil we tell you, pure evil!

  6. Re:missed the best part... on Boeing's New 787 Wings — Amazingly Flexible · · Score: 1


        It's always useful to have all the information available. They make more than enough money on these aircraft, and they've already rendered the airframe on the test aircraft unserviceable, why not finish the test and watch them snap.

        At very least, if they do determine that the wings snap at 20x the rated load, they have a benchmark to compare the next design to. It will also give them something to judge with. If this wing can handle 20x the load, if we scale it up, give it more power and a larger fuselage, maybe they can make a plane 10x larger? I know, there are a lot of other factors besides wing size, but at least they'll have the data, rather than needing to waste another plane, should they need the data at a later time.

        Of course, these tests are with nice virgin planes. You have to wonder what the flexibility of the wing will be for an aircraft that spent 30 years flying to and from coastal cities. As we saw with Aloha Airlines Flight 243 years ago, corrosion can lead to some rather nasty results with otherwise perfectly good aircraft.

  7. Re:I hope they test it! on Boeing's New 787 Wings — Amazingly Flexible · · Score: 2, Interesting


        You too? :)

        I only got caught twice..

        I liked the one with all the wheels on fire (aborted takeoff simulation). Full speed, full throttle down the runway with a fully loaded 777, and then stand on the brakes til it stops.. Very pretty. :)

  8. Re:just an excuse for bad parenting. on Experts Oppose Classifying Gaming Addiction As Mental Disorder · · Score: 1

    > Do we need every bad behavior classified as a psychological defect?

        IMHO, no.

        Bad behavior is something that good parenting should correct. Is it a psychological disorder to let your kid sit on the couch and get fat? How about just playing a little too rough with the neighbor kids, or the cat? Most problems come down to parenting.

        If you look back a few years, parents were allowed to spank their children. Now if you leave a mark (or even if you don't), that could land the parent in jail. Would the kid who knew he would be disciplined do the same thing again? It was much less likely. That's not to say that a kid should be beaten, which too many people crossed so laws were created.

        On the other side of that is too much affection. You hug and kiss your child, now you may be a child molester. God forbid you hug your kid, or hold his/her hand. I've took my girlfriends daughter out to get some dinner, and then ice cream with one of my friends. The police showed up and asked us all a whole series of questions. We were being questioned for ... well, who knows what. They never specified. Kidnapping? Child abuse? All I know is that we were out with a 12 year old girl and that is suspicious now! Oh, did I mention that my girlfriend AND her daughter already lived with me. She told the cops that her and her mom live with me. I told them that. They called her grandmother to confirm (her moms cell phone battery was dead). 45 minutes later we were allowed to leave. {sigh}

        Legally, many parents have their hands tied. Sure, some folks will have the angel children who are always perfectly behaved. The rest need to actually parent. They are stuck in the question of "am I too mean?" "am I too nice?"

  9. Re:Planting? on Scientist Calls Mars a Terraforming Target · · Score: 2, Insightful

    There are quite a few posts following yours that mention the pressure and temperature differences..

        In reality, I'm sure we'll be theorizing forever, and never just try something.

        There are serious considerations to if we really SHOULD terraform another planet. The obvious is, we've done a beautiful job maintaining the one we're on now, should we mess up another?

        Mars is quite likely rich with artifacts that we haven't even begun to discover. We've explored what, maybe one square mile. Sure, we have satellite imagery, and can see that there are mountains, maybe old river beds and lakes, but we barely have a clue of what we can see. There are traces of methane, which we haven't really found the source for. Theorized, sure, but not positively identified a source. If we actually manage to terraform the planet, there will be plant material across most of the surface, along with large water masses. These easily accessable areas now would be completely unaccessable.

        The idea of terraforming might work. From everything I've read, we're not approaching the idea quite correctly though. We'll introduce quantities of select plant material? We'll put massive greenhouse gas manufacturing facilities. We'll blow a few nukes to stir things up?

        The way I see it, it would make a lot of sense to not introduce one or two basic organisms (algae? bacteria?) but to introduce a LOT. Literally have multiple entry vehicles scatter spores and seeds for a whole variety of vegetation across a huge area. We have observed what appears to be water. That may be a good place, but maybe it's not. If we scatter seed for virtually every plant material across the surface, maybe something will grow. If it can grow and thrive, it will spread on it's own. At very least, if it spreads a little on it's own, we can send more.

        Plenty of people have mentioned the temperature and pressure consideration. I believe that will come with increasing the density and humidity of the atmosphere. If there is detectable water occasionally on the surface, and moist ground just under the surface, drawing that water to the surface through any sort of root bearing plant would humidify the atmosphere. Humid air is heavier than dry air. Dense air and cloud cover create an insulating blanket to trap heat from the sun.

        The atmosphere won't change in a day or even the first year, but it will change. If the plants thrive like they could, it could be less than 10 years before there are notable cloud formations. The key would be finding plants that are willing to accept the extremely different environment. If we drop say seed and spore for every species of plant on the Earth there, what if only 0.01% start growing. That proves something could make it.

        With a whole lot of evaluation, the odds could be increased, but I believe there would be a whole lot of surprises in the real environment.

  10. Re:just an excuse for bad parenting. on Experts Oppose Classifying Gaming Addiction As Mental Disorder · · Score: 3, Interesting


        My girlfriend's 12 year old son is an addict... Well, at least according to the story.

        You are absolutely right though, you can't just let the addition tag get slapped on, and ignore him. He can play games in moderation. We've caught him sneaking games. Like, he'll go to bed, but not be asleep. When he's confident that we're asleep, he'll start playing his games again. We've found him at 4am or later playing... The "cure"? I took the video cable from his monitor. He doesn't have a spare. He can play in reasonable amounts.

        Oddly enough, he does exhibit some traits of addiction that I've seen in drug addicts. His withdrawal (emotional, not physical, obviously) is very similar. I'm not an addiction expert, I've just dealt with more than enough druggies over the years.

        I think by recognizing that it is an addiction, clueless parents will now know (hopefully) that "oh, he's quiet, he's playing his video games STILL" is not always a good thing, especially when STILL is 5 days of no sleep, no showering, and maybe (just maybe) stopping long enough to grab some microwave food and go back to the game.

  11. Re:indeed on Experts Oppose Classifying Gaming Addiction As Mental Disorder · · Score: 1


        Welcome to Slashdot, brother...

  12. Re:This is going to be interesting on Ancestry.com To Add DNA Test Results · · Score: 1


        I wish they'd even read Slashdot. :(

  13. Re:What?? on Ancestry.com To Add DNA Test Results · · Score: 2, Funny


        Fell out of a tree?

        Landed in a volcano in a spaceship that looked like a DC3?

        Descendants of the arc?

        There are so many stories. Pick one. No, pick two, keep it interesting. :)

  14. Re:This is going to be interesting on Ancestry.com To Add DNA Test Results · · Score: 1


        But is that due to characteristics that you've picked up from your environment, or genetics?

        So, you were raised with a miserable asocial misanthrope as a role model. Children learn from their environment, mainly their parents (or parental figures). Some mirror their role model. Some realize their role model is poor and go the opposite.

        I've been an influence on several children over the years, and some of them act quite a bit like me (as good or bad as that may be). My own genetic children act less like me, but there's a long painful story behind that. I'd be happy to share it, but would probably be banned for life from here for the language I'd use. :)

  15. Re:Privacy? on Ancestry.com To Add DNA Test Results · · Score: 4, Interesting

    My mother does genealogy. She has parts of our family back to the 1400's. I've discussed many options with her on bigger, better, faster (and more computer-centric) ways to gather the information. There are a lot of obstacles.

        The saddest is what you ran into. If I remember what she told me correctly, it's either legally required, or just good form, to only publish those who are deceased or records older than 80 years. I'm probably off on that number though. Why I consider it sad is that I wouldn't know cousin Vinnie. He (the mythical Vinnie) could be a blood relation from a fork of our tree in 1500 Europe.

        She wants, or needs, to show real documentation of the person and how they relate. She considers the accuracy of her work very important. Just because she finds (buys, borrows, whatever) someone else's tree doesn't mean that any of the information in it is accurate. Say our trees did cross. How is she to know without all the supporting documentation that the details are correct. Maybe that birth of Isaac on December 4 of 1606 was really April 12th of 1606. If she follows your tree without verification, she'll be following incorrect data to dead ends.

        I do like the idea of being able to find real-world relations. For my family, we're friendly enough so I don't suspect there would be problems. I know some families aren't quite so nice. Just because cousin Vinnie is a billionaire, every distant cousin would be bugging him for some of his cash.

        I'll probably be putting myself into the system. I'm curious to see who's out there. Maybe I have a distant cousin who's also a reader here, and we have a lot in common. :) Maybe it just doesn't matter if you're a cousin or not. :)

  16. Re:The big deal about spam... on What Happens If You Don't Pay for Goodmail? · · Score: 1



        But there are huge exclusions to the telemarketing rules. If you've initiated contact with them, they're allowed to call you. If you, knowing or otherwise, gave permission to a third party to call, you can receive the call.

        For example, you have a credit card. In the stack of paperwork you signed (electronically or otherwise) there was a two line note saying that your information may be traded with other divisions of said company, or their affiliates. Now you get a phone call offering life insurance. The life insurance company is affiliated (business relationship, not ownership) to your credit card company. You'll also get calls offering monitoring of your credit history, refinancing of your house, and even aluminum siding on your house.

        When I bought my house, I got flooded with letters offering insurance, refinancing, copies of my documents, blah, blah. All for a fee, of course. They'd specifically mention my name, address, finance company, and sometimes even my account number.

        Since I did business with one company, all of their "affiliates", no matter how loosely associated, are allowed to talk to me. I hate that stuff more than the spam.

  17. Re:RAID on RAID Vs. JBOD Vs. Standard HDDs · · Score: 2, Informative

      cat /proc/mdstat

    root @ backup (/usr/src/linux) cat /proc/mdstat
    Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] [multipath]
    md0 : active raid5 hdj1[3] hdi1[4] hdg1[2] hdf1[1] hde1[0]
          468880896 blocks level 5, 4k chunk, algorithm 2 [5/5] [UUUUU]

    unused devices: <none>

    [U] is Up.  [_] is Down.

  18. Re:Two words: RAID 0 on RAID Vs. JBOD Vs. Standard HDDs · · Score: 1

    MMmm.. a 10 disk RAID 0. It's probably good for video production work. I don't want to be standing by when THAT fails. :)

        "But, all my work was on there!"

        HAHAHAHAAAA

  19. Re:Go JBOD on RAID Vs. JBOD Vs. Standard HDDs · · Score: 1

    You don't need an article, it's real easy. I have a 440Gb array beside me, and it's only that small, because it was filled with drives I happened to have laying around. :) 5 120Gb IDE drives.

    BTW, in the original posting, his math was wrong. he indicated 3 1TB drives should give him 3TB. Wrong. RAID 5 is S=C*(N-1)

    S = Size, C = Capacity, N = Number of drives.

    Throw away a little from S for overhead and fudged numbers for manufacturers.

    So (for ease of math) in a RAID 5 configuration:

    3 1Tb = 2Tb , 5 1Tb = 4Tb , 6 1Tb = 5Tb

    But, if you were to take the same 6 drives, and make two RAID5's out of them, you'd only have 4Tb. RAID 50 can be two RAID5's, which are then set up as a RAID0 between the existing devices.

    Back to my original example.

    In my case, I have a Linux machine with 5 120Gb Drives. It also has a 160Gb boot drive. I like to keep my data and OS seperated, but since there's nothing important on the OS, it doesn't need any sort of redundancy. Should it fail, I set up on a fresh disk, throw it in, and all my important stuff is on the RAID.

    Remember the formula. S = C * (N-1)

    480Gb = 120Gb * (5-1)

    My device came out as 480.1Gb.
    The OS sees 441Gb. Remember, overhead.

    Disk /dev/md0: 480.1 GB, 480134037504 bytes
    2 heads, 4 sectors/track, 117220224 cylinders
    Units = cylinders of 8 * 512 = 4096 bytes

    root @ backup (/root) df -h /dev/md0
    Filesystem Size Used Avail Use% Mounted on
    /dev/md0 441G 293G 125G 71% /host

    I use mine for an off-site backup system, with BackupPC (http://backuppc.sf.net). It works very very well.

    Now, how the heck to make this? Easy. There are tricks you can do. I do have one machine with a RAID1 and a RAID5 on the same 3 drives, to give me redundancy, with this same method. It's all in how much you want to work at it, and how much practice you have. I wouldn't suggest it for a first attempt. :)

    1) Set up your OS, and compile in all the RAID device drivers into your kernel. Your distribution may already have modules for this, which is ok as long as it's not your boot device. :)

    If you're compiling, they're at:

    Device Drivers --> Multi-device support --> (all the stuff here)

    2) Stuff your machine full of drives. :) I have a midtower with 10 3 1/2" bays. I used Promise IDE controllers. each can control 4 IDE drives, which means I could actually use 8 drives in here, but I only had 5.

    3) fdisk your drives, making an fd type partition on each. If you have dissimilar drives, this will help you recover the unused space. If they're identical, you can get away with using the entire device in the next step.

    4) Make your /etc/raidtab. Adjust the device names as necessary.

    raiddev /dev/md0
    raid-level 5
    nr-raid-disks 5
    nr-spare-disks 0
    persistent-superblock 1
    parity-algorithm left-symmetric
    chunk-size 4
    device /dev/hde1
    raid-disk 0
    device /dev/hdf1
    raid-disk 1
    device /dev/hdg1
    raid-disk 2
    device /dev/hdi1
    raid-disk 3
    device /dev/hdj1
    raid-disk 4

    5) Make it a raid. "mkraid /dev/md0"

    6) If you don't reboot after the last step (don't bother), you need to start the raid. The command is "raidstart /dev/md0" .

    7) Now you have a

  20. Re:Trust is the currency on Online Reputation Is Hard To Do · · Score: 1


        Pla,

        I have no academic accomplishments, yet I am well spoken. I have life experience in many fields. That (and my razor sharp wit) has secured my 'Excellent' karma.

        Reputation is in the eye of the beholder. Just because 10,000 people say I'm cool, cute, smart, funny, or an all around nice guy, does that mean that YOU will think so? Probably not.

        I generally use one pseudonym, but there are others, and absolutely no ties between them. I don't tie any of them to the real-life me. At least, mostly. :)

        The only folks who know the ties between JWSmythe and my real life counterpart, are my friends, the FBI, NSA, CIA, and DIA.
    (My apologies if I missed any 3 letter names there guys. You know where to write to remind me that you're watching.)

        Anonymously,

        JW Smythe

  21. Re:And what do you buy with that currency? on Online Reputation Is Hard To Do · · Score: 1


        Of course it'll rain tomorrow, we're in the middle of a hurricane! :)

        Someone else had it more right. It really doesn't matter. Post a bunch of somewhat intelligent (i.e., not troll) messages, and you'll get a good karma.

        But, if you're a Windows-loving, Linux-hating, Pro-War-Budget, No-Civil-Rights user, no matter how intelligent your posts are, you're going to have a very pathetically low karma. At least here. If you're posting on a Microsoft blog, you'd probably have an excellent karma. :)

        It's all the atmosphere. Kinda like being a black man at a KKK rally. Don't expect good things to come of it.

  22. Re:And what do you buy with that currency? on Online Reputation Is Hard To Do · · Score: 2, Insightful

    Well, some of us have been lucky that we've managed to get our own names (or pseudonym in my case) almost everywhere. But some folks don't use quite as unique names.

        I guess if there was a pseudonym reputation ranking facility somewhere, it would need to have every pseudonym for each resource listed. Ahhh, a tall order just got taller.

        But, our pseudonym is such because we don't necessarily WANT everyone knowing who we are.

        JWSmythe (my pseudonym) is kind of well known. I show up all over the place, including one of my own sites (jwsmythe.com). But, when it comes down to it, JWSmythe isn't a real person. The JWSmythe you converse daily with on another site isn't necessarily me. If you were to walk up to me in real life and say "Mr. Smythe?", I'd just give you a dumb stare and ask "Who?", just like almost everyone else would.

        Who cares what a ranking system on the net says about a pseudonym? Some people think I'm great. Some think I'm an ass. Hell, even here, I have an 'Excellent' karma. I have 137 "fans" in my fans list (thanks everyone!), and 10 "freaks".

        You can't make everyone happy all the time. I'd say more so in real life, but people tend to blast folks they don't like even more with the anonymity of the Internet. Me and my keyboard, you can't reach out and bitch slap me. :) But hey, 93% of the folks who bothered to pick a side seem to like me. (and 98% of statistics are wrong.) I can only pick up 10% of the women in any given bar, so there's a big difference in the Internet, and real life.

        (on that, if I were to try, I have a 99.9999% chance of not picking a lovely lady in that 10%)

  23. Re:It's a good thing, then... on MySpace Gets False Positive In Sex Offender Search · · Score: 1

    You forgot the obvious..

        No one on Slashdot has sex, so there's no potential that any reader is a sex offender. And sure as heck, there's no way that any Slashdot reader could seduce some underage girl into anything. :)

    . /me ducks!

  24. Re:It's a good thing, then... on MySpace Gets False Positive In Sex Offender Search · · Score: 1

    I'm not a sex offender, but....

        I've lived in several states in the last few years, from the east to west coast.. Why would it be unreasonable to think that someone who was a known sex offender in one area wouldn't leave there, and maybe travel to the next state. Even if it was a mostly bogus charge, wouldn't you want to get away from the people who accused you?

        And, giving a range of ages to search, rather than a specific age is probably a good idea. People like about their age all the time. If you're looking for a 30 year old woman in Utah, maybe she is the same 18 year old girl in Colorado, who's looking to hook up with 15 year old boy.

        You have to think twisted like the people you're trying to catch. They are going to lie to do what they're doing.

  25. Re:Never understood vacuum gauge as economy aid on Hybrid Cars No Better than 'Intelligent' Cars · · Score: 1


        Well, the higher the vacuum (lower pressure), the engine is pulling more than it is getting air. With limited air, it can only use limited gas. So, by opening up the air flow (stepping on the gas), more gas is required. :)

        I paid careful attention to my car driving to and from work since I wrote my previous message. I noticed something.

        The lowest I'll maintain a cruising speed is about 22 in/hg.

        At 60mph in 5th gear, it'll sit at 22 in/hg.
        At 60mph in 6th gear, it'll sit at 18 in/hg.

        In other words, I'm on the gas a very little bit more to hold the same speed in the higher gear. So, I'm guessing that I should probably cruise in 5th gear around 60, and save 6th gear for even higher speeds. :)

        Next time I'm taking a long trip, I'm going to play with this, and see if I can find peak fuel economy for my car.