|  | 01:38 | Y_G |  joined the channel | 
|  | 01:47 | Y_G |     @anuejn : How should I login ? ,from what I know there should be an automatic prompt to login,but I keep on seeing "cpufreq: __target_index: Failed to change cpu frequency: -16" error
 | 
|  | 01:47 | Y_G |     I have to kill the terminal for it to stop
 | 
|  | 02:21 | Y_G |  left the channel | 
|  | 02:30 | Bertl_oO |     off to bed now ... have a good one everyone!
 | 
|  | 02:31 | Bertl_oO |  changed nick to:     Bertl_zZ
 | 
|  | 02:43 | aombk2 |  joined the channel | 
|  | 02:46 | aombk |  left the channel | 
|  | 04:47 | ap123 |  joined the channel | 
|  | 04:55 | ap123 |  left the channel | 
|  | 06:24 | BAndiT1983|away |  changed nick to:     BAndiT1983
 | 
|  | 08:21 | se6astian|away |  changed nick to:     se6astian
 | 
|  | 08:37 | LordVan |  joined the channel | 
|  | 08:50 | danieel |  left the channel | 
|  | 08:50 | rohan_ |  joined the channel | 
|  | 08:53 | rohan_ |     hey. if I try building OpenCine on a Mac, would I be needing the same required packages as ubuntu or some different?
 | 
|  | 08:55 | vup2 |     Y_G: you should be able to type blindly the username and password (they are operator  and axiom) to log in
 | 
|  | 08:56 | vup2 |     then use sudo su to get a root shell
 | 
|  | 08:56 | vup2 |     then echo userspace > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor should stop the spam
 | 
|  | 08:56 | vup2 |     we will try to find a better solution, but that should work for now
 | 
|  | 09:17 | BAndiT1983 |     rohan_: we don't have much experience with OSX, although i have a virtual machine for it and OC worked there before
 | 
|  | 09:17 | BAndiT1983 |     but this test was done very long time ago
 | 
|  | 09:18 | rohan_ |  left the channel | 
|  | 09:27 | Bertl_zZ |  changed nick to:     Bertl
 | 
|  | 09:27 | Bertl |     morning folks!
 | 
|  | 09:29 | sebix |  joined the channel | 
|  | 09:34 | danieel |  joined the channel | 
|  | 09:49 | BAndiT1983 |  changed nick to:     BAndiT1983|away
 | 
|  | 11:01 | rohan_ |  joined the channel | 
|  | 11:03 | rohan_ |     BAndiT1983: Np. I'll give it a go
 | 
|  | 11:07 | rohan_ |  left the channel | 
|  | 11:36 | BAndiT1983|away |  changed nick to:     BAndiT1983
 | 
|  | 12:29 | LordVan |  left the channel | 
|  | 13:12 | Dev_ |  joined the channel | 
|  | 13:14 | pavan |  joined the channel | 
|  | 13:16 | Dev_ |     Hello BAndiT1983 : , I have some doubts regarding FUSE implementation in prototype (OC_frameserver)
 | 
|  | 13:16 | BAndiT1983 |     hi Dev_
 | 
|  | 13:16 | BAndiT1983 |     why?
 | 
|  | 13:17 | Dev_ |     1. The functions implemented inside fusehandler.cpp , which replicates the unix system calls like (getattr, read, readdir) , The Function contains a Argument names as path ,
 | 
|  | 13:18 | Dev_ |     Is it mount point which we supply while running it using (./OC_frameserver -d -s -f  mountpoint)
 | 
|  | 13:18 | Dev_ |     ?
 | 
|  | 13:19 | BAndiT1983 |     usually yes
 | 
|  | 13:19 | BAndiT1983 |     this is some basic FUSE structure implementation
 | 
|  | 13:20 | BAndiT1983 |     the path can be everything underneath the mount point, so the application can create sub-folders dynamicaööy
 | 
|  | 13:20 | BAndiT1983 |     *dynamically
 | 
|  | 13:22 | pavan |  left the channel | 
|  | 13:22 | Dev_ |     so why we are doing strcmp with "/" and "filename = /test.avi" , they will be never become equal to path
 | 
|  | 13:23 | BAndiT1983 |     where?
 | 
|  | 13:23 | Dev_ |     in getattr function call (for reading meta data of file)
 | 
