I'm a guitaraholic on the road to recovery. Just kidding. I'm on the road to buy another guitar. I'm also most likely looking for another pedal, cord, speaker, amp, pick, strap, case, rack mount gear, lighting and maybe even some recording or production software.
My son is a know-it-all
Get link
Facebook
X
Pinterest
Email
Other Apps
According to his report card, my son is a know-it-all.
I just love the wording for the checkbox at the bottom... "knows all"... CHECK
As I was browsing Wal-Mart.com for a monitor today, I noticed they had one for less than most of the other online sites I usually check out. I decided that since this wasn't an "Online Only" listing that I'd head over and pick one up. I didn't have much trouble finding it in the store (they don't have much selection, so it's easy to spot it), then I went to the checkout. I was grabbing the one below: I wasn't thinking about it much as I approached the register, but when the lady scanned the box and it came up as $192, I wasn't pleased. $22.12 extra just for shopping in the store? That's not right. That's an extra 13%, plus I'll have to pay more in sales tax. For now, Wal-Mart is on that list that begins with the letter "S" once again. Not that they ever stray much from that list, but I've got another reason. Too bad my hometown doesn't have much else to choose from. I'll have to venture out after work one of these ...
Since I've been doing some recording, I thought it was time to show off my DAW setup. I have a Dell laptop as the heart of the system. It's got a hybrid drive (part solid state, part "traditional" magnetic drive) that seems to keep up quite well with most of what I do. For software, I typically use Reaper . I also have a Behringer headphone amp between the laptop and the mouse for when I have someone over that's doing their part since it works as a nice headphone splitter with individual volume controls. But the laptop itself doesn't really do all that much when it comes to recording. I have a Presonus Studio Channel in the top rack slot, an Alesis SampleRack for triggered drums, a Tascam US16x08 audio board for 16 channels in at a time, a Behringer UltraVoice vocal pre-amp, a Nady 8 channel mic pre, a power conditioner and my Line 6 Pod Pro. Most of the time, all I really need is my Tascam to get the recordings sounding pretty good. Couple that...
So I was coding a form in Yii, and came across a situation where I had a value of 0111110 (no, yes, yes, yes, yes, yes, no) that I needed to pre-populate values in a multiple select drop down. This didn't seem like it should be that hard, but the Yii documentation lacked a bit there. The first step was to split out the string. $optionValues = str_split($model->variable); Now, we create a blank array to hold our options. $options = array(); Then, we go through those options and set selected on the ones that need selected. foreach ($optionValues as $optionKey=>$optionVal) { if ($optionVal) { $options[$optionKey] = array('selected' => 'selected'); } } Now, we render the drop down list. echo $form->dropDownList($model, 'variable', array('0' => 'Zero', '1' => 'One','2'=>'Two','3' => 'Three', '4' => 'Four', '5' =...
Comments