**** BEGIN LOGGING AT Tue Mar 17 02:59:58 2015 Mar 17 04:55:16 xes: nice Mar 17 10:31:32 hey. Is there any way to tell the amount of tme a process will require to complete its task ?? and the time already assigned by the Kernel to it ?? Mar 17 10:33:25 yes Mar 17 10:34:22 KotCzarny: was it for me ?? please tellme the way then .. Mar 17 10:34:35 depends what you exactly want to do Mar 17 10:36:41 KotCzarny: I want to compare the time taken by a Process to complete a task by using different nice values. by default, one nice level changes 5ms.. i want to see it working ie just stats.. Mar 17 10:37:02 if it's a cmd line tool just start it with: time toolname Mar 17 10:37:53 KotCzarny, hows the pipyra coming along Mar 17 10:38:05 still no pie Mar 17 10:38:30 KotCzarny, damn Mar 17 10:38:57 KotCzarny, the pie's a lie Mar 17 10:41:00 KotCzarny: that will give me the time taken to complete the task, which i wont need, since its just a while loop.!! I need to see this : everytime the process is scheduled, there is an INCREMENT in the given time slice by CPU.. Mar 17 10:41:24 time gives cpu time in user field Mar 17 10:41:40 and if you check man time Mar 17 10:41:48 you cen get more detailed stats too Mar 17 10:42:19 KotCzarny: thanks. Mar 17 10:43:55 and you can always implement your own timing function Mar 17 10:47:51 KotCzarny, well at least now you have time to get the pipyra done Mar 17 10:48:06 nope, i'm adding scrobbling to oscp Mar 17 10:48:23 whats scrobbling Mar 17 10:49:26 feature someone requested Mar 17 10:50:51 does it scrobble up to and include a pipyra Mar 17 10:51:06 no pipyra on the TODO list Mar 17 10:52:31 KotCzarny, howbout help me port this https://github.com/hulkholden/daedalus/tree/master/Source to run on this : https://en.wikipedia.org/wiki/GCW_Zero Mar 17 10:52:48 no pie, no help Mar 17 10:54:19 KotCzarny, http://ww1.prweb.com/prfiles/2005/02/04/205610/KUA_Pie_2.jpg Mar 17 10:55:08 virtual pie doesn't count Mar 17 10:55:53 you cant just make up rules as you go Mar 17 10:56:05 i say i can Mar 17 10:56:08 besides that wasnt a virtual pi Mar 17 10:56:47 KotCzarny, how would you port that program? Mar 17 10:57:05 which one? Mar 17 10:57:46 https://github.com/hulkholden/daedalus/tree/master/Source Mar 17 10:58:03 syspsp Mar 17 10:58:25 thats the one that has the MIPS dynarec Mar 17 10:58:41 the PSP and the GCW0 are both MIPS32R2 Mar 17 10:59:06 if it includes assembly i don't know Mar 17 10:59:29 well most of it is c/c++ Mar 17 10:59:46 if it's c/c++ compile it, then try to resolve errors Mar 17 10:59:47 they use the psp's sce libs instead of GLES Mar 17 10:59:58 yeah but its for a different platform Mar 17 11:00:07 the linux port was never finished Mar 17 11:00:14 from what i understand Mar 17 11:00:28 find the devs that were doing the linux port, ask them nicely Mar 17 11:00:44 ask them for what Mar 17 11:00:49 for help Mar 17 11:00:54 motivate them Mar 17 11:01:49 yeah i tried ... everyone's moved on from mips Mar 17 11:02:01 no one's interested in anything other than ARM nowadays Mar 17 11:05:43 KotCzarny, well the one who was supposed to work on the linux port anyways(which judging from the folders didnt go farther than 2 folders) Mar 17 11:10:34 why don't you just buy psp? Mar 17 11:10:42 they go cheap nowadays Mar 17 11:11:52 1. 512MB DDR2 Mar 17 11:12:01 2. 1GHZ cpu Mar 17 11:12:15 3. w/SIMD Mar 17 11:13:14 4. https://github.com/laanwj/etna_viv Mar 17 11:13:37 5. hdmi Mar 17 11:14:04 6. almost no apps ? Mar 17 11:15:05 quite a few : http://www.gcw-zero.com/downloads Mar 17 11:15:28 those are just the "official" ones that pass qc Mar 17 11:15:30 most of its 8/16 bit though Mar 17 11:16:45 KotCzarny, and its cheap 150 bucks or so from TG Mar 17 11:17:43 KotCzarny, most importantly though Mar 17 11:17:43 KotCzarny, runs linux Mar 17 11:17:49 KotCzarny, LINUX M!@#$$KERS! Mar 17 11:17:49 apart from memory it's specs are worse than n900 Mar 17 11:18:15 and opengl es? please.. Mar 17 11:18:35 lol so n900 supports full open gl? Mar 17 11:18:50 even pyra supports gles whats wrong with gles? Mar 17 11:18:53 to have any chance of porting anything they would require ogl compatibility Mar 17 11:20:36 KotCzarny, are there any handhelds that have ogl? Mar 17 11:20:49 KotCzarny, es = embedded systems? Mar 17 11:21:23 even the psp used GLES Mar 17 11:21:28 well not officially Mar 17 11:21:34 sure, but i'm talking about porting apps Mar 17 11:21:44 what kid of apps Mar 17 11:21:52 any 3d app in linux Mar 17 11:21:53 you mean non SoC apps? Mar 17 11:22:07 the one you can find in debian package repo Mar 17 11:22:35 yeah ok well that would be the same scenario for the n900/pi/pi2/pyra/pipyra or any other SoC based system Mar 17 11:22:59 except its not that big of a problem because the handhelp app market itself is quite big Mar 17 11:23:24 the big "issue" is that its a MIPS device Mar 17 11:23:57 so people stay away from it like its bugger from ROTN Mar 17 11:24:37 KotCzarny, https://www.youtube.com/watch?v=9rznKpou85o Mar 17 11:25:38 KotCzarny, right now if you want a handheld console that is linux based you only got the pandora and the GCW(ignoring GPH/Dingoo) Mar 17 11:25:47 :S Mar 17 11:25:54 and n900 Mar 17 11:25:56 :) Mar 17 11:26:08 n900 doesnt gaming controls Mar 17 11:26:12 *have Mar 17 11:26:18 you can screen tap Mar 17 11:26:23 it's enough usually Mar 17 11:26:31 android handles it quite well too Mar 17 11:26:34 ugghhh Mar 17 11:26:42 maybe for rpgs like baldurs gate yeah Mar 17 11:26:49 f@#$ gaming on android Mar 17 11:27:07 id rather eat a dead rat thats been sitting in a bag in the hot sun for a month Mar 17 11:27:19 http://images.gizmag.com/hero/xopad-usb-game-controller-11.jpg Mar 17 11:27:21 mehehe Mar 17 11:27:37 input lag Mar 17 11:27:39 = Mar 17 11:27:44 dalvik Mar 17 11:28:12 http://oyster.ignimgs.com/wordpress/stg.ign.com/2012/09/mogamoga.jpeg Mar 17 11:28:17 KotCzarny, hey batman uses android too? Mar 17 11:28:22 KotCzarny, neat-o Mar 17 11:29:31 http://cdn.slashgear.com/wp-content/uploads/2013/04/Screen-Shot-2013-04-18-at-10.13.57-AM-580x374.jpg Mar 17 11:32:13 KotCzarny: there is a (limited) opengl->gles compat layer around Mar 17 11:32:22 bencoh: i know Mar 17 11:32:23 I forgot te name Mar 17 11:32:27 key word is 'limited' Mar 17 11:33:01 well, they managed to port some game with few rewrite work Mar 17 11:33:09 there is tmo thread Mar 17 11:33:14 +a Mar 17 11:33:20 i know, i've pasted it few times there Mar 17 11:53:08 KotCzarny, yeah looking at the bazillions of gl apps on embedded theyre all gles Mar 17 11:53:25 KotCzarny, so maybe gles is just the way it is on mobile platforms Mar 17 11:54:00 if you port embedded apps, sure, if you plan to port regular (desktop) ones, sorry Mar 17 11:54:50 KotCzarny, yeah that psp app uses something that apparently is similar to gles(SCE's lib) Mar 17 11:54:54 unbreakable: talking about psp, see pcsx_rearmed Mar 17 11:55:08 bencoh, yeah whatabout it? Mar 17 11:55:16 it has mips->arm dynarec, and neon gpu emulation Mar 17 11:55:29 bencoh, yeah but its not a N64 emulator Mar 17 11:55:47 and latest release has a DSP (C64x) SPU accel Mar 17 11:55:50 the GCW zero already has a PSP emulator PSX4ALL though its not SIMD optimized Mar 17 11:56:04 the GCW's SIMD is only a 64 bit SIMD though Mar 17 11:56:10 not as powerful as NEON Mar 17 11:57:51 oh, it's a mips ... nevermind Mar 17 11:57:56 the app above is a N64 emulator Mar 17 11:58:01 N64 = mips Mar 17 11:58:08 PSP = mips Mar 17 11:58:11 GCW = mips Mar 17 11:58:40 the "dynarec" should be much simpler Mar 17 11:59:02 yes in fact PSP = GCW = MIPS32R2 Mar 17 12:01:03 cpu is not a problem, emulating os/specialized chips IS Mar 17 12:01:24 yes but dynarec == performace Mar 17 12:01:31 sure Mar 17 12:01:42 but if you want psp performance, just grab one Mar 17 12:01:49 iso the point is performance part's already been worked on Mar 17 12:02:01 no the psp only had 333mhz Mar 17 12:02:05 with no mmu Mar 17 12:02:16 but you dont need more to play psp games Mar 17 12:02:33 n64 isnt psp... Mar 17 12:02:51 i want to play super mario 64 Mar 17 12:02:56 and zelda oot Mar 17 12:03:01 I feel like this discussion is going nowhere Mar 17 12:03:02 and banjo kazooie Mar 17 12:03:20 its an inane conversation Mar 17 12:03:24 not meant to go anywhere Mar 17 12:04:23 Its fully possible to play Nintendo 64 games whit the N900 at full Speed. Mar 17 12:05:00 Mupen64plus Mar 17 12:06:11 no MIPS support Mar 17 12:06:19 ARM/x86 only Mar 17 12:06:27 but i have n900, not mips Mar 17 12:06:36 yes... Mar 17 12:06:50 and you have one too? Mar 17 12:06:55 sigh the dynarec which makes the games playable is a mips-arm dynarec Mar 17 12:06:57 yes Mar 17 12:07:04 i do Mar 17 12:07:37 its awkward gaming on the n900 Mar 17 12:07:37 sorry Mar 17 12:07:46 then just grab usb controller, connect to n900's usb, mount it somehow physically, done Mar 17 12:07:59 yes thats what im going to have with me on the bus Mar 17 12:08:14 :P Mar 17 12:08:25 i have my n900 almost everywhere Mar 17 12:08:26 :P Mar 17 12:08:38 the n900 is really good for rpgs Mar 17 12:08:43 also, you would get so many hipster points Mar 17 12:08:51 but definitely not platformers Mar 17 12:09:15 yes, for action games you need comfortable buttons Mar 17 12:09:33 isnt there a "gamepad" around to clip on top of the keyboard ? Mar 17 12:09:43 ummm Mar 17 12:09:54 http://talk.maemo.org/attachment.php?attachmentid=12405&stc=1&d=1279989127 Mar 17 12:09:56 yeah Mar 17 12:10:06 no, not that one Mar 17 12:10:10 ;) Mar 17 12:10:14 this one has never been released ;) Mar 17 12:10:18 http://www.blogcdn.com/www.engadget.com/media/2011/12/n900-gamepad.jpg Mar 17 12:10:20 this one? Mar 17 12:10:30 yeah but still it just makes it bulky and how am i going to answer calls with that thing on it? Mar 17 12:10:31 nope, this one is a real usb controller Mar 17 12:10:40 ngage style hipster fare Mar 17 12:11:02 http://i.imgur.com/aFix8o7.jpg Mar 17 12:11:15 yeah those arent gonna poke an eye out Mar 17 12:11:31 but its cool ill give it that Mar 17 12:11:31 KotCzarny: something like that, but a polished version Mar 17 12:11:35 though cmmon Mar 17 12:11:41 dwitches?? Mar 17 12:11:46 hows that comfortable Mar 17 12:11:53 thattlll eat into your fingers after an hour Mar 17 12:12:17 http://www.blogcdn.com/www.engadget.com/media/2009/09/speakandspell-n900-1.jpg Mar 17 12:12:30 ROFL Mar 17 12:12:36 KotCzarny: http://www.engadget.com/2010/08/04/game-gripper-makes-grand-entrance-on-nokias-n900-video/ Mar 17 12:12:40 yeah Mar 17 12:12:44 wtf :D Mar 17 12:13:50 http://www.mynokian900.com/2012/11/how-to-make-my-nokia-n900-charge-wirelessly Mar 17 12:13:51 :) Mar 17 12:15:24 oh and dont forget the gcw.gpu != PukeVR Mar 17 12:16:58 unbreakable: vivante/mips combo prolly isnt much better, opensource-wise Mar 17 12:17:04 Currently unavailable Mar 17 12:17:05 huh Mar 17 12:17:11 look its still got a tiny screen Mar 17 12:17:12 anyway Mar 17 12:17:18 seriously though i really like gemrb on the n900 Mar 17 12:17:20 but for other gaming youd have to overclock it and that kills the crap battery on it Mar 17 12:17:23 unless you get that frankenbat that one guy was selling Mar 17 12:18:05 bencoh, actually for this specific chip it is; the RE driver's pretty good see : neverball gcw on youtube Mar 17 12:18:17 bencoh, or the above rootage video Mar 17 12:19:24 bencoh, and i believe the GCW's source open sourced as well : https://github.com/gcwnow/ Mar 17 12:20:00 so yea like i was saying its the only open source linux gaming handheld out there minus the older korean/chinese ones Mar 17 12:21:23 but even the older korean ones were about as open source as android device kernels were; hackjobs Mar 17 12:24:54 KotCzarny, howbout it Mar 17 12:26:53 KotCzarny, what kind of work would be involved in porting a java program to C? Mar 17 12:27:03 usually a rewrite Mar 17 12:27:05 complete Mar 17 12:27:06 KotCzarny, i was looking at pixeldungeon Mar 17 12:27:25 easier would be porting porting java runtime Mar 17 12:29:47 KotCzarny, I guess it would be better to just have the JRE in the background Mar 17 12:33:03 KotCzarny, what about porting alien(psp) mips to linux mips Mar 17 13:42:12 KotCzarny, is it possible to avoid .h includes in .h files? Mar 17 13:42:29 depends Mar 17 13:42:58 you would have to use funtion pointers? Mar 17 13:43:10 question does not compute Mar 17 13:43:29 say you want to use printf in a .h but you dont want to include stdio Mar 17 13:43:58 *callbacks Mar 17 13:44:07 define your own printf Mar 17 13:44:13 youd have to pass printf as a callback Mar 17 13:44:31 im not saying not use standard .h at all Mar 17 13:44:32 but expect collisions Mar 17 13:44:57 if you refer to something, you have to have it defined somewhere earlier Mar 17 13:45:20 so preprocessor knows what are params and return value Mar 17 13:45:41 just want to have .h's standalone so that i know that all my includes in main are not including stuff that could be including other stuff Mar 17 13:45:42 so you can simply put: void printf(char *a); Mar 17 13:46:21 but when linking that function has to be somewhere Mar 17 13:46:31 either in libraries you link or objects you compiled Mar 17 13:46:35 so you have to basically copy it from the .h Mar 17 13:46:50 kind of Mar 17 13:47:06 woo, i've scrobbled my first track Mar 17 13:47:29 its just that psp source has alot of includes that includes other includes that include...you get the idea Mar 17 13:47:37 im just wondering if thats standard practice Mar 17 13:48:13 in bigger project, yes Mar 17 13:48:33 and if functions are badly split between files, then you get .h hell Mar 17 13:48:35 it makes figuring out what depends on what harder Mar 17 13:48:51 assume you depend on everything Mar 17 13:49:24 i run on derps Mar 17 13:50:51 whats a scrobble Mar 17 13:51:04 feature someone requested to be added in oscp Mar 17 13:51:18 what does it do Mar 17 13:51:39 stores what tracks you've played on last.fm account Mar 17 13:51:45 s/on/in/ Mar 17 13:51:47 KotCzarny meant: stores what tracks you've played in last.fm account Mar 17 13:52:09 so you can show it to others or just make stats of what you listen to Mar 17 13:52:46 KotCzarny,ok Mar 17 13:53:04 KotCzarny, can you mix c w c++ ? Mar 17 13:53:11 yes Mar 17 13:53:23 but with some restrictions Mar 17 13:53:48 c can be used in c++ code almost freely Mar 17 13:53:59 why would you mix ? Mar 17 13:54:03 c++ has to export interfaces ifdeffed for c compiler Mar 17 13:54:21 because you have libs written in c++ and app written in c Mar 17 13:54:26 or the other way round Mar 17 13:58:40 can you use callbacks in .h Mar 17 13:58:57 you can write functions in .h, but it's bad code Mar 17 13:59:23 KotCzarny, how come Mar 17 13:59:41 .h is for keeping references for preprocessor Mar 17 13:59:54 if you an prototype them why not define them Mar 17 14:00:28 because it makes mess Mar 17 14:01:16 and if you include .h in 2 .c files, you end up compiling such function twice Mar 17 14:01:30 think of it as inlining Mar 17 14:01:46 you can also include .c files in other .c files Mar 17 14:02:42 even prototypes get compiled twice? Mar 17 14:02:52 prototypes dont get compiled Mar 17 14:03:00 i see Mar 17 14:03:11 but if you define function body there, it gets compiled (because you inline it in other code) Mar 17 14:04:23 if you #include it's the same as copypasting included file in place Mar 17 14:10:57 yeah so if 2 files include the same file Mar 17 14:11:11 that means im copy pasting 2x ? Mar 17 14:11:23 yes Mar 17 14:11:32 but most have #ifdef at the start Mar 17 14:11:37 yup Mar 17 14:11:44 so they don't get included more than once Mar 17 15:14:34 what is the difference between superscalar pipeline vs out of order pipeline and which is better Mar 17 16:31:43 who here needs magic? Mar 17 16:37:59 i need a pie Mar 17 16:38:46 pie with cream? Mar 17 16:40:05 cream pie? Mar 17 16:40:39 cheese pie Mar 17 16:46:44 only mcdonalds could come up w sometjing like that Mar 17 16:46:48 a mcpie Mar 17 16:49:41 http://www.cornwallcakes.co.uk/images/cakes/baked-cornish-cheesecake.png Mar 17 16:49:45 the best Mar 17 16:51:10 lol Mar 17 16:51:31 yeah im surprised mcds hasnt deep fried that yey Mar 17 16:51:43 you dont understand Mar 17 16:51:49 mcd is shit Mar 17 16:53:47 so do you eat the cheese pie with crackers? Mar 17 16:54:59 how does it not melt anyways/ Mar 17 17:10:26 because it's cottage cheese Mar 17 17:18:31 cottage cheese == asbestos? Mar 17 17:31:24 id rather have a whale pie Mar 17 17:31:38 something finnish Mar 17 17:32:01 Surströmming Mar 17 17:32:08 i think you think about it Mar 17 17:32:14 http://en.wikipedia.org/wiki/Surstr%C3%B6mming Mar 17 17:35:38 thats definitely not what i had in mind Mar 17 17:36:00 chicken Mar 17 17:36:01 i was thinking of something made out of whalr=e meay Mar 17 17:36:30 KotCzarny: are you a rng Mar 17 17:36:46 cat Mar 17 17:36:49 many people call me a bot Mar 17 17:37:00 i can see why Mar 17 17:37:02 lol Mar 17 17:39:17 but that cant be true necause obviously bots cant think Mar 17 17:39:31 that's what you think you think Mar 17 17:40:03 given enough data and context you could have hard time distinguishing Mar 17 17:40:38 given enough data and context you would be irrelevant Mar 17 17:40:47 as the whole human race Mar 17 17:40:57 that's called singularity Mar 17 17:40:59 no just you Mar 17 17:41:05 google that word Mar 17 17:42:17 a singularity is merely the summation of your thoughts Mar 17 17:42:22 no Mar 17 17:42:54 a bots thougts merely represents the parts of its creator Mar 17 17:43:06 nope Mar 17 17:43:16 the singularity defines your actions Mar 17 17:43:25 nope Mar 17 17:43:40 for context without perception is void Mar 17 17:44:13 anyway, back to code Mar 17 17:44:40 it is easy to represent a bots thoughts by mere observation of its actions Mar 17 17:44:54 what code Mar 17 17:45:21 i came here wanting to sell magic Mar 17 17:45:55 your script needs recompiling Mar 17 17:46:31 ;) all that technology anv it still cant keep up Mar 17 17:55:32 KotCzarny: https://en.wikipedia.org/wiki/Infinite_monkey_theorem Mar 17 17:55:46 wat Mar 17 17:55:52 enjoy updating your script Mar 17 17:56:13 and on that note Mar 17 17:56:37 troll is trolling **** ENDING LOGGING AT Wed Mar 18 02:59:58 2015