Friday, June 6, 2008

Software Development Tools - BioPAX Wiki

Software Development Tools - BioPAX Wiki
*

Protege [WWW] http://protege.stanford.edu/ - The defacto standard for editing OWL. Written using the Jena framework. Warning: Protege uses the [WWW] DIG protocol to communicate with a reasoner. DIG is not able to fully represent OWL-DL ontologies and so conclusions of the reasoner are suspect when warnings about unsupported constructs are given in the reasoner progress window in Protege.
*

SWOOP [WWW] http://www.mindswap.org/2004/SWOOP/ - A lightweight browser of OWL documents written using the OWL API library. Much faster than Protege. See their page on [WWW] debugging using SWOOP
*

SWeDE [WWW] http://owl-eclipse.projects.semwebcentral.org/ - The Semantic Web Development Environment is an extensible framework for integrating new and existing tools for the Semantic Web. The toolkit, built on the Eclipse IDE includes an OWL editor with helpful features like syntax highlighting, autocompletion, and error-detection. It also currently integrates existing tools like the OWL Validator, Kazuki (OWL to Java code generator), and DumpOnt (Ontology Visualizer)..
*

[WWW] OWL Ontology HTML Presentation Service Drop in a URL of an OWL ontology and browse the ontology in html. Quick and Dirty.

Wednesday, June 4, 2008

Robert Price - What Is An RDF Triple?

Robert Price - What Is An RDF Triple?: "Shelley Powers, in her excellent book Practical RDF, helpfully describes triples as the following.

* Each RDF triple is made up of subject, predicate and object.
* Each RDF triple is a complete and unique fact.
* An RDF triple is a 3-tuple, which is made up of a subject, predicate and object - which are respectively a uriref or bnode; a uriref; and a uriref, bnode or literal.
* Each RDF triple can be joined with other RDF triples, but it still retains its own unique meaning, regardless of the complexity of the models in which it is included."

Robert Price - What Is An RDF Triple?

Robert Price - What Is An RDF Triple?

Wednesday, April 16, 2008

Manual:Intro:Class Design cn - Learn About the Ext JavaScript Library

Manual:Intro:Class Design cn - Learn About the Ext JavaScript Library: "你必须使用prototype对象:

