Berkeley CSUA MOTD:2008:March:04 Tuesday <Monday, Wednesday>
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2008/3/4-7 [Computer/Networking, Computer/SW/Languages/Perl] UID:49324 Activity:moderate
3/4     Does anybody have some code or know of a program that will take a
        network/mask and return the list of address in that CIDR block?
        e.g. "iplist 10.10.10.0/24" and return 10.10.10.0 ... 10.10.10.255
        [I have a way to do this, but it involves distributing a large
        amount of code, which is kind of a hassle. Looking for something
        lightweight and either standard or easdy to rpm/port/yum install.]
        \_ shouldn't be hard to do, its all bitwise binary math.
          \_ Because I was interested in how to do it in perl, I hacked up
             some quick code.  ~mehlhaff/netmask.pl   for your enjoyment. -ERic
        \_ there are couple out there. The one I settled on is sipcalc
           \_ Thanks for the pointer. I only knew about the "builtin"
              ipcalc. I see sipcalc return the "usable range" in the
              form 10.10.10.1 - 10.10.10.254. Is there a way to get
              it to return each of the 254 addresses, one per line, which
              can be piped to another program's stdin etc.
        \_ doing  it in perl?  Net::IP  http://search.cpan.org/dist/Net-IP/IP.pm
        \_ doing  it in perl?  Net::IP
           http://search.cpan.org/dist/Net-IP/IP.pm
        \_ look at nmap code
           \- i thought the nmap code was somewhat hard to understand
              [this was maybe 2yrs ago]. however, you can steal this
              exact function and parser from a modern version of fping
              which supports the "-g" flag. nevertheless, i'd be interested
              in a real standalone untility for this. starting with fping,
              this is do-able in like 30min [you can also do it in 2 lines
              if you want to do this in a stupid but perfectly workable way].
              it would take me a lot longer to extract this from nmap. --psb
              ./fping-psb -n -g 10.10.10.0 10.10.10.56 | wc -l
                    57
              ./fping-psb -n -g 10.10.10.0/30 | wc -l
                     4
        \_ I wrote a script last year that basically produces the same output
           as psb's solution.  My perl vs. mehlhaff's perl.  Round 1: Fight!
           ~dbushong/bin/expand-ip-range  --dbushong
           \_ dbushong is definitely sexier than mehlhaff. meh!
           \_ Hah, oops.  Mine only expands the last two octets.  (i.e. doesn't
              do anything useful for /n where n < 16)  Ah well.  --dbushong
              \_ clever code vs. simple code w/comments. Two very different
                 styles to accomplish the similar things.  It is left as a
                 exercise to the student to decide which they like better. -ERic
2008/3/4-7 [Computer/SW/Virus] UID:49325 Activity:kinda low
3/4     Hi, what's the best free anti-virus software for XP?  What about
        anti-spyware?  Currently I'm using Active Virus Shield and Spybot.
        Thanks.
        \_ I've used: avg, spybot s&d, adaware, trend micro's housecall.
           \_ Does Spybot S&D protect Firefox?  It soulds like the injection
              feature only supports IE.
              \_ I'm not as concerned about the browser part as the registry
                 protection/alert part.  But to answer your question, no, I
                 don't believe it helps FF as much as it does IE.  I surf FF
                 with javascript off, java off, no plugins, no flash, and
                 adblock+.  When I need flash for various stupid sites, I
                 use the FF IE Tab plugin to reload in IE (where I have flash
                 installed), but only for that site.  Then I kill the IE
                 session.
                 \_ Why not just use a Mac?
        \_ While it may conflict opinions of what's best, if you're still
           in an active status with UCB as a student or staff, keep in mind
           that Symantec AV is free. For firefox protection, I use NoScript.
           \_ I'm looking for something that updates its virus/spyware database
              periodically, and doesn't eat up much RAM.  Right now I'm using
              Lavasoft Ad-Watch, and it eats up ~50MB on my 256MB machine which
              makes the machine swap a lot whatever I run.  -- OP
              \_ You do realize how cheap memory is these days right?
        \_ I used Avira AntiVir for a while, it seemed ok to me. It has an
           ad banner that pops up when it updates itself, which would be a
           dealbreaker but you can disable the executable that does that.
           If you watch deal sites you can often find AV software for free
           after mail-in rebate. I am using Kaspersky through this. I shoulda
           posted that deal to the motd I guess.
        \_ I used to like AVG Free.  Dunno what the hell happened but it stopped
           working a couple of weeks ago.
        \_ I used to like AVG Free.  Dunno what the hell happened but it
           stopped working a couple of weeks ago.
