About

Everything that goes on in Robert's life is recorded here. Well, not everything.

Navigation

Home
Books and Stories
Building a MAME cabinet
Build a Light Box
Sword of Omens
Mass Effect Gun
Zombie Apocalypse Team
Photography
Miscellaneous Projects
2013 Florida Trip
Mac Programs
Matching Seasons
Code Snippets
Blog
Dino Comic
Tremorworks
Comic Archive
Solar Air Engine
Gates of Shadow
E-Mail

Current

Book: Random stuff on my kindle.

Game: Working through my steam list of Sakura games. Don't judge me.


Computers:
Lenovo thin notebook (carried in briefcase)
M1 Mac Mini (Main machine)
Early 2008 8-core Mac Pro (downstairs machine)
2017 MacBook Pro (used for tabletop gaming)
Custom Built 6-core Intel Gaming PC
iMac from a customer (Bedroom, not used much honestly)

Blog Archive

2010-01-03
2010-01-04
2010-01-05
2010-01-06
2010-01-07
2010-01-10
2010-01-11
2010-01-13
2010-01-14
2010-01-18
2010-01-19
2010-01-20
2010-01-21
2010-01-24
2010-01-25
2010-01-26
2010-01-27
2010-01-28
2010-01-31
2010-02-02
2010-02-03
2010-02-04
2010-02-07
2010-02-08
2010-02-10
2010-02-11
2010-02-14
2010-02-15
2010-02-16
2010-02-19
2010-02-21
2010-02-22
2010-02-23
2010-02-24
2010-02-25
2010-02-28
2010-03-01
2010-03-03
2010-03-04
2010-03-08
2010-03-09
2010-03-10
2010-03-11
2010-03-14
2010-03-15
2010-03-16
2010-03-17
2010-03-18
2010-03-21
2010-03-22
2010-03-23
2010-03-24
2010-03-28
2010-03-29
2010-03-30
2010-03-31
2010-04-01
2010-04-05
2010-04-06
2010-04-08
2010-04-11
2010-04-12
2010-04-13
2010-04-14
2010-04-15
2010-04-19
2010-04-20
2010-04-21
2010-04-22
2010-04-25
2010-04-26
2010-04-27
2010-04-29
2010-05-03
2010-05-04
2010-05-05
2010-05-09
2010-05-10
2010-05-12
2010-05-18
2010-05-19
2010-05-20
2010-05-23
2010-05-24
2010-05-25
2010-05-26
2010-05-27
2010-05-30
2010-05-31
2010-06-02
2010-06-06
2010-06-07
2010-06-08
2010-06-09
2010-06-10
2010-06-14
2010-06-16
2010-06-20
2010-06-21
2010-06-22
2010-06-24
2010-06-27
2010-06-29
2010-06-30
2010-07-01
2010-07-03
2010-07-06
2010-07-07
2010-07-11
2010-07-13
2010-07-14
2010-07-18
2010-07-19
2010-07-21
2010-07-22
2010-07-25
2010-07-26
2010-07-27
2010-07-28
2010-07-29
2010-08-01
2010-08-02
2010-08-03
2010-08-04
2010-08-06
2010-08-08
2010-08-10
2010-08-16
2010-08-18
2010-08-23
2010-08-26
2010-08-31
2010-09-02
2010-09-07
2010-09-08
2010-09-12
2010-09-13
2010-09-20
2010-09-23
2010-09-26
2010-09-29
2010-10-03
2010-10-06
2010-10-14
2010-10-20
2010-10-23
2010-10-24
2010-10-26
2010-10-27
2010-10-31
2010-11-03
2010-11-07
2010-11-08
2010-11-09
2010-11-10
2010-11-11
2010-11-14
2010-11-16
2010-11-18
2010-11-22
2010-11-24
2010-11-29
2010-12-01
2010-12-05
2010-12-06
2010-12-12
2010-12-16
2010-12-19
2010-12-21
2010-12-27
2010-12-30
2011-01-04
2011-01-05
2011-01-09
2011-01-10
2011-01-16
2011-01-21
2011-01-23
2011-01-24
2011-01-26
2011-01-27
2011-01-30
2011-02-02
2011-02-03
2011-02-04
2011-02-06
2011-02-07
2011-02-08
2011-02-10
2011-02-13
2011-02-14
2011-02-15
2011-02-16
2011-02-17
2011-02-20
2011-02-21
2011-02-22
2011-02-23
2011-02-24
2011-02-28
2011-03-01
2011-03-02
2011-03-04
2011-03-05
2011-03-06
2011-03-07
2011-03-08
2011-03-09
2011-03-11
2011-03-13
2011-03-14
2011-03-15
2011-03-16
2011-03-17
2011-03-18
2011-03-21
2011-03-22
2011-03-23
2011-03-27
2011-03-29
2011-03-31
2011-04-04
2011-04-05
2011-04-07
2011-04-10
2011-04-12
2011-04-13
2011-04-14
2011-04-17
2011-04-18
2011-04-20
2011-04-24
2011-04-25
2011-04-26
2011-04-28
2011-05-01
2011-05-03
2011-05-08
2011-05-09
2011-05-11
2011-05-15
2011-05-16
2011-05-18
2011-05-19
2011-05-22
2011-05-23
2011-05-25
2011-05-30
2011-05-31
2011-06-01
2011-06-02
2011-06-06
2011-06-07
2011-06-08
2011-06-09
2011-06-12
2011-06-15
2011-06-16
2011-06-20
2011-06-21
2011-06-23
2011-06-26
2011-06-27
2011-06-28
2011-06-29
2011-06-30
2011-07-05
2011-07-06
2011-07-07
2011-07-10
2011-07-11
2011-07-12
2011-07-13
2011-07-14
2011-07-18
2011-07-19
2011-07-21
2011-07-26
2011-07-27
2011-07-31
2011-08-01
2011-08-03
2011-08-04
2011-08-05
2011-08-08
2011-08-09
2011-08-11
2011-08-17
2011-08-21
2011-08-22
2011-08-23
2011-08-24
2011-08-25
2011-08-29
2011-08-30
2011-08-31
2011-09-01
2011-09-05
2011-09-06
2011-09-07
2011-09-08
2011-09-11
2011-09-12
2011-09-13
2011-09-15
2011-09-25
2011-09-27
2011-09-28
2011-09-29
2011-10-03
2011-10-07
2011-10-11
2011-10-13
2011-10-16
2011-10-17
2011-10-18
2011-10-19
2011-10-20
2011-10-23
2011-10-26
2011-10-31
2011-11-03
2011-11-07
2011-11-08
2011-11-10
2011-11-13
2011-11-16
2011-11-22
2011-11-27
2011-11-29
2011-11-30
2011-12-01
2011-12-06
2011-12-07
2011-12-11
2011-12-12
2011-12-15
2011-12-22
2011-12-27
2011-12-29

