Monday, July 13, 2009

dave^2 = -1: An introduction to the SOLID principles of OO design

He makes this stuff more comprehensible than Robert Martin, who is the creator of the acronym.

dave^2 = -1: An introduction to the SOLID principles of OO design: "I would be very hard pressed to go passed [sic] Robert 'Uncle Bob' Martin's SOLID principles as the single most useful tool for helping me with OO design. Some people seem to have a natural talent for OO design and thinking, and have an innate understanding of these principles without requiring the SOLID formalism. I, on the other hand, find them indispensable.

"Unfortunately the names used in the somewhat-cryptic 'acronym of acronyms'[1] don't exactly lend themselves to being easily learned (Bob Martin and Scott discussed how this came about on a Hanselminutes episode on SOLID, which is well worth a listen). I thought I'd post my interpretation of the principles as a refresher for myself, and as an introduction for anyone trying the learn the terminology."

Wednesday, July 08, 2009

Visual WebGUI: Web UI Development - RIA Platform / Framework

Very, very cool! A few bugs, but it's open source!

Web UI Development - RIA Platform / Framework: "Developing new Rich Internet Applications (RIA) has never been so fast and simple due to Visual WebGui's drag & drop, near zero coding Development Experience. The rapid web development well suited for building small applications UI in a matter of hours as well as very complex and large applications in a very short time. Visual WebGui allows you to use your existing .NET skills and development patterns since it is based on proven desktop & web technologies. It simplifies web development by flattening the development process into a single layer and empowers front-end design with an intuitive visual WYSIWYG Form designer which lets you use any WinForms, ASP.net and Silverlight controls."

Wednesday, July 01, 2009

Microsoft StyleCop : Introducing StyleCop on Legacy Projects

Microsoft StyleCop : Introducing StyleCop on Legacy Projects: "In this article I’ll describe a technique for doing a slow, staged rollout of StyleCop over your existing codebase. This technique has been used successfully by multiple teams within Microsoft, allowing them to adopt the tool in a controlled manner without generating a lot of noise up front. The general idea is to enable the tool for all of your solutions, but disable the tool from analyzing all pre-existing C# files. This provides the following advantages:"

Tuesday, June 23, 2009

Peter Van Roy: Programming Paradigms for Dummies

To quote Lambda the Ultimate:
This chapter gives an introduction to all the main programming paradigms, their underlying concepts, and the relationships between them. We give a broad view to help programmers choose the right concepts they need to solve the problems at hand. We give a taxonomy of almost 30 useful programming paradigms and how they are related. Most of them differ only in one or a few concepts, but this can make a world of difference in programming. We explain briefly how programming paradigms influence language design, and we show two sweet spots: dual-paradigm languages and a definitive language. We introduce the main concepts of programming languages: records, closures, independence (concurrency), and named state. We explain the main principles of data abstraction and how it lets us organize large programs. Finally, we conclude by focusing on concurrency, which is widely considered the hardest concept to program with. We present four little-known but important paradigms that greatly simplify concurrent programming with respect to mainstream languages: declarative concurrency (both eager and lazy), functional reactive programming, discrete synchronous programming, and constraint programming. These paradigms have no race conditions and can be used in cases where no other paradigm works. We explain why for multi-core processors and we give several examples from computer music, which often uses these paradigms.
The concurrency stuff looks interesting.

40+ Essential Front End Web Developer Cheat Sheets | tripwire magazine

There's a ton!

Monday, June 22, 2009

Thursday, June 11, 2009

Steve Smith and SOLID

Since I missed Steve Smith's presentation at the last .NET SIG, and there is nothing posted (yet), here's a link to the SOLID principles that he was talking about।
[6/22/09 update: here's the link to his presentation.
And a link to Uncle Bob.]

Saturday, June 06, 2009

Rio by Vice Magazine




Ask any self-respecting carnivore what to eat in Rio, and they’ll tell you about the rodizios. A rodizio is more than just a meal, it’s an elaborate battle of wits between you and the doe-eyed service staff, as they waft meat under your nose. You indicate your desire to stick or twist with a doublesided card; green meaning “feed me” and red meaning “get away from me, peasant.” Also, when in Rio, don’t forget to find a juice bar, and ask for an açai smoothie. It might look like something Barney the Dinosaur would leave in the toilet, but the Amazonian berries served with ice eradicate all traces of a hangover you got from drinking too much Brahma beer in approximately 30 seconds.



For a true carioca sleeping experience, head in search of the notorious love motels. Paid by the hour, motels are as ubiquitous and well-frequented as churches, with each one even given an individual star rating for their level of service. For a dollar or two per hour, you get your bog-standard plastic sheets and herpes on tap, but if you want to quite literally splash out, the five-star deluxe motels have heart-shaped water beds, sex harnesses, a hot-tub fit for a futebol team and gimp-suits on room service.



