Here’s my version of a recursive multiplication by addition function from one of the exercises:
mult a 1 = a
mult a n = a + mult a (n -1)
Random musings from a faithful Latter-day Saint and his family
Here’s my version of a recursive multiplication by addition function from one of the exercises:
mult a 1 = a
mult a n = a + mult a (n -1)
here’s some trimmed output from irb:
host = IP_Addr.new(‘192.168.1.0’, ‘255.255.255.0’)
RuntimeError: bad ip address, can’t use network address
host = IP_Addr.new(‘192.168.1.255’, ‘255.255.255.0’)
RuntimeError: bad ip address, can’t use broadcast address
host = IP_Addr.new(‘192.168.1.253’, ‘255.255.255.0’)
host.network
=> “192.168.1.0”
host.broadcast
=> “192.168.1.255”
now, I can count on my db not having network or broadcast addresses (or other invalid addresses that I’m checking for), and I can build dhcp and dns config files automaticly.
I’d especially like to thank Sean Carley and Edward Cho who really beat the early code into shape. If anyone is interested in getting involved, we’re going to be working on r43 through the end of August. At that point, we’ll pick a new library to work on.
You can grab your own copy at the r43 page on RubyForge.
It was great to be surrounded by such smart people – there was easily over a dozen people in attendance. The experience was like grabbing a really challenging book off the library shelf and diving in; ambitious to learn new words, etc.
When’s your next Ruby Brigade meeting? I’ll be going to one in Utah next week.
On the other hand, maybe just learning haskell or scheme would be enough.
I’m hoping the next step is to have more regional cooperation—like the Seattle.rb, pdx.rb, and Vancouver group’s upcoming code fest.
I think this will be a great addition to basecamp, and tada lists. Together, I think they might even be able to bring order to my disordered life.
By the way, the Utah Ruby Users Group is set to start meeting on the third Wednesday of the month (May 25th). The Seattle.rb is meeting tonight. Wow! That’s a lot of Rubyists.
Personally, I see no value in home teaching. I sit there while he talks to my husband, wishing I could be somewhere else. . . . Rather than share what he wants to share, think about us and focus on us, then prepare an appropriate message for us.
He strengthens us each time he comes because he really does care and calls us often
To help, they should actually come!
Have lessons for young children so they'll sit and listen.
Instead of asking if there's anything they can do, be more specific. For example: "Can we help you with your garage sale next week?" Take initiative: "I know you've been sick so we brought you a lasanga."
Know my children and take an interest in their lives
Come!
I haven't got a husband, or parents, or children, so I need home teachers