C++ Programming requires patience

Since September I’ve been working through Ivor Horton’s Beginning Visual C++ 2008 and have been making pretty good progress.

Thanks to the good folks at cprogramming.com, I’ve been steered back on course by numerous helpful posts while working through chapter exercises.

I’m very close to wrapping up chapter 8 and then I’m on to chapter 9, Inheritance and Polymorphism. It isn’t until chapter 12 where I am introduced to Windows programming, and by then I’ll have been exposed to the STL and misc debugging techniques; I should be ready.

The most important thing I’ve picked up so far is that learning C++ requires a lot of patience. I’ve yet to work with reading/writing files or interfacing with the OS aside from console output, so I don’t feel I’ve accomplished anything useful with the code I’ve written, aside from laying foundation for what’s to come.

I’ll have to take solace that when I do reach that point, I should be capable of what I hope to accomplish without undue hair pulling.

Posted in General | Tagged , , | Leave a comment

Commit blocked by pre-commit hook (exit code 255) with no output.

That’s what is seen client-side, and this is what is seen server-side:

Revprop change blocked by pre-revprop-change hook (exit code 255) with no output. [500, #165001]

In most cases the usual search results will point you where you need:

  • execute permission not set on the hook script
  • missing hook script allowing property change
  • wrong line endings

In my case:

I recently moved the repositories off of a smaller file system to a larger one that had noexec set. Spent an hour+ trying to figure it out and it took a combination of this error message:

# ./test.sh
-bash: ./test.sh: Permission denied

and remembering that I had run into this in the past before it dawned on me.

Figures.

Posted in Tips | Tagged , , , , , | Leave a comment

2002 Yamaha V Star 650 Classic – Review

For what’s probably the second time this year, I looked over the Webalizer stats for WhyAskWhy.org and noticed that a majority of the visits from non-webcrawlers were for 2002 Yamaha V Star 650 Classic reviews. I figure I might as well give one instead of just occasionally mentioning the bike.

Continue reading

Posted in General, Motorcycle, Reviews | Tagged , , | Leave a comment

Still here

My focus this year has drifted from Python programming to learning how to ride a motorcycle and then back to programming.

This has been my year so far:
Continue reading

Posted in General, Journal, Programming | Tagged , , , , , | Leave a comment

CD Projekt Red: My initial thoughts on The Witcher 2

Hey guys,

I’m sure you’re getting hammered from all directions regarding patching and what people would like you to change, fix or just enhance a little. That and I’m sure you guys are full steam ahead with console development right now. However since I heard of an upcoming patch to fix things (v.1.3 as of this writing), I wanted to share my thoughts in the hope that another voice would be useful to gauge fan feedback.

The first thing I want to say is congratulations on such an impressive game engine. The visuals, sound, animation and well, pretty much everything else is top notch. Well done.

Continue reading

Posted in Art, Gaming | Tagged , , , | Leave a comment