Forget hanging out, spend as much time and money as you can buying as much cheap tat as you can get. It’s best to avoid the enormous identikit shopping malls, and take to the streets if you want some weird stuff. Also, look out for the dudes selling racks of bootleg funk carioca CDs. The thrift shops of Lapa are the place to go for the Bonde Do Role look. You can also put together a nice collection of vintage Playboys, which, if you’re lucky, will have had just one careful owner.



In the south zone, there’s a small handful of underground clubs, such as Moo, Dama De Ferro and Fosfobox where you can join an invariably tattooed and bisexual crowd in watching big name DJs or, if you’re really lucky, Madoninha. She’s a blonde dwarf who sings literally translated renditions of Madge classics, such as “Como uma virgem. Oh!” If you want to learn more about “ginga”, the fluidity and movement of Brazil, watch the short film Movimento at brahma.com

Thursday, June 04, 2009

Quality Circles and Communication -- brief synopses

Useful information for my job.

Very important point regarding the essence of Kaizen (emphasis added):
Much of the success of Kaizen came about because the system encouraged many small-scale suggestions that were cheap and quick to implement. They also came from shop-floor employees - who had a detailed appreciation of the benefit each change might make to the process concerned. By implementing many small improvements, the overall effect was substantial.

Their communication link has the following important point on communication, which point may have been missing from the communication team project charter:
Co-ordination of departments, teams and groups - e.g. making sure that marketing, production and administration know what each other is doing, when and why

Tuesday, May 19, 2009

Tuesday, May 12, 2009

Multiple IE Versions revisited

I wrote a while back about installing multiple versions of IE on your computer. Since IE 8 came out, I went back to the site to see if it had been updated. It hadn't, but a commenter on the site posted this link: http://finalbuilds.edskes.net/iecollection.htm

I haven't tried it yet, however.

Sunday, April 26, 2009

Using Script# with ASP.NET

Random notes on this topic.
  • Follow instructions here on wiring up the control, specifically the parts about implementing IScriptControl, and overriding OnPreRender() and Render(). However you *must* make one crucial change, or else you'll break ALL javascript on the page.
    • You must change this line as follows:

    • Before:
          var descriptor = new ScriptControlDescriptor("namespace.class", this.ClientID);
      After:
          var descriptor = new ScriptControlDescriptor("namespace.class", someOtherControl.ClientID);
      The problem is that user controls do not, per se, have an associated HTML control, so it's necessary to place the control's contents inside a Panel. If you do try to create a descriptor using "this", the un-handled error resulting from the $create() call on the client will cause all page-initialization-related Javascript that runs after that point to fail, thus breaking the page in a big way.

Tuesday, April 07, 2009

GWT Designer, ScriptSharp, Ext JS

Some AJAX things I've been eyeing. Microsoft AJAX just isn't good for certain things, although it's nice.

Monday, March 30, 2009

Asp.Net Session Timeout control

Works with AJAX too.

This is pretty cool. It truly is just something you drop onto the page and configure.

http://weblogs.asp.net/latishsehgal/archive/2008/08/29/asp-net-session-timeout-control.aspx

The blog post describes an important change, but he documents it rather poorly. The changes he describes must be made to the “Timeout.js” script.

Saturday, March 07, 2009

NYTimes: Job Losses Hint at Vast Remaking of Economy

History happens in slow motion. This article looks like it's eerily foreshadowing the future. We go about our lives, worried about the situation around us, but the world is the same for the most part. After 9/11, everyone talked about how everything would change, yet the world continued as it did before. Irony did not die. But I think that the changes happening now will dwarf the post-9/11 changes that everyone was predicting at the time.
From The New York Times:

Job Losses Hint at Vast Remaking of Economy
By PETER S. GOODMAN and JACK HEALY

With unemployment at 8.1 percent, some economists believe that a wrenching restructuring is under way....

http://www.nytimes.com/2009/03/07/business/economy/07jobs.html

Thursday, March 05, 2009

Building Composite Data Bound Controls in ASP.NET

Describes how to build a CompositeDataBoundControl, overriding CreateChildControls() and so on.

Monday, February 23, 2009

Wednesday, February 11, 2009

How to determine iPhone firmware version

This didn't work for me. Brought up tons of diagnostics, but no version.
"How do I find out what firmware version my iPhone is?

You don't actually need to know this in order to unlock your iPhone with us, as our software works with all current iPhone firmware versions, but to check yours - simply dial *3001#12345#* then press the call button, compare your Modem version to the table below to find out your firmware version:

1. 04.04.05_G - OTB 1.1.4 iPhone
2. 04.03.13_G - OTB 1.1.3 iPhone
3. 04.02.13_G - OTB 1.1.2 iPhone
4. 04.01.13_G - OTB 1.1.1 iPhone"

Monday, February 09, 2009

ASP.NET AJAX partial update does not work with xhtmlConformance tag in web.config

What a pain! I spent hours troubleshooting this.

I converted a .NET 1.1 application to .NET 2.0. The web.config had this section:
  <system.web>
...
<xhtmlConformance mode="Legacy"/>
...
</system.web>

When I removed the xhtmlConformance tag, it began working again.