instruction stringlengths 0 30k ⌀ |
|---|
|wpf|xaml|binding|.net| |
I'm getting all learned up about binding in WPF. I'm having a lot of trouble debugging the parse errors in my xaml, though. Can somebody pretty please tell me what's wrong with this little piece? :
<Border Name="TrackBackground"
Margin="0"
CornerRadius="2"
Grid.Row="1"
Grid.Column="1"
Background="BlanchedAlmond"
BorderThickness="1"
Height="{TemplateBinding Height}">
<Canvas Name="PART_Track" Background="DarkSalmon" Grid.Row="1" Grid.Column="1">
<Thumb Name="ThumbKnob" Height="{Binding ElementName=Part_Track, Path=Height, Mode=OneWay}" />
</Canvas>
</Border>
It's the databinding that breaks. I get an `InvalidAttributeValue` exception for ThumbKnob.Height when I try to run this. I know I must be missing something fundamental. So fill me in, stackers, and my gratitude will be boundless. |
|.net|wpf|silverlight|xaml|binding| |
Is the Border in a Template btw ?
Because there is no need for TemplateBinding if the border is not located in a Template (either ControlTemplate or DataTemplate) |
How can I modify .xfdl files? Update #2 |
|unix|linux|base64|gzip|compression|encryption| |
Before reading anything else, please read the <a href = "http://beta.stackoverflow.com/questions/1615/how-can-i-modify-xfdl-files-update-1">original thread</a>.
A quick simple overview: A .xfdl file is a is a gzipped .xml file which has then been encoded in base64. I wish to de-encode the .xfdl into xml which I can then modify and then re-encode.
I have been able to take a .xfdl file and de-encode it from base64 using uudeview:
uudeview -i yourform.xfdl
Then decommpressed it using gunzip
gunzip -S "" < UNKNOWN.001 > yourform-unpacked.xml
The xml produced is 100% readable and looks wonderful. Without modifying the xml then, i should be able to re-compress it using gzip:
gzip yourform-unpacked.xml
Then re-encoded in base-64:
base64 -e yourform-unpacked.xml.gz yourform_reencoded.xfdl
If my thinking is correct, the original file and the re-encoded file should be equal. If I put yourform.xfdl and yourform_reencoded.xfdl into beyond compare, however, they do not match up. Also, the original file can be viewed in an <a href = "http://www.grants.gov/help/download_software.jsp#pureedge">.xfdl viewer</a>. The viewer says that the re-encoded xfdl is unreadable.
I have also tried uuenview to re-encode in base64, it also produces the same results. Any help would be appreciated. |
|testing|perl|framework| |
Are there conventions for function names when using the Perl Test::More or Test::Simple modules.
I'm specifically asking about the names of functions that are used to set up a test environment before the test and to tear down the environment after successful completion of the test(s).
cheers,
Rob |
|testing|perl|frameworks| |
Does anyone have any real-world experience of CSLA? |
|.net|framework|csla| |
The main web application of my company is crying out for a nifty set of libraries to make it in some way maintainable and scalable and one of my colleagues has suggested CSLA. So I've bought the book but as :
> _programmers don't read books anymore_
I wanted to gauge the SOFlow community's opinion of it.
So here are my questions.
1. How may people are using CSLA?
2. What are the pros and cons?
3. After reading [this][1] does CSLA really not fit in with TDD?
4. What are my alternatives?
5. If you have stopped using it or decided against why?
[1]: http://stackoverflow.com/questions/1234/csla-master-class |
|.net|frameworks|csla| |
Web framework programming mindset |
|web|framework|object|abstract| |
I am just starting to play with Django/Python and am trying to shift into the MTV mode of programming that Django asks for (insists on). Deciding on what functions should be methods of a model vs simple being a function in a view has so far been confusing. Does anyone know of a book, website, blog, slideshow, whatever that discusses Web Framework programming in more general, abstract terms? I imagine just a book on object oriented programming would do it, but I feel like that would be overkill - I was looking for something web framework specific. |
|framework|object|abstract| |
|framework|object| |
|framework|object| |
|frameworks|object| |
Best way to implement a dirty flag in EF |
|framework|entity| |
You can easily use the PropertyChanges events to set the flag but how do you easily reset it after a save to the ObjectContext? |
|frameworks|entity| |
Regex's For Developers |
|visual-c++|regex|utility| |
I've been trying to figure out a regex to allow me to search for a particular string while automatically skipping comments. Anyone have an RE like this or know of one? It doesn't even need to be sophisticated enough to skip `#if 0` blocks; I just want it to skip over `//` and `/*` blocks. The converse, that is only search inside comment blocks, would be very useful too.
Environment: VS 2003
Language: C++
|
|language-agnostic|oop| |
|language-agnostic|oop| |
.Net Security Policy change by standard users? |
|.net|security|windows| |
The .Net Security Policy can be changed from a script by using **CasPol.exe**. Say I will be distributing an application to several users on a local network. Most of those users will be unprivileged, standard accounts, so they will not have necessary permissions for the relevant command.
I think I shall be looking into domain logon scripts. Is there any alternative scenarios? Any solutions for networks without a domain? |
|.net|windows|security| |
The .Net Security Policy can be changed from a script by using **CasPol.exe**. Say I will be distributing an application to several users on a local network. Most of those users will be unprivileged, standard accounts, so they will not have necessary permissions for the relevant command.
I think I shall be looking into domain logon scripts. Is there any alternative scenarios? Any solutions for networks without a domain?
Edit: I'm bound to use Framework version 2.0 |
I prefer to use functional programming to save myself repeated work, by making a more abstract version and then using that instead. Let me give an example. In Java, I often find myself creating maps to record structures, and thus writing getOrCreate structures.
SomeKindOfRecord<T> getOrCreate(T thing) {
if(localMap.contains(t)) { return localMap.get(t); }
SomeKindOfRecord<T> record = new SomeKindOfRecord<T>(t);
localMap.put(t,record);
return record;
}
This happens very often. Now, in a functional language I could write
RT<T> getOrCreate(T thing, Function<RT<T>> thingConstructor, Map<T,RT<T>> localMap) {
if(localMap.contains(t)) { return localMap.get(t); }
RT<T> record = thingConstructor(t);
localMap.put(t,record);
return record;
}
and I would never have to write a new one of these again, I could inherit it. But I could do one better then inherting, I could say in the constructor of this thing
getOrCreate = myLib.getOrCreate(*,thingConstructor, localMap);
(where * is a kind of "leave this parameter open" notation, which is a sort of currying)
and then the local getOrCreate is exactly the same as it would have been if I wrote out the whole thing, in one line, with no inheritance dependencies.
|
I prefer to use functional programming to save myself repeated work, by making a more abstract version and then using that instead. Let me give an example. In Java, I often find myself creating maps to record structures, and thus writing getOrCreate structures.
SomeKindOfRecord<T> getOrCreate(T thing) {
if(localMap.contains(t)) { return localMap.get(t); }
SomeKindOfRecord<T> record = new SomeKindOfRecord<T>(t);
localMap.put(t,record);
return record;
}
This happens very often. Now, in a functional language I could write
RT<T> getOrCreate(T thing, Function<RT<T>> thingConstructor, Map<T,RT<T>> localMap) {
if(localMap.contains(t)) { return localMap.get(t); }
RT<T> record = thingConstructor(t);
localMap.put(t,record);
return record;
}
and I would never have to write a new one of these again, I could inherit it. But I could do one better then inherting, I could say in the constructor of this thing
getOrCreate = myLib.getOrCreate(*,SomeKindOfRecord<T>.constructor(<T>), localMap);
(where * is a kind of "leave this parameter open" notation, which is a sort of currying)
and then the local getOrCreate is exactly the same as it would have been if I wrote out the whole thing, in one line, with no inheritance dependencies.
|
Examples for coding against the PayPal API in .NET 2.0+? |
|.net|asp.net|paypal| |
Can anyone point me to a good introduction to coding against the paypal API? |
I use <a href="http://www.aql.com/">AQL</a> who provide gateways to send SMS messages, voice push messages, inbound SMS -> HTTP POST gateways and other stuff.
For Perl there's my <a href="http://search.cpan.org/dist/SMS-AQL">SMS::AQL</a> module to interface with them; whipping up something in C# should be pretty easy. |
1. Go into your fogbugz account and click Extras > Configure Source Control Integration
2. Download "post-commit.bat" and the VBScript file for Subversion
3. Create a "hooks" directory in the root directory of each *checked out* project you want to integrate with
4. Place a copy of the files in each of those hooks directories
5. Rename the files without the ".safe" extension
6. Go outside of the root directory of the checked out project, and then right click on it.
7. Select "TortoiseSVN > Settings" (in the right click menu from the last step)
8. Select "Hook Scripts"
![TortoiseSVN > Settings > Hook Scripts][5]
9. Click "Add"
10. Set the properties thus:
Hook Type: Post-Commit Hook
Working Copy Path: C:\\Projects\\shipmentManager (or whatever your path is)
Command Line To Execute: C:\\Projects\\shipmentManager\\hooks\\post-commit.bat
(I also selected the checkbox to Wait for the script to finish_
Click OK...
![Adding a Hook Script][6]
*Note: I'm not sure if you should really be putting these each in their own hooks directory in each project, or if you can just put them in a common folder for all projects...*
At this point it would seem you could click "Issue Tracker Integration" and select Fogbugz. nope. It just returns "There are no issue-tracker providers available".
11. Click "OK" to close the whole settings dialogue window
12. Once again, Right click on the root directory of the checked out project
13. Select "TortoiseSVN > Properties" (in the right click menu from the last step)
14. Add five property value pairs by clicking "New..." and inserting the following in "Property Name" and "Property Value" respectively:
bugtraq:label BugzID:
bugtraq:message BugzID: %%BUGID%%
bugtraq:number true
bugtraq:url http://[your fogbugz URL here]/default.asp?%BUGID%
bugtraq:warnifnoissue false
![properties window][1]
![adding new property][2]
15. Click "OK"
Now when you are commiting, you can specify one bug that the commit addresses. This kind of forces you to commit after fixing each bug...
![specifying bug addressed when commiting][3]
When you view the log (Right click root of project, TortoiseSVN > show log) you can see the bug id that each checking corresponds to (1), and you can click the bug id number to be taken to fogbugz to view that bug automatically if you are looking at the actual log message. Pretty nifty!
![Bug IDs now show in log][4]
**What I still need at this point is to know how to get it to work backwards from Fogbugz (like it's designed to) so that I can see the Revision number a bug is addressed in.**
[1]: http://www.chomperstomp.com/img/tortoiseSVNProperties.png
[2]: http://www.chomperstomp.com/img/addingNewProperty.png
[3]: http://www.chomperstomp.com/img/commit.png
[4]: http://www.chomperstomp.com/img/viewLog.png
[5]: http://www.chomperstomp.com/img/tortoiseSVNSettings.png
[6]: http://www.chomperstomp.com/img/addHook.png |
The following works well enough. note the *position*, and the use of *auto*
<div style="border: 1px solid black;
width: 300px;
height: 300px;">
<div style="width: 150px;
height: 150px;
background-color: blue;
position: relative;
left: auto;
right: auto;
margin-right: auto;
margin-left: auto;">
</div>
</div> |
The following works well enough. note the *position*, and the use of *auto*
<div style="border: 1px solid black;
width: 300px;
height: 300px;">
<div style="width: 150px;
height: 150px;
background-color: blue;
position: relative;
left: auto;
right: auto;
margin-right: auto;
margin-left: auto;">
</div>
</div>
<div style="border: 1px solid black;
width: 300px;
height: 200px;">
<div style="width: 150px;
height: 150px;
background-color: blue;
position: relative;
left: auto;
right: auto;
margin-right: auto;
margin-left: auto;">
</div>
</div>
NOTE: not sure if it works in IE. |
Ah, the age old problem of not wanting to increase the session time because of higher memory usage.
One answer is to also set a cookie that expires after more like a day that will tell the system to still remember the user. That's what eBay does, among others. |
What do you do when you can't use ViewState? |
|c#|asp.net|viewstate|webforms|page-lifecycle| |
I have a rather complex page that dynamically builds user controls inside of a repeater. This repeater must be bound during the Init page event before ViewState is initialized or the dynamically created user controls will not retain their state.
This creates an interesting Catch-22 because the object I bind the repeater to needs to be created on initial page load, and then persisted in memory until the user opts to leave or save.
Because I cannot use ViewState to store this object, yet have it available during Init, I have been forced to store it in Session.
This also has issues, because I have to explicitly null the session value during non postbacks in order to emulate how ViewState works.
There has to be a better way to state management in this scenario. Any ideas? |
|asp.net|viewstate|webforms|page-lifecycle| |
|asp.net|webforms|viewstate|page-lifecycle| |
I have a rather complex page that dynamically builds user controls inside of a repeater. This repeater must be bound during the Init page event before ViewState is initialized or the dynamically created user controls will not retain their state.
This creates an interesting Catch-22 because the object I bind the repeater to needs to be created on initial page load, and then persisted in memory until the user opts to leave or save.
Because I cannot use ViewState to store this object, yet have it available during Init, I have been forced to store it in Session.
This also has issues, because I have to explicitly null the session value during non postbacks in order to emulate how ViewState works.
There has to be a better way to state management in this scenario. Any ideas?
**Edit:** Some good suggestions about using LoadViewState, but I'm still having issues with state not being restored when I do that.
Here is somewhat if the page structure
Page --> UserControl --> Repeater --> N amount of UserControls Dynamicly Created.
I put the overridden LoadViewState in the parent UserControl, as it is designed to be completely encapsulated and independent of the page it is on. I am wondering if that is where the problem is.
|
Here are two I've used
[DirectX forum feed][1] and [Summary of interesting resources][2]
[1]: http://www.programmersheaven.com/mb/dxgameprog/rss.aspx?AllPosts=1 "DirectX game programming"
[2]: http://feeds.feedburner.com/TheGeeksOf3d "Good summary of interesting gaming resources" |
One of the techniques I used some time back was to write my own function. Basically catch the exception and retry using a timer which you can fire for a specified duration. If there is a better way, please share. |
GameDevKicks.com might become interesting over time - if used more:
[http://www.gamedevkicks.com/][1]
[1]: http://www.gamedevkicks.com/ |
Windows Low Level Disk Question |
|windows|hard-drive| |
I need to programmatically determine out how many sectors, heads, and cylinders are on a physical disk from Windows XP. Does anyone know the API for determining this? Where might Windows expose this information?
Thanks,
Terry |
I don't know what you're using to determine the file's lock status, but something like this should do it.
<pre>
while (true)
{
try {
stream = File.Open( fileName, fileMode );
break;
}
catch( FileIOException ) {
// check whether it's a lock problem
Thread.Sleep( 100 );
}
}
</pre> |
What is a good way to format logs? |
|c#|logging|parsing| |
I'm designing an application which includes the need to log all incoming messages I receive from a Telnet connection. The text is largely plain though can include ANSI tags that provide text colour and formatting (16 colours, bold, underline, etc).
I'm would like to format my logs to store the text with formatting, date/time and potentially other meta data later. My first thoughts was all XML but this could impact my ability to write a fast search tool later. My current idea is Date/Time + text in one file with meta-data stored in another XML file, referenced by line number.
Is this a good solution? Also, where and how should I store the formatting commands? The original ANSI tags would disrupt the plain but having them in two different files might be awkward. |
|c#|parsing|logging| |
I'm designing an application which includes the need to log all incoming messages I receive from a Telnet connection. The text is largely plain though can include ANSI tags that provide text colour and formatting (16 colours, bold, underline, etc).
I'm would like to format my logs to store the text with formatting, date/time and potentially other meta data later. My first thoughts was all XML but this could impact my ability to write a fast search tool later. My current idea is Date/Time + text in one file with meta-data stored in another XML file, referenced by line number.
Is this a good solution? Also, where and how should I store the formatting commands? The original ANSI tags would disrupt the plain but having them in two different files might be awkward.
Additional: Thanks to some answers so far, though I should mention that most of the time the messages will be person to person communications rather than system messages. A more primitive IRC of sorts. Its up to my user to decide later (by adding meta data) which messages were important. This is the raw on the record log that filtered or edited logs might derive from. |
**This answer is incomplete and flawed! It only works from TortoisSVN to Fogbugz, but not the other way around. I still need to know how to get it to work backwards from Fogbugz (like it's designed to) so that I can see the Revision number a bug is addressed in from Fogbugz while looking at a bug.**
----------
Helpful URLS
------------
[http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-propertypage.html][1]
[http://tortoisesvn.net/issuetracker_integration][2]
----------
## Set the "Hooks" ##
1. Go into your fogbugz account and click Extras > Configure Source Control Integration
2. Download "post-commit.bat" and the VBScript file for Subversion
3. Create a "hooks" directory in a common easily accessed location (preferably with no spaces in the file path)
4. Place a copy of the files in the hooks directories
5. Rename the files without the ".safe" extension
6. Right click on any directory.
7. Select "TortoiseSVN > Settings" (in the right click menu from the last step)
8. Select "Hook Scripts"
![TortoiseSVN > Settings > Hook Scripts][3]
1. Click "Add"
2. Set the properties thus:
* Hook Type: Post-Commit Hook
* Working Copy Path: C:\\\\Projects (or whatever your root directory for all of your projects is. If you have multiple you will need to do this step for each one.)
* Command Line To Execute: C:\\\\subversion\\\\hooks\\\\post-commit.bat (this needs to point to wherever you put your hooks directory from step 3)
* I also selected the checkbox to Wait for the script to finish...
**WARNING: Don't forget the double back-slash! "\\\\"**
Click OK...
![Adding a Hook Script][4]
*Note: the screenshot is different, follow the text for the file paths, NOT the screenshot...*
At this point it would seem you could click "Issue Tracker Integration" and select Fogbugz. nope. It just returns "There are no issue-tracker providers available".
1. Click "OK" to close the whole
settings dialogue window
Configure the Properties
------------------------
2. Once again, Right click on the root directory of the checked out
project you want to work with (you need to do this "configure the properties" step for each project -- See "Migrating Properties Between Projects" below)
3. Select "TortoiseSVN > Properties" (in the right click menu
from the last step)
4. Add five property value pairs by clicking "New..." and inserting the
following in "Property Name" and
"Property Value" respectively:
> bugtraq:label BugzID:
> bugtraq:message BugzID: %%BUGID%%
>
> bugtraq:number true
>
> bugtraq:url http://[your fogbugz URL
> here]/default.asp?%BUGID%
>
> bugtraq:warnifnoissue false
![properties window][5]
![adding new property][6]
15. Click "OK"
Commiting Changes and Viewing the Logs
-------------------------------------
Now when you are commiting, you can specify one bug that the commit addresses. This kind of forces you to commit after fixing each bug...
![specifying bug addressed when commiting][7]
When you view the log (Right click root of project, TortoiseSVN > show log) you can see the bug id that each checking corresponds to (1), and you can click the bug id number to be taken to fogbugz to view that bug automatically if you are looking at the actual log message. Pretty nifty!
![Bug IDs now show in log][8]
----------
Migrating Properties Between Projects
-------------------------------------
1. Right click on a project that already has the proper Properties configuration
2. Select "TortoiseSVN > Properties" (from the right-click menu from step 1)
3. Highlight all of the desired properties
4. Click "Export"
5. Name the file after the property, and place in an easily accessible directory (I placed mine with the hooks files)
![save properties dialogue][9]
5. Right click on the root directory of the checked out project needing properties set for.
6. Click "Import"
7. Select the file you exported in step 4 above
8. Click Open
[1]: http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-propertypage.html
[2]: http://tortoisesvn.net/issuetracker_integration
[3]: http://www.chomperstomp.com/img/tortoiseSVNSettings.png
[4]: http://www.chomperstomp.com/img/addHook.png
[5]: http://www.chomperstomp.com/img/tortoiseSVNProperties.png
[6]: http://www.chomperstomp.com/img/addingNewProperty.png
[7]: http://www.chomperstomp.com/img/commit.png
[8]: http://www.chomperstomp.com/img/viewLog.png
[9]: http://www.chomperstomp.com/img/saveIntegrationProperties.png |
**This answer is incomplete and flawed! It only works from TortoisSVN to Fogbugz, but not the other way around. I still need to know how to get it to work backwards from Fogbugz (like it's designed to) so that I can see the Revision number a bug is addressed in from Fogbugz while looking at a bug.**
----------
Helpful URLS
------------
[http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-propertypage.html][1]
[http://tortoisesvn.net/issuetracker_integration][2]
----------
## Set the "Hooks" ##
1. Go into your fogbugz account and click Extras > Configure Source Control Integration
2. Download "post-commit.bat" and the VBScript file for Subversion
3. Create a "hooks" directory in a common easily accessed location (preferably with no spaces in the file path)
4. Place a copy of the files in the hooks directories
5. Rename the files without the ".safe" extension
6. Right click on any directory.
7. Select "TortoiseSVN > Settings" (in the right click menu from the last step)
8. Select "Hook Scripts"
<img src="http://www.chomperstomp.com/img/tortoiseSVNSettings.png" width="600"/>
1. Click "Add"
2. Set the properties thus:
* Hook Type: Post-Commit Hook
* Working Copy Path: C:\\\\Projects (or whatever your root directory for all of your projects is. If you have multiple you will need to do this step for each one.)
* Command Line To Execute: C:\\\\subversion\\\\hooks\\\\post-commit.bat (this needs to point to wherever you put your hooks directory from step 3)
* I also selected the checkbox to Wait for the script to finish...
**WARNING: Don't forget the double back-slash! "\\\\"**
Click OK...
![Adding a Hook Script][4]
*Note: the screenshot is different, follow the text for the file paths, NOT the screenshot...*
At this point it would seem you could click "Issue Tracker Integration" and select Fogbugz. nope. It just returns "There are no issue-tracker providers available".
1. Click "OK" to close the whole
settings dialogue window
Configure the Properties
------------------------
2. Once again, Right click on the root directory of the checked out
project you want to work with (you need to do this "configure the properties" step for each project -- See "Migrating Properties Between Projects" below)
3. Select "TortoiseSVN > Properties" (in the right click menu
from the last step)
4. Add five property value pairs by clicking "New..." and inserting the
following in "Property Name" and
"Property Value" respectively:
> bugtraq:label BugzID:
> bugtraq:message BugzID: %%BUGID%%
>
> bugtraq:number true
>
> bugtraq:url http://[your fogbugz URL
> here]/default.asp?%BUGID%
>
> bugtraq:warnifnoissue false
![properties window][5]
![adding new property][6]
15. Click "OK"
Commiting Changes and Viewing the Logs
-------------------------------------
Now when you are commiting, you can specify one bug that the commit addresses. This kind of forces you to commit after fixing each bug...
![specifying bug addressed when commiting][7]
When you view the log (Right click root of project, TortoiseSVN > show log) you can see the bug id that each checking corresponds to (1), and you can click the bug id number to be taken to fogbugz to view that bug automatically if you are looking at the actual log message. Pretty nifty!
<img src="http://www.chomperstomp.com/img/viewLog.png" width="600"/>
----------
Migrating Properties Between Projects
-------------------------------------
1. Right click on a project that already has the proper Properties configuration
2. Select "TortoiseSVN > Properties" (from the right-click menu from step 1)
3. Highlight all of the desired properties
4. Click "Export"
5. Name the file after the property, and place in an easily accessible directory (I placed mine with the hooks files)
![save properties dialogue][9]
5. Right click on the root directory of the checked out project needing properties set for.
6. Click "Import"
7. Select the file you exported in step 4 above
8. Click Open
[1]: http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-propertypage.html
[2]: http://tortoisesvn.net/issuetracker_integration
[4]: http://www.chomperstomp.com/img/addHook.png
[5]: http://www.chomperstomp.com/img/tortoiseSVNProperties.png
[6]: http://www.chomperstomp.com/img/addingNewProperty.png
[7]: http://www.chomperstomp.com/img/commit.png
[9]: http://www.chomperstomp.com/img/saveIntegrationProperties.png |
1. Go into your fogbugz account and click Extras > Configure Source Control Integration
2. Download "post-commit.bat" and the VBScript file for Subversion
3. Create a "hooks" directory in the root directory of each *checked out* project you want to integrate with
4. Place a copy of the files in each of those hooks directories
5. Rename the files without the ".safe" extension
6. Go outside of the root directory of the checked out project, and then right click on it.
7. Select "TortoiseSVN > Settings" (in the right click menu from the last step)
8. Select "Hook Scripts"
![TortoiseSVN > Settings > Hook Scripts][5]
1. Click "Add"
2. Set the properties thus:
* Hook Type: Post-Commit Hook
* Working Copy Path: C:\\Projects\\shipmentManager (or whatever your path is)
* Command Line To Execute: C:\\Projects\\shipmentManager\\hooks\\post-commit.bat (I also selected the checkbox to Wait for the script to finish)
Click OK...
![Adding a Hook Script][6]
*Note: I'm not sure if you should really be putting these each in their own hooks directory in each project, or if you can just put them in a common folder for all projects...*
At this point it would seem you could click "Issue Tracker Integration" and select Fogbugz. nope. It just returns "There are no issue-tracker providers available".
1. Click "OK" to close the whole
settings dialogue window
2. Once again, Right click on the root directory of the checked out
project
3. Select "TortoiseSVN > Properties" (in the right click menu
from the last step)
4. Add five property value pairs by clicking "New..." and inserting the
following in "Property Name" and
"Property Value" respectively:
> bugtraq:label BugzID:
> bugtraq:message BugzID: %%BUGID%%
>
> bugtraq:number true
>
> bugtraq:url http://[your fogbugz URL
> here]/default.asp?%BUGID%
>
> bugtraq:warnifnoissue false
![properties window][1]
![adding new property][2]
15. Click "OK"
Now when you are commiting, you can specify one bug that the commit addresses. This kind of forces you to commit after fixing each bug...
![specifying bug addressed when commiting][3]
When you view the log (Right click root of project, TortoiseSVN > show log) you can see the bug id that each checking corresponds to (1), and you can click the bug id number to be taken to fogbugz to view that bug automatically if you are looking at the actual log message. Pretty nifty!
![Bug IDs now show in log][4]
**What I still need at this point is to know how to get it to work backwards from Fogbugz (like it's designed to) so that I can see the Revision number a bug is addressed in.**
[1]: http://www.chomperstomp.com/img/tortoiseSVNProperties.png
[2]: http://www.chomperstomp.com/img/addingNewProperty.png
[3]: http://www.chomperstomp.com/img/commit.png
[4]: http://www.chomperstomp.com/img/viewLog.png
[5]: http://www.chomperstomp.com/img/tortoiseSVNSettings.png
[6]: http://www.chomperstomp.com/img/addHook.png |
**This answer is incomplete and flawed! It only works from TortoisSVN to Fogbugz, but not the other way around. I still need to know how to get it to work backwards from Fogbugz (like it's designed to) so that I can see the Revision number a bug is addressed in from Fogbugz while looking at a bug.**
----------
## Set the "Hooks" ##
1. Go into your fogbugz account and click Extras > Configure Source Control Integration
2. Download "post-commit.bat" and the VBScript file for Subversion
3. Create a "hooks" directory in the root directory of each *checked out* project you want to integrate with
4. Place a copy of the files in each of those hooks directories
5. Rename the files without the ".safe" extension
6. Go outside of the root directory of the checked out project, and then right click on it.
7. Select "TortoiseSVN > Settings" (in the right click menu from the last step)
8. Select "Hook Scripts"
![TortoiseSVN > Settings > Hook Scripts][5]
1. Click "Add"
2. Set the properties thus:
* Hook Type: Post-Commit Hook
* Working Copy Path: C:\\Projects\\shipmentManager (or whatever your path is)
* Command Line To Execute: C:\\Projects\\shipmentManager\\hooks\\post-commit.bat (I also selected the checkbox to Wait for the script to finish)
Click OK...
![Adding a Hook Script][6]
*Note: I'm not sure if you should really be putting these each in their own hooks directory in each project, or if you can just put them in a common folder for all projects...*
At this point it would seem you could click "Issue Tracker Integration" and select Fogbugz. nope. It just returns "There are no issue-tracker providers available".
1. Click "OK" to close the whole
settings dialogue window
Configure the Properties
------------------------
2. Once again, Right click on the root directory of the checked out
project
3. Select "TortoiseSVN > Properties" (in the right click menu
from the last step)
4. Add five property value pairs by clicking "New..." and inserting the
following in "Property Name" and
"Property Value" respectively:
> bugtraq:label BugzID:
> bugtraq:message BugzID: %%BUGID%%
>
> bugtraq:number true
>
> bugtraq:url http://[your fogbugz URL
> here]/default.asp?%BUGID%
>
> bugtraq:warnifnoissue false
![properties window][1]
![adding new property][2]
15. Click "OK"
Commiting Changes and Viewing the Logs
-------------------------------------
Now when you are commiting, you can specify one bug that the commit addresses. This kind of forces you to commit after fixing each bug...
![specifying bug addressed when commiting][3]
When you view the log (Right click root of project, TortoiseSVN > show log) you can see the bug id that each checking corresponds to (1), and you can click the bug id number to be taken to fogbugz to view that bug automatically if you are looking at the actual log message. Pretty nifty!
![Bug IDs now show in log][4]
[1]: http://www.chomperstomp.com/img/tortoiseSVNProperties.png
[2]: http://www.chomperstomp.com/img/addingNewProperty.png
[3]: http://www.chomperstomp.com/img/commit.png
[4]: http://www.chomperstomp.com/img/viewLog.png
[5]: http://www.chomperstomp.com/img/tortoiseSVNSettings.png
[6]: http://www.chomperstomp.com/img/addHook.png |
|php|windows|iis|upload| |
I'm trying to write some php to upload a file to a folder on my webserver. Here's what I have:
<?php
if ( !empty($_FILES['file']['tmp_name']) ) {
move_uploaded_file($_FILES['file']['tmp_name'], './' . $_FILES['file']['name']);
header('Location: http://www.mywebsite.com/dump/');
exit;
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
<head>
<title>Dump Upload</title>
</head>
<body>
<h1>Upload a File</h1>
<form action="upload.php" enctype="multipart/form-data" method="post">
<input type="hidden" name="MAX_FILE_SIZE" value="1000000000" />
Select the File:<br /><input type="file" name="file" /><br />
<input type="submit" value="Upload" />
</form>
</body>
</html>
I'm getting these errors:
Warning: move_uploaded_file(./test.txt) [function.move-uploaded-file]: failed to open stream: Permission denied in E:\inetpub\vhosts\mywebsite.com\httpdocs\dump\upload.php on line 3
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move 'C:\WINDOWS\Temp\phpA30E.tmp' to './test.txt' in E:\inetpub\vhosts\mywebsite.com\httpdocs\dump\upload.php on line 3
Warning: Cannot modify header information - headers already sent by (output started at E:\inetpub\vhosts\mywebsite.com\httpdocs\dump\upload.php:3) in E:\inetpub\vhosts\mywebsite.com\httpdocs\dump\upload.php on line 4
PHP version 4.4.7
Running IIS on a Windows box. This particular file/folder has 777 permissions.
Any ideas? |
I would look at [Java migrations](http://www.google.com/search?q=Zork+in+Java) of [Zork](http://en.wikipedia.org/wiki/Zork), and lean towards a simple [Natural Language Processor](http://en.wikipedia.org/wiki/Natural_language_processing) (driven either by tokenizing or regex) such as the following (from this [link](www.cs.gsu.edu/~cscrwh/2310/zork.java)):
public static boolean simpleNLP( String inputline, String keywords[])
{
int i;
int maxToken = keywords.length;
int to,from;
if( inputline.length() < 1) return false;
Vector lexed = new Vector(); // stores the words
// first extract every substring in inputline that has a blank on either side.
from = 0;
to = 0;
while( inputline.charAt(from) == ' ' && from < inputline.length() ) from ++; // skip ' '
if( from >= inputline.length()) return false; // check for blank and empty lines
while( to >=0 )
{
to = inputline.indexOf(' ',from);
if( to > 0){
lexed.addElement(inputline.substring(from,to));
from = to;
while( inputline.charAt(from) == ' '
&& from < inputline.length()-1 ) from ++;
}else{
lexed.addElement( inputline.substring(from));
}
}
//
// if we get here we have a vector of strings that correspond to the words in the input.
//
// so now we look for matches in order
boolean status =false;
to = 0;
for( i=0; i< lexed.size(); i++)
{
String s = (String)lexed.elementAt(i);
if( s.equalsIgnoreCase( keywords[to]) )
{
to++;
if( to >= keywords.length) { status = true; break;}
}
}
return status;
}
Anything which gives a programmer a reason to look at Zork again is good in my book, just watch out for Grues.
EDIT: This code is formatting correctly in preview albeit while churning my hard drive but not in the actual post. Go figure. |
Before reading anything else, please read the <a href = "http://beta.stackoverflow.com/questions/1615/how-can-i-modify-xfdl-files-update-1">original thread</a>.
A quick simple overview: A .xfdl file is a is a gzipped .xml file which has then been encoded in base64. I wish to de-encode the .xfdl into xml which I can then modify and then re-encode back into a .xfdl file.
I have been able to take a .xfdl file and de-encode it from base64 using uudeview:
uudeview -i yourform.xfdl
Then decommpressed it using gunzip
gunzip -S "" < UNKNOWN.001 > yourform-unpacked.xml
The xml produced is 100% readable and looks wonderful. Without modifying the xml then, i should be able to re-compress it using gzip:
gzip yourform-unpacked.xml
Then re-encoded in base-64:
base64 -e yourform-unpacked.xml.gz yourform_reencoded.xfdl
If my thinking is correct, the original file and the re-encoded file should be equal. If I put yourform.xfdl and yourform_reencoded.xfdl into beyond compare, however, they do not match up. Also, the original file can be viewed in an <a href = "http://www.grants.gov/help/download_software.jsp#pureedge">.xfdl viewer</a>. The viewer says that the re-encoded xfdl is unreadable.
I have also tried uuenview to re-encode in base64, it also produces the same results. Any help would be appreciated. |
How can I re-encode xml files to base64-gzip? Update #2 |
How can I encode xml files to xfdl (base64-gzip)? Update #2 |
How can I encode xml files to xfdl (base64-gzip)? |
|ruby|unix|encryption|compression|gzip|base64| |
Before reading anything else, please read the <a href = "http://beta.stackoverflow.com/questions/1615/how-can-i-modify-xfdl-files-update-1">original thread</a>.
A quick simple overview: A .xfdl file is a is a gzipped .xml file which has then been encoded in base64. I wish to de-encode the .xfdl into xml which I can then modify and then re-encode back into a .xfdl file.
I have been able to take a .xfdl file and de-encode it from base64 using uudeview:
uudeview -i yourform.xfdl
Then decommpressed it using gunzip
gunzip -S "" < UNKNOWN.001 > yourform-unpacked.xml
The xml produced is 100% readable and looks wonderful. Without modifying the xml then, i should be able to re-compress it using gzip:
gzip yourform-unpacked.xml
Then re-encoded in base-64:
base64 -e yourform-unpacked.xml.gz yourform_reencoded.xfdl
If my thinking is correct, the original file and the re-encoded file should be equal. If I put yourform.xfdl and yourform_reencoded.xfdl into beyond compare, however, they do not match up. Also, the original file can be viewed in an <a href = "http://www.grants.gov/help/download_software.jsp#pureedge">.xfdl viewer</a>. The viewer says that the re-encoded xfdl is unreadable.
I have also tried uuenview to re-encode in base64, it also produces the same results. Any help would be appreciated.
If you want to try it, <a href = "http://www.pmddtc.state.gov/pureedge/dtrade2/sample_dsp-5_v3.1.xfdl">Click Here</a> to download a sample .xfdl file. |
Before reading anything else, please take time to read the <a href = "http://beta.stackoverflow.com/questions/1615/how-can-i-modify-xfdl-files-update-1">original thread</a>.
A quick simple overview: A .xfdl file is a is a gzipped .xml file which has then been encoded in base64. I wish to de-encode the .xfdl into xml which I can then modify and then re-encode back into a .xfdl file.
xfdl > xml.gz > xml > xml.gz > xfdl
I have been able to take a .xfdl file and de-encode it from base64 using uudeview:
uudeview -i yourform.xfdl
Then decommpressed it using gunzip
gunzip -S "" < UNKNOWN.001 > yourform-unpacked.xml
The xml produced is 100% readable and looks wonderful. Without modifying the xml then, i should be able to re-compress it using gzip:
gzip yourform-unpacked.xml
Then re-encoded in base-64:
base64 -e yourform-unpacked.xml.gz yourform_reencoded.xfdl
If my thinking is correct, the original file and the re-encoded file should be equal. If I put yourform.xfdl and yourform_reencoded.xfdl into beyond compare, however, they do not match up. Also, the original file can be viewed in an <a href = "http://www.grants.gov/help/download_software.jsp#pureedge">.xfdl viewer</a>. The viewer says that the re-encoded xfdl is unreadable.
I have also tried uuenview to re-encode in base64, it also produces the same results. Any help would be appreciated.
If you want to try it, <a href = "http://www.pmddtc.state.gov/pureedge/dtrade2/sample_dsp-5_v3.1.xfdl">Click Here</a> to download a sample .xfdl file. |
public class MyClass<SpeciesType,OrderType>
where SpeciesType : Speciese
where OrderType : Order |
public class Animal<SpeciesType,OrderType>
where SpeciesType : Speciese
where OrderType : Order
{
} |
Can code running on top of an un-trustworthy platform retain its integrity? No, decades of broken copy-protection schemes lead me to postulate that this is impossible. The inverse, malicious code running in a trusted sandbox is feasible, but the best you can do with your problem is make it inconvenient for people to cheat. |
SQL Server unused, but allocated table space |
|sql-server| |
I have ms sql databases that grow very large. Upon examination I find that there is a bunch of unused space in certain tables. I don't do many physical deletes, so I don't think that its just deleted records. DBCC SHRINK doesn't make the file smaller. But, if I dump the table to a new, empty database, the size goes down about 80%. Instead of the 7gb I have in this table in the current database, I end up with about 1.5gb in the fresh database. Its as if sql server is allocating too much memory. Anyone encountered this before? I'd like to be able to shrink the table by removing unused allocated space without having to create a whole new database.
tia
Don |
I think I fixed it. It's turns out I had a simple config error. My ini file read:
sqlalchemy.default.url = [connection string here]
sqlalchemy.pool_recycle = 1800
The problem is that my `environment.py` file declared that the engine would only map keys with the prefix: `sqlalchemy.default` so `pool_recycle` was ignored.
The solution is to simply change the second line in the ini to:
sqlalchemy.default.pool_recycle = 1800
|
I find [doxygen][1] is useful for generating all kinds of dependency information when faced with a new project. It apparently handles "*C++, C, Java, Objective-C, Python, IDL (Corba and Microsoft flavors), Fortran, VHDL, PHP, C#, and to some extent D*". It uses Graphviz to generate graphical dependency charts. You can include full source code, with hyperlinks from everything that was recognised. If you are lucky there will be some documentation that doxygen understands in there already. You can then navigate around the code quickly, learning what all the relationships are.
[1]: http://www.doxygen.org/ |
I believe project [mono][1] has mac support.
Yup - [right here][2]
Of course, using paralles/vmware/virtualbox or any other virtual machine with a windows guest as you describe will also work fine.
[1]: http://go-mono.org
[2]: http://www.mono-project.com/Mono:OSX |
I believe project [mono][1] has mac support.
This assumes you want to develop directly on the mac and that you are happy to forgo some of the MS specific features and tools (so no C#3.0, libraries like WPF and Visual Studio).
Of course, using paralles/vmware/virtualbox or any other virtual machine with a windows guest as you describe will also work fine.
[1]: http://www.mono-project.com/Mono:OSX |
I prefer to use functional programming to save myself repeated work, by making a more abstract version and then using that instead. Let me give an example. In Java, I often find myself creating maps to record structures, and thus writing getOrCreate structures.
SomeKindOfRecord<T> getOrCreate(T thing) {
if(localMap.contains(t)) { return localMap.get(t); }
SomeKindOfRecord<T> record = new SomeKindOfRecord<T>(t);
localMap.put(t,record);
return record;
}
This happens very often. Now, in a functional language I could write
RT<T> getOrCreate(T thing,
Function<RT<T>> thingConstructor,
Map<T,RT<T>> localMap) {
if(localMap.contains(t)) { return localMap.get(t); }
RT<T> record = thingConstructor(t);
localMap.put(t,record);
return record;
}
and I would never have to write a new one of these again, I could inherit it. But I could do one better then inherting, I could say in the constructor of this thing
getOrCreate = myLib.getOrCreate(*,
SomeKindOfRecord<T>.constructor(<T>),
localMap);
(where * is a kind of "leave this parameter open" notation, which is a sort of currying)
and then the local getOrCreate is exactly the same as it would have been if I wrote out the whole thing, in one line, with no inheritance dependencies.
|
> I think the use of opaque context objects (HANDLEs in Win32, FILE*s in C, to name two well-known examples--hell, HANDLEs live on the other side of the kernel-mode barrier, and it really doesn't get much more encapsulated than that) is found in procedural code too; I'm struggling to see how this is something particular to OOP.
`HANDLE`s (and the rest of the WinAPI) *is* OOP! C doesn't support OOP very well so there's no special syntax but that doesn't mean it doesn't use the same concepts. WinAPI is in every sense of the word an object-oriented framework.
See, this is the trouble with every single discussion involving OOP or alternative techniques: nobody is clear about the definition, everyone is talking about something else and thus no consensus can be reached. Seems like a waste of time to me. |
Accessing a CONST attribute of series of Classes |
|php|oop| |
This is how I wanted to do it which would work in PHP 5.3.0+
<?php
class MyClass
{
const CONSTANT = 'Const var';
}
$classname = 'MyClass';
echo $classname::CONSTANT; // As of PHP 5.3.0
?>
But I'm restricted to using PHP 5.2.6. Can anyone think of a simple way to simulate this behaviour without instantiating the class? |
|php|object-oriented| |
|php|oop| |
Speed Comparisons - Procedural vs. OO in interpreted languages |
|oop|procedural|speed|maintainability|interpreted|comparison| |
In interpreted programming languages, such as PHP and JavaScript, what are the repercussions of going with an Object Oriented approach over a Procedural approach?
Specifically what I am looking for is a checklist of things to consider when creating a web application and choosing between Procedural and Object Oriented approaches, to optimize not only for speed, but maintainability as well. Cited research and test cases would be helpful as well if you know of any articles exploring this further.
Bottom line: how big (if any) is the performance hit really, when going with OO vs. Procedural in an interpreted language? |
I would look at [Java migrations](http://www.google.com/search?q=Zork+in+Java) of [Zork](http://en.wikipedia.org/wiki/Zork), and lean towards a simple [Natural Language Processor](http://en.wikipedia.org/wiki/Natural_language_processing) (driven either by tokenizing or regex) such as the following (from this [link](www.cs.gsu.edu/~cscrwh/2310/zork.java)):
public static boolean simpleNLP( String inputline, String keywords[])
{
int i;
int maxToken = keywords.length;
int to,from;
if( inputline.length() < 1) return false;
Vector lexed = new Vector(); // stores the words
// first extract every substring in inputline that has a blank on either side.
from = 0;
to = 0;
while( inputline.charAt(from) == ' ' && from < inputline.length() ) from ++; // skip ' '
if( from >= inputline.length()) return false; // check for blank and empty lines
while( to >=0 )
{
to = inputline.indexOf(' ',from);
if( to > 0){
lexed.addElement(inputline.substring(from,to));
from = to;
while( inputline.charAt(from) == ' '
&& from < inputline.length()-1 ) from ++;
}else{
lexed.addElement( inputline.substring(from));
}
}
//
// if we get here we have a vector of strings that correspond to the words in the input.
//
// so now we look for matches in order
boolean status =false;
to = 0;
for( i=0; i< lexed.size(); i++)
{
String s = (String)lexed.elementAt(i);
if( s.equalsIgnoreCase( keywords[to]) )
{
to++;
if( to >= keywords.length) { status = true; break;}
}
}
return status;
}
...
Anything which gives a programmer a reason to look at Zork again is good in my book, just watch out for Grues.
...
EDIT: This code is formatting correctly in preview albeit while churning my hard drive but not in the actual post. Go figure. |
I would look at [Java migrations](http://www.google.com/search?q=Zork+in+Java) of [Zork](http://en.wikipedia.org/wiki/Zork), and lean towards a simple [Natural Language Processor](http://en.wikipedia.org/wiki/Natural_language_processing) (driven either by tokenizing or regex) such as the following (from this [link](www.cs.gsu.edu/~cscrwh/2310/zork.java)):
<pre>
public static boolean simpleNLP( String inputline, String keywords[])
{
int i;
int maxToken = keywords.length;
int to,from;
if( inputline.length() < 1) return false;
Vector lexed = new Vector(); // stores the words
// first extract every substring in inputline that has a blank on either side.
from = 0;
to = 0;
while( inputline.charAt(from) == ' ' && from < inputline.length() ) from ++; // skip ' '
if( from >= inputline.length()) return false; // check for blank and empty lines
while( to >=0 )
{
to = inputline.indexOf(' ',from);
if( to > 0){
lexed.addElement(inputline.substring(from,to));
from = to;
while( inputline.charAt(from) == ' '
&& from < inputline.length()-1 ) from ++;
}else{
lexed.addElement( inputline.substring(from));
}
}
//
// if we get here we have a vector of strings that correspond to the words in the input.
//
// so now we look for matches in order
boolean status =false;
to = 0;
for( i=0; i< lexed.size(); i++)
{
String s = (String)lexed.elementAt(i);
if( s.equalsIgnoreCase( keywords[to]) )
{
to++;
if( to >= keywords.length) { status = true; break;}
}
}
return status;
}
</pre>
...
Anything which gives a programmer a reason to look at Zork again is good in my book, just watch out for Grues.
... |
**This answer is incomplete and flawed! It only works from TortoisSVN to Fogbugz, but not the other way around. I still need to know how to get it to work backwards from Fogbugz (like it's designed to) so that I can see the Revision number a bug is addressed in from Fogbugz while looking at a bug.**
----------
Helpful URLS
------------
[http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-propertypage.html][1]
[http://tortoisesvn.net/issuetracker_integration][2]
----------
## Set the "Hooks" ##
1. Go into your fogbugz account and click Extras > Configure Source Control Integration
2. Download "post-commit.bat" and the VBScript file for Subversion
3. Create a "hooks" directory in the root directory of each *checked out* project you want to integrate with
4. Place a copy of the files in each of those hooks directories
5. Rename the files without the ".safe" extension
6. Go outside of the root directory of the checked out project, and then right click on it.
7. Select "TortoiseSVN > Settings" (in the right click menu from the last step)
8. Select "Hook Scripts"
![TortoiseSVN > Settings > Hook Scripts][3]
1. Click "Add"
2. Set the properties thus:
* Hook Type: Post-Commit Hook
* Working Copy Path: C:\\Projects\\shipmentManager (or whatever your path is)
* Command Line To Execute: C:\\Projects\\shipmentManager\\hooks\\post-commit.bat (I also selected the checkbox to Wait for the script to finish)
Click OK...
![Adding a Hook Script][4]
*Note: I'm not sure if you should really be putting these each in their own hooks directory in each project, or if you can just put them in a common folder for all projects...*
At this point it would seem you could click "Issue Tracker Integration" and select Fogbugz. nope. It just returns "There are no issue-tracker providers available".
1. Click "OK" to close the whole
settings dialogue window
Configure the Properties
------------------------
2. Once again, Right click on the root directory of the checked out
project
3. Select "TortoiseSVN > Properties" (in the right click menu
from the last step)
4. Add five property value pairs by clicking "New..." and inserting the
following in "Property Name" and
"Property Value" respectively:
> bugtraq:label BugzID:
> bugtraq:message BugzID: %%BUGID%%
>
> bugtraq:number true
>
> bugtraq:url http://[your fogbugz URL
> here]/default.asp?%BUGID%
>
> bugtraq:warnifnoissue false
![properties window][5]
![adding new property][6]
15. Click "OK"
Commiting Changes and Viewing the Logs
-------------------------------------
Now when you are commiting, you can specify one bug that the commit addresses. This kind of forces you to commit after fixing each bug...
![specifying bug addressed when commiting][7]
When you view the log (Right click root of project, TortoiseSVN > show log) you can see the bug id that each checking corresponds to (1), and you can click the bug id number to be taken to fogbugz to view that bug automatically if you are looking at the actual log message. Pretty nifty!
![Bug IDs now show in log][8]
[1]: http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-propertypage.html
[2]: http://tortoisesvn.net/issuetracker_integration
[3]: http://www.chomperstomp.com/img/tortoiseSVNSettings.png
[4]: http://www.chomperstomp.com/img/addHook.png
[5]: http://www.chomperstomp.com/img/tortoiseSVNProperties.png
[6]: http://www.chomperstomp.com/img/addingNewProperty.png
[7]: http://www.chomperstomp.com/img/commit.png
[8]: http://www.chomperstomp.com/img/viewLog.png |