<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/">
    <channel>
        <title>Coding</title>
        <link>http://geekswithblogs.net/TehGrumpyCoder/category/10279.aspx</link>
        <description>Coding</description>
        <language>en-US</language>
        <copyright>TehGrumpyCoder</copyright>
        <managingEditor>dave@wynapse.com</managingEditor>
        <generator>Subtext Version 0.0.0.0</generator>
        <item>
            <title>Time for another re-invention I think&amp;hellip; but what next?</title>
            <link>http://geekswithblogs.net/TehGrumpyCoder/archive/2010/08/29/time-for-another-re-invention-i-thinkhellip-but-what-next.aspx</link>
            <description>&lt;p&gt;My own very recent personal experience mirrors this blog post:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://techcrunch.com/2010/08/28/silicon-valley%e2%80%99s-dark-secret-it%e2%80%99s-all-about-age/"&gt;Silicon Valley’s Dark Secret: It’s All About Age&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;So what do I do to deal with that? Looking at Vivek’s advice, item number 1 is to move into management … yikes… I firmly believe that if someone thought I had the chops to be a manager it would have happened 20 years ago… nobody wants to make me a boss, trust me :)  besides which, I like coding!&lt;/p&gt;  &lt;p&gt;Item 2 sucks… and goes totally against the American Dream of continually moving up… expect to earn less?&lt;/p&gt;  &lt;p&gt;And Item 3 is even worse… the implication is that you may not even be able to code in later years… how about this quote: “To be writing code for a living when you’re 50, you will need to be a rock-star developer and be able to out-code the new kids on the block.” … so since I’m writing code for a living at age 62 – WTF does *that* mean?&lt;/p&gt;  &lt;p&gt;I consider all ‘re-inventions’ to be versions.&lt;/p&gt;  &lt;p&gt;You’re sort of in version 1.0 as you go through K-12, since not everyone goes to college, but if I consider V1.0 to be a continuation of education, then mine took a side-step when I played guitar for a living, drove a truck for a living, and spent 3 years in the Army (70-73)… I think those were probably V2.0 and then actually getting back to school and earning a B.S. and M.S. (Electrical Engineering) probably was V1.5, but we branched the codebase on that one.&lt;/p&gt;  &lt;p&gt;So V3.0 was finally hitting the working world as a hardware engineer in January of ‘77. I always did software, so switching completely to software in ‘81 was V4.0  That began yet another progression of Assembler, Pascal, C, then Windows and C++, then I broke out of the large company corporate world for the 3rd time in ‘95 and went with smaller companies doing Windows coding, call that V4.5 since it was still part of the progression.&lt;/p&gt;  &lt;p&gt;But then one of the common problems happened… I was happy, doing good stuff, being productive, getting accolades and improving my chops, but I was still doing win32 desktop while all the young guys were learning .NET and the web.&lt;/p&gt;  &lt;p&gt;Blam… I find myself out of work in 2005, and I have to very quickly churn out Me V5.0 to support .NET web database apps. This version went out fast… no Unit Tests, no QA, just get the version out the door, so although I’m doing the work, my knowledge is only “work deep”.&lt;/p&gt;  &lt;p&gt;But I’m feeling pretty good as I’m hitting my stride on that one… I’m doing WPF/E then Silverlight (all on the side), get MVP (4 times so far), but what I’m doing all day is .NET web database code out to Oracle, Oracle Stored Procs, and MS Access still as a hold-over from when Me V5.0 was released.&lt;/p&gt;  &lt;p&gt;Blam… now I find myself not &lt;em&gt;out of work&lt;/em&gt;, but out of *that* work and I’m sort of at a loss as to what V6.0 is… or is it V5.5? … I’m too young to be V.Retired.&lt;/p&gt;  &lt;p&gt;My company has some design documents they expect me to review while waiting for an embedded C contract to open up… them: “do you know C?” me wondering WTF… “…well, I’ve done C# for 5 years although there’s a guy downtown will swear I don’t know it (reference the &lt;a href="http://geekswithblogs.net/TehGrumpyCoder/archive/2010/08/21/another-attempt-at-interviewing.-sigh.aspx"&gt;post last week&lt;/a&gt; about my interview). I did C++ for 10 years prior to that, and oh yeah… so 15 years ago I did a stint in C for a couple years, so yeah… I know C” … embedded C… I’ve been doing UI since 1981… now reference the article at the top of the page.&lt;/p&gt;  &lt;p&gt;Is that the ‘suck it up’ point? is V6.0 really sucking up the fact that I’m going to maybe finish off this career by strapping on the &lt;a href="http://en.wikipedia.org/wiki/WABAC_machine"&gt;WABAC machine&lt;/a&gt; and writing embedded C? because how long could I really do that before I wouldn’t be able to get a job doing .NET stuff anymore … but that may be rhetoric based on that last interview anyway.&lt;/p&gt;  &lt;p&gt;In some respects I feel my blog has taken up space that could have been filled by really learning more, but at the same time, it’s taken on a life of it’s own and is almost like a 2nd job. I don’t want to abandon that and all the readers, yet there’s only so many hours in the day… and speaking of that, I’ll be driving farther now.&lt;/p&gt;  &lt;p&gt;Friday I walked past the courtyard at my client’s facility and there were a couple guys out there drinking coffee and smoking and talking on a break. I thought it would be nice to have a job like that… one that you knew you could work for 30 years and then pack it in… but then I realized the flaw in that whole concept is that I’m not like that… I want to learn new stuff, and keep learning… and that’s what got me into this whole &lt;a href="http://molovinskyonallentown.blogspot.com/2009/04/life-of-riley.html"&gt;Revolting Development&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;Silverlight, WP7, Lightswitch, MVVM, UnitTesting, and on and on… it’s a never-ending stream of knowledge and information. You either pick one and hope you can ride it for as long as you need, or you keep chasing it all and try to hang on. You pays your dime, you takes your chances… or maybe as B.B. King sings “Nobody loves you but your mama, and she might be jivin’ too” … or maybe it’s too late on a Saturday night at the end of a really crappy 2 week run…&lt;/p&gt;  &lt;p&gt;But I do know one sure thing… on Monday morning I’ll be driving about 40 miles to an office I don’t know wherethehellitis… to be doing ihavenoclue… or forhowlongitwilllast… and that worries me.&lt;/p&gt; &lt;img src="http://geekswithblogs.net/TehGrumpyCoder/aggbug/141539.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>TehGrumpyCoder</dc:creator>
            <guid>http://geekswithblogs.net/TehGrumpyCoder/archive/2010/08/29/time-for-another-re-invention-i-thinkhellip-but-what-next.aspx</guid>
            <pubDate>Sun, 29 Aug 2010 14:19:27 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/TehGrumpyCoder/comments/141539.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/TehGrumpyCoder/archive/2010/08/29/time-for-another-re-invention-i-thinkhellip-but-what-next.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/TehGrumpyCoder/comments/commentRss/141539.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Fugly code</title>
            <link>http://geekswithblogs.net/TehGrumpyCoder/archive/2009/11/16/fugly-code.aspx</link>
            <description>&lt;p&gt;&lt;font face="tahoma"&gt; OK... particularly fugly code... wow.&lt;br /&gt;