|  | 13:24 | BAndiT1983 |     have you actually tested the application? it worked for me when i've implemented it
 | 
|  | 13:24 | Dev_ |     yes , i could able to run it on my system as well , i followed this (https://engineering.facile.it/blog/eng/write-filesystem-fuse/)
 | 
|  | 13:25 | BAndiT1983 |     and what's the problem?
 | 
|  | 13:26 | Dev_ |     i wanted to understand the code , like how it is implemented
 | 
|  | 13:26 | Dev_ |     i could able to understand what these function are actually doing
 | 
|  | 13:26 | BAndiT1983 |     it's implemented according to FUSE structure, checks are done for single file, as we don't have sub-folders
 | 
|  | 13:27 | BAndiT1983 |     if the user looks at the properties of the main folder (=mount point) thne the function will call / branch
 | 
|  | 13:27 | BAndiT1983 |     if the user wants to look at the file properties, then the "path" branch
 | 
|  | 13:27 | BAndiT1983 |     don't see any problems there
 | 
|  | 13:27 | BAndiT1983 |     if you don't believe me, then please debug through it and tell me where the errors are
 | 
|  | 13:28 | BAndiT1983 |     note: https://www.cs.nmsu.edu/~pfeiffer/fuse-tutorial/html/callbacks.html
 | 
|  | 13:28 | BAndiT1983 |     paths are relative
 | 
|  | 13:34 | Dev_ |     can u elaborate "paths are relative"
 | 
|  | 13:35 | Dev_ |     please
 | 
|  | 13:35 | BAndiT1983 |     what should i elaborate there? it's what it is, paths are relative
 | 
|  | 13:36 | BAndiT1983 |     you have a mount point, so all the paths are relative to it, in my app the file resides under mount point folder, so the path is /test.avi
 | 
|  | 13:37 | Dev_ |     okay so u mean our mount point is like a root , am i correct ?
 | 
|  | 13:38 | Dev_ |     test.avi is a file which resides in it
 | 
|  | 13:38 | Dev_ |     yes ?
 | 
|  | 13:39 | BAndiT1983 |     ehm, haven't you said you've tested the app?
 | 
|  | 13:39 | Dev_ |     yes
 | 
|  | 13:40 | BAndiT1983 |     it's not that difficult to debug it and see what the paths contains at different actions from user, at least that's how i'Ve done it while implementing
 | 
|  | 13:40 | BAndiT1983 |     *paths contain
 | 
|  | 13:42 | Dev_ |     okay , let me also debug it ,
 | 
|  | 13:42 | Dev_ |     thanks
 | 
|  | 13:42 | Dev_ |     :)
 | 
|  | 13:42 | BAndiT1983 |     Dev_: have you finished the challenge task already?
 | 
|  | 13:43 | Dev_ |     yes BAndiT1983
 | 
|  | 13:43 | BAndiT1983 |     ok
 | 
|  | 13:44 | Dev_ |     would u like to take a look
 | 
|  | 13:44 | Dev_ |     if u have time in hand
 | 
|  | 13:44 | Dev_ |     ?
 | 
|  | 13:44 | BAndiT1983 |     you can post the link here, we will check it for sure, as it's mandatory for selecting students
 | 
|  | 13:45 | Dev_ |     okay , wait
 | 
|  | 13:47 | BAndiT1983 |     tested frame server, still works like intended
 | 
|  | 13:47 | BAndiT1983 |     test2.avi is written for comparison and test.avi is the actual "virtual" file
 | 
|  | 14:03 | Dev_ |  left the channel | 
|  | 14:06 | Bertl |     off for now ... bbl
 | 
|  | 14:06 | Bertl |  changed nick to:     Bertl_oO
 | 
|  | 14:10 | Dev_ |  joined the channel | 
|  | 14:10 | Dev_ |  left the channel | 
|  | 14:29 | Dev_ |  joined the channel | 
|  | 14:29 | Dev_ |     Here it is BAndiT1983 : https://github.com/kakashi-Of-Saringan/challenge  , please check
 | 
|  | 14:32 | BAndiT1983 |     thanks, will check it later when i have some time
 | 
|  | 14:32 | Dev_ |     "test2.avi is written for comparison and test.avi is the actual "virtual" file" : okay
 | 
|  | 14:32 | BAndiT1983 |     but why are empty lines in front of functions?
 | 
