Data Discovery Applications - The TEC Blog: Data discovery tools are specifically aimed at connecting users to a wide variety of data source types (structured, semi-structured, and non-structured) and enabling users to freely explore the data within. There are no predefined data drill paths, so users can interact with data the way they want to and easily create visualizations that suit their own purposes. As such, they boast a flexibility and freshness that traditional BI solutions might find hard to match.
...
letting users explore data and discover insight without having formed a specific question
...
For now, some organizations (especially large ones) rely on full-fledged traditional BI applications to cover all their BI needs, but data discovery tools are gaining presence in the small to medium business (SMB) market.
...
Data discovery is akin to a spreadsheet on steroids
Showing posts with label software. Show all posts
Showing posts with label software. Show all posts
2012-09-10
2012-05-03
How to reset UltraEdit to factory settings?
In Windows Explorer in the address bar at top of the window enter following
%appdata%\IDMComp\UltraEdit\
and press Return or Enter to open this directory.
You will see some files, delete all of them while UltraEdit is not running.
Credits: Mofi at UltraEdit forums
2012-04-17
How to reset UltraEdit settings?
In Windows Explorer in the address bar at top of the window enter following
%appdata%\IDMComp\UltraEdit\
and press Return or Enter to open this directory.
You will see some files, delete all of them when UltraEdit is not running.
Source: IDM Forum
%appdata%\IDMComp\UltraEdit\
and press Return or Enter to open this directory.
You will see some files, delete all of them when UltraEdit is not running.
Source: IDM Forum
2012-03-29
STEP back
Recently I was asked to do a small demo of the STEP Framework.
I picked the last version I worked on: STEP Tough, instrumented for performance monitoring.
1. I checked out the source code from SourceForge:
svn co https://stepframework.svn.sourceforge.net/svnroot/stepframework/branches/1_4_toughstep_maintenance toughstep
2. I installed stepcat 1.4-6.0.14, meaning that it contains the libraries for STEP 1.4 and runs Apache Tomcat 6.0.14
Here is stepcat's readme:
"
*********************
*** Tomcat for STEP ***
*********************
This file summarizes the installation procedure and describes the
configuration changes made to prepare the package.
The package version number refers to the supported STEP Framework version and
to the Apache Tomcat version.
Please refer to webapps/ROOT/index.html for the listing of other included and
recommended software versions.
--
Installation guide:
1 - Install recommended JDK
2 - Install recommended database
3 - Unzip package
4 - Define environment variables
JAVA_HOME C:\java\jdk\1.6.0_18
CATALINA_HOME C:\temp\stepcat-1.x-6.0.14
ANT_HOME C:\temp\stepcat-1.x-6.0.14\apache-ant
STEP_HOME C:\temp\stepcat-1.x-6.0.14
5 - Extend PATH environment variable to include:
%JAVA_HOME%\bin;%ANT_HOME%\bin;%CATALINA_HOME%\bin;
6 - Open new console and test command line tools:
java -version
javac -version
wsimport -version
xjc -version
ant -version
catalina version
7 - The server comes configured to run in C:\temp\stepcat-1.x-6.0.14.
To change configuration to a different location
execute 'ant -f bin\relocate.xml' in the new location.
8 - Start server
catalina start
browse http://localhost:8080
--
This is a replicable server version.
To change the server ports, replace all occurrences of the following numbers:
8080 - HTTP Port
8005 - Admin Port
8443 - HTTPS Port
The most important changes to make are in the conf folder.
These changes can be automated using Ant.
Refer to 'bin\replicate-server.xml' for more information.
--
Package preparation steps:
Unzipped apache-tomcat-6.0.14.zip to stepcat-1.x-6.0.14
Unzipped apache-ant-1.7.1.zip to stepcat-1.x-6.0.14/apache-ant
Copied tail.exe (win32 binary) to stepcat-1.x-6.0.14/bin
Copied servlet-api.jar and jsp-api.jar to STEP lib
Copied all stepframework/lib jar files to stepcat-1.x-6.0.14/lib
stepframework/src/lib/stepframework.jar is NOT included.
(Applications will have to include this JAR themselves.
The rationale is to give developers more visibility of the framework's source code
and to allow easier modification and experimentation.)
Copied junit-4.5 to stepcat-1.x-6.0.14/apache-ant/lib/junit.jar and
to stepcat-1.x-6.0.14/lib/junit.jar
Deleted all stepcat-1.x-6.0.14/webapps except ROOT and manager.
Renamed stepcat-1.x-6.0.14/webapps/ROOT/index.html to
stepcat-1.x-6.0.14/webapps/ROOT/index-tomcat.html
Added new index.html to stepcat-1.x-6.0.14/webapps/ROOT
(added STEP logo, quick link to manager)
Added new user with the role manager to
stepcat-1.x-6.0.14/conf/tomcat-users.xml:
Documentations were moved to stepcat-1.x-6.0.14_docs
Added index.html to stepcat-1.x-6.0.14_docs.
created Eclipse User Library named 'STEP dependencies' including all
STEP framework dependency libraries, but not STEP itself.
Saved user library export file in 'eclipse/stepdeps.userlibraries'.
--
Acknowledgements:
Apache Software Foundation and
all other authors of used open-source software packages.
--
"
3. Next I installed/started MySQL 5.1
I created the databases 'flight' and 'mediator' and the user 'step' without password.
I then granted all rights for these databases to the user.
4. Next I compiled and deployed the Trip Planner demo application
I did everything except the test.
Here is stepframework\src readme:
"
STEP Framework Demo: Trip Planner
Table of contents
==============================
1. Introduction
2. Structure
3. Compiling
4. Installing
5. Deploying
6. Running
7. Testing
8. Extensions
1. Introduction
==============================
The Trip Planner is a system for selling trip packages via a web interface.
It is composed by several distributed systems, which act together through a
mediator that interacts with the clients.
This demonstration version of the Trip Planner supports booking a flight
and uses 3 demonstration Framework Extensions:
- hello - just says hi when it intercepts the services or web services
- trace - prints tracing data
- errors - allows creating test errors
Extensions enable the programmer to add code around the services layer
and around the Web Services layer, orthogonally to the application code.
Each extension can be enabled or disabled simply by editing the
extensions.properties configuration file.
2. Structure
==============================
The Trip Planner system is composed by 2 separate domains: flight and
mediator. The flight domain manages flight reservations. The mediator domain
mediates the interaction between client and the other reservation domains
(only the flight in this demonstration).
Conceptually, each application consists of 4 layers:
+--------------+
| Presentation |
+--------------+
| Services |
+--------------+
| Domain model |
+--------------+
| Data access |
+--------------+
These layers are developed in sub-sub-projects of the flight and the mediator
sub-projects. The entire project' structure is as follows:
.
|-- flight
| |-- core
| `-- view
`-- mediator
|-- core
|-- view
`-- web
Both 'core' sub-sub-projects implement all the layers from the bottom up to
the services layer. The 'view' sub-sub-projects implement the classes that
can be returned from the services to the presentation layer; this also
includes any exceptions that can be thrown. The 'web' sub-sub-project
implements the presentation layer of the mediator. There are no presentation
layers implemented for the flight domain.
3. Compiling
==============================
The project uses Apache Ant and the ImportAnt library. At each level there is
a build file that takes care of building the project at that specific level.
Thus, the entire project can be built simply by invoking at the top level:
$ ant
Note that Ant and JWSDP should be properly installed for this command to work.
4. Installing
==============================
Two databases must be configured before running the distributed applications.
By default these are:
- For flight:
database.host=localhost
database.name=flight
database.username=step
database.password=
- For mediator:
database.host=localhost
database.name=mediator
database.username=step
database.password=
Therefore, either:
- create the default databases on the localhost's mysql server with the
configured username and password access, or;
- change in the hibernate.cfg.xml and dbunit.properties files the database information
(flight-ws/src/hibernate.cfg.xml, flight-ws/tests/dbunit.properties, and
mediator-web/src/hibernate.cfg.xml, mediator-web/src/dbunit.properties).
Note: after making changes to the configuration propertied you should rebuild
you applications to ensure that the new values have been correctly propagated
to the packed jars. ("ant clean build" at the top level ensures that)
After the database locations are configured, we need to create the databases.
To create the tables execute at the top level:
$ ant hibernatetool
When executing creating the tables for the first time, some errors like the
following may appear:
"[hibernatetool] Error #1: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Table mediator.Client' doesn't exist"
They should all be ignored.
Then check that the tables have been correctly created in each database.
5. Deploying
==============================
It is now possible to deploy the flight and mediator applications. Each
application can be deployed by its own build.xml file, but for convenience
there is a top level ant target to do that. Execute:
$ ant deploy
If any of these application is already deployed use the corresponding
"redeploy" target instead.
6. Running
==============================
Point your favourite web browser to http://localhost:8080/mediator-web to start
using the application. Try booking a flight from Lisbon to New York!
7. Testing
==============================
Running tests in a distributed system requires all the tables to be stored
in the same database.
This is necessary because of the way that DBUnit populates data before each
test method.
The data populated for the tests can then be used for user testing the application.
To run tests for the distributed application, edit flight-ws/tests/dbunit.properties and
mediator-web/tests/dbunit.properties and set the same database in both.
Then, at the top level rebuild the applications and create the tables.
$ ant clean build hibernatetool
Then, redeploy the flight web service and mediator web application
$ ant redeploy
To run tests for one domain at a time:
$ ant run-tests-flight
$ ant run-tests-mediator
To run all tests:
$ ant run-tests
8. Extensions
==============================
To see output from the extension engine and from the extensions themselves,
look at the application server's log file.
Feel free to experiment with the extensions configuration files and source code.
The flight extensions configuration is located in flight-ws/src.
The mediator extensions configuration is located in mediator-web/src.
The logging produced by the extensions engine can be adjusted in the
log4j.properties files, for each component and application.
"
5. I used flight-perf's DomainDataGenerator to populate the database
6. Then I tested the application.
http://localhost:8080/mediator-web/
Before:
After:
--
It had been a long time since I had seen these screens.
There a lot of loose ends in the code and documentation, but they are mostly small things.
Most of all, I think you can still learn a lot from the source code.
Who knows what the future holds for the STEP Framework? :)
I picked the last version I worked on: STEP Tough, instrumented for performance monitoring.
1. I checked out the source code from SourceForge:
svn co https://stepframework.svn.sourceforge.net/svnroot/stepframework/branches/1_4_toughstep_maintenance toughstep
2. I installed stepcat 1.4-6.0.14, meaning that it contains the libraries for STEP 1.4 and runs Apache Tomcat 6.0.14
Here is stepcat's readme:
"
*********************
*** Tomcat for STEP ***
*********************
This file summarizes the installation procedure and describes the
configuration changes made to prepare the package.
The package version number refers to the supported STEP Framework version and
to the Apache Tomcat version.
Please refer to webapps/ROOT/index.html for the listing of other included and
recommended software versions.
--
Installation guide:
1 - Install recommended JDK
2 - Install recommended database
3 - Unzip package
4 - Define environment variables
JAVA_HOME C:\java\jdk\1.6.0_18
CATALINA_HOME C:\temp\stepcat-1.x-6.0.14
ANT_HOME C:\temp\stepcat-1.x-6.0.14\apache-ant
STEP_HOME C:\temp\stepcat-1.x-6.0.14
5 - Extend PATH environment variable to include:
%JAVA_HOME%\bin;%ANT_HOME%\bin;%CATALINA_HOME%\bin;
6 - Open new console and test command line tools:
java -version
javac -version
wsimport -version
xjc -version
ant -version
catalina version
7 - The server comes configured to run in C:\temp\stepcat-1.x-6.0.14.
To change configuration to a different location
execute 'ant -f bin\relocate.xml' in the new location.
8 - Start server
catalina start
browse http://localhost:8080
--
This is a replicable server version.
To change the server ports, replace all occurrences of the following numbers:
8080 - HTTP Port
8005 - Admin Port
8443 - HTTPS Port
The most important changes to make are in the conf folder.
These changes can be automated using Ant.
Refer to 'bin\replicate-server.xml' for more information.
--
Package preparation steps:
Unzipped apache-tomcat-6.0.14.zip to stepcat-1.x-6.0.14
Unzipped apache-ant-1.7.1.zip to stepcat-1.x-6.0.14/apache-ant
Copied tail.exe (win32 binary) to stepcat-1.x-6.0.14/bin
Copied servlet-api.jar and jsp-api.jar to STEP lib
Copied all stepframework/lib jar files to stepcat-1.x-6.0.14/lib
stepframework/src/lib/stepframework.jar is NOT included.
(Applications will have to include this JAR themselves.
The rationale is to give developers more visibility of the framework's source code
and to allow easier modification and experimentation.)
Copied junit-4.5 to stepcat-1.x-6.0.14/apache-ant/lib/junit.jar and
to stepcat-1.x-6.0.14/lib/junit.jar
Deleted all stepcat-1.x-6.0.14/webapps except ROOT and manager.
Renamed stepcat-1.x-6.0.14/webapps/ROOT/index.html to
stepcat-1.x-6.0.14/webapps/ROOT/index-tomcat.html
Added new index.html to stepcat-1.x-6.0.14/webapps/ROOT
(added STEP logo, quick link to manager)
Added new user with the role manager to
stepcat-1.x-6.0.14/conf/tomcat-users.xml:
Documentations were moved to stepcat-1.x-6.0.14_docs
Added index.html to stepcat-1.x-6.0.14_docs.
created Eclipse User Library named 'STEP dependencies' including all
STEP framework dependency libraries, but not STEP itself.
Saved user library export file in 'eclipse/stepdeps.userlibraries'.
--
Acknowledgements:
Apache Software Foundation and
all other authors of used open-source software packages.
--
"
3. Next I installed/started MySQL 5.1
I created the databases 'flight' and 'mediator' and the user 'step' without password.
I then granted all rights for these databases to the user.
4. Next I compiled and deployed the Trip Planner demo application
I did everything except the test.
Here is stepframework\src readme:
"
STEP Framework Demo: Trip Planner
Table of contents
==============================
1. Introduction
2. Structure
3. Compiling
4. Installing
5. Deploying
6. Running
7. Testing
8. Extensions
1. Introduction
==============================
The Trip Planner is a system for selling trip packages via a web interface.
It is composed by several distributed systems, which act together through a
mediator that interacts with the clients.
This demonstration version of the Trip Planner supports booking a flight
and uses 3 demonstration Framework Extensions:
- hello - just says hi when it intercepts the services or web services
- trace - prints tracing data
- errors - allows creating test errors
Extensions enable the programmer to add code around the services layer
and around the Web Services layer, orthogonally to the application code.
Each extension can be enabled or disabled simply by editing the
extensions.properties configuration file.
2. Structure
==============================
The Trip Planner system is composed by 2 separate domains: flight and
mediator. The flight domain manages flight reservations. The mediator domain
mediates the interaction between client and the other reservation domains
(only the flight in this demonstration).
Conceptually, each application consists of 4 layers:
+--------------+
| Presentation |
+--------------+
| Services |
+--------------+
| Domain model |
+--------------+
| Data access |
+--------------+
These layers are developed in sub-sub-projects of the flight and the mediator
sub-projects. The entire project' structure is as follows:
.
|-- flight
| |-- core
| `-- view
`-- mediator
|-- core
|-- view
`-- web
Both 'core' sub-sub-projects implement all the layers from the bottom up to
the services layer. The 'view' sub-sub-projects implement the classes that
can be returned from the services to the presentation layer; this also
includes any exceptions that can be thrown. The 'web' sub-sub-project
implements the presentation layer of the mediator. There are no presentation
layers implemented for the flight domain.
3. Compiling
==============================
The project uses Apache Ant and the ImportAnt library. At each level there is
a build file that takes care of building the project at that specific level.
Thus, the entire project can be built simply by invoking at the top level:
$ ant
Note that Ant and JWSDP should be properly installed for this command to work.
4. Installing
==============================
Two databases must be configured before running the distributed applications.
By default these are:
- For flight:
database.host=localhost
database.name=flight
database.username=step
database.password=
- For mediator:
database.host=localhost
database.name=mediator
database.username=step
database.password=
Therefore, either:
- create the default databases on the localhost's mysql server with the
configured username and password access, or;
- change in the hibernate.cfg.xml and dbunit.properties files the database information
(flight-ws/src/hibernate.cfg.xml, flight-ws/tests/dbunit.properties, and
mediator-web/src/hibernate.cfg.xml, mediator-web/src/dbunit.properties).
Note: after making changes to the configuration propertied you should rebuild
you applications to ensure that the new values have been correctly propagated
to the packed jars. ("ant clean build" at the top level ensures that)
After the database locations are configured, we need to create the databases.
To create the tables execute at the top level:
$ ant hibernatetool
When executing creating the tables for the first time, some errors like the
following may appear:
"[hibernatetool] Error #1: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Table mediator.Client' doesn't exist"
They should all be ignored.
Then check that the tables have been correctly created in each database.
5. Deploying
==============================
It is now possible to deploy the flight and mediator applications. Each
application can be deployed by its own build.xml file, but for convenience
there is a top level ant target to do that. Execute:
$ ant deploy
If any of these application is already deployed use the corresponding
"redeploy" target instead.
6. Running
==============================
Point your favourite web browser to http://localhost:8080/mediator-web to start
using the application. Try booking a flight from Lisbon to New York!
7. Testing
==============================
Running tests in a distributed system requires all the tables to be stored
in the same database.
This is necessary because of the way that DBUnit populates data before each
test method.
The data populated for the tests can then be used for user testing the application.
To run tests for the distributed application, edit flight-ws/tests/dbunit.properties and
mediator-web/tests/dbunit.properties and set the same database in both.
Then, at the top level rebuild the applications and create the tables.
$ ant clean build hibernatetool
Then, redeploy the flight web service and mediator web application
$ ant redeploy
To run tests for one domain at a time:
$ ant run-tests-flight
$ ant run-tests-mediator
To run all tests:
$ ant run-tests
8. Extensions
==============================
To see output from the extension engine and from the extensions themselves,
look at the application server's log file.
Feel free to experiment with the extensions configuration files and source code.
The flight extensions configuration is located in flight-ws/src.
The mediator extensions configuration is located in mediator-web/src.
The logging produced by the extensions engine can be adjusted in the
log4j.properties files, for each component and application.
"
5. I used flight-perf's DomainDataGenerator to populate the database
6. Then I tested the application.
http://localhost:8080/mediator-web/
Before:
After:
--
It had been a long time since I had seen these screens.
There a lot of loose ends in the code and documentation, but they are mostly small things.
Most of all, I think you can still learn a lot from the source code.
Who knows what the future holds for the STEP Framework? :)
2011-09-23
Screen capture
Screen captures are useful for most computer users. You might need to show a screen to someone for help, or to include a computer screen in a report, or just to keep a hard record of something you saw in your computer.
In Windows you can capture the screen using the "Print Screen" key. Just press it and then you can paste the image into any program capable of handling graphics. Also, if you want to capture just the active window, use "Alt" + "Print Screen".
If you want to automate the screen capture task or have additional control, I strongly recommend the Greenshot tool. It's very simple and very effective. And it's also open-source and free!
Also, since Vista, Windows also includes a snipping tool.
To complete the topic of screen capture, I also use the ScreenGrab Firefox extension. It's especially useful if you want to capture a complete web page, without having to scroll the window.
In Windows you can capture the screen using the "Print Screen" key. Just press it and then you can paste the image into any program capable of handling graphics. Also, if you want to capture just the active window, use "Alt" + "Print Screen".
If you want to automate the screen capture task or have additional control, I strongly recommend the Greenshot tool. It's very simple and very effective. And it's also open-source and free!
Also, since Vista, Windows also includes a snipping tool.
To complete the topic of screen capture, I also use the ScreenGrab Firefox extension. It's especially useful if you want to capture a complete web page, without having to scroll the window.
2011-06-20
New tools to help objects to communicate via the Net
Increasingly, the things people use on a daily basis can be connected to the Internet. Norwegian researchers are working to ensure that the Internet of Things operates as efficiently as possible.
A group of Norwegian researchers have been addressing this issue. In the research project Infrastructure for Integrated Services (ISIS) they have created a platform for developing and distributing applications for the Internet of Things. The platform encompasses a programming tool for developers, called Arctis and the website ISIS Store for downloading applications.
Source: The Research Council of Norway
2011-05-17
Green GPS calculates most fuel-efficient route
A new software interface reduces energy consumption in transportation systems.
Green GPS, developed by computer scientists at the University of Illinois at Urbana-Champaign, works like general GPS navigation, except that in addition to calculating the shortest and fastest routes, it also projects the most fuel-efficient route.
Read full story.
2010-10-13
Calibre
When I presented my suggestions for the Kindle, I forgot to mention the software that makes the e-book experience much more satisfying and avoids vendor lock-in: Calibre. It is a kind of iTunes for e-books.