2008/3/4-6 [Academia/Berkeley/CSUA/Motd] UID:49326 Activity:nil
3/3     All hail the motd that cannot be shrunk!
        \- what is the ramification of shrinking the motd? i mean, your
           brain has been classified as: small. if the ambiguously gay
           bengali partha banerjee can shrink the motd, so can you! ok thx.
           \_ You just think you shrank it. It will grow back again, just
              you watch...
2008/3/4-7 [Science/Space] UID:49327 Activity:nil
3/4     MRO photographs a martian avalanche:
        http://www.nasa.gov/mission_pages/MRO/multimedia/mro20080303a.html
2008/3/4-7 [Consumer/CellPhone] UID:49328 Activity:nil
3/4     I'm thinking of moving to a shack in Montana.  Can I turn
        my tmobile cell phone number somehow to Skype ?
        \_ Yup
           \_ Has anyone done this?  Will they forward this to another
              number?
        \_ I recommend insulting your shack well.
           \_ How do you insult a shack? Call it names on the motd???
        \_ If you're going to move to an isolated shack, you probably want to
           find a warmer place for it.
2008/3/4 [Uncategorized] UID:49329 Activity:kinda low 92%like:49334
3/4     Is that Ted Danson behind Hillary?  Talk about random...
        http://i.cdn.turner.com/cnn/2008/POLITICS/03/04/march.4.contests/cnnpt1.Clinton.jpg
2008/3/4 [Uncategorized] UID:49330 Activity:nil
3/4     snoop, RIP
2008/3/4 [Politics] UID:49331 Activity:nil 75%like:49332
3/4     gary gygax, dead
2008/3/4-7 [Politics/Domestic, Politics] UID:49332 Activity:low 75%like:49331
3/4     gary gygax, dead
        http://preview.tinyurl.com/3aur7a (laughingsquid.com)
        \_ http://www.penny-arcade.com/comic/2008/03/04
        \_ He must have missed his saving throw.
        \_ http://www.corpcity.com/strips/dnd.gif
        \_ http://xkcd.com/393
2008/3/4 [Reference/RealEstate, Finance/Investment] UID:49333 Activity:nil 85%like:49335
3/4     Um, holy crap?
        http://money.cnn.com/news/newsfeeds/articles/newstex/AFX-0013-23516253.htm
2008/3/4-7 [Uncategorized] UID:49334 Activity:nil 92%like:49329
3/4     Is that Ted Danson behind Hillary?  Talk about random...
        link:preview.tinyurl.com/2ssb2g (turner.com)
