euglug.org

[작성자:] admin

  • [Eug-lug] SECOND ANNOUNCEMENT: November PLUG Meeting



    David MandelWed Nov 1 15:29:16 PST 2006

                                 MEETING ANNOUNCEMENT
    
                            The Portland Linux/Unix Group
                                      will meet
                              7 PM Thursday Nov 2, 2006
                                          at
                              Portland State University
                                          in
                                Smith Memorial Center
                                       Room 294
                               On the block bounded by
           SW Montgomery, SW Broadway (7th), SW Harrison, and SW Park (9th)
    
          *******************************************************************
              
                                     PRESENTATION
    
                            The Open Source Education Lab
                                          at
                               Oregon State University
    
                                          by
    
                                      Alex Polvi
                                <polvi at onid.orst.edu>
                                         and
                                        others
    
          Alex is bringing a small group of people from OSU to talk
          with us about the Open Source Education Lab, the Oregon State
          Linux Users Group, and the Open Source Lab.  As many of
          you know they have a lot of cool projects going on.
          The Open Source Lab at OSU is nationally recognized and is
          home to a number of major Open Source projects.  The 
          Open Source Education Lab and the Oregon State Linux Users Group
          are also neat and provide ways of getting undergraduates 
          involved with OpenSource software.
    
          One of the people coming will be Mike Burns who is going to do a
          little demo of the One Laptop Per Child dev motherboard that he has.
    
          *******************************************************************
    
              Agenda:
              
                  7:00 - 7:30  Business
                       We will discuss the status of our ongoing projects 
                       including PLUG's monthly Advanced Topics meetings, 
                       PLUG's monthly hands on clinics, PLUG for Education,
                       etc.
    
                  7:30 - 8:30  Presentation
              
                       See above
              
                  9:00 - ...  Beer
                                      The Lucky Labrador Brewing Company
                                      915 SE Hawthorne
              
              
              
                                              David Mandel
                                              Chief Activist
                                              Portland Linux/Unix Group
                                              560 SE Alexander
                                              Corvallis, Oregon 97333
                                              (541) 730-5285 mobile
                                              dmandel at pdxLinux.org
              
              
              P.S.  Biznix which specializes in Linux and UNIX support for 
                    the Business Computer User.
                    As I understand, they haven't been meeting for a while,
                    but intend to have regular meetings again in 2006. 
                    See http://www.Biznix.org for details.
                    
              P.S.  BLUEgroup (The Beaverton Linux Users Education Group)
                    is a group geared toward new users or those interested 
                    in learning more about Linux.  BLUE group meets on the 
                    4th Thursday of every month (except Thanksgiving and 
                    Christmas) at the corner of Beaverton Hillsdale Hwy and 
                    Western ave.  See www.BLUEgroup.org for details.
    
              P.S.  PDXLUG provides a less formal alternative to PLUG 
                    emphasizing the needs of new users.   PDXLUG meets 
                    every second Thursday of the month in southeast Portland.
                    See http://www.PDXLUG.org for details.
    
              P.S.  The Mid Willamette Valley Linux Users Group meets
                    at 6:30 PM on the first Tuesday of the month.
                    They have out grown their meeting location at PEAK
                    and are now meeting on the OSU campus.
                    See http://www.lug.corvallis.or.us/ for details.
                        
              P.S.  The Eugene Linux Users Group meets several times a month.
                    See http://www.euglug.org for details.
    
       ======================================================================
       David Mandel                        http://www.DavidMandel.com
       Portland Linux/Unix Group           http://pdxLinux.org
       LinuxFund                           http://LinuxFund.org
       ======================================================================
    
    
  • [Python] [sechrest@jas.peak.org: [lug] Coding in Corvallis]



    Bob MillerTue Oct 31 10:16:10 PST 2006

    Forwarded to the EUGLUG Python list.
    
    ----- Forwarded message from John Sechrest <sechrest at jas.peak.org> -----
    
    From: John Sechrest <sechrest at jas.peak.org>
    Date: Tue, 31 Oct 2006 09:14:49 -0800
    Subject: [lug] Coding in Corvallis
    To: lug at peak.org
    X-Google-Sender-Auth: e7d753ebc7d2f852
    
    I am reading at the Google Code site about a Usability sprint that was
    held recently at
    http://google-code-updates.blogspot.com/2006/10/floss-usability-sprint.html
    
    I wonder if we have critical mass of programmers to do things like
    these coding sprints, or things like the Recent Changes camp
    (http://www.recentchanges.org)
    or the portland BarCamp (http://barcamp.org/BarCampPortland).
    
    Do we have critical mass in Corvallis and with the 1,000,000 people
    within 50 miles of corvallis to start setting up events focused on
    programmers?
    
    The SAO local chapter is thinking of setting up a Technical Sig (
    special interest group).
    
    If you are a programmer or you know a programmer who would find it
    interesting to participate in regular activities that are highly
    technical and involve actual programming and expecially if you are
    interested in Open Source Coding,
    Please drop me a note and let me know what kinds of things would
    benefit you the most. Please spread the word about this.
    
    
    
    -- 
    John Sechrest          .
    Corvallis Benton        .
       Chamber Coalition      .
          420 NW 2nd                   .
                 (541) 757-1505              . sechrest at corvallisedp.com
                                                                         .
    
                .
    
    ----- End forwarded message -----
    
    -- 
    Bob Miller                              K<bob>
                                            kbob at jogger-egg.com
    
  • [Eug-lug] mysqldump equivalent for MS SQL 2000?



    Ben BarrettMon Oct 30 15:21:54 PST 2006

    http://davidhayden.com/blog/dave/archive/2006/01/13/2692.aspx
    or even
    http://mdid.org/mdidwiki/index.php?title=3DHow_to_export_data_from_SQL_Serv=
    er_2000_to_XMLif
    you re-imported,
    but I'm guessing you want table definitions too.
    
    or:  Can you restore a table backup to a differently-named table?
    
    sorry, that's all I got
    
       ben
    
    
    On 10/30/06, Quentin Hartman <qhartman at gmail.com> wrote:
    >
    > I'm needing to copy all of the contents of one MS SQL 2000 server to
    > another. In MySQL, I'd just "mysqldump --all-databases" and get on
    > with life. However, there doesn't seem to be an equivalent tool for MS
    > SQL that will do everything on the server and get the stored
    > procedures and auth info and whatnot. The DTS built in to MS SQL 2000
    > could work, but that requires explicitly naming each database I want
    > to copy, which won't be feasible in the long run because the number of
    > databases on this machine is constantly growing. All the commercial
    > third-party applications I've looked at are similarly
    > database-centric, with no good way to "give me everything" in any sort
    > of scriptable way. I want a very stupid tool, and everything I've
    > found tries to be too smart!
    >
    > Any thoughts or recommendations would appreciated!
    >
    > --
    > -Regards-
    >
    > -Quentin Hartman-
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    >
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: http://euglug.org/pipermail/euglug/attachments/20061030/69c5aa4f/attac=
    hment.htm
    
  • [Python] Python 2.5 __missing__()



    Bob MillerFri Oct 27 15:21:59 PDT 2006

    Rob Hudson wrote:
    
    > Hey, that's cool.  :)
    > 
    > How do you know what's going to be passed to __missing__()?  Is it 
    > always the same as __call__()?
    
    fib is a dict.  Whenever fib[k] is referenced where k is not
    in the dict, the __missing__ method is called.
    
    The __call__ method is just there so you can treat it like
    a function.  fib(3) is equivalent to fib[3].
    
    In the Fibonacci example, the __missing__ method puts the entry into
    the dict.  In another example, it might throw an exception on
    Thursdays.
    
        >>> class Sillier(dict):
        ...     def __missing__(self, key):
        ...         if time.localtime().tm_wday == 3:
        ...             raise NeverCouldGetTheHangOfThursdays()
        ...         self[key] = 'silly'
        ...     return self[key]
        ... 
        >>> s = Sillier()
        >>> s['a'] = 1
        >>> s['a']
        1
        >>> s['b']           # on Friday
        'silly'
        >>> s['b']           # on Thursday
        Traceback (most recent call last):
          File "<stdin>", line 1, in <module>
          File "<stdin>", line 3, in __missing__
        __main__.NeverCouldGetTheHangOfThursdays
    
    > Bob Miller wrote:
    > >Python 2.5 allows classes derived from dict to define a
    > >__missing__(self, key) method.  That means that you can write a
    > >memoized function like this.
    > >
    > >    >>> class MemoFibonacci(dict):
    > >    ...     def __missing__(self, n):
    > >    ...         self[n] = 1 if n < 2 else self[n - 1] + self[n - 2]
    > >    ...         return self[n]
    > >    ...     def __call__(self, n):
    > >    ...         return self[n]
    > >    ...
    > >    >>> fib = MemoFibonacci()
    > >    >>> [fib(i) for i in range(7)]
    > >    [1, 1, 2, 3, 5, 8, 13]
    > >
    > >Note the gratuitous use of a conditional expression too. (-:
    > >
    > _______________________________________________
    > Python mailing list
    > Python at euglug.org
    > http://www.euglug.org/mailman/listinfo/python
    
    -- 
    Bob Miller                              K<bob>
                                            kbob at jogger-egg.com
    
  • [Eug-lug] Ubuntu and Nautilus



    Garl GrigsbyFri Oct 27 15:00:41 PDT 2006

    Bob Miller wrote:
    > Garl Grigsby wrote:
    >
    >   
    >> For the archives, here is how you do it:
    >>    sudo apt-get install nautilus-open-terminal
    >>
    >> Then log out and back in. Easy Peasy.
    >>     
    >
    > Darn, this Linux stuff is getting too easy.  No challenge anymore.
    >
    >   
    The challenge is sifting through the google-noise.
    
  • [Eug-lug] Ubuntu and Nautilus



    Garl GrigsbyFri Oct 27 14:09:24 PDT 2006

    First to Bob, thanks. You tip on wpa-supplicant narrowed my google 
    enough and I think I've got the WPA thing figured out. Two packages 
    called network-manager and network-manager-gnome were the key. I can how 
    click on the Network manager icon, select the SSID of the router I want 
    and enter the pass phrase. WPA supplicant is still required but I can do 
    it all from the gooey.
    
    Now, for my real question. I want to add an 'Open Shell Here' option to 
    the RMB list in Nautilus. I've tried googling for an idea of how to do 
    this but have had no luck. Anybody know how to add options to this menu?
    
    Thanks,
    Garl
    
  • [Eug-lug] 2 default routes?



    Mark TurnerFri Oct 27 10:28:11 PDT 2006

    On 10/27/06, Alan <euglug at thebucks.net> wrote:
    >
    > On Thu, 26 Oct 2006 15:58:07 -0700, Bob Crandell <bob at assuredcomp.com>
    > wrote:
    >
    > >> >
    > >> > I'm open to suggestions.
    > >> >
    > >>
    > >> Is the idea to have the T-1 and DSL be redundant and failover, or just
    > >>  to separate the traffic, or?
    > >>
    > >> -ajb
    > >>
    > > Separate the traffic.
    >
    > The easiest solution would seem to be just adding another NIC and binding
    > the service only to the NIC appropriate for that service.
    > So if, eth0 was DSL and eth1 the T-1, then bind email to eth0 and www to
    > eth1.
    >
    > They will then answer only on the interface you want them to.
    >
    > -ajb
    
    
    
    Or you could just add an alias to the existing card and new IP information
    and bind the services to each IP.
    
    -Mark
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: http://euglug.org/pipermail/euglug/attachments/20061027/50593ec8/attac=
    hment.htm
    
  • [Python] Python 2.5 __missing__()



    Rob HudsonFri Oct 27 08:28:26 PDT 2006

    Hey, that's cool.  :)
    
    How do you know what's going to be passed to __missing__()?  Is it 
    always the same as __call__()?
    
    -Rob
    
    Bob Miller wrote:
    > Python 2.5 allows classes derived from dict to define a
    > __missing__(self, key) method.  That means that you can write a
    > memoized function like this.
    > 
    >     >>> class MemoFibonacci(dict):
    >     ...     def __missing__(self, n):
    >     ...         self[n] = 1 if n < 2 else self[n - 1] + self[n - 2]
    >     ...         return self[n]
    >     ...     def __call__(self, n):
    >     ...         return self[n]
    >     ...
    >     >>> fib = MemoFibonacci()
    >     >>> [fib(i) for i in range(7)]
    >     [1, 1, 2, 3, 5, 8, 13]
    > 
    > Note the gratuitous use of a conditional expression too. (-:
    > 
    
  • [Python] Python 2.5 __missing__()



    Bob MillerFri Oct 27 07:43:09 PDT 2006

    Python 2.5 allows classes derived from dict to define a
    __missing__(self, key) method.  That means that you can write a
    memoized function like this.
    
        >>> class MemoFibonacci(dict):
        ...     def __missing__(self, n):
        ...         self[n] = 1 if n < 2 else self[n - 1] + self[n - 2]
        ...         return self[n]
        ...     def __call__(self, n):
        ...         return self[n]
        ...
        >>> fib = MemoFibonacci()
        >>> [fib(i) for i in range(7)]
        [1, 1, 2, 3, 5, 8, 13]
    
    Note the gratuitous use of a conditional expression too. (-:
    
    -- 
    Bob Miller                              K<bob>
                                            kbob at jogger-egg.com
    
  • [Eug-lug] installing firefox add-ons



    Ben BarrettWed Oct 25 13:48:45 PDT 2006

    Ahah, sorry I didn't catch your own followup before I tried to help :)
    
    A few questions:  What OS?  Is this on linux?
    Did you restart FF after attempting to enable installation of add-ons?
    (check the process list to make sure)
    
    IIRC, FF by default allows extensions to be installed from mozilla.org --
    there are some nifty extensions elsewhere and those sites do need to be
    permitted.
    
    HTH again,   Ben
    
    
    On 10/25/06, dooger watts <mikemcoo at efn.org> wrote:
    >
    > OK, I notice, when I click on the "install Add-on" button, an info bar
    > shows up saying "software installation is disabled.  Click Edit Options
    > to enable it and try again."
    >
    > There doesn't seem to be any reference to software installation when I
    > "Click Edit Options."  Under Options/Content, there's an option to "warn
    > me when websites try to install extensions or themes," which is unchecked.
    >
    > But checked or unchecked, I still can't install add-ons. Even when I
    > check it and add the mozilla address as an allowed exception, the add-on
    > still won't install.
    >
    > Wha?
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: http://euglug.org/pipermail/euglug/attachments/20061025/24785dff/attac=
    hment.htm