Skip to main content

Home/ Coders/ Group items matching "wiki" in title, tags, annotations or url

Group items matching
in title, tags, annotations or url

Sort By: Relevance | Date Filter: All | Bookmarks | Topics Simple Middle
Matteo Spreafico

Classical Inheritance in JavaScript - 0 views

  • function ZParenizor2(value) { var that = new Parenizor(value); that.toString = function () { if (this.getValue()) { return this.uber('toString'); } return "-0-" }; return that; }
    • Matteo Spreafico
       
      This constructors lies, wondeful!
  • Again, we augment Function. We make an instance of the parent class and use it as the new prototype. We also correct the constructor field, and we add the uber method to the prototype as well.
  • This adds a public method to the Function.prototype, so all functions get it by Class Augmentation. It takes a name and a function, and adds them to a function's prototype object.
  • ...3 more annotations...
  • To make the examples above work, I wrote four sugar methods. First, the method method, which adds an instance method to a class. Function.prototype.method = function (name, func) { this.prototype[name] = func; return this; };
  • JavaScript can be used like a classical language, but it also has a level of expressiveness which is quite unique. We have looked at Classical Inheritance, Swiss Inheritance, Parasitic Inheritance, Class Augmentation, and Object Augmentation. This large set of code reuse patterns comes from a language which is considered smaller and simpler than Java.
  • I have been writing JavaScript for 8 years now, and I have never once found need to use an uber function. The super idea is fairly important in the classical pattern, but it appears to be unnecessary in the prototypal and functional patterns. I now see my early attempts to support the classical model in JavaScript as a mistake.
Joel Bennett

TestDisk - CGSecurity - 0 views

  •  
    TestDisk is powerful free data recovery software, designed to help recover lost partitions and/or make non-booting disks bootable again -- particularly when these symptoms are caused by faulty software, certain types of viruses or human error (such as accidentally deleting a Partition Table). Partition table recovery using TestDisk is really easy!
David Corking

Object Vs Model - 0 views

shared by David Corking on 11 Jun 09 - Cached
  • Data Hiding simply doesn't make sense with regards to a reflective system where the data must regularly be updated by observers of reality (i.e. by one or more actors) and where the data inherently comes from the outside. This is, perhaps, one source of ObjectRelationalImpedenceMismatch?. Relational is designed for modeling data that came from an outside world whilst object-oriented is designed to... well... create and manipulate objects
    • David Corking
       
      why data hiding makes no sense in some programs
  • You can make them work together until you try to add virtualization - abstract objects for which the associated data isn't known.
David Corking

Mobile Wiki Server for iPhone - Welcome - 0 views

  •    April 26th 2009 1.3.5 Pending Approval
    • David Corking
       
      Does this mean "pending approval by Apple for the app store"?
  •  
    I can't see the point of having a wiki web server in your pocket but that is probably my failing. Maybe it is handy as a private notebook you can also share informally. This is the first finished Squeak application for the iPhone.
David Corking

The APIs for the Sun Cloud: Wiki: HelloCloud - Project Kenai - 0 views

  • . Let's assume that this application does storage and retrieval of large media files; the required infrastructure is: A firewall appliance for connecting to the Internet A private network connecting the firewall to other systems A Linux web server running a LAMP stack A Solaris database machine running MySQL for application persistence A WebDAV server for the media files
    • David Corking
       
      Soon you will be able to write scripts to install "Virtual Data Centers" There seems to be a temptation here to make a virtual data center as complex as a real one - perhaps that is necessary, but this technology is in its early stages. Right now, I wonder if a virtual firewall appliance is as secure or fast as a real one.
  •  
    Certain kinds of deployment are much more efficiently achieved with virtual servers. This article is a simple and almost hands-on introduction to the way a Sun Cloud deployment can be scripted or have another automated front end for deployment.
anonymous

Tailor - DarcsWiki - 1 views

  •  
    Tailor is a tool to migrate or replicate changesets between ArX, Bazaar, Bazaar-NG, CVS, Codeville, Darcs, Git, Mercurial, Monotone, Subversion and Tla repositories.
  •  
    Thanks for bookmarking this - if it works well, it is likely to lower the barriers to adoption of advanced source control tools like Darcs.
Joel Bennett

PsTFS - CodePlex - 0 views

  •  
    TFSProvider allows you to navigate a TFS server's: WorkItems, SourceControl, TeamProject ... in PowerShell.
Joel Bennett

Comparison of JavaScript-based source code editors - Wikipedia, the free encyclopedia - 0 views

  •  
    EditArea and CodeMirror are clearly winners here.
Fabien Cadet

Why Singletons Are Controversial - google-singleton-detector - A brief explanation of the problems with singletons. - Google Code - 0 views

  •  
    * Introduce a global state in the program, hide the dependencies. * Test-driven development: classes become tightly coupled with the singleton. Need to test the singleton along with the class to be tested initially.
Joel Bennett

Sumo Linux Project - 0 views

  •  
    "one DVD or USB drive with the best security tools available" (and it's "by" my brother ;) )
Xiaobin Huang

LiteratePrograms - 0 views

  •  
    LiteratePrograms is a unique wiki where every article is simultaneously a document and a piece of code that you can view, download, compile, and run by simply using the "download code" tab at the top of every article.
Joel Bennett

Expect - Wikipedia - 0 views

  •  
    Expect is an extension to the Tcl scripting language to create an automation and testing tool for CLI applications such as telnet, ftp, passwd, fsck, rlogin, tip, ssh, et., and because it wraps the standard command-line interface, it can be used to automate any arbitrary applications that are accessed over a terminal.
Joel Bennett

LibreSource - 0 views

  •  
    LibreSource is an Open Source web portal like Trac ... gathering in one place all the necessary tools to share and communicate with a project team ...
Kevin O'Neill

The 7 Software "-ilities" You Need To Know - 0 views

  • 1. Usability Software usability can be described as how effectively end users can use, learn, or control the system
  • 2. Maintainability ( or Flexibility / Testibility) The definition of maintainability [for me] implies how brittle the code is to change
  • 3. Scalability Scalability is the ability for your program to gracefully meet the demand of stress caused by increased usage
  • ...4 more annotations...
  • 4. Availability (or Reliability) How long the system is up and running and the Mean Time Between Failure (MTBF) is known as the availability of a program
  • 5. Extensibility Are there points in the system where changes can be made with (or without) program changes?
  • 6. Security I shouldn’t need to go into this one but to be thorough I like this definition of security: the measure of system’s ability to resist unauthorized attempts at usage or behavior modification, while still providing service to legitimate users.
  • 7. Portability Portability is the ability for your application to run on numerous platforms.
Denis Gobo

ASP.NET Hacks - 0 views

  •  
    Awesome collection of ASP.NET hacks
knowuh not saying

Comparison of hex editors - Wikipedia, the free encyclopedia - 0 views

  •  
    Wikipedia article which does a good job of comparing all the myriad of available hex editors. I found it very useful. I will be returning.
Denis Gobo

SQL Server Programming Hacks - 0 views

  •  
    This is a collection of SQL hacks, right now we there are 8 sections and between 70 and 80 hacks.
Joel Bennett

SgmlReader 1.7.2 - Open Garden - 0 views

  • The original community around SgmlReader used to be hosted by GotDotNet, but is now being phased out.
  •  
    SgmlReader was a source reference assembly from Microsoft which allows parsing Html as Xml -- that is, it takes poor, and even invalid Html and converts it to XHtml and gives you an XmlReader or XmlDocument from it.
« First ‹ Previous 41 - 60 of 80 Next ›
Showing 20 items per page