A Wiki, a Note Pad, a Feed
10/11/09 10:44
I think I will settle on capitals for begining of sentences, a various other norms of writing. This is so easy, do I need more?
I will get onto that, but first, point out -
As a feed.
I imagine this is because one shouldn't quote without reading first, but still I'm a bit surprised. In my case, anyway, I just want to syndicate my own material. Perhaps I have missed something?
What I haven't missed is that when I copy it into a post it becomes, from something elegant, a whole mess to the point of being impossible to read.
Keeping things simple, legible and attractive in blogger is an effort.
What to do?
This Is How It Works
10/11/09 10:18
an edit from a different internal machine yields a different alias.
an edit from the same machine, no matter the address is conjoint.biz or 192 ... is the same alias.
does nanoki just resolve it to the same internal address or is it relying on a cookie sent to the browser?
not too bothered to find out at the moment.
does my machine resolve all internal request to the same address, or series of addresses, which nanoki then receives?
Who Am I
10/11/09 10:07
But how about www.conjoint.biz and my internal address, 192... ?
Anyway ...
So, who am I now, coming in from a different internal address, no cookies?
Internal Alias
10/11/09 10:03
That is another story.
linux -
1. many routing tables - 255 c.f. route and ip route
2. a host table
3. but why is it that tomcat can start in two instances and both available as 192...:port, localhost:port and conjoint.biz:port? Whereas this is not so of nanoki?
Not sure at the moment what I need to look for to sort out. Presumably it is either in the host table, but I don't think there is any port number given in that, or it is the way nanoki binds to an address?
05/11/09 17:42
Building a variety of projects.
These include some - relatively - old projects. All of the CoffeeShop sample code in JUnit Recipes: Practical Methods for Programmer Testing -
Here are the details --
By: J. B. Rainsberger
Publisher: Manning Publications
Pub. Date: July 15, 2004
Print ISBN-10: 1-932394-23-0
Print ISBN-13: 978-1-932394-23-8
Pages in Print Edition: 752
I have also done same with zoe, also from around 2005.
Interesting.
CoffeeShop, with multiple projects, needed a lot of work reconciling dependencies.
In come my friends jarvana and so.
zoe [1.,2.,3.,4.] is different, and, in a way, more complex.
zoe is configured for maven1 with a project.xml file.
It is instructive making the conversion by hand. Certainly the mvn one:convert tool cannot cope.
There are guesses that can be made that must be regular mappings. So why not look at the xsd for each version, along with any notes, and make a map from this, say using generateDS?
The way I see it is that we have.
ant builds - these entail finding canonical versions of referenced artifacts across a system - as far as is
possible.
1.1. when artifacts have been resolved the .properties file needs to be referenced in the created pom
1.2. the build.xml file needs to be parsed, from what I can see just for directory locations
1.3. the build file remains intact, other tasks, such as code generation, will be invoked via ant
1.3.1. some tasks are ant like and it is not reasonable to use maven for them. However some tasks imply something
about structure that really needs to be resolved in the pom module dependency hierarchy.
It is unclear how to make this distinction automatically, but a mechanism to create a module against
which a specific complex ant task is run would go some way.
maven1 builds - this would entail a mapping between the two as mentioned.
creating canonical versions and canonical version management.
3.1. creating canonical - there are different issues here. Finally it seems that there is no way of engineering
an unknown version apart from doing a look up
3.2. look ups have their own difficulties and interest. Sometimes a project cannot be found -
3.2.1. the jar is not available on public repositories, e.g. Sun version jars
3.2.2. the particular version is not available
3.3. above seems to be an issue that could be solved with some very sophisticated search - more later
3.4. canonical version management - augeas with the magic lens seems to be the way to control this and seems
preferable to an XML db. It would only be build.xml that would be appropriate to an xml db anyway.
issues to explore are semantic annotation, which would seem appropriate to build.xml etc. This maybe made
automatic if it is possible to digest the nature of the ant tasks.
05/11/09 12:02
Remember this is a wiki not a blog, so page postings I guess. Wonder how formated.
alt.dev looks good and is intuitive.
So this is the main page.
Edge Cases
31/10/09 18:51
Consider:-
<dependency>
<groupId>net.sourceforge.nekohtml</groupId>
<artifactId>nekohtml</artifactId>
<version>1.9.12</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-full</artifactId>
<version>1.1-rc1</version>
</dependency>
Is it possible to deduce the information in above from a jar file?
Where it is possible to find - starting from the most right part of the jar file name after the .jar suffix - the version and the artifactId, is it possible to find the groupId?
is a sub to 1. and the answer to 1. is no completely. The first jar will be nekohtml-1.9.12 and the second spring-full-1.1-rc1, but in neither case is it possible to know the groupId.
<dependency>
<groupId>httpunit</groupId>
<artifactId>httpunit</artifactId>
<version>1.6.2</version>
</dependency>
<dependency>
<groupId>mockobjects</groupId>
<artifactId>mockobjects-jdk1.4-j2ee1.3</artifactId>
<version>0.09</version>
</dependency>
<dependency>
<groupId>jtidy</groupId>
<artifactId>jtidy</artifactId>
<version>4aug2000r7-dev</version>
</dependency>
mockobjects-jdk1.4-j2ee1.3-0.09.jar
--- Notice there are several hyphens in the artifactId, as the next case shows, it is
not possible to know which one denotes the boundary between version and artifactId. ---
jtidy-4aug2000r7-dev.jar
--- Here it is possible to surmise from the meaning that 4aug2000r7-dev belongs to the version,
it would be difficult to make a reliable rule for this, as the previous case shows. ---
--- This may seem particularly strange, but when you consider that the artifact is playing a role in a
different project with its own release versions and naming, it makes some sort of sense. ---
This would have benefits in that other information can be gleaned at the same time, such as dependencies and, of course, the missing groupId.
However, it can be that a needed dependency is incorrectly refered to. How does this happen?
<groupId>org.apache</groupId><artifactId>poi-scratchpad</artifactId><version>2.5.1-final-20040804</version><groupId>poi</groupId><artifactId>poi-scratchpad-2.5.1-final</artifactId><version>20040804</version>Actually I think I made the wrong choice, the thing to do would have been to look into the offending POM dependency and correct it, this way the correct artifact could be downloaded to a correct position.
Rat Outzipair
29/10/09 18:22
Edited by Lab Zipzipace.
One or other of these fabulous names must be lost if another one of the pair is to be created using some other name.
But how to add other users?
This is, perhaps, the most surprising, but also the most lua aspect of nanoki. Users are created according to IP!
How's it done?
Lab Zipzipace
29/10/09 11:58
step by step, leaving behind
the salt winds blowing up the
corrugated river
their sodium glare of
rush hour headlights
pitted with pearls of rain
for my eyes still reflect the half remembered moon
a damp smudge among the shadows
mirrored in the trains wet glass.
Steal tracks lead you out past crains and crematoria
boat yards and bike sheds
and wolfbone mummified in mud.
These rows of curtains windows like
eyelids heavy with sleep to the citys green edge.
my ears with wax
hold fast to the memory of the song you once whispered in my ear
it's echoes tangle like briars in my thick hair
second fly past like birds
my hands grow cold
i am ice and cloud.
filled with dust and sour night breath
the lost city is sleeping
soaked nightingales have ceased to sing.
Dusk has come early. I am drowning in blue.
where the sun feathers my face
like your once eager kiss
i will climb from the blackened earth
into the diffident light.
Nanoki
29/10/09 01:19

