[00:59] <SamuraiAlba> Good bacon to all!
[01:37] <InHisName> SamuraiAlba: does chocolate coated bacon chip cookies sound enticing to you?
[01:39] <plurworldinc> wasn't that on Epic Meal Time, last month
[01:41] <SamuraiAlba> OM NOM NOM!
[01:41] <SamuraiAlba> Pulling a good guy greg this weekend
[01:41] <SamuraiAlba> GF dumps me, her computers go nuts
[01:41] <SamuraiAlba> I'm going up to fix them for free
[01:42] <SamuraiAlba> and this is AFTER I'm rerunning the entire LAN at work...
[01:42] <SamuraiAlba> anyway.. sleepytime... dreams of cookies :)
[01:43] <plurworldinc> sweet dreams,
[01:54] <InHisName> Let's see, now.  GF dumps you, THEN you choose to fix big computer problem of hers.  Stay that nice guy.  That could make a reputation that could attract more attention.
[01:55] <plurworldinc> maybe, but on the other!!!!  the flip side works faster
[09:08] <JonathanD> Morning.
[09:35] <rmg51> Morning
[09:40] <waltman> *yawn*
[11:05] <SamuraiAlba> Back to last night...
[11:06] <SamuraiAlba> Yeah, I'll stay the nice guy :)
[11:06] <JonathanD> wootoff btw.
[11:06] <SamuraiAlba> Turns out after running SFC /scannow, 3 of her PCs say they cant repir some system files...
[11:06] <SamuraiAlba> *Repair
[11:06] <SamuraiAlba> so.... I have to reinstall WHILE keeping her apps and data...
[11:06] <SamuraiAlba> no biggie
[12:16] <InHisName> Enjoy being busy fixing drive or saving files to go elsewhere.
[12:16] <InHisName> morning
[12:18] <JonathanD> i want this woot
[12:18]  * JonathanD needs to get to work quick!
[12:24] <InHisName> JonathanD wants a 32" tv ?    Not so good for a monitor for computer though.
[12:29] <JonathanD> for fosscon
[12:47] <InHisName> JonathanD: should check out the 'sellout woot'   they have 32" 720p HDTV for only $99 refurb.  Way better
[12:48] <InHisName> 'n the reg woot for $209
[12:48] <JonathanD> InHisName: it's a 22 inch
[12:48] <JonathanD> not 32
[12:48] <JonathanD> 22 is too small.
[12:49] <InHisName> Oh, missed that 3 for 2 digit
[12:49] <JonathanD> Well
[12:49] <JonathanD> Fosscon is getting at least one TV.
[12:52] <JonathanD> woot is not working very well
[12:52] <JonathanD> fosscon might not be getting at least one TV
[12:53] <JonathanD> server error.
[12:55] <InHisName> Well y not a 22" in liu of anything else ?
[12:56] <InHisName> Or...... how about just borrow for the period from someone who can spare it out?
[13:18] <MutantTurkey> anyone have time to help poor old turkey?
[13:18] <MutantTurkey> i need some programming advice
[13:36] <InHisName> argv_turk: y the name change?   YOU? need programming advice ?
[13:37] <argv_turk> yes
[13:37] <argv_turk> yes
[13:37] <argv_turk> unfortunately
[13:37] <argv_turk> I have 18000 images, with a height of X and a width of Y, each pixel location on each image has 3 values, the R G and B.
[13:37] <argv_turk> how should I store that in an array?
[13:37] <InHisName> What is it?  If its cobol, I cannot help
[13:37] <argv_turk> C
[13:38] <InHisName> .mp4 ?
[13:38] <argv_turk> int array[18000][height][width][RBG]?
[13:38] <argv_turk> png
[13:39] <InHisName> Shouldn't there be an app that takes  n png images and converts to mp4 storage.  Then is able to do the reverse when needed ?
[13:40] <argv_turk> why would I need to do that?
[13:40] <argv_turk> I already have the mp4 and the pngs
[13:40] <argv_turk> I need to do some data operations on the pixels
[13:40] <argv_turk> so I need to store them properly
[13:40] <InHisName> you were asking for compact way to store them?
[13:41] <InHisName> png is good for a still image
[13:42] <argv_turk> I was asking for a way to store them inside of a program
[13:42] <argv_turk> sorry
[13:42] <argv_turk> I need a way to access them from inside of the program
[13:43] <argv_turk> i need to I read all these pixels,  do some operations, and then write out some into
[13:43] <InHisName> What kind of program?   One that you compiled ?
[13:43] <argv_turk> yes I am writing a program to compute the mode of each pixel across nImages
[13:43] <argv_turk> to generate a common background
[13:43] <argv_turk> rather to derive one
[13:45] <InHisName> So you are reading all the pixel values and running some math for an answer for each image ?
[13:46] <argv_turk> reading all of the pixel values, and running math for a certain pixel across images
[13:46] <argv_turk> so
[13:46] <argv_turk> maybe it's pixel (1,1) and we need to compare the RBG across all 18000 images
[13:48] <InHisName> Open up file directory to the list of 18,000 and start with first one and loop until the last.
[13:48] <InHisName> open up on image into memory.
[13:49] <argv_turk> yes
[13:49] <argv_turk> exactly
[13:49] <argv_turk> I am asking how to declare the array
[13:49] <argv_turk> if you don't know - well - me neither.
[13:49] <InHisName> Loop on that image and do the repeating calcs for that image.  Save anything in running totals if you need those.  Save details into metadata of the file  (like audio data in mp3's)
[13:50] <InHisName> C  language ?   There are std ways to open a path and import the list into memory then loop the list.
[13:50] <InHisName> Then open each item as you loop it.
[13:56] <InHisName> array[2000][3000] x 3 for a 2k x 3k image ?  so array[345][567][1]   is red and [345][567][2] is green and ...[3] is blue of the same pixel.   That syntax is used in several languages, not sure if c though.
[14:00] <InHisName> Or maybe no array at all.   Just var[18,456] to hold all the bytes of one image plus extra bytes. Then the whole file is stored in memory.  Then you just do your array walking by calculating the position into the file.
[14:04] <InHisName> Or build your own raw file reader/writer.  Must know your file format to the byte detail.  What each byte is for.
[14:06] <InHisName> For example:  image 3k x2k x3 bytes.  Horiz 3k, vert 2k,  3 colors.   plus 993 bytes before 1st image bytes.  plus 558 trailing misc bytes.  plus wasted padding to fill up last sector.
[14:08] <InHisName> So do sector reads.  1st 512 is leading bytes. 2nd is mixed 481 2nd batch leading bytes.  Remaining are image bytes. 31 bytes total.
[14:10] <InHisName> Say the bytes are store thusly:  row 0 col 0 blue, green, red, row0, col1, blue, green, red, etc.
[14:10] <InHisName> Loop
[14:10] <InHisName> row =0
[14:10] <InHisName> loop {row}
[14:10] <InHisName> col = 0
[14:11] <InHisName> loop {col}
[14:11] <InHisName> color = 0
[14:11] <InHisName> loop {color}
[14:11] <argv_turk> i give up
[14:11] <InHisName> image[col][row][color] =raw[index]
[14:12] <InHisName> color++
[14:12] <InHisName> end loop color
[14:12] <InHisName> col++
[14:12] <InHisName> end loop col
[14:12] <InHisName> row++
[14:12] <InHisName> end loop row
[14:14] <InHisName> until you read all raw bytes in and store into your array  image[row][col][color]
[14:14] <InHisName> Now you can loop on your image and do math on it
[14:15] <InHisName> When done save data accumulated into metadata and save file.  Add other data to running totals if desired.
[14:15] <InHisName> loop back to read next image file and do again.
[14:16] <argv_turk> good idea
[14:17] <InHisName> Check C libs for maybe something prebuilt that reads in png files.  Use their format for array and process on that.
[14:18] <InHisName> C is old    png are pretty old.  There is bound to be something that is already made that could be reused.
[14:27] <argv_turk> yeah I looke
[14:27] <argv_turk> I am using Imagmagick to parse the array
[21:29]  * waltman narrowly avoided jury duty for the second straight day!
[22:38] <JonathanD> waltman: would love to come to this thing saturday...
[22:39] <JonathanD> We're having a family thing at the zoo though.
[22:39] <JonathanD> and it looks like this is basically all day?