2008/3/4-7 [Reference/RealEstate, Finance/Investment] UID:49335 Activity:kinda low 85%like:49333
3/4     Um, holy crap?
        http://preview.tinyurl.com/2f8nqd (cnn.com)
        \_ http://calculatedrisk.blogspot.com/2008/03/bernanke-to-lenders-reduce-principal.html
        \_ http://preview.tinyurl.com/36bxx3 (calculatedrisk.blogspot.com)
           Insert theme from your favorite horror movie here.
           \_ Serious does this mean homes will be affordable
              again? Seriously? Man I can't wait  -bitter missed out guy
              \_ Affordable is relative.  The price of the home isn't nearly
                 as important as your monthly payment on it and how long you
                 have to pay that number.
                 \_ This makes absolute sense esp. for ppl with low IQs.
                    The rate at which home prices balloon or sink...
                    where do you take that into consideration? The
                    affordability index has been shrinking for the last
                    15 years, and given a historical cyclical market
                    isn't it prudent to wait for the other side of the
                    cycle? I mean, affordability is relative, but that
                    should not be the only factor used in such a
                    complex and expensive decision.
                 \_ And the final variable would be the interest rate. Thanks
                    for the math lesson. WTF are you trying to say?
                    \_ He's saying that if the interest rate doubles while
                       prices fall in half it doesn't make housing much more
                       affordable for people who are financing the purchase.
                       Maybe that's clear to you, but a lot of people seem
                       to overlook that the payment means more than the price
                       in many instances.
                       \_ People are supposed to save up a significant
                          downpayment, if banks are being responsible.
                          Prices should matter in the real world. In
                          fantasy bubble land where government saves the
                          day maybe it doesn't matter.
              \_ No.  This means that the shit that has been hitting the fan
                 for the last year is going to continue to hit the fan.
                 In fact, some of the shit that hit it already is going to
                 circle back for a few more wacks.
                 \_ If many homeowners are experiencing "shit hitting
                    the fan" doesn't it imply all the spectators will soon
                    be in a position to cherry pick shit soon?
                    \_ Not if the economy gets totally fucked by the housing
                       crisis.  Hence the horror movie soundtrack, etc...
                    \_ We won't hit bottom until people think real estate
                       is dead. As long as there are a lot of spectators
                       thinking they are going to cherry pick we won't get
                       there. Serious investors aren't worried about
                       predicting a bottom. They bought 20 years ago, 10
                       years ago, 5 years ago, 2 years ago, and last week
                       - but they bought what made sense to buy. Finding
                       bargains might be getting easier, but financing what
                       you find is tougher meaning that only the all-cash
                       guys (you know, the pros) can stay in.
                       \_ Yes, this is exactly true. However, SFH have been
                          mostly financed by fairy dust the last few years,
                          so they are going to have the furthest to fall. Not
                          to say that the credit crunch won't hit multi-famliy
                          and commercial real estate, I am sure it will, but
                          the valuations are not as out of whack.
        \_ I've paid my mortgage on time every month for years.  Who is going
           to 'fix' my loan so I don't have to pay so much anymore?
           \_ One word for you: SUCKER!
              \_ Obviously I should have defaulted then the gvt would have
                 rescued me from my own stupidity because clearly I would have
                 been a "victim" of a "predatory" loan.  sigh.  I need a nanny
                 state law passed to take care of me, too!
                 \_ Did you even read the article?
                    \_ Yes.  I read both links.  Did you?
                       \_ Yes. Where did you make the logical leap from a
                          voluntary agreement between a bank and a home owner
                          to a gvt bailout?
2008/3/4-7 [Politics/Domestic/Election] UID:49336 Activity:nil
3/4     With 0% of the precincts reporting, Obama and McCain take Vermont,
        projects CNN.
        \_ I love the 0% projections.
        \_ Damn, it looks like Clinton is going to take Ohio and Rogue
           Island. And Texas is too close to tell.
           \_ Hillary will inspire oll of us that you too can cry,
              whine, bitch, throw tantrums, and scorch earth your way
              to the White House.
2008/3/4-7 [Uncategorized] UID:49337 Activity:nil
3/4     Wow, you can buy quad-core desktop CPUs for $189.99 now.
        \_ Uhm, yeah...?
2008/3/4-7 [Science/Disaster, Science/GlobalWarming] UID:49338 Activity:low
3/4     Peak oil?
        http://preview.tinyurl.com/2nwllk  (wsj)
        \_ Why does the WSJ publish this liberal clap-trap? I believe in
           abiotic oil, which never runs out.
           \_ You'd think if abiotic oil (also known as "oil creationism")
              were true the USA wouldn't of hit a peak in 1970 since we
              pray so much in this country.
              \_ Obviously, we don't have enough faith and must
                 pray harder.                           -GWB
           \_ What science backs your belief of abiotic oil?  Also, even if
              true, the rate at which these abiotic processes replace oil
              matters.  If they are slower than we're pulling oil from the
              ground then there's still a peak oil problem, yes?
              \_ I am not mr. aboitic believer, but there is some science,
                 mostly from Russia, that supports a abiogenic theory for
                 the origin of petroleum. Wikipedia has a decent discussion:
                 http://en.wikipedia.org/wiki/Abiogenic_petroleum_origin
                 There was an article on this in SciAM or Discover a few
                 years back that dicussed the abiogenic theory.
                 I agree that if we deplete petroleum faster than these
                 processes can replace it, the peak oil problem remains.
        \_ this guy's summary is basically taht 'more efficiant extraction
            techniques will let us get more oil out of exhausted fields'.  This
            is the endgame of peak oil, and only delays the peak a little bit.
            He's exaggerating how much the delay will be though. -ERic
            \_ "Just make the next generation deal with it" is a pretty small
               comfort, unless you are expecting The Rapture to bail humanity
               out.
           \_ He's saying the date is far enough out that other technologies
              will replace oil by then anyway, thus the old line he quotes
              about the stone age not ending from lack of stones.
2017/09/24 [General] UID:1000 Activity:popular
9/24    
Berkeley CSUA MOTD:2008:March:04 Tuesday <Monday, Wednesday>