Run Nanoki
cd Nanoki
lua Nanoki.lua . localhost 1080
Nanoki [location] [address] [port] [not|forwarded] [not|secure]
location tells Nanoki where to store its data. address indicates which network address to bind the Nanoki server to. port indicates what port number to use. forwarded indicates whether x-forwarded-for should be trusted. secure indicates whether https should be used. 
Create a page


Edit a page

Upload a file

![Run][1]
[1]: nanoki/file/run.png
[page]/file/[name]
page is the name of the page under which the file is located. name is the file name.Control panel

Revision

Revision differences

Related pages

Breadcrumb navigation

Index navigation

Date navigation

Recent changes

Search

XML feed


System page

Never mind.
|
| Test Preparation - suppressed |
Location: surpressed
Due on: 16/09/2009
Ideas for test preparation.
Minimal directory structure
Choose just the directory and corresponding test directory for the targets under test
Ensure that dependencies are met - eclipse should be able to build this area without marking error
Stage 1 -
no change to lib directories in class path - no attempt to mavenize the project
Automation
What areas might be automated?
One idea is just to copy across, either way by simple command, and delete .svn directories in the process, as we are copying they are not needed in a subsidiary project and are a pain.
Categories
Software Development,Software Development:Test,Software Development:Test:Preparation
Priority: 5
0 % completed
Creation date: 13/09/2009 18:37
adamdeli's notes: KDE – Blog from KOrganizer HOWTO
Saturday 27th September, 2008 @ 01:14
Blog from KOrganizer? What kind of madness is this? Apparently some crazy (but yet incredibly good looking) fool decided to give you the ability to post journals from KOrganizer to your blog. Let's learn how to do it!
You can find more of adamdeli's bookmarks at
- http://delicious.com/adamdeli
---------------------------------
Delivered by Delicious.com
The tastiest bookmarks on the web