Monday, January 11, 2016
Use ANTLRWorks as IDE.
graphviz Viz.js mdaines.gitgub.io/viz.js
generate c# via Rosylyn, or IL-emit
Antlr is a .Net library and Java library.
Use Fizzler to do css matching
Thursday, January 07, 2016
|First was a yummy Mexican Food Buffet from New Iron Group|
|We broke into small groups for a workshop task|
Six Pitfalls of Agile Adoption
1. Agile is just a process change
- need technical practices: automatic testing, continuous integration, automated deployment
2. No support for the change (J-curve: productivity drops in first phase of "resistance and chaos")
3. Leadership is not aligned
4. Teams not able to deliver potentially shippable software, small teams not able to delivery software because integration with others not working
5. Only focused on the team vs the organizational impediments
6. Organizational misalignment
Path to Agility:
Knowledge - ownership of process; everyone has knowledge; do agile before you be agile
Alignment - make sure everyone knows why we are going through this pain
Continuous improvement culture
Visibility - card walls; visibility to work in progress; where are the bottlenecks? Where is process stuck?
Shorter Time to Market
Monday, December 14, 2015
Here's a few pics of the evening.
|Justin describing CSS|
|Panorama of the crowd|
My unordered list of jumbled notes:
border: 10px solid blue; #order doesn't matter
border-bottom:... #only for the bottom
margin property can be negative.
"auto" centers element horizontally only.
line height specifies vertical distance between lines of text in container.
line-height: [number | length | % ]
display:block; # default width is 100%. Always on same line
display:inline; # width is only based on content. You cannot set a width on it. Can do margin-left and right, but not top and bottom.
display:inline-block; # may have width. operates like a magic block inside inline element. display:none; # hides the element and its space. triggers a reflow.
float:left; float:right; #pushes element left or right. Treated as "display: block" except you can set the width.
clear: left #
clear: both #
visibility: hidden; #like display:none, but does not cause a reflow, keeps its place
position: static; # default, puts the element in the flow
position:relative; #moves element, but does not reflow
position: absolute; # positioned from positioned-ancestor with things like "top: 200px"
position: fixed; # takes it out of the flow, positioned in viewport
top, right, bottom left, only works for positioned elements
z-index # determines the depth position of stacked elements, only works for positioned elements, ie, not "position:static".
to center vertically:
position:absolute; top:50%; margin-top:10px;
left: -25px; # only on positioned elements
Justin did mention that most developers never sit down to learn CSS, we just learn tiny bits as needed. I feel the same way, so it was great to get a full 2 hour overview of how positioning really works.
NuGet is a popular .Net package manager. .Net was late to the party for package managers (see RubyGems and apt-get), but it's here and been gaining traction the last few years.
NuGet relieves the developer from searching the web for common libraries and provides a single place to download most libraries. NuGet also has a common file structure so it helps to standardize the file structure across projects.
Adding a LibraryTo add a package to a project, right-click on the project and select "Manage NuGet Packages..."
(If you don't see that on the context menu, you may need to download the NuGet extension on older versions of VS).
Set the source to "Online" and search for your package. Let's install Json.NET.
At this point the Package Manager does the following:
1. Creates a solution\packages directory and a "repositories.config" file if not already there
2. Downloads, typically from nuget.org, the *.nupkg file into the solution\packages directory and unzips contents including the dlls needed.
3. Adds a "packages.config" file to project if not already there
4. Adds references in the project to the libraries in the solution\packages directory
5. Updates the web.config if needed
Removing a ProjectThe VS GUI for NuGet will also let you uninstall a package. Removing a package should remove references, package.config entries, but may not remove web.config settings or dependencies. Always check to make sure all items are removed.
The Package Manger Console
Here are a few common powershell commands for the console
- PM> Get-Package # gets all packages in solution or project
- PM> Get-Package -ListAvailable Elmah # all available named Elmah
- PM> Install-Package elmah # install elmah and all its dependencies
- PM> Uninstall-Package elmah #uninstalls library, but not necessaily its dependencies
- PM> Uninstall-Package elmah.corelib # uninstalls dependency
- PM> Install-Package jquery -Project MyProject3 # install in specific project regardless what dropdown says
- PM> Install-Package jquery -Version 1.5 # not in GUI
- PM> Get-Package -Updates # show updates available
- PM> Update-Package jquery # updates all packages in solution regardless of scope dropdown
- PM> Update-Package jquery -Version 1.5 -Project MyProject2 #changes version just for a specific project
- PM> Update-Package -reinstall jquery -Project MyProject2 # re-adds references
We check in our "packages.config" file in each project to our version control system, Perforce. But sometimes Perforce does not see that a "packages.config" file has changed and we manually add it to Perforce.
We don't checkin any of the packages in our packages directory, and rely on the build system to grab the missing libraries from the NuGet repository. Also the "packages/repository.config" is not checked in, but rebuilt each time.
Friday, December 04, 2015
What3Words divides the world into 3 meter by 3 meter grids and assigned each grid square a triplet of words, like "browser.bride.uniforms". Now, to identify a place in the world you use their three words. You could use lat/long, which is more specific, but is harder to memorize.
I can see this saving a lot of energy and reducing the carbon footprint of delivering packages in parts of the world where addresses are not easy. Tokyo is notorious for having complex addressing. With What3Words, a taxi cab or ups driver would know exactly where to go.
Especially in rural areas or camp sites, What3Words would be helpful. You could tell your late Boy Scouts to come red.frog.one which is easier than go 200 yards down the stream from campsite 12, then 50 yards to the South.
My office is at 206 East 9th, Austin TX. The lat/long is 30.270568/ -97.739911,
but its easier to remember "quirky.together.styled".
Or a few grid squares over we have "provider.indeed.sensual" which could be more memorable.
(Perhaps if What3Words catches on, office rental space with catchy 3 words would command a premium)
What3Words really has a potential if Google and Apple will integrate it into their mapping products.
Tuesday, November 24, 2015
Sallie: We learned today in school about how termites can destroy a house.
Mr. Hooper: Yep, that's the reason every Friday night we take our kerosene lanterns and spend a few hours searching through the roof thatch to look for those pesky pests.Brother Jed coming in the door: I just chopped down the Christmas tree - it's a bute!
Sallie: It is beautiful Jed! Let's check it for termites now - I'll run get a candle.
Mrs. Hooper: Jed, just put the tree down next to the bale of hay on the other side of the fireplace - next to the barrel of kerosene.
Jed: Ok, Mom.
Mrs. Hooper: Hey, let's decorate the tree now! Here's a bunch of small candles. Let's tie them on the tree and light up this room.
[Later that night]
Sallie: The tree is so beautiful with all the candles burning bright! Can we let them burn all night to keep the termites away?
Mrs. Hooper: Of course!
The Hoopers are obsessed with termites destroying their home, yet are oblivious to the real threat to their lives.
In the same way the media and politicians today are obsessed
We have had many close calls when due to equipment malfunction or human error, the missiles almost launched - seriously. Sometimes the launch was prevented by a lone individual who just refused to push the button.
Our leaders need to be obsessing on ways to reduce the likelihood of an accidental launch of missiles that could destroy all human life on earth.
Oh, yeah, the Hoopers? Thanks to Jed's quick thinking later that night, they all escaped the inferno that was their home with only minor injuries.
And for your viewing pleasure, a related video from the 80s at no charge:
Monday, November 02, 2015
Afterwards my browsers' home pages and search engines changed - arrrrrgggggghhhhhhh!!!!! - unanticipated adware choking my machine.
After an hour or so of trying to remove the adware - scanning, rebooting, scanning, rebooting - it was almost gone. That was an expensive "free" program. Oddly enough it loaded the Adware but not Filezilla.
After a wee bit of research, I downloaded WinSCP to ftp through a proxy. WinSCP read my putty settings and automagically loaded ftp sites. It works like a charm without the AdWare bloat.