// 我们定义了一个prototype对象的一个方法
myClass.prototype.sharedMethod = function() { alert('I'm a shared method') }

// 显示我们的信息
A.sharedMethod();

// 相同的信息
B.sharedMethod();

There is no method named sharedMethod in the myClass definition. Javascript looks for a method with this name in the prototype object of myClass and calls it if it exists. 在myClass定义中并没有一个名为sharedMethod的方法。Javascript会在myClass相关联的prototype对象中寻找与该方法名相同的方法,如果存在的话,Javascript则调用该方法。"

Manual:Intro:Class Design - Learn About the Ext JavaScript Library

Manual:Intro:Class Design - Learn About the Ext JavaScript Library: "// We define a method of the prototype object Ext.apply(myClass.prototype, { defaultClassName: 'x-widget-class', sharedMethod: function() { alert('I'm a shared method') } }); // Display our message A.sharedMethod(); // Same message B.sharedMethod();"

Monday, April 7, 2008

Ext JS Blog - » IDEs, plugins and tools for Ext JS 2.0

* Download and install Aptana Studio (includes Eclipse).
* Start Aptana and navigate the application menu to: Help → Software Updates → Find and Install… → Search for new features to install → New remote site…
* Name: “Spket”, Url: “http://www.spket.com/update/”
* Restart Aptana
* Watch this Spket IDE Tutorial to see how to easily add Ext code assist (you can point it at the latest /src/ext.jsb to keep code assist up to date with the latest Ext version). The steps are basically:
o Window → Preferences → Spket → JavaScript Profiles → New
o Enter “ExtJS” and click OK
o Select “ExtJS” and click “Add Library”, then choose “ExtJS” from the dropdown
o Select “ExtJS” and click “Add File”, then choose the “ext.jsb” file in your “./ext-2.x/source” directory
o Set the new ExtJS profile as the default by selecting it an clicking the “Default” button on the right-hand side of the “JavaScript Profiles” dialog.
o Restart Aptana
o Create a new JS file and type: Ext. and you should get the Ext Code completion options.

Sunday, April 6, 2008

Ext JS - JavaScript Library

Ext JS - JavaScript Library: "Finally it is possible to create sweet user- experiences for the web (cross-browser!!) without spending 2 months hating and fighting in javascript. This library has made me believe in web2.0 again.
— Steinar M."

Thursday, March 27, 2008

Tech Talk about C++ Templates / Comeau C++ Template FAQ

Tech Talk about C++ Templates / Comeau C++ Template FAQ: "What's the export keyword about?
Why do I get a link error when compiling my templates?
Although Standard C++ has no such requirement, some compilers require that all function templates need to be made available in every translation unit that it is used in. In effect, for those compilers, the bodies of template functions must be made available in a header file. To repeat: that means those compilers won't allow them to be defined in non-header files such as .cpp files. To clarify, in C++ese this means that this:

// ORIGINAL version of xyz.h
template
struct xyz
{
xyz();
~xyz();
};

would NOT be satisfied with these definitions of the ctor and dtors:

// ORIGINAL version of xyz.cpp
#include 'xyz.h'

template
xyz::xyz() {}

template
xyz::~xyz() {}

because using it:

// main.cpp
#include 'xyz.h'

int main()
{
xyz xyzint;

return 0;
}

will produce an error. For instance, with Comeau C++ you'd get:

C:\export>como xyz.cpp main.cpp
C++'ing xyz.cpp...
Comeau C/C++ 4.3.4.1 (May 29 2004 23:08:11) for MS_WINDOWS_x86
Copyright 1988-2004 Comeau Computing. All rights reserved.
MODE:non-stric"

Wednesday, March 26, 2008

Flex 3 "1 item" problem

private function resultHandler(event:ResultEvent):void{
if(event.result.eSummaryResult == null){
message.text="No search result found";
}else if(event.result.eSummaryResult.DocSum is ObjectProxy){
docsum = new ArrayCollection( [event.result.eSummaryResult.DocSum]);
}else{
docsum = event.result.eSummaryResult.DocSum as ArrayCollection;
}
}

Monday, March 24, 2008

Install PHP 5 Apache MySQL on Windows : WampServer

Install PHP 5 Apache MySQL on Windows : WampServer: "WampServer 2.0b [03/07/2008]
Includes :
- Apache 2.2.8
- MySQL 5.0.51a
- PHP 5.2.5"

Adobe - Flex cookbook beta

Adobe - Flex cookbook beta

HTTPservice unable to load local XML file

Flex 3 - Adobe Flex 3 Help: "#2148

This error occurs when you try to open an application that uses RSLs in the standalone player or in the browser by using the file system and not a server. It means that you are violating the security sandbox of Flash Player by trying to load file resources.

You must deploy your application and RSLs to a network location, and request the application with a network request so that Flash Player will load the RSL.

If you are testing the application locally, you can add the directory to your Player trust file to avoid this error."

Sunday, March 23, 2008

Auslogics Disk Defrag - Reviews and free Auslogics Disk Defrag downloads at Download.com

Auslogics Disk Defrag - Reviews and free Auslogics Disk Defrag downloads at Download.com

Disk fragmentation leads to system slowdowns, PC crashes, slow startup and shutdown and sometimes to system failures. Auslogics Disk Defrag is designed for fast optimization of today's modern hard disks. Get the maximum performance out of your expensive hardware investments. Version 1.4.13 is a bug fixing release.

Saturday, March 22, 2008

NetBeans Blogging Contest

NetBeans Blogging Contest:

NetBeans IDE 6.1 Beta Blogging Contest
Blog about NetBeans IDE 6.1 Beta for...
10 chances to win a $500 American Express Gift Certificate!
100 chances to win a cool NetBeans T-Shirt!

Simply:

1. Download the NetBeans IDE 6.1 Beta (or later release) and try it out.
2. Blog about it!
3. Submit the URL to your blog.
4. Do it before April 18, 2008!

Getting Started with JAXB - NetBeans IDE 6.0 Tutorial

Getting Started with JAXB - NetBeans IDE 6.0 Tutorial: "The Java Architecture for XML Binding API (JAXB) makes it easy to access XML documents from applications written in the Java programming language. This document shows you how NetBeans IDE 6.0 provides tooling support for JAXB, principally by means of a wizard that turns various types of XML documents into Java classes. Starting with a given WSDL file, we will generate Java classes and then do something with them."

Exon

Exon