If you have an e-book reader, I highly recommend using Calibre for managing your books. I recommend it even if you don't! :)

If you have an e-book reader, I highly recommend using Calibre for managing your books. I recommend it even if you don't! :)
2010-05-19
GNU Plotting
gnuplot homepage
On advice from several friends, I've decided to learn gnuplot to produce graphics for my work.
Demos
Windows installation:
1 - Download Windows package (e.g. gp440win32.zip)
2 - Unzip to a folder (e.g. C:\Program Files\gnuplot)
3 - Define environment variables:
3.1 - (optional) GNUPLOT_HOME = C:\Program Files\gnuplot
Add %GNUPLOT_HOME%\binary to your PATH environment variable
3.2 - GNUPLOT_LIB=
3.3 - (fonts for PNG output) GDFONTPATH=%windir%\FONTS
3.3 - (fonts for PNG output) GNUPLOT_FONTPATH=%windir%\FONTS
4 - Open a new console window and type gnuplot.exe or wgnuplot.exe.
(see README.Windows for more information)
On advice from several friends, I've decided to learn gnuplot to produce graphics for my work.
Demos
Windows installation:
1 - Download Windows package (e.g. gp440win32.zip)
2 - Unzip to a folder (e.g. C:\Program Files\gnuplot)
3 - Define environment variables:
3.1 - (optional) GNUPLOT_HOME = C:\Program Files\gnuplot
Add %GNUPLOT_HOME%\binary to your PATH environment variable
3.2 - GNUPLOT_LIB=
3.3 - (fonts for PNG output) GDFONTPATH=%windir%\FONTS
3.3 - (fonts for PNG output) GNUPLOT_FONTPATH=%windir%\FONTS
4 - Open a new console window and type gnuplot.exe or wgnuplot.exe.
(see README.Windows for more information)
2009-11-23
Software testing: Mocks vs Stubs
Test Double as the generic term for any kind of pretend object used in place of a real object for testing purposes. The name comes from the notion of a Stunt Double in movies. (One of his aims was to avoid using any name that was already widely used.) Meszaros then defined four particular kinds of double:
* Dummy objects are passed around but never actually used. Usually they are just used to fill parameter lists.
* Fake objects actually have working implementations, but usually take some shortcut which makes them not suitable for production (an in memory database is a good example).
* Stubs provide canned answers to calls made during the test, usually not responding at all to anything outside what's programmed in for the test. Stubs may also record information about calls, such as an email gateway stub that remembers the messages it 'sent', or maybe only how many messages it 'sent'.
* Mocks are what we are talking about here: objects pre-programmed with expectations which form a specification of the calls they are expected to receive.
Reference: http://martinfowler.com/articles/mocksArentStubs.html
2009-10-05
Multiple iTunes libraries
You can use multiple music libraries in iTunes (and iPhoto). The choice is made at startup: just hold down the shift/option key when you click the iTunes icon.