RSS Feed


Search

Enter Search:



2011-02-03:

Now I just need to get rid of Bruce and Ellen! I mean...
 
So, first thursday of february then? Snow? Check. Super.
 
So I drove out to GP Land like I said. No big deal, fixed in a flash, that sort of thing. How someone can live a whole year with an anti-virus popping up with "You are not protected!" I don't know, but there it is.
 
Then back here. Worked a little more on the Comic Maker. See, I had this for loop that, if you dropped a folder full of a folder full of images on the top bar (where they live so they can be dragged down into the main document) that was fine. But, I said to myself, could it be one, perhaps even two seconds faster to show the images? So I recalled reading about Grand Central Dispatch when it was first announced quite awhile ago, and how someone replaced a for loop with.. get this, threads. So I looked for it. And... didn't find it. But I did find other resources leading me to a solution. And after a bit of work, it functioned again. But then I noticed that, oops, the items now were in a slightly weird order, which made sense. As I was no longer loading them in one at a time, but rather all at once...
 
SHORT PROGRAMMING LESSON
   Threads allow a program to do more then one thing at a time. How, you ask? If you have any sort of modern system (purchased in the last five years, I mean, and shame on you if you don't) you probably have more then one processor at the heart of your machine. That second processor can decode the MP3 files you're listening to (in iTunes) while the first one shows that website you're looking at. (for example). If you only had one processor, they would have to switch back and forth between these two tasks, swiftly enough that YOU, with that meat brain of yours (I have one too, it's nothing to be ashamed of) think it's doing everything simultaneously. It's not. Now, my machine has four of those guys inside, so in theory, I could do four separate things, all at full speed, with no switching. 
END PROGRAMMING LESSON
 
Where was I? All at once, right, see, if I was loading 400 images into the window, my machine would load 100 images per processor (on average) or basically four at once. If you had a machine from 10 years from now with 400 processors (work with me here) each one would get one image to load. So you see the appeal. So after I loaded them into my tidy little NSMutableArray I told said array, (and this is the clever bit) "sort yourself with the imageUID as your key." which it did. Success! As I say, it probably isn't much of a savings, given the fact that even loading a couple hundred images, any reasonably modern machine would have no trouble doing it. And of course running on a single processor machine would actually be slower because of the thread overhead. But who has a single processor machine anymore, right? I mean, come ON! Right?! And if I WAS doing them sequentially, I would not need the step of sorting them... you get the idea. But as an exercise in remembering how threads (i.e. grand central dispatch) worked, it was worthwhile.
 
I also tried working around the HDMI XBox 360 input switch reboot thingy but it's not going to happen. Microsoft does sell a cable that will solve the problem for $50. Or I could get it on ebay for... $5.00? Huh. At least they used to, I don't see it on their website. Well, ebay it is, I guess.
 
Then out again. Yup, her hard drive is dead all right. Interestingly, the machine knew it was there, as it did not list "none" as the empty slots did, but rather "       ". 
 
Then out to Sylvia's, one last time. Got her machine all into one box because I'm awesome like that, and put in the trunk of her car.
 
Only two calls today, so just Bruce and one other tomorrow. And grandma, let's not forget grandma. And then phartyyyyy for Dad where he reads his super cool card and opens his super cool gift. So there.
 
Fun was had last night playing Reach, getting a milllllion points in firefight thanks to Abel's gametype in about twenty minutes. Rockets everywhere! Tonight we shall perhaps play Left4Dead? Perhaps.
 
Oh yeah, did the driveway again too. Figured out what the noise was- one of the rivets has come out of the impeller, so the rubber thing that sticks off the blade is kinda thumping around in there. I'll have to see if I can get a nut/bolt on there well enough to steady it. Despite the cold, it was a sun shiny day today, let's keep that up, humkay? These piles of snow all over are starting to annoy me.
 
Game tentatively for saturday, or more painting at the very least, perhaps. Slacker.
 
Perhaps a little New Vegas? I think I shall. 
 
 
SUPPLEMENTAL:  
 
Turns out dragging is more complex then I thought, because I tried something before I closed it up and it didn't work. I realized users can drop any combination of things, that is:
 

1. a single file

2. File(s) and a folder full of files

3. A single folder full of files

4. A root folder containing any number of files and folders.

 
So I had to cover all four. Which I did. So there.