This is just a spot to keep miscellaneous links. It also shows you what a geek I am.
Thursday, April 24, 2008
Perfecting OO's Small Classes and Short Methods
He suggests writing a 1000-line program with the constraints listed below. These constraints are intended to be excessively restrictive, so as to force developers out of the procedural groove. I guarantee if you apply this technique, their code will move markedly towards object orientation. The restrictions (which should be mercilessly enforced in this exercise) are:"
Git and SourceSafe
- Diff-tree from master to the desired merge point.
- Check out the files marked as "M" or "D"
- Merge desired merge point into master.
- Check in the files marked as "M" or "D"
- Add the files marked as "A".
- git diff-tree master POS-safe --name-status -r | tee files.txt
- ./Python/VSSHelper.py -o -d files.txt
- git merge POS-safe
- ./Python/VSSHelper.py -i -d files.txt -c "VSS check-in comment."
- Manually add files to SourceSafe. This should be easy in Visual Studio. If not, use the VSS client.
Thursday, April 17, 2008
MSAGL: Microsoft Automatic Graph Layout (formerly known as GLEE)
"MSAGL: Microsoft Automatic Graph Layout
MSAGL is a .NET tool for graph layout and viewing. It was developed in Microsoft Research by Lev Nachmanson. MSAGL is built on the principle of the Sugiyama scheme; it produces so called layered, or hierarchical layouts. This kind of a layout naturally applies to graphs with some flow of information. The graph could represent a control flow graph of a program, a state machine, a C++ class hierarchy, etc."
This was formerly known as GLEE:"GLEE: Graph Layout Engine
GLEE: Graph Layout Execution Engine Tool purpose GLEE is a .NET tool for graph layout and viewing. It has been developed in Microsoft Research by Lev Nachmanson
http://research.microsoft.com/users/levnach/GLEEWebPage.htm"
Wednesday, April 16, 2008
Terminal Services Group Policy (how to set timeouts for remote sessions)
It's so freaking NON-obvious how to get to the Group Policy Object Editor.
Run this:
C:\WINDOWS\system32\mmc.exe C:\WINDOWS\system32\gpedit.msc