In Windows the default music library is stored in C:\Users\You\Music\iTunes, in case you want to find it again.

In Windows the default music library is stored in C:\Users\You\Music\iTunes, in case you want to find it again.
2009-10-01
Setting up a collaboration server for a small team
I have recently setup a collaboration server for a small research team.
I'm posting a short guide describing all the steps.
---
The operating system is Microsoft Windows. The base installation was complemented with a set of free tools: Notepad++, 7-Zip, SysInternals suite.
Every time a service configuration is significantly changed, it should be stopped and restarted to load the new configuration. These restarts are not explicitly mentioned in the following steps.
... is used to mark placeholders for values that are either case-specific or sensitive, like passwords.
PART 1 - XAMPP
1.1 - Download XAMPP for Windows
1.2 - Install XAMPP to C:\
1.3 - Use the XAMPP console to manage the services and access the XAMPP shell
PART 2 - SVN
2.1 - Download SVN for Windows
Double check that you are getting a version compatible with the Apache bundled in XAMPP.
2.2 - Install SVN
2.3 - Copy mod_dav_svn.so and mod_authz_svn.so from SVN binaries folder to C:\xampp\apache\modules
2.4 - Edit C:\xampp\apache\conf\httpd.conf and add:
# svn repository access (note: confirm mod_dav.so and mod_dav_fs.so are loaded above)
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so
(...)
# svn configuration
Include c:/etc/subversion.conf
2.5 - Create C:\svn and C:\svn\repo folders
2.6 - Create a project repository
shell> svnadmin create C:\svn\repo
2.7 - Create empty configuration files:
C:\svn\svn-auth-file
C:\svn\svn-acl
C:\svn\subversion.conf
2.8 - Create users
XAMPP shell> htpasswd -cm C:\svn\svn-auth-file first-user...
XAMPP shell> htpasswd -m C:\etc\svn-auth-file next-user...
2.9 - Create ACL: C:\svn\svn-acl
[groups]
groupname = user1, user2
# group has a read/write access to project repository
# all subdirectories
# all others have read access only
[svn:/]
@groupname = rw
* = r
2.10 - Create subversion configuration: C:\svn\subversion.conf
(/svn is the path used for the repository web address)
DAV svn
SVNPath C:/svn/repo
AuthType Basic
AuthName "Subversion repository"
AuthUserFile c:/svn/svn-auth-file
Require valid-user
AuthzSVNAccessFile c:/svn/svn-acl
2.11 - Create standard repository layout and import it to repository
shell> cd temp
shell> mkdir layout
shell> cd layout
shell> mkdir trunk
shell> mkdir branches
shell> mkdir tags
shell> svn import . https://.../svn -m "Initial repository layout"
References:
http://svn.haxx.se/users/archive-2005-05/0741.shtml
http://svn.spears.at/
PART 3 - DokuWiki
3.1 - Download DokuWiki
3.2 - Unzip and untar. Copy the contents of the main folder to C:\xampp\htdocs\dokuwiki
3.3 - Access the initial installation script
http://.../dokuwiki/install.php
Wiki Name - title
Enable ACL
Superuser - admin
Full Name
E-Mail
Password
Once Again
Initial ACL policy - closed wiki
3.4 - Login using admin user and use administrative interface to create users
http://.../dokuwiki/
Data files location:
C:\xampp\htdocs\dokuwiki\data\
References:
http://www.dokuwiki.org/Install
PART 4 - StatusNet
4.1 - Download StatusNet
4.2 - Unzip and untar. Copy main folder contents to C:\xampp\htdocs\statusnet
4.3 - Create MySQL database, create user and password, grant access rights
XAMPP shell> mysql -u root
CREATE DATABASE statusnet;
GRANT ALL on statusnet.*
TO 'statusnetuser'@'localhost'
IDENTIFIED BY '...';
4.4 - Edit database creation script: C:\xampp\htdocs\statusnet\db\statusnet.sql
Add the following line to the top of the file:
USE statusnet;
4.5 - Execute database creation script.
XAMPP shell> mysql -u root < C:\xampp\htdocs\statusnet\db\statusnet.sql
4.6 - Create and edit configuration file: C:\xampp\htdocs\statusnet\config.php
XAMPP shell> copy C:\xampp\htdocs\statusnet\config.php.sample C:\xampp\htdocs\statusnet\config.php
Write/uncomment following lines in :
$config['site']['name'] = 'My status net';
$config['site']['server'] = 'my.server.address.net';
$config['site']['openidonly'] = false;
$config['site']['private'] = true;
$config['db']['database'] = 'mysql://statusnetuser:...@localhost/statusnet';
$config['db']['debug'] = 0;
$config['xmpp']['enabled'] = false;
$config['openid']['enabled'] = false;
$config['invite']['enabled'] = false;
$config['site']['timezone'] = 'Europe/London';
$config['site']['language'] = 'en_GB';
$config['memcached']['enabled'] = false;
$config['emailpost']['enabled'] = false;
$config['sms']['enabled'] = false;
$config['twitter']['enabled'] = false;
$config['twitterbridge']['enabled'] = false;
$config['site']['ssl'] = 'sometimes';
4.7 - Rename undesired locale folders:
C:\xampp\htdocs\statusnet\locale\pt
to _pt
C:\xampp\htdocs\statusnet\locale\pt_BR
to _pt_BR
4.8 - Access site, register all users, one at a time
4.9 - Edit configuration file to close registrations: C:\xampp\htdocs\statusnet\config.php:
$config['site']['closed'] = true;
Known bugs:
- logout doesn't work
- Post attachments don't work
- HTTPS always option doesn't work properly - some links are generated with HTTP anyway - using HTTPS sometimes to, at least, protect user and password
Missing features:
- no data migration support
References:
C:\xampp\htdocs\statusnet\README
http://status.net/wiki/Installation
PART 5 - Security
5.1 - Change MySQL password
http://.../security/xamppsecurity.php
new password
repeat ...
phpMyAdmin authentication: cookie
Set random...: yes
Click 'Password changing'
5.2 - Change XAMPP directory protection (after this step, the user and password will be required to access XAMPP)
http://.../security/xamppsecurity.php
user
password
5.3 - Generate a new self-signed certificate and replace the default
XAMPP shell>makecert
# makecert
Loading 'screen' into random state - done
Generating a 1024 bit RSA private key
..++++++
....++++++
writing new private key to 'privkey.pem'
Enter PEM pass phrase:
Verifying - Enter PEM pass phrase:
You are about to be asked to enter information that will be incorporated into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [AU]:
State or Province Name (full name) [Some-State]:
Locality Name (eg, city) []:
Organization Name (eg, company) [Internet Widgits Pty Ltd]:
Organizational Unit Name (eg, section) []:
Common Name (eg, YOUR name) []:...
Email Address []:
Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:
An optional company name []:
Enter pass phrase for privkey.pem:
writing RSA key
Loading 'screen' into random state - done
Signature ok
Getting Private key
-----
Das Zertifikat wurde erstellt.
The certificate was provided.
5.4 - Configure FileZilla security
FileZilla Server interface, Edit settings, SSL/TLS Settings
Enable FTP over SSL/TLS support (FTPS)
Use same private key and certificate as Apache
Private key: C:\xampp\apache\conf\ssl.key\server.key
Certificate: C:\xampp\apache\conf\ssl.crt\server.crt
Allow explicit FTP over TLS
Disallow plain unencrypted FTP
5.5 - Remove default index
Rename C:\xampp\htdocs\index.php
Edit C:\xampp\htdocs\index.html
5.6 - Configure Firewall
Go to: Control Panel - Windows Firewall | Exceptions
Add rules
Program: c:\xampp\FileZilla\FilleZilla Server.exe
Ports: 80 Apache HTTP, 443 Apache HTTPS
References:
http://www.apachefriends.org/en/xampp-windows.html#1221
http://robsnotebook.com/xampp-ssl-encrypt-passwords
---
And that's it! :-)
You know should have a collaboration server up and running.
Thanks to all the authors of the used open-source projects and references. Keep up the good work!
The most unstable component is StatusNet. I'm looking forward to a (stable) version 1.0.
I'm posting a short guide describing all the steps.
---
The operating system is Microsoft Windows. The base installation was complemented with a set of free tools: Notepad++, 7-Zip, SysInternals suite.
Every time a service configuration is significantly changed, it should be stopped and restarted to load the new configuration. These restarts are not explicitly mentioned in the following steps.
... is used to mark placeholders for values that are either case-specific or sensitive, like passwords.
PART 1 - XAMPP
1.1 - Download XAMPP for Windows
1.2 - Install XAMPP to C:\
1.3 - Use the XAMPP console to manage the services and access the XAMPP shell
PART 2 - SVN
2.1 - Download SVN for Windows
Double check that you are getting a version compatible with the Apache bundled in XAMPP.
2.2 - Install SVN
2.3 - Copy mod_dav_svn.so and mod_authz_svn.so from SVN binaries folder to C:\xampp\apache\modules
2.4 - Edit C:\xampp\apache\conf\httpd.conf and add:
# svn repository access (note: confirm mod_dav.so and mod_dav_fs.so are loaded above)
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so
(...)
# svn configuration
Include c:/etc/subversion.conf
2.5 - Create C:\svn and C:\svn\repo folders
2.6 - Create a project repository
shell> svnadmin create C:\svn\repo
2.7 - Create empty configuration files:
C:\svn\svn-auth-file
C:\svn\svn-acl
C:\svn\subversion.conf
2.8 - Create users
XAMPP shell> htpasswd -cm C:\svn\svn-auth-file first-user...
XAMPP shell> htpasswd -m C:\etc\svn-auth-file next-user...
2.9 - Create ACL: C:\svn\svn-acl
[groups]
groupname = user1, user2
# group has a read/write access to project repository
# all subdirectories
# all others have read access only
[svn:/]
@groupname = rw
* = r
2.10 - Create subversion configuration: C:\svn\subversion.conf
(/svn is the path used for the repository web address)
DAV svn
SVNPath C:/svn/repo
AuthType Basic
AuthName "Subversion repository"
AuthUserFile c:/svn/svn-auth-file
Require valid-user
AuthzSVNAccessFile c:/svn/svn-acl
2.11 - Create standard repository layout and import it to repository
shell> cd temp
shell> mkdir layout
shell> cd layout
shell> mkdir trunk
shell> mkdir branches
shell> mkdir tags
shell> svn import . https://.../svn -m "Initial repository layout"
References:
http://svn.haxx.se/users/archive-2005-05/0741.shtml
http://svn.spears.at/
PART 3 - DokuWiki
3.1 - Download DokuWiki
3.2 - Unzip and untar. Copy the contents of the main folder to C:\xampp\htdocs\dokuwiki
3.3 - Access the initial installation script
http://.../dokuwiki/install.php
Wiki Name - title
Enable ACL
Superuser - admin
Full Name
Password
Once Again
Initial ACL policy - closed wiki
3.4 - Login using admin user and use administrative interface to create users
http://.../dokuwiki/
Data files location:
C:\xampp\htdocs\dokuwiki\data\
References:
http://www.dokuwiki.org/Install
PART 4 - StatusNet
4.1 - Download StatusNet
4.2 - Unzip and untar. Copy main folder contents to C:\xampp\htdocs\statusnet
4.3 - Create MySQL database, create user and password, grant access rights
XAMPP shell> mysql -u root
CREATE DATABASE statusnet;
GRANT ALL on statusnet.*
TO 'statusnetuser'@'localhost'
IDENTIFIED BY '...';
4.4 - Edit database creation script: C:\xampp\htdocs\statusnet\db\statusnet.sql
Add the following line to the top of the file:
USE statusnet;
4.5 - Execute database creation script.
XAMPP shell> mysql -u root < C:\xampp\htdocs\statusnet\db\statusnet.sql
4.6 - Create and edit configuration file: C:\xampp\htdocs\statusnet\config.php
XAMPP shell> copy C:\xampp\htdocs\statusnet\config.php.sample C:\xampp\htdocs\statusnet\config.php
Write/uncomment following lines in :
$config['site']['name'] = 'My status net';
$config['site']['server'] = 'my.server.address.net';
$config['site']['openidonly'] = false;
$config['site']['private'] = true;
$config['db']['database'] = 'mysql://statusnetuser:...@localhost/statusnet';
$config['db']['debug'] = 0;
$config['xmpp']['enabled'] = false;
$config['openid']['enabled'] = false;
$config['invite']['enabled'] = false;
$config['site']['timezone'] = 'Europe/London';
$config['site']['language'] = 'en_GB';
$config['memcached']['enabled'] = false;
$config['emailpost']['enabled'] = false;
$config['sms']['enabled'] = false;
$config['twitter']['enabled'] = false;
$config['twitterbridge']['enabled'] = false;
$config['site']['ssl'] = 'sometimes';
4.7 - Rename undesired locale folders:
C:\xampp\htdocs\statusnet\locale\pt
to _pt
C:\xampp\htdocs\statusnet\locale\pt_BR
to _pt_BR
4.8 - Access site, register all users, one at a time
4.9 - Edit configuration file to close registrations: C:\xampp\htdocs\statusnet\config.php:
$config['site']['closed'] = true;
Known bugs:
- logout doesn't work
- Post attachments don't work
- HTTPS always option doesn't work properly - some links are generated with HTTP anyway - using HTTPS sometimes to, at least, protect user and password
Missing features:
- no data migration support
References:
C:\xampp\htdocs\statusnet\README
http://status.net/wiki/Installation
PART 5 - Security
5.1 - Change MySQL password
http://.../security/xamppsecurity.php
new password
repeat ...
phpMyAdmin authentication: cookie
Set random...: yes
Click 'Password changing'
5.2 - Change XAMPP directory protection (after this step, the user and password will be required to access XAMPP)
http://.../security/xamppsecurity.php
user
password
5.3 - Generate a new self-signed certificate and replace the default
XAMPP shell>makecert
# makecert
Loading 'screen' into random state - done
Generating a 1024 bit RSA private key
..++++++
....++++++
writing new private key to 'privkey.pem'
Enter PEM pass phrase:
Verifying - Enter PEM pass phrase:
You are about to be asked to enter information that will be incorporated into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [AU]:
State or Province Name (full name) [Some-State]:
Locality Name (eg, city) []:
Organization Name (eg, company) [Internet Widgits Pty Ltd]:
Organizational Unit Name (eg, section) []:
Common Name (eg, YOUR name) []:...
Email Address []:
Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:
An optional company name []:
Enter pass phrase for privkey.pem:
writing RSA key
Loading 'screen' into random state - done
Signature ok
Getting Private key
-----
Das Zertifikat wurde erstellt.
The certificate was provided.
5.4 - Configure FileZilla security
FileZilla Server interface, Edit settings, SSL/TLS Settings
Enable FTP over SSL/TLS support (FTPS)
Use same private key and certificate as Apache
Private key: C:\xampp\apache\conf\ssl.key\server.key
Certificate: C:\xampp\apache\conf\ssl.crt\server.crt
Allow explicit FTP over TLS
Disallow plain unencrypted FTP
5.5 - Remove default index
Rename C:\xampp\htdocs\index.php
Edit C:\xampp\htdocs\index.html
5.6 - Configure Firewall
Go to: Control Panel - Windows Firewall | Exceptions
Add rules
Program: c:\xampp\FileZilla\FilleZilla Server.exe
Ports: 80 Apache HTTP, 443 Apache HTTPS
References:
http://www.apachefriends.org/en/xampp-windows.html#1221
http://robsnotebook.com/xampp-ssl-encrypt-passwords
---
And that's it! :-)
You know should have a collaboration server up and running.
Thanks to all the authors of the used open-source projects and references. Keep up the good work!
The most unstable component is StatusNet. I'm looking forward to a (stable) version 1.0.
2009-05-19
SourceForge

