Skip to topic | Skip to bottom
Home
Socialtools
login



Socialtools.TechNotesr1.1 - 12 Jul 2005 - 10:04 - TWikiGuesttopic end

Start of topic | Skip to actions


-- ToniPrug - 12 Jul 2005 10:03:18



making button images online, like rss2feed.png -- ToniPrug - 12 Jul 2005 08:17:20



  • http://search.cpan.org/perldoc?Want - This module generalises the mechanism of the wantarray function, allowing a function to determine in some detail how its return value is going to be immediately used. -- ToniPrug - 21 Mar 2005 15:44:23


more on TRAITS: there's an interesting thread on perl6-language list about both general concept of traits and the way it will be implemented in Perl6 :

        "Yes, that's a very good paper, which is why Perl 6 now has something
        called Roles, which are intended to degenerate either to Traits or
        Interfaces.  My take on it is that Roles' most important, er, role
        will be to abstract out the decision to compose or delegate.  But we'd
        like them to function as interfaces when the Role is "abstract",
        and we'd like them to function as Traits when you don't happen to
        specify any state attributes.  But for hiding the delegation decision,
        you at least have to allow the amount of state that lets you remember
        the object you're delegating to.  Of course, the Traits paper didn't
        go into traits with state, though it did mention it as a future research
        topic.  We're just doing that future research for them."

-- ToniPrug - 03 Mar 2004


Multiple inheritance is bad? Interfaces as a compromise? Not sure.
How about wanting to reuse chunk of code in several interface implementations?

While working on Stac i came across the problem of code reuse. Neither interfaces, nor multiple inheritance solve the problem well, at least not from the perspective of perl. Both techniques are far too rigid for what i needed. So, i searched for a solution and came across Class::Role, perl implementation of new OO concept of code reuse, TRAITS . Concept is well explained in this http://www.cse.ogi.edu/~black/publications/TR_CSE_02-012.pdf . There's traits prototype in Squeak, a research website, product of Software Composition Group at the Computer Science Institute of the University of Berne, Switzerland.

-- ToniPrug - 03 Mar 2004


Ben Collin's essay on Subversion at http://www.red-bean.com/sussman/svn-anti-fud.html

  From the start, the Subversion project has always had a "fundamental axiom":

      CVS is an excellent, proven model for version control; it just wasn't implemented well.

  We're not polishing a turd, but rather a diamond in the rough. 
  Subversion takes the CVS model and adds directory versioning, atomic commits, database
  backend, versioned metadata, efficient binary handling, flexible network abilities,
  and a solid C API. It's what CVS should have been in the first place.

-- ToniPrug - 28 Feb 2004


Compiling Curses.pm on FreeBSD was broken. OS X perl list has a solution that works:

The solution I found was to set gcc 2 via

% sudo gcc_select 2

and to copy the hints file appropriate to freebsd: in the expanded
Curses-1.06 directory just use...

% cp hints/c-freebsd.ncurses.h c-config.h

[ full email ]

-- ToniPrug - 28 Jan 2004


From Debian Weekly News:

MD/Software RAID Support in debian-installer. Paul Fleischer [28]announced that he has been working on getting MD support into [29]debian-installer. He has prepared a mdadm-udeb package and a mdcfg udeb package, which contains the debconf stuff needed for setup, and the necessary block file for partconf. Paul has [30]made the [31]source packages available, although the process currently fails when trying to configure a kernel for the system, requiring the user to install mdadm on the target partition, and retry the operation.

28. http://lists.debian.org/debian-boot-0401/msg02298.html 29. http://www.debian.org/devel/debian-installer/ 30. http://lists.debian.org/debian-boot-0401/msg02337.html

31. http://proguy.dk/d-i/

-- ToniPrug - 28 Jan 2004


eepro100 driver doesn't support Intel IPSec LAN cards, because intel didn't release any docs - mail from eepro100 list. here's a bit for paranoia from linux-crypto list which says although multiple people requested such support from Intel (their own Linux drivers don't support IPSec features), they haven't done it:

     Some of my more paranoid friends believe that the reason they do not 
     support it is that the chipset is backdoored or has some other GAKage.

-- ToniPrug - 27 Jan 2004


lsof - Unix administrative tool called lsof (for List Open Files) that displays information about files open to Unix processes, very useful when dealing with new applications and trying to find out what files does it open. Another useful tool for similar investigation is fam - the File Alteration Monitor, provides an API that applications can use to be notified when specific files or directories are changed. There's a perl wrapper around it SGI::FAM, that works fine on debian (fam_example.pl in my home dir on valter), but dies with an error on FreeBSD.

-- ToniPrug - 23 Jan 2004


dummynet - tool for banwith managent. can act as a bridge too, from a single floppy! - more instructions.
Useful for limiting bandwith on DSL lines, both in/out going. xBSD only. bill used it, and it worked great for him.

-- ToniPrug - 21 Jan 2004
to top


Socialtools.TechNotes moved from Socialtools.LondonPossiblyUsefulNotes on 28 Nov 2004 - 10:08 by ToniPrug - put it back
You are here: Socialtools > TechNotes

to top

Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Open-org? Send feedback