Better HN
topnewbestaskshowjobs
Log inSign up

TimGebhardt

382 karma · joined Aug 19, 2011 (15y ago) · 100 submissions

Paid to write .NET code. Writes in pretty much anything else on side projects.
Submissions

comment 14y ago · link · parent

For those not aware why this guy's rant might be important, he's the author of "Working with Legacy Code". That book is pretty much a how-to (and a great one at that) on how to get your legacy code base in a testable state so you can write automated tests.

comment 14y ago · link · parent

Maybe I can respond with an anecdote relayed by my wife: She was a Biology undergrad who got into food science. Her first job was for a food co-manufacturer who made many of the frozen pizzas you probably eat (but purchase under the major labels brands). She invented the formulas and ran test batches before they'd run the actual production runs in the factory. They co-manufactured a lot of food and if you've eaten any frozen pizza or cheap take-out/delivery pizza within the last 5 years you've probably eaten bread my wife "optimized" :). I just want to make sure I set this scene up before I get into the incredibly crazy part:

When she first started she did two things that previously nobody else did: she wrote her formulas down as she made them so she could reproduce them later, and she applied the scientific method to her formula making. Now anybody else reading this HN comment will probably think "WTF that's very obvious". Like I said, she was the first person to do it at her gigantic company (along with her other new co-worker hired at the same time).

And she was made fun of and teased! "You crazy college kids" was what she heard at first. Then after she proved that she was far and away more productive than any of her co-workers they'd scoff at her that "Pizza making is an art". Nevermind that in between those scoffs her boss said she was the most creative thinker...

The old guards wouldn't even write down what ingredients or the quantity when they were making new formulations. They'd have to try to remember later what they did. And guess and checking formulas was how they'd develop new stuff that was tightly specified. Guess and checking pizza is almost always a lot slower than guess and checking the positioning of a label on a web app, so this was a very expensive process.

And when you work with food at that scale it's all marketing driven: Marketing comes down with an idea that "Sodium is scary so let's develop a pizza that's really low sodium. Oh and let's see if we pitch it to blah for their kids meal". They'd specify a level of sodium that was acceptable, and then the kids meal specifications had their own acceptable levels of X, Y, and Z. So with that in mind she would work backwards, make 12 different formulations in spec at once and let the marketers try them to see which tasted best (sidenote: low-sodium pizza tastes awful. Just eat real pizza and have an extra glass of water).

All of these scientific techniques were totally foreign to her co-workers and even her customers, and we're talking math and science that most learn in 4th grade. She worked for a huge successful company that's successful in spite of itself! Could you imagine the software that could have helped her do an even better job: - Software to manage the dozen or so different variations of the project she was working on - Even better, software to help her collaborate with an assistant so she could get these 12 variations in front of customers faster - Software to help her plot some sort of optimization curve to figure out the 12 different variations she should try based on the input parameters - Some sort of version control for her formulations - Automatically come up with the nutrition label before she started working on the pizza - Even more if I could remember some of our other ideas

So to keep on topic: There are a lot of things, at least for baking, that were disrupted by just using 4th grade math and science. Software was the next step, and we were going to start making software (she'd be the domain expert for my coding work), but then we had twin boys so right now we're just trying to tread water. Maybe soon...

comment 14y ago · link · parent

It wasn't the multiple cores that allowed AMD to steal market share from Intel. It was the original Athlon chips around the turn of the century. They were the first chips that ran at a lower clock speed but produced far superior benchmark numbers in just about any benchmark. Combine that with the much higher prices that Intel charged for inferior products and AMD had a great run until Intel ditched the Pentium 4 line.

http://en.wikipedia.org/wiki/Athlon

Dual core chips came along much later.

comment 15y ago · link · parent

I actually like the .application format. It's nice because it's just an XML file that the end-customer's computer knows what to do with it.

At my company we've actually created an ASP.NET MVC application that dynamically constructs and serves the .application file on a per-user basis. This easily allows us to do canary releasing or beta previews.

We're very happy with it, and so are our customers and stakeholders.

comment 15y ago · link · parent

ClickOnce doesn't require admin privileges to install software. Each program is installed on a per-user basis under the user's profile. So it doesn't need admin rights to write to C:\Program Files. I'm pretty sure this is how Chrome works as well.

As for installing COM components, you can install COM components on a per-user basis as well. The registry keys are installed under HKCU rather than HKLM, so again you don't need admin access.

I program .NET client applications for my day job and we use ClickOnce to deploy our software. The software doesn't require admin access to install or use, and we register a COM component for integration with Excel and it all works just fine.

comment 15y ago · link · parent

T Mobile doesn't work this way. They break out the subsidy of the phone and the data/voice plan as separate line items. I will pay off my brand new Galaxy S2 in 22 months, after which my phone plan will be $15 bucks cheaper a month.

comment 15y ago · link · parent

Amen to this article. I know all to well as a former Motorola Cliq customer how badly Motoblur makes your phone feel like the neglected stepchild of the Android ecosystem.

It launched with a heavily modified 1.5 version of Android (with a bunch of 1.6 functionality backported). This was at a time when Android 2.1 had been out for a while (edit: mid-November 2009). I remember asking the T-Mobile saleperson if there were plans to get 2.1 on the phone. He assured me he knew people beta testing it for release probably next quarter.

14 months later Moto released a buggy-as-all-heck version of 2.1 for the Cliq. Never followed up with a bug release that fixed all the instabilities of the phone.

Sadly the Cyanogenmod community started to care about the Cliq only a few months before I bought a Galaxy S2.

I just can't trust Moto to keep up at all. Fool me once and all...

comment 15y ago · link · parent

The program that was previous scheduled to air in that timeslot was called "Can you live forever?"

#toosoon ?

comment 15y ago · link · parent

This is pretty normal. Microsoft itself even endorses this: The .NET Framework has a installation framework built into it (analogous to Java WebStart) called ClickOnce. It's a framework that doesn't require administrator access to install programs, but if you do that then you can't install programs to Program Files. So it installs the apps on a per-user basis to AppData.

comment 15y ago · link · parent

Even more: because you didn't click on your contact's name in your contact list?

I click on my dad's name in my contacts list and it shows his home phone, cell phone, and address. Next to each is an icon allowing me to "call the phone number" or "launch Navigation for this address".

1234