If you're not familiar with SourceForge, it's one the largest open-source project hosting sites on the Internet.
You can find nearly any kind of software there, from very useful programs, to the irrelevant.
You can link to the site's search page using the following address:
http://sourceforge.net/search/?type_of_search=soft&type_of_search=soft&words=Framework
(you can replace Framework by your desired keyword)
2009-02-06
Windows Vista is actually OK
Back in the days when Microsoft named the Windows versions by year - Windows 95, 98, 2000 - I had a "golden" rule: never install a Windows version on its year!
This meant that I would wait at least a year after release so Microsoft could finish the product. By the way, this is true not only of Microsoft software but of all software: complex software has bugs; new software has more bugs than older software (assuming it is still being developed, of course).
I applied the "golden" rule to Windows Vista: wait for the first service pack before installing it.
Now that I did, I'm happy with it. Windows Vista is not bad and is actually OK. It got very bad early reviews but now that hardware has caught up with it, and that many bugs have been fixed, using Windows Vista is actually an upgrade from Windows XP. It has several user interface improvements that are worthwhile. The main problem is UAC. It's so annoying I have my doubts it actually makes the system more secure. As a user I just want to click "continue" to get on with what I'm doing.

Screenshot credits: Paul's Computer Service
This meant that I would wait at least a year after release so Microsoft could finish the product. By the way, this is true not only of Microsoft software but of all software: complex software has bugs; new software has more bugs than older software (assuming it is still being developed, of course).
I applied the "golden" rule to Windows Vista: wait for the first service pack before installing it.
Now that I did, I'm happy with it. Windows Vista is not bad and is actually OK. It got very bad early reviews but now that hardware has caught up with it, and that many bugs have been fixed, using Windows Vista is actually an upgrade from Windows XP. It has several user interface improvements that are worthwhile. The main problem is UAC. It's so annoying I have my doubts it actually makes the system more secure. As a user I just want to click "continue" to get on with what I'm doing.
Screenshot credits: Paul's Computer Service
2008-12-13
Email communication breakdown?
Communication breakdown,in "Communication Breakdown" by Led Zeppelin
It's always the same,
I'm having a nervous breakdown,
Drive me insane!
Do you get this feeling when you're handling your email? I know I did.
Then I decided to change the way I worked with email using a Google-inspired approach: "archive and use search instead of spending a lot of time storing the messages meticulously in specific folders".
My current email folders are the following:
Inbox
My Mail
Mailing Lists
That's right! Just three!
'Inbox' has the new arrivals that I haven't read or handled yet. 'My Mail' holds all my messages. 'Mailing Lists' holds messages not specifically for me but that I'm interested in keeping. Mail can be directly stowed in Mailing Lists using filters.
When you want to look up a specific mail message, just use your program's search capabilities to retrieve it quickly! (e.g. Thunderbird's search capabilities are very good).
But doesn't this mean that the 'My Mail' and 'Mailing Lists' keep growing indefinitely? Yes, it does. This is why we need one more time: archives.
My archives folders look like this:
Archives
|-My Mail Archive
|-2005
|-2006
|-2007
|-Mailing Lists Archive
|-2005
|-2006
|-2007
Archiving is easy and is done once a year.
For me this email scheme works great. Do you want to give it a try?
2008-11-26
Computer protection policy
One thing is to teach computer security; another thing is living it! Due to the recent theft, I had to practice more of what I "preach".
I redesigned my identity management policy, using a multi-tier approach, to balance usability and overall security.
I upgraded the use of data security mechanisms. Consider Windows file encryption capabilities (don't forget to backup your certificate, though). If you're using a Mac, consider FileVault. TrueCrypt is also highly recommended, for the most sensitive files.
The data backup procedures were also revised. I finally finished a batch file script, relying on Windows robocopy. The easier it is to backup, the more often you can do it. This decreases the chances of data loss. However, remember to find an alternate, safe physical location for your backup disks. They won't be of any use if they're stolen along with your computer. You can also use an on-line backup service, for less sensitive data.
Currently I'm looking at GadgetTrak or similar service, to enhance the chances of recovering a stolen computer.
In short, take good care of your computer, and prepare for worst case scenarios. It can happen to you!
I redesigned my identity management policy, using a multi-tier approach, to balance usability and overall security.
I upgraded the use of data security mechanisms. Consider Windows file encryption capabilities (don't forget to backup your certificate, though). If you're using a Mac, consider FileVault. TrueCrypt is also highly recommended, for the most sensitive files.
The data backup procedures were also revised. I finally finished a batch file script, relying on Windows robocopy. The easier it is to backup, the more often you can do it. This decreases the chances of data loss. However, remember to find an alternate, safe physical location for your backup disks. They won't be of any use if they're stolen along with your computer. You can also use an on-line backup service, for less sensitive data.
Currently I'm looking at GadgetTrak or similar service, to enhance the chances of recovering a stolen computer.
In short, take good care of your computer, and prepare for worst case scenarios. It can happen to you!
2008-11-15
SAPO Codebits 2008
SAPO Codebits, a Google Summer of Code-style gathering of programmers, in Portugal.
As for ideas, it's better to have crazy ones rather than few! / No que toca a ideias, antes loucas que poucas!
However there are some elements of geek culture I don't like very much, like the likening of people to machines, that can also be chemically hacked. It's a way to objectify i.e. treat as an object. A little bit doesn't hurt, as long as things are kept under control, and you don't forget a person is much more than the sum of its "parts".
As for ideas, it's better to have crazy ones rather than few! / No que toca a ideias, antes loucas que poucas!However there are some elements of geek culture I don't like very much, like the likening of people to machines, that can also be chemically hacked. It's a way to objectify i.e. treat as an object. A little bit doesn't hurt, as long as things are kept under control, and you don't forget a person is much more than the sum of its "parts".
2008-11-14
2008-11-09
Liquidism Email Signatures
Liquidism provides a free email signature image generator, with some cool visual effects. Here's a sample:
Give it a try!
Give it a try!
2008-11-01
How to update Facebook status from Twitter
Twitter Will Update Your Facebook Status - Here's How... Posted by Mitch Joelon on his blog.
1. Get the Twitter application installed in your Facebook profile here: Twitter App For Facebook.
2. You'll notice a link that says: Want Twitter to update your Facebook status? Click here!
That's it.
Subscribe to:
Posts (Atom)