&lt;br /&gt;
I'm about 2/3 of the way refactoring this huge beast of an application. I'm pulling SQL out of the code behind and putting it into the database layer. I'm using StringBuilder to avoid the loooooong chained together strings they used. Anything possible, I'm pushing to Oracle.&lt;br /&gt;
&lt;br /&gt;
But some of the worst is the client-side code. Multiple times I've found 60 or 80 non-breakable spaces to move something to the right! Data entry forms with 6 rows of data to fill out, and when I try to fix up the UX, things blow up and I find a label that's only in there to space something out... sigh.&lt;br /&gt;
&lt;br /&gt;
I've mentioned some of this before, but today's challenge is a 6-row form that's not-exactly orthogonal in it's layout. Of course I didn't really notice that until I started working on it. The reason it's not lined up both horizontally and vertically is because it's a table cell of a set width, and all 6 display rows are just non-breakable space-separated elements that wrap and make up the display ... seriously!&lt;br /&gt;
&lt;br /&gt;
I missed out on classic ASP, and came in on the tail-end of .NET 1.1, but I'm pretty sure this wouldn't be advisable in either of those, and it's a total Pain in the A$$ to straighten out.&lt;br /&gt;
&lt;br /&gt;
Just thought I'd share ... at least I know what I'm going to be doing all morning! &lt;/font&gt;&lt;/p&gt; &lt;img src="http://geekswithblogs.net/TehGrumpyCoder/aggbug/136328.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>TehGrumpyCoder</dc:creator>
            <guid>http://geekswithblogs.net/TehGrumpyCoder/archive/2009/11/16/fugly-code.aspx</guid>
            <pubDate>Mon, 16 Nov 2009 15:20:58 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/TehGrumpyCoder/comments/136328.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/TehGrumpyCoder/archive/2009/11/16/fugly-code.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/TehGrumpyCoder/comments/commentRss/136328.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Why I hate Software Forums</title>
            <link>http://geekswithblogs.net/TehGrumpyCoder/archive/2009/07/24/why-i-hate-software-forums.aspx</link>
            <description>&lt;font face="tahoma"&gt;I'm a big fan of being a self-starter, always learning, and trying new stuff. A big percentage of what I've learned in the software biz has been ratting around in other people's code... &lt;br /&gt;
