I was fortunate enough to be able to buy a great house exactly where I wanted to live in December of last year. It was a long road, albeit by choice, to get here. I am a big fan of flexibility and in fact, my life for quite a while involved a lot of travelling across the country to see my family.
I’m not complaining, that is just how it went down for me and it was great. But I bought this house, which again, I really do like. Feels very homey to me now, more so every day in fact. This morning I stepped outside with my coffee and realized I was too warm in my tshirt and hoody and had to take it off. If you know me personally, you’ll likely recall that I am usually cold and winter makes me cry like a little child :’(
At any rate. Last weekend, the garage was finally emptied of all boxes and we could park in there, which is awesome (thank you Rachel!) However, there is now a ton of boxes back in the house again. Its somewhat overwhelming.
I feel like I waste too much time winding down from a day at work. Don’t get me wrong, I love working and I love developing software of any kind on any platform. But being a person, I do have some personal preferences which I consider ideal. I find when they are not met it physically and emotionally takes a toll on the energy allotment I have to live with.
Well, this stuff is not going to put itself away, I guess I just wish I felt more like doing it. I’m sure when it’s done, I’ll feel great about it, just that damn motivation.
Anyway, wish me luck, tomorrow is looking like it’s going to be a busy one. Oh yeah, and then Boy Scouts at 7:30. Make that, it looks like it’s going to be a long, busy one
Impressed but not impressively- A friend’s interview code sample
So a friend of mine is currently employed at a large multi-national IT contracting company. Well, that’s not entirely true, the company does staff augmentation for many sectors, IT being one of them, and while they can provide full software development life cycle services, they are typically staff augmentation.
That being said, he’s a developer. And a developer who came to developing later in life after learning, living, and dumping a previous career. He’s been doing professional development (i.e. it is his sole income) for 6 years and of the many developers I know he’s a natural, learns quick and the “right way” and the why’s. I’d hire the man for a senior developer position in a minute.
However, the economy being what it is, he is currently working a junior developer position. By which I mean doing senior developer work for junior developer money. Hey, it’s beats unemployment, no doubt, however things could be better along the compensation lines. As I’ve said, the man does not play around and he’d be a bargain at 3 times his salary (straight up.)
Well like any sane person (well as sane as one can be and still want to be a software developer), he’s taking the initiative and looking around for other employment where the compensation will be more commensurate with his efforts, and the challenges will be developmental and not overcoming ridiculous arbitrary management process (again, you’ll have to take my word that the problems are ridiculous and that he can not change them.)
So one of the places his recruiter is submitting his resume to is requiring he write a small windows console application that satisfies the following requirements:
Ok, fair enough. I love that they asked for a code sample. At the end of the day, writing the code is part and parcel for software developers and I feel that the trend of those “what did you have to do”, “what were the results of doing it”, and “what could you have done differently” interviews… Sure you need to make sure the person is a good fit for the team as far as socializing, personality, not an asshat, but if they are a good fit, can they design and/or write the code.
Well, I’ll say you have to at least consider it for a second but the above is not that challenging. Basically it will show you know how to nest/cascade if’s and perhaps know about the modulo operator.
I would have been more impressed if they asked for a super and derived classes using interfaces to model a car, motorcyle, and airplane. But, I don’t know the company’s true needs so I’ll give them the benefit of the doubt.
Anyway, good luck my man!
Below is what I did… I feel it could be more performant but is pretty readable and gentle enough on resources for most stuff (I had to take a swing right?!?) …
static void Main(string[] args)
{
StringBuilder valueBuilder = new StringBuilder();
for (int counter = 1; counter <= 100; counter++)
{
if (counter % 3 == 0) valueBuilder.Append(“One”);
if (counter % 5 == 0) valueBuilder.Append(“Two”);
if (valueBuilder.Length == 0) valueBuilder.Append(counter.ToString());
Console.WriteLine(valueBuilder.ToString());
valueBuilder.Clear();
}
}
}
“What do you need?”, a life lesson; courtesy Amazon Web Services
“What do you need?” is an important thing to know. It allows you to more accurately predict what your costs might be for any longer term obligation. And to be obvious, this relates to pretty much everything, from how many miles you drive to derive fuel costs and a budget for them, to how much free time you have to devote to a pet. You’ve got some quantity of a finite resource, generally it’s a good thing to have some reserves at all times. And that, dear reader, never happens by accident.
If you’ve been reading along at home, you’ve noticed that spurred on by a friend of mine’s experience migrating his web hosting to Amazon.com Web Services, on an Elastic Computing Cloud (EC2); that I have started a EC2 of my own using their Free Tier services.
My feelings on the service are quite positive, it’s pretty darn awesome to have the ability to go from a single small server with a website to a enterprise size data-center and web-farm on demand. I don’t use it for such but, that’s worth something. Personally, I love having a root ssh available and the ability to run whatever service I deem fit, feels good; real good!
However, what had happened was, I popped on over to check my account activity and was greeted with this:
What I’d like to draw your attention to is the “AWS Data Transfer (excluding Amazon CloudFront)” group. This section contains four items:
- Data transfer out under the monthly global free tier
- Region data transfer under the monthly global free tier
- Data transfer in per month
- First 10 TB / month data transfer out beyond the global free tier
And of those items, #4 is the little devil. Good ‘ole First 10 TB / month data transfer out beyond the global free tier.
I’m not going to complain about the price, $9.95 sounds reasonable for the transfers. The thing is, I’ve had this account for 20 days, and even if I did use quite a bit during the “load up” phase of server configuration, I’d say honestly it would have been under 10 GB. I did have a game server running for a week or so of that. I don’t believe the bandwidth use would have been in 60 GB. I could be wrong about that.
And there you have it, I have no idea because, I don’t know what I need. At least when it comes to pay-as-you-go computing platforms and web-enabled services. Well at least I have something to think about. I’m not really quite sure where to begin to map out my needs on this.
I’ve turned my instance off until I can sort it all out, I have time for a free experiment, but sadly not the funds. I do have an email into Amazon Web Services Support, in particular asking how I can tell if the charges are valid and identifying where my usage was to/from. Hopefully they have the capabilities and it’s just unpreparedness on my side.
Either way, the service is excellent and I highly recommend it. I probably wouldn’t run a game server on it without getting far better bandwidth usage scenarios.