|  | 14:33 | BAndiT1983 |     variables should be lower-case
 | 
|  | 14:33 | sebix |  left the channel | 
|  | 14:33 | BAndiT1983 |     byte swapping is not there, also the splitting is same as others have with wrong presumption, which only works for this case and 8 bits, but not for general usage
 | 
|  | 14:35 | Dev_ |     "but why are empty lined in front of function ?" , in  main.cpp , extract_channels , etc
 | 
|  | 14:35 | Dev_ |     ?
 | 
|  | 14:35 | BAndiT1983 |     everywhere
 | 
|  | 14:36 | BAndiT1983 |     will check more later
 | 
|  | 14:36 | Dev_ |     okay
 | 
|  | 14:40 | BAndiT1983 |     Dev_: also please check avi generation as it looks rather monolithic, if i remember correctly, then it's how Supragya has implemented it
 | 
|  | 14:41 | Dev_ |  left the channel | 
|  | 14:42 | BAndiT1983 |     FindSize inits map every time it's called, which is not very nice
 | 
|  | 14:44 | Aayush |  joined the channel | 
|  | 14:59 | Aayush |  left the channel | 
|  | 15:29 | parimal |  joined the channel | 
|  | 15:30 | Dev_ |  joined the channel | 
|  | 15:32 | Dev_ |     "variable should be lowercase " :  function names are in  camelcase , okay i will change the variables
 | 
|  | 15:33 | Dev_ |     "byte swapping is not there, also the splitting is same as others have with wrong presumption, which only works for this case and 8 bits, but not for general usage "   :
 | 
|  | 15:34 | Dev_ |  left the channel | 
|  | 15:34 | Dev_ |  joined the channel | 
|  | 15:34 | Dev_ |     i will check logs for that , i remember people talking about that
 | 
|  | 15:36 | Dev_ |     "avi gerneration " : this way it is easy to implement
 | 
|  | 15:37 | Dev_ |     what changes can i do ? in this
 | 
|  | 15:37 | Dev_ |     yeah , i understand the map thing , i will change that , thanks
 | 
|  | 15:37 | parimal |     hey Dev_, I tried your program. The PPM images for red, green and blue channels were greyscale.
 | 
|  | 15:37 | parimal |     Shouldn't they have the color of their respective channels?
 | 
|  | 15:38 | BAndiT1983 |     variables start with lower-casae, methods/functions with upper-case
 | 
|  | 15:39 | BAndiT1983 |     Dev_: OC frame server prototype bypasses the problem of calculating manually
 | 
|  | 15:39 | Dev_ |     hey parimal : it was mentioned that "save the channels as valid images "
 | 
|  | 15:40 | BAndiT1983 |     what's wrong with grayscale? it's the base of raw data first
 | 
|  | 15:40 | ayushprd |  joined the channel | 
|  | 15:40 | Dev_ |     i don't know parimal , that it should have color of respective channel
 | 
|  | 15:40 | parimal |     No I was confused, I thought it should have color too.
 | 
|  | 15:41 | Dev_ |     i remember somelse had the same doubt , that grayscale is correct or not
 | 
|  | 15:41 | BAndiT1983 |     there are 4 image files, 3 for channels and interpolated one, if i'm not mistaken
 | 
|  | 15:41 | Dev_ |     few days back
 | 
|  | 15:41 | Dev_ |     four images (R, g1, g2, b)
 | 
|  | 15:41 | BAndiT1983 |     ?
 | 
|  | 15:41 | Dev_ |     one for final interpolated
 | 
|  | 15:41 | Dev_ |     one avi file
 | 
|  | 15:41 | BAndiT1983 |     why should you split G1 and G2?
 | 
|  | 15:42 | BAndiT1983 |     ah, i see, Supragya wrote it down, but it's a bit over the top, as G1 and G2 should be one channel
 | 
|  | 15:42 | BAndiT1983 |     it was bitmap or avi
 | 
|  | 15:42 | Dev_ |     should i change it BAndiT1983
 | 
|  | 15:43 | BAndiT1983 |     no need to, i'm more interested in proper code
 | 
|  | 15:43 | Dev_ |     okay
 | 
|  | 15:43 | BAndiT1983 |     goal of the cahllenge is not the result, but to show how the challenge can be accomplished with readable code and smart implementations of algorithms and processes
 | 