&lt;br /&gt;
I had one Fortran IV class back in '67 and I sucked at it. I had some 1-on-1 help from a great guy teaching me BASIC in '68, and since then it's been Assembly (how many people bought their own copy of MASM?? -- twice??), Pascal, C, C++, C#, various databases, and forgetabout all the OS versions from mainframes to 8086 BIOS code and then out to Silverlight 3. &lt;br /&gt;
&lt;br /&gt;
And I had to learn all that on my own. I'm not complaining, I'm just sayin'... &lt;br /&gt;
&lt;br /&gt;
But apart from a few things, I did NOT learn them on forums. Well, forums didn't exist for half of that, but you know what I mean. &lt;br /&gt;
&lt;br /&gt;
I particularly hate asking questions on forums and avoid it at all costs. And why? Because of the people that troll the forums to respond to questions to get their 'stats' up. &lt;br /&gt;
&lt;br /&gt;
Case in point... I need to read a Word doc. NOT a docx, We're talking Office 2003 (in 2009). More specifically, I've got a doc that has a bunch of fields the user fills out, and I need to import that data from a web page and populate a web form then push it into the database. &lt;br /&gt;
&lt;br /&gt;
In writing code 42 years, I've not had to become an Office Interoperability expert, and I have no need to do so now.. I just need to read this freakin' form. &lt;br /&gt;
&lt;br /&gt;
So I spend a whole bunch of time in search engines seeing other people asking for the same information and getting a lot of the same answers:
&lt;ul&gt;
    &lt;li&gt;A two-liner instantiating a class with no other explanation, and HTF is that supposed to help &lt;/li&gt;
    &lt;li&gt;A link to MSDN -- geez that was the first stop and got me part way &lt;/li&gt;
    &lt;li&gt;Code that is obviously broken -- don't bother downloading &lt;/li&gt;
    &lt;li&gt;Code that doesn't work when you try to run it  &lt;/li&gt;
&lt;/ul&gt;
And my favorite(not):
&lt;ul&gt;
    &lt;li&gt;The guy that decides it's his job to make the questioner 'learn how to do this' rather than 'give him code' -- I've seen them actually say that. &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Hey AHole... go back to WOW or whatever it is you did before you became a computer guru in HighSchool. If I wanted to LEARN Office Interoperability, I'd dig into it. Meanwhile I've got a manager standing in my cubicle waiting for this code. &lt;br /&gt;
