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