|  | 15:44 | Dev_ |     okay
 | 
|  | 15:44 | BAndiT1983 |     results should only give me a hint, that the code actually works
 | 
|  | 15:44 | Dev_ |     any changes for indentation , BAndiT1983
 | 
|  | 15:45 | Dev_ |     ?
 | 
|  | 15:45 | BAndiT1983 |     try to align everything nicely
 | 
|  | 15:46 | Y_G |  joined the channel | 
|  | 15:46 | Dev_ |     it would be so nice if u can give me example , then i will change it
 | 
|  | 15:46 | Dev_ |     from the code
 | 
|  | 15:47 | Dev_ |     please
 | 
|  | 15:47 | Dev_ |     accodingly
 | 
|  | 15:47 | BAndiT1983 |     there are many formatters out there, also i don't have time at the moment, as i have to prepare some other things, which are not related to apertus, but very important for my regular job
 | 
|  | 15:48 | Y_G |     @vup2 That worked ,Thanks :)
 | 
|  | 15:48 | Dev_ |     okay np , i used visual basics c++ formatter
 | 
|  | 15:48 | BAndiT1983 |     try to make the code nice and readable, formatting should be done properly, but you should concentrate on functionality
 | 
|  | 15:48 | BAndiT1983 |     visual basic c++?
 | 
|  | 15:49 | Dev_ |     vscode , there is c++ code formatter
 | 
|  | 15:49 | Dev_ |     i forget its name
 | 
|  | 15:50 | Dev_ |     okay i will see the alignment ,
 | 
|  | 15:50 | BAndiT1983 |     you should try to adjust its settings, as from the looks at github there are too many spaces in front of lines, make it 2 or 4 and check what looks better
 | 
|  | 15:52 | Dev__ |  joined the channel | 
|  | 15:53 | Dev__ |     "it should be 2 or 4" okay i will se , thanks
 | 
|  | 15:53 | BAndiT1983 |     coding guidelines say 2, but sometimes it's too narrow, but this depends on the font usually
 | 
|  | 15:55 | Dev_ |  left the channel | 
|  | 15:55 | BAndiT1983 |     what i don't like about AVI generation is the monolithic and rigid structure
 | 
|  | 15:55 | Dev__ |     Okay
 | 
|  | 15:55 | se6astian |  changed nick to:     se6astian|away
 | 
|  | 15:55 | BAndiT1983 |     please check OC frame server prototype, it creates a tree of nodes to generate the file, which also avoids the need for calculating sizes manually, you only set the size of the node which is processed recursively
 | 
|  | 15:58 | Dev__ |     I will try to make changes ,
 | 
|  | 15:59 | Dev__ |     Update u soon
 | 
|  | 16:00 | Dev__ |  left the channel | 
|  | 16:00 | Dev_ |  joined the channel | 
|  | 16:05 | parimal |  left the channel | 
|  | 16:11 | Dev_ |  left the channel | 
|  | 16:12 | AliAmaim__ |  joined the channel | 
|  | 16:12 | AliAmaim__ |  left the channel | 
|  | 16:13 | AliAmaim__ |  joined the channel | 
|  | 16:29 | Y_G |  left the channel | 
|  | 16:39 | se6astian|away |  changed nick to:     se6astian
 | 
|  | 16:48 | niemand |  joined the channel | 
|  | 17:12 | BAndiT1983 |  changed nick to:     BAndiT1983|away
 | 
|  | 17:21 | ayushprd |  left the channel | 
|  | 19:00 | intrac |  left the channel | 
|  | 19:07 | intrac |  joined the channel | 
|  | 19:35 | anuejn |     fares is doin really nice stuff :)
 | 
|  | 19:36 | anuejn |     a migen implementation of lossless jpeg is really cool
 | 
|  | 19:36 | se6astian |     indeed!
 | 
|  | 20:42 | RexOrCine|away |  changed nick to:     RexOrCine
 | 
|  | 20:48 | niemand |  left the channel | 
|  | 21:17 | BAndiT1983|away |  changed nick to:     BAndiT1983
 | 
|  | 21:46 | AliAmaim__ |  left the channel | 
|  | 21:52 | se6astian |  changed nick to:     se6astian|away
 | 
|  | 23:17 | BAndiT1983 |  changed nick to:     BAndiT1983|away
 |