&lt;br /&gt;
Yeah I know, push a button and go on, but there are a LOT of those folks out there, and I don't understand what it is they think they're accomplishing other than driving away people that are trying to pick up some knowledge. &lt;br /&gt;
&lt;br /&gt;
I tried for a while to answer questions on the [...] forum, but unless you camp out on the forum hitting F5 every 10 seconds, it's impossible to respond to someone without overwriting someone else's post. I don't know what some of those guys do for a living, but I'm sorry, I have to get product out the door and don't have time to try to race someone to answer every forum post. &lt;br /&gt;
&lt;br /&gt;
My hat is off to all of you that persevere and post thoughtful helpful responses on the forums and take time to actually read what the questioner writes before you post an answer. &lt;br /&gt;
&lt;br /&gt;
And as long as I'm posting this, I will say that &lt;a href="http://www.utteraccess.com"&gt;&lt;u&gt;UtterAccess.com&lt;/u&gt;&lt;/a&gt; has the highest signal-to-noise ratio of any place I've ever been. &lt;br /&gt;
&lt;br /&gt;
OK now back to trying to read FormFields. When I figure it out I'll post a solution here. &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;/font&gt; &lt;img src="http://geekswithblogs.net/TehGrumpyCoder/aggbug/133691.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>TehGrumpyCoder</dc:creator>
            <guid>http://geekswithblogs.net/TehGrumpyCoder/archive/2009/07/24/why-i-hate-software-forums.aspx</guid>
            <pubDate>Fri, 24 Jul 2009 16:22:28 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/TehGrumpyCoder/comments/133691.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/TehGrumpyCoder/archive/2009/07/24/why-i-hate-software-forums.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/TehGrumpyCoder/comments/commentRss/133691.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Mental Health Afternoon</title>
            <link>http://geekswithblogs.net/TehGrumpyCoder/archive/2009/07/17/mental-health-afternoon.aspx</link>
            <description>&lt;p&gt;I can go a long time without time off, or at least time away from the office, but I hit tilt today.&lt;/p&gt;  &lt;p&gt;It started early with not being able to find the code for the book to upload. Then when I did, I realized I hadn’t tracked chapter changes in the code so although the code was good, naming was wrong… fail!&lt;/p&gt;  &lt;p&gt;Then at the office trying to finish the latest refactoring effort I got to the point of adding Help files and wanted to add a Help button in a new column in a couple places.&lt;/p&gt;  &lt;p&gt;Things just looked hinky and man I liked how this was working and did NOT want to dork around with the html on this sucker.&lt;/p&gt;  &lt;p&gt;But I did, and was just killing myself trying to figure out WTF… it seemed like the one and only column was over 700 pixels when everything was less than 550. I’m adding crap up with a calculator even just for sanity’s sake, and can’t find it.&lt;/p&gt;  &lt;p&gt;So the next best thing is to pull tr sections out with my editor, refresh the UI in VS and if it is still 700, put it back in and go to the next.&lt;/p&gt;  &lt;p&gt;There are maybe 8 rows and number 7 was it. But I’m still not seeing it. So line by line I start taking it apart and wait a minute… what’s that label… oh crap… my predecessor stuck a label in as a spacer to get a line to wrap instead of a break and that’s my 700 pixel line… $%&amp;amp;**#!… ok… replaced that with a br and wow… things are swell.&lt;/p&gt;  &lt;p&gt;Saved that all out, picked up my toys, turned in my time sheet and status report, and hit the air… I’ll put the button in on Monday.&lt;/p&gt;  &lt;p&gt;This is just the latest and I can’t believe I didn’t think of it. I’ve had 60 non-breakable spaces in multiple forms, and labels as spacers isn’t new… I just thought I’d cleaned this one up… sigh.&lt;/p&gt;  &lt;p&gt;Note to self… assume nothing, expect nothing, do it your own darn self.&lt;/p&gt; &lt;img src="http://geekswithblogs.net/TehGrumpyCoder/aggbug/133568.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>TehGrumpyCoder</dc:creator>
            <guid>http://geekswithblogs.net/TehGrumpyCoder/archive/2009/07/17/mental-health-afternoon.aspx</guid>
            <pubDate>Sat, 18 Jul 2009 00:57:23 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/TehGrumpyCoder/comments/133568.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/TehGrumpyCoder/archive/2009/07/17/mental-health-afternoon.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/TehGrumpyCoder/comments/commentRss/133568.aspx</wfw:commentRss>
        </item>
    </channel>
</rss>
