00:00:00 --- log: started osdev/02.07.28 00:16:15 --- join: lynx (~lynx@p50809086.dip.t-dialin.net) joined #osdev 00:18:57 good morning lynx 00:28:00 --- quit: trans (Read error: 110 (Connection timed out)) 00:42:39 eks is still awake! 00:42:51 wow, this is ununsual, from what I remember you were into that going to bed early and waking up :) 00:44:04 yeah 00:55:00 'morning 00:55:03 eks!!! 00:55:09 08:21 < eks> hrm.. anybody got some mp3 for me? 00:55:17 ya want some modules ? :> 01:04:31 well, depends, what ya got? 01:05:03 Celsius (hard tekno, gabber) 01:05:07 35+ modules 01:05:15 more than one hour. 01:06:13 and other stuff, mp3 (gabber, french (Goldman, Noir Desir, soon some Indochine and Mylene farmer)) ehm. 01:06:53 hrm... 01:06:57 any trance/ambient? 01:07:02 maybe :) 01:07:10 yeah 01:07:23 there's some in the celsius collection. 01:07:26 3240+ mp3s. 01:07:34 * eks isn't a fan of Noir Desir and Mylene Farmer 01:07:35 (and oggs, modules :P) 01:08:19 http://void.phear.org/misc/celsius.tar.bz2 01:08:22 9M bzipped 01:08:32 hrm... 9MB? .xm ? 01:08:38 ya 01:09:11 * eks downloaded 8hours of 256kbps of pure trance/ambient tonight 01:09:18 :P 01:09:21 ah 01:09:34 I got a new fresh mix from a friend if you want.. 01:09:44 75mn of pure tribal house :P 01:10:00 sure 01:12:10 kay, wait 01:12:37 http://spoty.gcu-squad.org/session-07102002.mp3 01:12:52 --- join: ReDucTor2 (~reductor@bat-56k-073.tpgi.com.au) joined #osdev 01:14:29 eks: You should download some Astral Projection 01:14:41 DirtyOldSanchez: I got all their songs 01:14:47 good :) 01:14:56 then can I have some of you? ;) 01:15:17 ehehe, maybe some other day :p 01:15:25 and Hybrid? 01:15:27 I got most of them off mp3.com anyway 01:19:25 DirtyOldSanchez: which ones do you need from astral projection? 01:20:14 I'm looking on mp3.com right now 01:20:53 --- quit: ReDucTor (No route to host) 01:20:54 any other artists you can suggest? 01:21:22 Future Sound Of London, DJ Shadown, DJ Lithium 01:21:36 s/Shadown/Shadow/ 01:21:39 I'm downloading 100+kb/s from mp3.com :D 01:22:09 ehhe, I'm downloading at 200kb/s from oxygen.isquare.org 01:22:54 I can only reach 170kb/s max with my internet connection 01:22:57 i'm on modem :( 01:24:15 hrm... 01:24:22 * eks wonders why mplayer doesn't want to play sound :( 01:24:41 you need speakers ;P 01:24:46 .. 01:24:53 I got speakers now.. 01:24:57 yay! 01:24:58 well.. headphones 01:25:11 bought them tonight 01:25:11 you need to put the volume up 01:25:25 * eks thinks DirtyOldSanchez is playing the lamer 01:25:28 and you need to plug it in 01:25:42 I'm listening to dj lithium from xmms right now 01:25:44 I'm always lame 01:36:09 --- join: corsairk8 (~Stealthy@pc-62-30-121-110-cr.blueyonder.co.uk) joined #osdev 01:41:07 --- quit: eks ("Zzzz") 01:45:10 hi all 01:51:34 --- join: lodda (~lothar@p508FCD07.dip.t-dialin.net) joined #osdev 01:51:44 good morning 01:52:44 g morning lodda 01:54:58 --- join: trans (~trans@a2a02274.intergate.bconnected.net) joined #osdev 02:02:48 --- join: phemophorium (~root@p508FCD07.dip.t-dialin.net) joined #osdev 02:03:34 how to load kezmaps 02:03:54 keymaps 02:04:32 mmh.. 02:04:55 &exit 02:04:59 --- quit: phemophorium (Client Quit) 02:07:02 hehe 02:07:10 i tried irssi-text 02:09:02 --- quit: corsairk8 () 02:14:50 --- quit: lodda ("leaving") 02:16:57 --- join: lodda (~lothar@p508FCD07.dip.t-dialin.net) joined #osdev 02:29:25 how do i find out what is my debian version 02:29:37 probably not debian --version 02:31:37 lol 02:31:40 cat /etc/issue 02:33:09 thx 02:48:45 --- join: adu (~andrew@dsl-64-130-166-225.telocity.com) joined #osdev 02:50:01 hey 02:50:41 oysimadu 02:50:54 Are you going to LinuxWorld, adu? 03:03:31 no i don't think so 03:03:42 --- quit: triplez (Read error: 113 (No route to host)) 03:04:25 i think i missed buying the tickets... 03:04:26 :( 03:06:55 --- quit: trans (Read error: 110 (Connection timed out)) 03:07:40 --- join: ReDucTor (~reductor@bat-56k-098.tpgi.com.au) joined #osdev 03:08:59 Naw 03:09:01 It's never too late 03:09:06 You think they are going to refuse your money? :) 03:11:02 --- quit: ReDucTor2 (No route to host) 03:15:36 no 03:15:46 i don't have enough money for the tickets now 03:16:10 anyway, my GF is kissing me 03:16:36 hahaha 03:16:41 Right now? : ):) 03:17:13 * lar1 goes to ebd 03:18:38 mmmh..i forgot my icq password 03:19:17 MUAAHAHAHAAAA 03:19:20 ;-) 03:19:26 ... 03:19:38 don't use icq. use jabber. 03:19:49 ... 03:21:53 my sister uses it 03:22:18 me, too, but i didn't use it since 3. july 03:23:03 ok, igtg, hehehe can't leave my gf waiting!! :) 03:23:09 hehehe 03:23:13 --- quit: adu () 03:44:25 --- join: single_transpare (~xtofu@p67-tnt2.mel.ihug.com.au) joined #osdev 03:45:06 --- join: dax (you@u195-95-86-169.dialup.planetinternet.be) joined #osdev 03:45:09 meh 03:47:04 i really need a dedicated machine to test daxos on now 03:47:14 vmware is kinda crappy when you want to optimize stuff 03:48:00 17000 cycles for a simple ipc 03:48:02 suuure 03:48:54 --- quit: tenzin (Read error: 104 (Connection reset by peer)) 03:50:06 where to get vmware for debian? 03:57:24 --- join: corsairk8 (~Stealthy@pc-62-30-121-110-cr.blueyonder.co.uk) joined #osdev 03:58:04 dunno don't use debian 03:58:08 only gentoo 03:58:13 corsairkX!! 03:58:18 loffs 03:58:21 lodda 03:58:21 corssieeee 03:58:28 hehe 03:58:52 * dax si looking for a dedicated pentium box to run daxos on 03:58:58 --- quit: lynx (Read error: 110 (Connection timed out)) 03:59:18 dax: :D 03:59:23 dual pentium 2 or celeron would be nice 03:59:31 something pentium or higher 03:59:36 and smp would be super-duper nice 03:59:43 >:) 03:59:51 cause optimizing my code is kinda hard under vmware 04:00:08 one time it's 9000 cycles, the other time it's 19000 04:00:33 but it's only around 500 when i boot it on my athlon 04:00:40 kinda screwed up 04:00:56 if it were a fixed factor to devide by it would be a bit easier 04:01:27 and i really need to cut that 500 in 2 04:01:28 --- quit: stormbind_ (Read error: 110 (Connection timed out)) 04:01:47 --- join: stormbind_ (~stormbind@p50835BCE.dip.t-dialin.net) joined #osdev 04:02:51 hey this si cool 04:03:21 some nice thinggies on ebay 04:10:37 bah 04:10:39 not really 04:11:18 buy a cray on ebay and port ur OS to cray!! 04:11:35 maybe 04:11:36 hmm 04:11:37 nah 04:11:52 i already have central heating 04:12:28 i just want a small smp box 04:12:31 dual ppro or something 04:12:35 would be nice 04:13:09 >:) 04:13:38 nobody has one lying around? 04:14:28 sorry, no 04:14:57 i have a p4 1.8ghz and 256 mb ram that's enough for my apps :) 04:15:12 oh 04:15:16 well that's fine too 04:15:18 send it over 04:15:24 i'll pay shipping 04:15:29 lol 04:15:33 hehe, no 04:16:06 damn 04:17:33 oh well 04:17:38 ipc performance is teh crap 04:17:43 kinda sucks 04:17:45 now i just have to install a good e-mail-manager and a program to upload data of my camcorder to my pc with firewire 04:17:48 YOU WON A FREE PORN PASSWORD!! 04:17:52 thx 04:17:53 woot! 04:17:55 now give it 04:18:06 hmm 04:18:12 syphsomething 04:18:15 can't remember the name 04:18:28 air? 04:18:35 air went mad 04:18:42 finaly saw some naked studs 04:18:44 on a site 04:18:47 :p 04:18:53 hehe 04:18:59 air: what is the p/w ? 04:19:01 DO ME NOW I WANT YOU TO CUM!!! 04:19:09 oh 04:19:14 haha 04:19:17 think he's reading his spam out loud 04:19:18 hmm 04:19:20 hehe 04:19:23 * corsairk8 wonders what is up with humans and pr0n these days 04:19:29 that reminds me i need to kick some guy's ass 04:19:56 for subscribing me in all those crappy spam thingies 04:20:00 WOOT! 04:20:07 and all the porn newsletters 04:20:08 parody said "microsoft sucks" 04:20:10 and such 04:20:33 so i get anywhere between 20 and 200 spam mails each day 04:20:37 god bless filters. 04:21:02 i hate that guy 04:21:04 grrr 04:21:09 i don't get one :) 04:21:19 beh beh beh 04:21:23 without filter 04:21:26 wtf is taking 500 cycles 04:21:35 u guys should listen to wopn 04:21:48 i think gcc is compiling my beautiful code into shit again 04:21:56 haha 04:21:57 i just didn't gave my e-mail-address to every pr0n site 04:22:29 5-6 instructions using edx ooh that gives some stalls 04:22:33 lodda: neither do i 04:22:41 dax: was it nothing? 04:22:48 nah 04:22:51 some rl friend 04:22:57 haha 04:22:58 "friend" 04:23:01 "rl friend" 04:23:10 feel like beating the shit out of him 04:23:22 a "friend" wouldnt do that 04:23:22 and printing out all those spam mails and stuffing him with them 04:23:34 he does 04:23:47 note that the " tokens are required. 04:24:02 classmate would be better actualy 04:24:19 bah who caresxorz 04:24:29 gcc si shit 04:24:44 why doesn't it reorder these instructions so they can pair 04:24:50 I think Graphical Assembler is the "Some aid for low level programmer". 04:25:08 because gcc sucks dax 04:25:18 its written for portability and extensibility 04:25:24 not for performance, speed or ease of use 04:25:33 i don't really feel like writing my entire ipc code in assembler 04:25:50 im feeling like writing most of my microkernel in assembler 04:26:01 bah 04:26:03 that is, ipc/handles, vfs, scheduling, module loading, and a few other misc things 04:26:09 although the drivers will be in c or c++ 04:26:20 omg you put all of that in your microkernel 04:26:24 yes :) 04:26:28 omfg 04:26:30 bloatware :) 04:26:32 hehe 04:26:41 dont be silly 04:26:43 moo 04:26:57 mine does ipc, really low level memory stuff and scheduling 04:27:01 that's about it 04:27:09 ipc/handles is how modules communicate between each other, I havent seen a modular system that can work without a module loader, scheduling and memory management is useful due to how dynamic patchups work 04:27:21 i want local/fast calls to keep from breaking branch prediction 04:27:27 i'm feeling like writing my OS in the language NULL 04:27:33 well dax 04:27:45 most of my memory management is in user tasks though 04:27:53 so i just need to get ipc performance decent 04:28:00 500 cycles is too much 04:28:47 i think my was is the best for squeezing out the max performance, and it also is best for portability, as the microkernel (or host module I call it) can be tailored to the arch 04:29:02 hmm 04:29:14 maybe i'll try to write it in asm 04:29:18 ie, one host module can be written for ia32 and another for ia32-smp 04:29:23 or atleast parts of it 04:29:38 and since the schedulign and ipc is in the same module, you can make the ipc methods thread-safe :) 04:29:57 hmm 04:30:01 my motto is never be afraid of what you write in asm if its arch-dependant module anyway 04:30:27 hmm 04:30:38 i want to keep my microkernel portable too 04:31:21 hehe, id rather keep it lean and mean and get any arch-common code in the modules 04:31:28 hmm 04:31:29 then I can write microkernels for whatever I wanna support 04:31:34 mine is lean & mean too 04:31:41 16kb compiled 04:31:45 whee wheee wheeeee 04:31:56 it does need a root task and root pager to run though 04:32:07 i can write modules for specail arch-support that are loaded on demand, ie, for SSE2 support in ia32, for MMX support, or for fast system calls SYSENTEr/SYSEXIT 04:32:16 and the microkernel can decide what modules it wants to pull in 04:32:22 hehe 04:32:51 the microkernel has its own process here, which manags everything (ie, ring0) and all modules have its own thread 04:32:58 hmm 04:33:15 i still dunno how to do the syscalls 04:33:16 hmm 04:33:22 interrupt gates are pretty simple 04:33:34 or call gates 04:33:39 yea 04:33:40 like bsd 04:33:43 using call gates now 04:33:43 --- join: trans (~trans@a2a02274.intergate.bconnected.net) joined #osdev 04:33:46 but i don't like them 04:33:51 hehe, i prefer int gates myself 04:33:52 --- nick: single_transpare -> tenzin 04:34:03 i'ld like to do it the l4 x2 way 04:34:04 ill be using them for my native (non-emulated) binaries 04:34:08 but i dunno how they do it 04:34:10 hehe 04:34:25 they store an address in their kernel info page you can call 04:34:28 how are you so sure you want to do it their way if youd ont know how they do it? 04:34:44 ah 04:34:50 sounds evil 04:34:58 hehe 04:35:11 because it sounds nice 04:35:52 you could always have a read/write page which you can atomically manipulate to signal a kernel thread to read/process 04:35:56 i guess they allocate an area where they put the code and you can call it from the kernel 04:35:57 hmm 04:36:04 but that again is as ugly as the method you said 04:36:09 user thinggy i mean 04:36:18 i don't like callgates 04:36:24 but you cant call privelidged instructions from user space 04:36:25 and interrupts are ass slow 04:36:42 its not executable or readable for ring 3 04:36:59 yea 04:37:00 hmm 04:37:09 well put some stubs at some address 04:37:11 its impossible to jump to ring 0 code without a priveledge switch (segment registers reload) 04:37:17 i know 04:37:18 and that is pretty sow anyway you doit 04:37:24 sow=slow 04:37:28 do it* 04:37:48 alpha is much better for that 04:37:59 only 4 cycles to switch between kernel & user mode 04:38:09 i see what you mean, a way is to use my idea, dedicate a few dwords to place a stack data range (for passing args) or for passign args directly, and another dword to manipulate atomically, it can eb set to 0 to start off with 04:38:19 when you want to do a syscall, you set it to 1 and the kernel handles it 04:38:29 you can continue execution and the next syscall waits for it to be reset to 0 04:38:34 no i was thinking about something else 04:38:45 this would also be asynchronous, ie, syscalls can be done while the user executes code 04:38:54 i know what you were thinking dax, but that wouldnt work 04:39:08 without having the priveledge level of user space being set the priv level of kernel space 04:40:11 the code would need to modify kernel data structures, execute priv'd instructions, so even if you could execute the code it would page fault as soon as it tried to do anything 04:40:22 as i said, the best way is an interrupt gate 04:40:45 that is if you take a conventional approach (ie, linux rather than brix) 04:40:50 hey people 04:40:53 hi DirtyOldSanchez 04:40:55 how's life? 04:41:00 --- join: ReDucTor2 (~reductor@bat-56k-109.tpgi.com.au) joined #osdev 04:41:38 dax: alpha may take 4 cycles but it probably still wrecks havok the caching 04:42:30 --- quit: nbsp ("-_-.zZ") 04:43:30 what's the difference between an interrupt gate and a trap gate? 04:43:40 a what gate DirtyOldSanchez? 04:43:58 trap 04:44:01 hmm 04:44:24 i think an interrupt gate is a trap gate, because its traps and transfers execution 04:44:27 im not too sure of that term 04:44:47 but call gates, task gates and interrupt gates should all be trap gates 04:44:56 from my understanding of the intel manuals 04:45:05 there are 3 possible gates on ia32, task, interrupt and trap gates 04:45:16 uh DirtyOldSanchez? 04:45:16 task=call 04:45:30 no, you are wrong 04:45:34 oh 04:45:45 Task gates are sorta like TSS short cuts, they change the context completely (including address space) 04:45:59 ie, some people link a task gate to an exception such as stack fault to recover from stack problems in kernel 04:46:16 call and interrupt gates simple perform code jumps and register reloads (ie segment jumps) 04:46:29 effectively changing the uhm... priveledge level 04:46:36 so you can go from kernel space to user space or vice versa 04:46:45 trap gates is a generic term from what I can tell 04:46:57 theres certainly no information 'trap gates' in the intel manuals 04:47:00 how do i move 8 dd's at one time to a place at memory? 04:47:01 on 04:47:10 lodda? 04:47:24 is that a trick question ;) 04:47:26 The IDT may contain any of three kinds of gate descriptors: 04:47:26 • Task-gate descriptor 04:47:26 • Interrupt-gate descriptor 04:47:26 • Trap-gate descriptor 04:47:31 from the intel manual 04:47:42 hmm 04:47:52 * corsairk8 finds that 04:48:18 page 5-12 of the ia32 manual, part 3 04:48:59 i mean like mov byte 0A800h:[0], 'A' 04:49:35 oh lodda, thought that was some unix question 04:49:35 hehe 04:50:17 mov qword mem, val ? 04:50:23 wait 04:50:37 do that 4 times ? 04:50:49 scuise moi 04:51:39 ah 04:51:42 DirtyOldSanchez, its probably referring to uhm 04:51:50 four times :( 04:52:51 DirtyOldSanchez, things such as #BP (the int3) is a trap 04:52:59 they are basically like interrupt gates 04:53:04 or exceptions or faults 04:53:57 i dont think theyre very important anyway 04:54:00 okay, but the difference between a trap gate descriptor and an interrupt gate descriptor is still unclear to me 04:54:07 you can just treat exceptions, fautls and trap slike interrupts 04:54:17 they do have their slight differences, but its all documented at the end of chapter 5 04:54:19 it ARE interrupts 04:54:26 yeh 04:54:27 they are 04:54:38 their differences are novel really 04:54:58 one other thing, the IDT is just a vector table filled with 8 byte descriptors? 04:56:01 uhm 04:56:19 its just like a gdt, ie, its global across all segments/contexts/tasks 04:56:32 and there is one from 0-255 iirc 04:56:35 --- quit: dax (Read error: 110 (Connection timed out)) 04:57:08 for each interrupt that may be called 04:57:19 and you can put different descriptors in it 04:57:30 The IDT may contain any of three kinds of gate descriptors: 04:57:30 • Task-gate descriptor 04:57:30 • Interrupt-gate descriptor 04:57:30 • Trap-gate descriptor 04:57:33 AH! 04:57:41 one of those 3 :) 04:57:45 yeh 04:57:54 (you cant stick call gates in) 04:58:34 * corsairk8 remembers the time when he used to read the intel manual religiously, hehe, what a screwd up architecture 04:59:06 yes, it is 04:59:37 --- quit: ReDucTor (No route to host) 05:01:20 ill never write an operating system, most of the fun comes from thinking and planning how the best one will work :) 05:02:08 awww, and omikorn :( 05:05:14 hehe 05:05:19 omimigrane :) 05:05:41 omikron was a nice proof of concept that I could start an OS but i dont have time to build one 05:05:55 im still pleased with how far I got though, and all the great ideas ive accumulated 05:06:52 love sticking with writing apps, much funner... 05:06:53 wh00h00 05:07:22 one day maybe ill publish my ideas and someone can implement it decently 05:07:29 like me 05:07:41 :) 05:07:52 omikron was all about speed, power and control :) 05:08:05 i dreamt it up because of the problems I had with windows 05:08:14 "if only" was what I was thinking 05:08:29 if only I was running a multi-user environment 05:08:37 if only I could have better control over what my apps do 05:08:51 tons of them 05:08:59 if only it could replace my current os :) 05:09:03 lol 05:09:16 --- join: ReDucTor (~reductor@bat-56k-115.tpgi.com.au) joined #osdev 05:09:21 nah, ive realised that windows is probably the best os around, and its gonna take alot of work to get to their level 05:09:35 since they are the ones with all the funding 05:09:37 and pro's 05:09:48 the problem I have is, I'm an OO fanatic, but no language has all the stuff I want 05:09:55 hehe 05:10:02 i dont really care what language is used 05:10:05 makes little different 05:10:13 although I like as much as possible to be written in asm 05:10:32 and the rest in c or some equally power machine-language dirivitant compiler 05:10:38 powerful 05:10:42 c++ isn't modern enough for me. java is too slow, most other languages have no good implementations (the libs available to make great apps) 05:10:56 hehe 05:11:09 i think the easier the language is the better 05:11:19 intepreted languages are silly these days 05:11:22 you still need a VM 05:11:39 true, but it must also have good and enough libs 05:11:41 whatever it has, has to output machine language 05:11:46 not really 05:11:53 which most good languages don't really have 05:11:57 huh? 05:12:00 what libraries do you need for an os? 05:12:18 not for an os 05:12:20 just for apps 05:12:24 oh 05:12:39 when writing an os, that's not the case 05:12:44 --- join: DRF (~daniel@host213-121-69-31.surfport24.v21.co.uk) joined #osdev 05:13:01 hmm 05:13:06 i see 05:13:33 but I'd love to write an os with a rich oop language 05:13:55 nah, waste of time 05:14:01 peopel should stick to simplicity 05:14:04 slow as hell. 05:14:39 corsairk8: wait.. simplicity.. and yet you want to write your entire microkernel in assembler? (I just woke up.. maybe I missed something) 05:14:56 yes, Smari, thats simple 05:15:02 asm is a simple language 05:15:08 I agree.. 05:15:11 but it's hell to maintain. 05:15:15 no its not 05:15:25 obviosly you havent seen the source to some recent c kernels 05:15:27 Smari: yes, that's the problem 05:15:44 a microkernel that I am thinking is probably 12-20kb in size maximum 05:15:54 corsairk8: Ohh yes I have.. and I'm getting darn annoyed by most kernels. 05:15:55 actually, make that 8kb 05:16:13 with simple I mean not advanced, it's basic enough to do everything 05:16:13 kernels are screwed these days 05:16:32 Everybody is bloating their software with all sorts of bullcrap. 05:16:53 I mean.. TuX is a fucking marvelous example of something you do *NOT* put into a kernel. 05:17:01 anyway, my microkernel (host module) is designed to be simple, all it does is handle basic ipc/ipm (as well as vfs, file system/device registering/opening/etc), scheduling/vm (core stuff) and module loading 05:17:30 it does very little of the actual implementation, just needs to be able to load modules, give it memroy, schedule its thread, allow it to communicate with other modules 05:17:37 allow it to use the vfs namespace :) 05:17:51 interesting. 05:17:55 * corsairk8 was thinking of a windows-like registry handled by the vfs 05:18:06 ouch. 05:18:17 that would be slow and insecure. 05:18:25 the vfs in this case is different from a normal one, its where you can have multiple channels, ie, "REGISTRY", "BASE", etc... 05:18:29 why Smari? 05:18:37 its got full security/multi-user considerations 05:18:55 corsairk8: so has the windows registry.. that doesn't stop virii from fucking with it. 05:18:56 the vfs would just be a shortcut to the registry management module 05:19:03 hehe 05:19:15 virii 05:19:16 right... 05:19:18 hehe :) 05:19:25 your making little sense 05:19:44 are you saying win2k is insecure? 05:19:45 nahh.. I've just thought most of these things through too often. 05:19:53 well, yes. 05:19:55 or linux? 05:20:00 or even bsd? 05:20:09 Nope. Neither of them. 05:20:11 well.. 05:20:19 well they use my exact idea 05:20:22 they're not as secure as they could be.. but they're secure. 05:20:24 so you obviosly dont know what your talking about 05:20:28 Virii on an OS which at best only a few random OS developers will ever see! lol 05:20:29 or you are misunderstanding me greatly 05:20:46 corsairk8: probably that then. 05:21:15 corsairk8: are you talking about a kernel level globals registry something like sysctl? 05:21:35 im talking about a virtual registry system 05:21:53 so user-space apps can modify variables in a tree-like structure like in windows 05:22:48 aha.. correct me if I'm mistaken.. but neither Linux nor BSD have anything like that. 05:22:55 i know 05:23:05 but it does use its vfs to store configuration data 05:23:11 those oses use conf files 05:23:12 and it isnt attacked by virii constantly 05:23:26 conf files, variables, whats the difference? 05:23:29 just like windows' ini files 05:23:39 windows uses a system registry nowadays 05:23:57 though windows' file system (in the days of win95 etc) wasn't secure 05:24:36 lets just say that in omikron, there is a registry module which manages a file on the main filesystem with all the system settings, each user has an area and the system has a global area (for root/admin/etc), and in the system area the list of users are stored, and in the user area all the user-specific details are stored 05:24:47 it has a simplified owning system 05:24:57 anyway, check out http://omikron.sf.net/data/docs if you want to see the docs 05:25:02 for most of this 05:25:19 mkey. 05:25:22 corsairk8: I understand, and I believe it's a pretty good idea 05:25:39 ever used LDAP? 05:25:41 its no different than the /etc 05:25:44 with subdirs for each user 05:25:49 although its much more organised 05:26:00 the kernel uses it directly 05:26:05 so for example, you can change settings much more easily 05:26:11 think of it like a culmination of the procfs too 05:26:21 this means that you can build something like a control panel and configure and modify the kernel in real time 05:26:36 ecah module has settings, you change cache levels, gui settings, device settings all in real time 05:27:08 because it uses an event-driven system (via the internet kernel queues managed by the host) to request changes and notify the driver/module when something changes so it can reload itself or modify itself 05:27:13 the big pro of that is that all settings are available at one place 05:27:19 yes 05:27:34 * corsairk8 g2g 05:27:35 that's a great thing 05:27:50 NOOOO!!!111 05:27:54 * DirtyOldSanchez humps corsairk8 05:27:58 lol 05:28:00 I'm Dirty ;D 05:28:10 corsairk8: Aha. We were thinking of something like procfs for our system too... the point is that I keep thinking of the Windows registry as a place where anybody dumps anything with as little or as much relevance as possible.. and it makes everything more insecure and slow. That could easely be fixed by fixing all other basic security issues on Windows; But the Registry is still read accessable for everybody. :) 05:28:25 procfs is too primative and silly in my opinion 05:28:45 I don't even know what procfs is :) 05:29:00 it lists all the processes in the system, and has a bunch of psuedo-files for all settings 05:29:03 corsairk8: What's primitive about it? 05:29:10 but its so confusing only kernel hackers would realyl use it fully 05:29:14 everything Smari 05:29:18 it's got exactly everything it needs. 05:29:19 oh yeah, unix is "everything is a file" 05:29:36 --- quit: ReDucTor2 (No route to host) 05:29:37 Smari: its got everything it was designed for, but its no replacement for a registry 05:29:40 not my sytle... 05:30:03 DirtyOldSanchez: hehe. I like having a generic interface to everything. 05:30:06 procfs should only be used for process information 05:30:12 never the way linux does it 05:30:18 Smari: so do I 05:30:23 well, process information is not what my registry is about 05:30:32 so forget procfs ;> 05:30:34 its a way for things to be configured 05:30:48 gab: why not? It's just becoming a pretty good and more UNIX-like replacement for sysctl. 05:30:56 but procfs has some idea, ie, it lets you tweak things in the kernel, like variables for networking and low-level stuff, I was just saying i would have something like that in my registry 05:30:58 I suggest some kind of property system ala solaris 05:31:12 ah solaris is so well designed its unbeleivable :) 05:31:16 anyway 05:31:21 read my docs first before you talk to me 05:31:22 * corsairk8 g2g 05:31:26 corsairk8: I have many ideas too, I might write them down on paper once, you may understand that my ideas are rather close to yours.. 05:31:27 each driver and module has its own property set 05:31:27 --- nick: corsairk8 -> corsairk8|aweh 05:31:29 some standard 05:31:35 some specific to the module 05:31:45 * corsairk8|aweh doesnt wanna know gab 05:31:57 and you can set default values with a conf file proper for the driver 05:31:57 * corsairk8|aweh will find out himself 05:32:24 there are also kstats 05:32:31 short for kernel statistics 05:32:49 its an interface for monitoring values from the drivers 05:32:51 too too tooooo, too too tooooo... 05:33:13 --- join: lynx (~lynx@pD9E63A1D.dip.t-dialin.net) joined #osdev 05:33:24 --- quit: ReDucTor () 05:33:28 corsairk8|aweh: where are your docs ? 05:33:29 the only command I can remember for a unix system is: cat /dev/zero > /dev/hda 05:33:38 * lodda is (re)writing his pbbs 05:33:49 http://omikron.sf.net/data/docs 05:34:10 --- quit: lynx (Client Quit) 05:34:12 --- join: lynx (~lynx@pD9E63A1D.dip.t-dialin.net) joined #osdev 05:34:34 Wait.. you guys don't use UNIXen systems? What do you prefer? 05:34:49 I use windows 05:35:14 and you prefer Windows to a UNIX system.. primaraly because of comfort I expect? 05:35:26 yep 05:35:31 and because of games 05:35:50 ahh. Games. Uff. I've not seen one of them since I was 14 :) 05:35:57 but beside that, I'm not a pro-windows neither an anti-windows user 05:36:23 --- quit: lynx (Client Quit) 05:36:25 --- join: lynx (~lynx@pD9E63A1D.dip.t-dialin.net) joined #osdev 05:37:09 geee 05:37:11 .... 05:37:13 stupid lag 05:37:18 whahaha!!! 05:37:47 nahh. I like some things in Windows. I dislike many things in their design, but the main things that keep me well away from Windows are the fact that Windows XP is spyware, the licence allow Microsoft to manipulate data on your hard drive without your specific permission, and.. well.. security matters. 05:38:53 if my pr0n stays intact, I don't give a shit about that ;) 05:39:02 ..and my mp3 collection 05:39:28 I believe that winnt has some pretty well design issues 05:41:03 is ss:es the address of the stack? 05:41:18 ss:sp 05:41:31 aha..thx 05:41:56 Think Stack Segment: Stack Pointer ;) 05:42:46 --- nick: indigo -> indigo_laboranta 05:42:59 Where's the ItzyBitzyMan? 05:43:16 --- nick: DirtyOldSanchez -> ItzyBitzyMan 05:43:20 Here I am!!! :D 05:44:40 why do u use so long names? 05:45:04 because I'm not lazy 05:45:05 what is esp? 05:45:17 --- quit: HeavyJoost_ZZZzz (Read error: 104 (Connection reset by peer)) 05:45:40 extended stack pointer 05:45:48 32 bit stack pointer 05:45:49 32bit in length 05:46:11 is it the stack pointer for pm? 05:46:37 lodda: yes.. 05:46:54 lodda: but you can still use sp as the low 16 bits of esp 05:47:12 ok tnx 05:47:16 --- join: core-ix (~net@62.73.96.164) joined #osdev 05:47:29 np 05:47:32 but you probably wouldn't use it for something else than the stack pointer anyways 05:48:11 uff, no.. heavens forbid :) 05:48:40 where would you keep the stack pointer value in the meantime? Obviously not on the stack ;) 05:49:00 in the base pointer 05:49:50 how else would you give parameters over the stack? 05:50:19 true. 05:51:02 one thing though, why did they decide the stack to grown down in memory? 05:51:13 why not just up? 05:51:51 Growing down works faster I think.. though I'd have to get back to you on that one. :) 05:55:19 I doubt it is fater 05:55:58 everything is the same except it's either incremented or decremented, both are the same speed 05:55:59 probably just one of those "let's decide this now, and it might make sense when this acid trip is over" :) 05:56:12 probably :) 05:56:53 --- join: HeavyJoost (HeavyJoost@a213-84-139-110.adsl.xs4all.nl) joined #osdev 05:57:23 --- nick: HeavyJoost -> HeavyJoost_away 05:57:35 I had exactly this conversation yesterday... about what the fuck sort of acid Intel developers were dropping when they decided to call AX the "acumilator", and ES the "extra segment".So many things in x86 architecture that defy logic. 05:59:08 but hey.. could somebody tell me the best way to calculate LBA to CHS in assembler? 05:59:21 in real mode they were actually designed for those purposes, in protected mode all default registers can be used for actions which could first only take place in ax or another one. 06:00:39 Smari, I've been trying to work that out all this week and so far been failing miserably. 06:00:40 --- join: eKIK (~eKIK@h199n2fls31o858.telia.com) joined #osdev 06:01:56 DRF: Two of us here have been on it since 3 O'clock last night.. we took a break at 5 or 6 to sleep for a few hours. :) 06:02:16 I've sent you my code in a query window 06:02:33 damn! 06:03:51 hehe 06:04:35 Well Smari if you find out the secret tell me please 06:04:36 it's 13:00 here btw.. I woke up at 12:00 and started searching for a magical black centepede with white legs. I'm pretty messed up today. 06:05:19 DRF: ItzyBitzyMan saved me there.. but http://www.ata-atapi.com/hiwchs.htm#T5 is pretty good. I just had a headache from us trying to write it up in assembler. 06:06:22 Thanks, I'm just opening it. :) 06:09:14 Hmm, just a lil bit of reading matter lol 06:10:55 hehe. The main bits are easy to see... 06:11:45 cylinder = LBA / (heads_per_cylinder * sectors_per_track) ; temp = LBA % (heads_per_cylinder * sectors_per_track) ; head = temp / sectors_per_track ; sector = temp % sectors_per_track + 1 06:11:56 So far every site I've looked at has given me a slightly differenct set of formulas lol 06:13:44 Whats the % stand for? 06:14:09 modulus 06:15:25 Now just to read up on what on earth modulus is and hpw to do it in asm lol (I noticed it kept poping up the LBA/CHS stuff from where I was looking before) 06:15:41 Hehe. 06:16:08 rewbar 06:16:09 Modulus is "rest division". 06:16:12 Hey oink :) 06:16:18 sup ? 06:16:18 Are you working on a boot loader then Smari? 06:16:22 e.g. 9 mod 5 = 4. 06:16:26 Hoi, Robert! 06:16:32 hey oink! 06:16:33 Hoi, ItzyBitzyMan! 06:16:37 =D 06:16:43 hey ItzyBitzyMan (?) 06:16:43 (: 06:16:44 DRF: at the moment yes. 06:16:48 DRF: Also note that x mod 2^n = x and 2^n-1 06:16:51 Ah, ditto 06:16:53 ah 06:16:54 rico :) 06:17:00 >:D 06:17:06 EvilUndercoverRico 06:17:15 >:D 06:17:16 how many cylinders has floppy? 80? 06:17:21 Thanks robert :) 06:17:22 :D\-< 06:17:27 :D|-< 06:17:31 :D/-< 06:17:34 ??? 06:17:37 (gruik) 06:17:48 a guy dancing 06:17:51 Smari what features is this boot loader of your having/got? 06:17:53 lodda: A normal 1449kB floppy, yes. 06:17:56 aha 06:17:57 1440* 06:17:58 =D 06:18:08 :D>-< 06:18:17 15:17 < Robert> lodda: A normal 1449kB floppy, yes. 06:18:20 ok (18 sectors per cylinder, right?) 06:18:38 DRF: well, it's very basic.. it's only task is to load the kernel image, switch to p-mode and set up pageing 06:19:14 DRF: The kernel is allready capable of doing most other things a bootloader might want to do.. 06:20:04 Ah 06:20:05 lodda: Yes. 06:20:14 File system at all smari? 06:20:24 DRF: not yet no.. 06:20:26 --- join: homogenic (acme@p508088B6.dip.t-dialin.net) joined #osdev 06:20:43 DRF: we'll probably implement Minix or EXT2 support first off.. 06:21:37 Ah, floppy disk OS is this? 06:22:16 at the moment. 06:22:49 we're going to make our own file system further down the line, but I don't have any idea of the design yet. 06:23:56 currently we don't have a memory manager.. but it boots using our old bootloader (we're writing a new one to replace SBBB), it supports scanning for PCI and ISA PnP devices, and interrupt handling.. nothing much else yet. 06:24:07 Ah, I've got bits of the boot laoder working here and there but nothing significant. I'm aiming to be able to load a pmode kernel from a FAT12 filesystem currently. (I'll prob change to a different filesystem/make my own later down the line) 06:24:57 Is SBBB the one from errr *tries to remember the name of the website* nope I've forgotten. 06:25:08 DRF: SigOps. 06:25:15 Thats the one. 06:25:45 how to make a real-mode-address to a linear one? 06:25:45 I couldn't find the source for there one though :( 06:26:31 DRF: you don't get the SBBB source.. you get the Bootmaker source which contains a hex field, which Bootmaker appends to the front of your boot image. 06:26:53 DRF: but I don't recommend SBBB - it's really limiting. 06:26:58 good as a starter-offer. 06:27:36 Thats what I thought. I decided to go for the option of making my own. 06:28:05 yup. 06:28:21 I thought SigOps was a good website for a "what should I do next to my OS?" type thing but not for information/examples etc. 06:28:46 SBBB maps everything to memory in a very silly way, imho. 06:29:14 how to make a real-mode-address to a linear one? (need it :( ) 06:32:10 Now just to work out how to translate modular into Asm commands lol 06:36:14 --- nick: DRF -> DRFlunch 06:56:57 --- join: Stalky (~cms@ool-4352c2ce.dyn.optonline.net) joined #osdev 06:59:45 --- quit: tenzin ("Filled with real fruit") 07:02:32 --- join: jace48 (~jace48@203.195.175.54) joined #osdev 07:03:22 --- quit: jace48 (Client Quit) 07:13:34 --- part: core-ix left #osdev 07:24:38 --- quit: HeavyJoost_away (Remote closed the connection) 07:25:34 --- nick: DRFlunch -> DRF 07:32:57 mmmh:((((((((( 07:33:10 HAR HAR HAR 07:34:02 SCHNAUZE DUMMER LYNX 07:34:17 >:O 07:36:01 --- quit: file ("My damn controlling terminal disappeared!") 07:36:42 --- join: file (joshnet@65.166.122.14) joined #osdev 07:37:05 ach leck mich doch 07:37:20 --- mode: ChanServ set +o lynx 07:44:03 --- join: aramius (~aramius@p50868A20.dip.t-dialin.net) joined #osdev 07:44:34 hey aramius 07:45:47 --- mode: lynx set -o lynx 07:45:51 dumdidum 07:48:08 --- join: futhin (thin@h24-64-175-61.cg.shawcable.net) joined #osdev 07:49:59 --- join: Divine (~john@12-246-116-35.client.attbi.com) joined #osdev 07:54:48 toll lynx, wir sind stolz auf dich, du bist ein ganz toller lynx 08:08:03 lodda : halt endlich dein dumes maul 08:10:30 you 2 suck 08:10:49 ziga@owl:~/programmation/utinst* cake 08:10:49 bash: cake: command not found 08:10:53 instead of 'make' 08:10:54 .. 08:12:27 lol 08:13:36 make cake 08:14:00 don't burn it! 08:14:06 bake cake 08:14:08 lynx: nö 08:15:03 ItzyBitzyMan: U2 doesn't suck 08:15:18 (*g*) 08:16:12 * ItzyBitzyMan is listening to You Too - Sunday Bloody Sunday 08:16:46 * futhin is listening to nothing 08:17:01 where is nothing? 08:17:01 * oink is listening to something 08:17:18 tribal house. 08:17:33 * lodda is listening to Nirvana - About A Girl 08:17:36 --- nick: ItzyBitzyMan -> Rico 08:17:47 --- mode: ChanServ set +o Rico 08:17:51 lodda: Nice s0ng. 08:18:01 yes 08:18:10 --- mode: Rico set -q *!*@*.a2000.nl 08:18:35 Heh. 08:18:40 * futhin doesn't believe in listening to mind-altering reality-escaping mind-turnoff music.. (irc is good enough for that) :P 08:18:55 --- mode: Rico set -q *!rico*.*@* 08:19:03 * file sighs 08:19:25 --- mode: Rico set -o Rico 08:19:34 --- nick: Rico -> ItzyBitzyMan 08:19:52 damn, now i'm gonna hafta op myself and ban rico again :P 08:19:59 * file sneezes 08:20:01 it wasn't a ban 08:20:21 ah, it was a quiet 08:20:33 it was perfect!...if it worked... 08:20:53 The Sounder Better Without You 08:21:27 the *!rico*.*@* mask wasn't right, i think it only catches your nick 08:21:40 hmmm 08:21:51 then what's in front of the !? 08:22:10 *!rico*.*@* 08:22:11 ^ 08:22:57 --- mode: ChanServ set +o futhin 08:23:09 wanna test a different mask? 08:23:14 no thanks 08:23:22 eh 08:23:23 Robert would like to participate 08:23:23 i'm curious too 08:23:27 okay robert it is 08:24:27 --- quit: DRF ("[x]chat") 08:24:35 Hm? 08:24:42 Bah 08:24:47 heh 08:24:47 --- mode: ChanServ set +o Robert 08:24:49 bah 08:24:52 Don't do anything stupid. ;) 08:24:57 --- join: DRF (~daniel@host213-121-67-46.surfport24.v21.co.uk) joined #osdev 08:24:59 <-- can't figure out how to set mode q :P 08:25:01 --- mode: ChanServ set -oo futhin Robert 08:25:07 /mode #osdev +q mask 08:25:52 damn 08:25:53 /mode #osdev +q *!*@* 08:25:56 doesn't work :( 08:26:01 --- mode: ChanServ set +o futhin 08:26:04 :( 08:26:07 --- mode: futhin set +q *!thin@* 08:26:11 hi 08:26:19 do you hear me? 08:26:24 --- mode: ChanServ set -o futhin 08:26:25 Yes. 08:26:28 Because you're op. 08:26:30 Try again :) 08:26:37 --- nick: ItzyBitzyMan -> Rico 08:26:39 --- mode: ChanServ set +o futhin 08:26:44 --- mode: futhin set -q *!thin@* 08:26:58 yeah it effectively quieted me 08:27:01 --- mode: ChanServ set +o Rico 08:27:03 :) 08:27:04 --- mode: Rico set +q *!*@* 08:27:07 Whahaha!!! 08:27:09 :) 08:27:24 --- mode: Rico set -q *!*@* 08:27:28 did it work?!? 08:27:33 how to mov 4 byte to memory at one time? 08:27:39 --- mode: futhin set +q *!*@* 08:27:44 --- mode: futhin set -o futhin 08:28:01 futhin is a jerk :P 08:28:02 --- mode: ChanServ set +o lynx 08:28:04 nahnahnah 08:28:06 ya 08:28:09 cool 08:28:18 --- mode: ChanServ set +o futhin 08:28:22 i was just testing it 08:28:26 --- mode: futhin set -q *!*@* 08:28:29 Hrm 08:28:38 i'm afraid of te ops 08:28:39 lodda: mov eax,[blah] / mov [bleh],eax 08:28:57 lodda: >:) 08:29:19 thx 08:30:06 WEEE 08:30:14 --- mode: Rico set -ooo futhin lynx Rico 08:30:14 --- mode: ChanServ set +o futhin 08:30:14 --- mode: ChanServ set +o lynx 08:30:19 bah 08:30:30 you bastards! 08:32:35 --- quit: file ("BitchX-1.0c16 -- just do it.") 08:33:50 --- join: file (joshnet@65.166.122.14) joined #osdev 08:34:14 mmh..invalid segment override :( 08:44:25 --- join: eks (~eks@h24-82-197-140.wp.shawcable.net) joined #osdev 08:45:50 eks!! 08:45:59 hej lodda 08:47:09 * file waves to eks 08:47:17 hello file 08:48:03 eks: what's up? where's my laptop? 08:48:30 file: why are you asking me?!? 08:48:33 * eks dunno... 08:48:37 file: tetrinet? 08:48:40 eks: because your a fellow Canadian! 08:48:44 eks: not until I get my laptop! 08:48:45 --- quit: eKIK () 08:48:52 lol 08:49:20 mmm k? 08:49:26 * file wonders if it could come tomorrow 08:50:19 you'll never get it 08:50:38 futhin: yes I will 08:50:44 nuh-uh 08:50:54 futhin: you stole it? 08:51:14 naw 08:51:22 i'm happy with my p133mhz comp with 32 megs of ram 08:51:32 anything more is sheer overkill 08:51:52 ic 08:52:09 if the comp runs slowly, i blame windoze :P 08:52:22 i mean, p133mhz is RIDICULOUSLY FAST 08:52:53 futhin: i have 1.8 Ghz :) 08:52:53 but moron programmers create shit that slow it down 08:53:24 lodda: oh god, you poor fool :P 08:54:27 the only use for such a computer is ripping dvds and encoding them onto ONE CD 08:54:44 it is horrible slow 08:54:48 you can fit a movie from a dvd onto one cd 08:54:59 at almost the same quality 08:56:11 hey eks 09:07:47 --- join: jbreker ([US6XeYgiN@HSE-Ottawa-ppp236987.sympatico.ca) joined #osdev 09:18:28 --- join: n\ (netguy@217.16.225.170) joined #osdev 09:18:32 --- nick: n\ -> n3tguy 09:19:37 --- join: miro (~miro@pD955968C.dip.t-dialin.net) joined #osdev 09:21:25 tach miro 09:21:48 moin 09:22:45 --- join: Kurt (~kmw@216.135.11.169) joined #osdev 09:26:47 --- quit: Stalky ("http://www.echosproject.org") 09:28:29 hey lynx 09:28:53 lalala' 09:29:10 file: sorry that I missed ya there on tetrinet 09:29:45 I didn't want to play :) 09:29:46 wtf 09:29:59 eks: can you connect to oftc? 09:30:11 hi Kurt 09:30:26 miro: I think it will timeout 09:30:36 wtf is going on 09:30:50 no idea 09:30:55 dns server down? 09:31:06 seems like it 09:32:10 you've got mail... stupid mail 09:33:33 * file is going crazy 09:33:57 file: get off the computer 09:34:02 jeez, computers are lame 09:34:18 * file ignores futhin 09:34:34 computer withdrawal isn't boring! 09:44:12 i'm ready with rewriting pbbs 09:46:10 pbbs = pretty bad boot sector 09:46:16 i have to go off 09:46:20 bye 09:46:40 --- quit: lodda ("leaving") 10:04:51 --- quit: Kurt ("Connection reset by rear") 10:12:46 --- nick: corsairk8|aweh -> corsairk8|sleep 10:18:07 ehm 10:18:48 does anyone of you know if I can mix GPL code with BSD License'd code ? 10:19:28 --- quit: jbreker ("Client Exiting") 10:20:13 sure you can 10:20:52 note that the final code will be required to be distributed under gpl 10:23:10 I got two guys saying that it is usually forbidden.. 10:23:10 grr 10:23:14 my backspace isn't working 10:23:31 --- join: triplez (~triplez@mcns226.docsis206.scvmaxonline.com.sg) joined #osdev 10:23:59 oh wait 10:24:59 now they told me that I can use BSD code inside of _my_ GPL'ed code. 10:25:01 ok. 10:25:03 thanks :) 10:31:29 --- join: jbreker (~jbreker@HSE-Ottawa-ppp236987.sympatico.ca) joined #osdev 10:33:02 --- join: Raptor-32 (~rick@wpg-209-202-63-82.mts.net) joined #osdev 10:37:21 --- join: dax (you@u195-95-92-188.goplanet.pi.be) joined #osdev 10:37:21 --- quit: eirikn (Read error: 104 (Connection reset by peer)) 10:37:23 heya sir 10:37:25 s 10:38:13 --- join: eirikn (eirik@ipv6.eirikn.net) joined #osdev 10:38:13 --- quit: Raptor-32 ("BitchX: its wax ecstatic") 10:39:07 lalala 10:39:08 anyone alive 10:39:16 yeah.. 10:41:03 good :) 10:42:17 bah ipc is still slow 10:42:26 but atleast my root task works again 10:42:36 just have to polish some syscalls actualy 10:46:47 --- join: kapple (karingo@221.portland-03-04rs.or.dial-access.att.net) joined #osdev 10:54:33 --- join: Mathis (Mathis@gstw-d9b89f31.pool.mediaWays.net) joined #osdev 10:54:48 hiyall 11:04:33 --- join: hardware (~hardware@m27-mp1.cvx2-b.ltn.dial.ntli.net) joined #osdev 11:04:41 hello all 11:05:16 any one here 11:05:17 ?? 11:05:23 yep 11:05:29 hi 11:05:30 --- quit: dax (Read error: 110 (Connection timed out)) 11:05:33 hi 11:05:56 do you people talk about os programming 11:05:57 ?? 11:06:04 sometimes yes 11:06:19 ok 11:06:52 i have a question dose anyone know how to implement fat12 16 and 32 reading and writing 11:07:02 dose? 11:07:04 in ether C or asm 11:07:14 ether(net)? 11:07:17 ether :) 11:07:36 i cant spell well sorry 11:07:39 Network-oriented C :p 11:07:52 *g* 11:08:11 yes no 11:08:48 i have code i have been sent in a library to add to a kernel so i can all be writen in C 11:09:12 but dont know how to implement fat12/16/32 reading and writing 11:09:17 hardware: try this one: http://www.nondot.org/sabre/os/articles 11:09:29 ok 11:09:31 --- part: aramius left #osdev 11:11:22 ok 11:11:32 thannks not much help to me tho 11:12:03 does the site doesnt help you? 11:12:39 --- quit: jbreker ("Client Exiting") 11:12:53 no as i have already seen and read all articals on fat from that site 11:13:04 so where is the problem? 11:13:06 what about the microsoft manual? 11:13:15 dont have it 11:13:18 it has all the technical details 11:14:04 were can i get it?? 11:15:35 I don't know, it floats around on some places on the web, I suggest google 11:15:48 ok 11:16:03 well i am programming my os in Turbo C & asm 11:16:39 muhuhaha 11:17:43 has any one else writen an os?? 11:18:18 no, not in a os development channel *ggg* 11:18:57 what do you mean?? 11:19:31 why should we be here if we wouldnt write an OS? 11:19:45 ok 11:20:01 do you have sites for any of the os's you have writen 11:20:02 we are all too stupid to write an OS 11:20:47 and therefore too stupid to write sites for that 11:21:03 --- quit: corsairk8|sleep (Read error: 104 (Connection reset by peer)) 11:21:09 Mathis: don't play a jerk 11:21:12 whats the point of beening here then DHU 11:21:18 --- join: corsairk8|sleep (~Stealthy@pc-62-30-121-110-cr.blueyonder.co.uk) joined #osdev 11:21:26 hehe 11:21:35 hardware: check the topic, it has some interesting links 11:21:59 ah thanks did not see them 11:22:15 who I was talking to? 11:22:24 I didnt see the nickname... 11:22:38 dont know 11:23:06 who said this? 11:23:14 hardware 11:23:19 who? 11:23:37 awww, didnt see this 11:23:39 my nnick name is 'HARDWARE' 11:24:09 ah, sure... *shrugging* 11:24:10 --- quit: DRF (Read error: 110 (Connection timed out)) 11:24:55 --- quit: corsairk8|sleep (Client Quit) 11:25:01 mathis you are should an idiot 11:25:16 I am should? 11:26:06 what???????????:? 11:26:50 you said: 'are should' 11:27:03 oops 11:28:21 expect the unexpected 11:29:07 lol 11:29:13 ok mulder 11:29:14 both of you are crackheads 11:29:34 --- join: lodda (~lothar@80.143.210.54) joined #osdev 11:29:37 no matches were found for 'crackheads' 11:29:40 heh lodda 11:29:44 hi 11:29:46 Mathis! 11:29:49 hallo 11:29:50 lodda! 11:29:53 hallo 11:29:57 hehe 11:30:04 hehe 11:30:23 spooky 11:30:25 Mathis ist ein papagei 11:30:31 jupp 11:30:45 *shrug* 11:31:21 well i am going to put my os code on CD so i can do it on holday in spain 11:31:41 bad idea 11:31:46 why??? 11:31:48 lodda: er schreibt sowas von schlechtes Englisch, dass man nur lachen kann 11:31:59 enjoy your vacation, don't code 11:32:23 --- join: Raptor-32 (~rick@wpg-209-202-63-126.mts.net) joined #osdev 11:32:43 im looking for advice on how to partition a drive. anyone up for helping me? 11:32:49 the point is i enjoy coding and i dont see the point in sitting by the pool sunbathing when i could code i prefer going out to clubs at night 11:32:59 i know HOW to partition it, im just not sure what size i want the parititonis 11:33:04 USE FDISK from dos 11:33:21 hrm.. 11:33:22 how are we suposed to help you pick 11:33:37 never noticed that you had a limit of 182 files on a standard ext2 floppy .. 11:34:23 hardware : well im wondering if making a 0.25gig partition for swap, and then the rest of the drive (59.75gigs) as a new /home would be good. I currently use a 4gig for / /home and swap. 11:35:24 just make it evan and make 0.75gigs for swap and the rest as a new home 11:35:27 Raptor-32: yeah, that would work, you can always resize them later using GNU parted 11:36:12 hardware : that would give me 1gig of "memory" 11:36:17 sorry 1gig swap and the rest home 11:36:22 hrmm... 11:36:30 yes 11:36:33 Raptor-32: having more swap doesn't hurt 11:36:44 doesnt hurt NOW, but once the drive fills up... 11:36:49 lol 11:36:52 59 gigs.. 11:36:56 yea.. 11:37:00 if i buy more ram, i'll like never swap out. :P 11:37:05 that is a lot of space to fill 11:38:10 well gtg write my CD now 11:38:12 --- part: hardware left #osdev 11:38:43 i think i'll do 0.5gigs swap 11:39:00 how to position them now 11:39:04 which should go first on the drive? 11:40:21 --- nick: kapple -> karingo 11:40:49 doesn't matter 11:41:07 well, for performance sake 11:41:15 --- join: HuntrCkr (huntrckr@myr53-01-p178.gt.saix.net) joined #osdev 11:41:17 should swap be in the front? 11:41:33 if you use ext2 as the main file system it will go all over the drive anyway, not just at the start or end 11:41:39 so you won't have much difference 11:41:51 hello 11:41:59 hello HuntrCkr 11:42:10 hi huntckr 11:42:20 hi huntrckr 11:42:36 --- join: DRF (~daniel@host213-121-69-19.surfport24.v21.co.uk) joined #osdev 11:43:58 what's new? 11:44:14 HuntrCkr: not much 11:45:01 crap 11:45:21 n/m, bbl 11:45:35 heya eks btw W:P 11:46:22 oink: not bad 11:46:22 --- quit: karingo () 11:46:23 --- quit: Mathis ("User pushed the X - because it's Xtra, baby") 11:46:37 * oink ? 11:46:58 * oink . o O ( .... ? .... ) 11:47:03 ?!?!?!?!? :) 11:47:08 yer fine ? :) 11:47:13 what oink? 11:47:26 'W:P' was supposed to be a smiley :) 11:47:29 is 66Mhz PCI new? what are the chances that i have it on my mobo? 11:47:41 anyway 11:47:42 bbl :) 11:48:53 /dev/hde1 57213668 20 54307312 1% /seagate 11:48:58 ohhh yeahhh... 11:49:15 lol@rick 11:49:38 how do i get a swap partition "formatted" and whatnot? 11:49:50 i've never had to deal with that other than during an install 11:50:43 --- join: Aardappel (~Aardappel@pD9E109C3.dip.t-dialin.net) joined #osdev 11:51:06 Raptor-32: mkfs.swap 11:51:18 Raptor-32: mkfs.swap /dev/hde2 11:51:20 etc.. 11:51:37 then add an entry in your fstab for it 11:52:05 bash: mkfs.swap: command not found 11:52:17 /sbin/mkfs.swap 11:52:36 or maybe just /sbin/mkswap 11:52:39 mkswap 11:53:07 Setting up swapspace version 1, size = 500604928 bytes 11:53:11 is that all it needs to do? 11:53:11 don't forget to set type 82 on the partition 11:53:16 yip 11:53:24 ya its set up as linux swap 11:53:25 umm 11:53:57 /dev/hde2 none swap sw 0 0 11:54:02 seem good for the entry in fstab? 11:54:21 ja 11:54:35 now it'll use that automatically at boot? 11:54:36 hrmm... 11:54:40 yip 11:54:46 what gets set up first? the modules or the swap 11:54:47 ? 11:54:55 cause im using modules for the disk to work. 11:55:08 hm.. not sure, I think the swap do.. 11:55:13 --- quit: stormbind_ ("I'm too lame to make a quit message") 11:55:14 thats no good. 11:55:19 but I'm not sure.. 11:55:26 give it a try :p 11:55:32 not like you will break anything 11:55:51 (and your uptime isn't too high yet) ;) 11:55:55 * Raptor-32 comments out the other swap entry and preps for reboot 11:56:31 OpenBSD onee.yi.org 3.0 GENERIC#55 alpha 11:56:31 12:37PM up 97 days, 5:38, 1 user, load averages: 0.56, 0.29, 0.25 11:56:35 mmMMMmm :) 11:58:06 --- quit: HuntrCkr (Read error: 104 (Connection reset by peer)) 11:59:03 --- quit: Raptor-32 ("[BX] bb bbba bbbba bbbitchx bitchx!!!") 12:04:40 --- join: mgy (~mgy@nat202-194.mpoweredpc.net) joined #osdev 12:04:47 --- part: futhin left #osdev 12:06:07 quick question -- I understand the concept of applying paging to each segment of memory, but is it possible (or rather, does one every) applying segmentation to individual pages? 12:06:19 s/every/ever 12:06:45 --- join: Raptor-32 (~rick@wpg-209-202-63-121.mts.net) joined #osdev 12:07:02 Swap: 488864 57736 431128 12:07:39 hi all 12:08:09 hey file 12:08:19 hello.. 12:08:39 Raptor-32: I'm guessing it works 12:08:48 jaja 12:09:03 my dmesg log is beatiful 12:09:07 it just SCREAMS powerful. :P 12:09:10 eheh 12:09:20 it would scream more powerful if you had the 133 controller ;) 12:09:26 ya FUCK you 12:09:33 ahaha 12:09:36 :) 12:09:53 ide2 at 0x98d0-0x98d7,0x98e2 on irq 24 12:10:03 irq 24 baby! 12:10:19 :) 12:11:05 * Raptor-32 starts opening more apps in hope of slowing down his box 12:11:28 * file hits the box with his "Game Developer's Guide to Cybiko" book 12:11:48 *opens mozilla for the hell of it* 12:14:48 *tilts head* 12:14:58 since when do i have Mozilla 1.0RC2 12:15:35 * file wants a small MP3 Player for WindowsNT 12:15:43 freeamp 12:15:48 --- join: jbreker ([o2IwoYJ+B@HSE-Ottawa-ppp236987.sympatico.ca) joined #osdev 12:15:50 best mp3 player for windows 12:15:56 good god my box is fast. 12:16:24 is it small? 12:16:43 a few megs 12:16:47 ok 12:16:50 low on ressources 12:17:02 and its sexy too 12:17:14 file: I think mpg123 will compile for winnt if you're into something really small.. 12:17:23 mgy: ic 12:19:04 --- join: wossname (wossname@HSE-QuebecCity-ppp80719.qc.sympatico.ca) joined #osdev 12:21:04 * file hums 12:21:17 I'll have to use this player on my laptop 12:21:58 file: I use mp3blaster on my trusty 486 laptop. :) 12:22:09 in Windows>? 12:22:13 and my laptop is a Pentium... 12:28:42 --- quit: DRF ("Bbl") 12:29:13 file: no, linux. 12:30:15 eks: ya there ? :) 12:30:29 ja 12:30:30 why? 12:30:42 can't figure out why the hell gcc gives me a warning on something. 12:30:55 I'm sure you know :P 12:31:03 ehehe 12:31:06 check it out: 12:31:07 gcc -Wall -g3 -O4 -c ioapi.c 12:31:07 ioapi.c: In function `fill_fopen_filefunc': 12:31:07 ioapi.c:165: warning: assignment from incompatible pointer type 12:31:18 Oops.. 12:31:30 w8 :) 12:31:36 lol 12:32:01 got it, I think :P 12:32:04 ioapi.h: close_file_func zclose_file; 12:32:08 ioapi.c:fclose_file_func (opaque, stream) 12:32:09 [..] 12:32:12 I'll cast it. 12:32:25 165 pzlib_filefunc_def->zclose_file = fclose_file_func; 12:32:50 ziga@owl:~/programmation/utinst/libs/zip$ make 12:32:50 gcc -Wall -g3 -O4 -c ioapi.c 12:32:50 ziga@owl:~/programmation/utinst/libs/zip$ 12:32:52 Yay! :) 12:32:56 thanks a lot :P 12:33:34 ahha 12:34:36 darn stupid shit 12:34:43 I got back to 859 lines of code 12:34:51 er 12:35:18 Pure Pure Both Total Total Total 12:35:18 Code Comment Cod&Com Blank Code Comment Lines Pages 12:35:21 ALL: 859 233 1 166 860 234 1259 28 12:35:22 :o 12:35:30 I love this tool :P 12:35:33 * file waves to eks 12:36:04 oink: what is it? 12:36:12 * eks waves to file 12:36:13 'lc' from the Debian package, 'metrics' 12:36:19 uhm 12:36:22 get the sources from: 12:37:06 http://ftp.debian.org/debian/dists/potato/main/source/devel/metrics_1.0.orig.tar.gz 12:37:10 there :P 12:37:18 eheh 12:37:26 I think I'll just use wc and grep ;) 12:37:35 bah 12:37:38 lc > wc 12:37:39 :P 12:39:57 * mgy is away: eating. 12:44:00 --- part: mgy left #osdev 13:15:37 --- quit: Raptor-32 (Read error: 110 (Connection timed out)) 13:32:49 --- join: futhin_ (~thin@h24-64-175-61.cg.shawcable.net) joined #osdev 13:33:15 --- part: futhin_ left #osdev 13:33:42 i have to go off 13:34:35 --- quit: lodda ("leaving") 13:37:45 --- quit: ava (Read error: 104 (Connection reset by peer)) 13:46:00 Wh00h00!!! 13:46:17 I'm going to the Summer Splash Party in my own village!!! :D :D :D :D :D 13:46:18 --- quit: Aardappel (Connection timed out) 13:46:32 --- join: Aardappel (~Aardappel@217.7.138.114) joined #osdev 13:46:40 ehhe rico 13:46:42 have fun :) 13:46:55 24 artists 13:47:02 from 13:00 to 23:00 13:50:28 grrrrrr 13:50:48 my grand ma' filled the toilet's hole with chick peas 13:51:17 I can't even piss there now :< 13:52:17 --- nick: eks -> eks[css] 13:56:21 --- join: lodda (~lothar@p508FF78F.dip.t-dialin.net) joined #osdev 13:57:20 why not? 13:57:39 Didn't you learn anything from Nike? "Just do it!" 13:58:31 Hoi, Rico! 13:58:56 Hoi, Robert! 13:59:05 --- nick: eks[css] -> eks 13:59:23 My eks :) 13:59:31 huhuh... 14:01:34 eksiboy 14:02:39 loddaddy 14:20:14 --- quit: lodda ("leaving") 14:29:57 --- join: DRF (~daniel@host213-121-71-75.surfport24.v21.co.uk) joined #osdev 14:37:11 --- quit: wossname ("lor~") 14:40:00 --- join: ava (~d@chcgil2-ar6-4-47-169-191.chcgil2.dsl-verizon.net) joined #osdev 14:58:35 --- join: Heavy-Joost (HeavyJoost@a213-84-139-110.adsl.xs4all.nl) joined #osdev 14:59:20 --- nick: Heavy-Joost -> HeavyJoost 15:00:41 could someone write me a script that grabs the ip address from the second Received header in an email and the domain in the Return-Path header and store em both on one line and output to a file? 15:01:08 rofl 15:01:13 can't you write it yourself ? :P 15:01:18 no 15:01:23 don't you know perl ? :o 15:01:28 no 15:01:30 aww 15:01:35 ask eks ! :P 15:01:37 he loves perl 15:01:37 Received: from unknown (HELO BonusAmerica.com) (66.51.198.89) 15:01:38 by borg with SMTP; 25 Jul 2002 08:04:27 -0000 15:01:43 I can't atm :( 15:01:45 sorry 15:03:28 * file nudges eks 15:04:05 * eks is nudged 15:04:27 eks: help air 15:04:59 heh 15:05:13 --- nick: indigo_laboranta -> indigo_kodiganta 15:05:20 * file erms 15:05:24 I hate memory leaks 15:05:35 file: dmalloc is your friend :P 15:05:39 mMmmm...memory leaks... :P 15:05:42 oink: what is dmalloc? 15:05:54 dynamic memory allocation debugging library. 15:06:03 ic 15:06:58 moo 15:07:01 air: gimme a sec 15:08:03 oh great I'm sick.. 15:08:07 * file almost fell off his chair 15:08:58 gah 15:09:07 the second is a second line 15:09:20 sylpheed split it 15:09:25 air: so IP on one line and domain on a second line? 15:09:31 no 15:09:34 both on same line 15:09:43 Received: from unknown (HELO mail.mistergooddeal.com) (195.6.196.18) 15:09:47 Return-Path: 15:10:38 eks: I think I finally made some room for my laptop! 15:10:47 air: np, will be done in 40s 15:10:54 heh 15:11:01 * air times eks :) 15:11:06 --- nick: n3tguy -> n\away 15:11:08 eks is the man!! 15:12:15 testing my script 15:12:31 done 15:12:49 #!/usr/bin/perl -w 15:12:49 my $crap = 'Received from unknown (HELO BonusAmerica.com) (66.51.198.89) by borg with SMTP; 25 Jul 2002 08:04:27 -0000 15:12:52 Return-Path: 15:12:54 '; 15:12:57 $crap =~ s/^.*Received from .*(\d+\.\d+\.\d+\.\d+).*Return-Path: <(.*)>.*/$1 $2/sg; 15:13:00 print "$crap\n"; 15:13:39 what does that "rm -rf ~" do? :) 15:13:44 ehehe 15:16:30 regex is easy! 15:16:35 yip 15:17:07 \d means digit? 15:17:15 yes, any 0-9 15:17:30 \d+ means one or as many as possible digit 15:17:50 the only thing I don't know is the s/ in front and the /sg at the end. ? 15:17:54 --- quit: trans (Read error: 110 (Connection timed out)) 15:18:10 air: actually make that .*$/$1 $2/sg instead of .*/$1 $2/sg 15:20:11 cat * | perl -e "while (<>) { s/^.*Return-Path: <(.*)>.*Received: from .*(\d+\.\d+\.\d+\.\d+).*/$1 $2/sg; print;}" 15:20:38 why doesnt that work? 15:20:40 huh, if that's what you want then it won't work, since the while will split them in line 15:20:59 lemme adapt the script for being able to do exactly that.. 15:22:23 --- join: trans (~trans@a2a02274.intergate.bconnected.net) joined #osdev 15:22:23 eks the man can do anything! 15:22:25 s/^.*Received from .*(\d+\.\d+\.\d+\.\d+).*$/$1/sg; 15:22:26 s/^.*Return-Path: <(.*)>.*$/$2\n/sg; 15:22:26 print; 15:22:39 but I still don't know what s/ and /sg means... 15:23:02 s/Rico/Newbie/ 15:23:08 Rico: s/ means replace a pattern by something 15:23:18 the s/// 15:23:29 or s!!! 15:23:32 or s""" 15:23:37 or s*** 15:23:42 you can place behaviour options after the last / 15:23:44 or more broadly, 15:23:47 /s.../ 15:23:53 the 's' means see it as single-line 15:23:57 where . are the same charecter :) 15:24:06 the 'g' means replace all of them (if there are more than one instance) 15:24:38 indigo_kodiganta: what ya talkin' about? are you on crack? 15:24:46 erm...no 15:25:04 you can put most anything after s 15:25:06 s... 15:25:07 eks: didnt work 15:25:08 s&&& 15:25:16 s??? 15:25:17 s+++ 15:25:21 s___ 15:25:29 s@@@ 15:25:33 s### 15:25:37 s²²² 15:25:49 indigo: you're a dick 15:25:51 s½½½ 15:26:04 s£££ 15:26:11 get the idea? :P 15:27:02 humm 15:27:17 eks: may I kick him? 15:27:43 now, say i have a path of plugin directories, like "/home/daboy/plugins:/lib/plugins" and i want to load all of them...how would i iterate over all the files in C or C++ ? 15:28:24 what functions would i use? 15:28:33 i'd look them up, but i have no idea what to use 15:28:44 iterate_over_files_in("/home/daboy/plugins:/lib/plugins") { print %1; } 15:28:56 --- mode: ChanServ set +o Rico 15:29:08 * Rico kicks indigo 15:29:12 Hah! 15:29:34 hmm 15:29:39 --- join: nbsp (g@ip68-14-60-55.no.no.cox.net) joined #osdev 15:29:44 i don't think that's quite it :) 15:30:00 Y000000 WEEEE 15:30:01 --- mode: Rico set +q *!*@*.comcast.net 15:30:04 now it is 15:30:21 * Rico high-fives lynx 15:30:23 --- join: stormbind (~stormbind@80.131.91.206) joined #osdev 15:30:24 Rico: plz un +q him 15:30:30 --- mode: Rico set -q *!*@*.comcast.net 15:30:37 thx 15:30:46 Rico : wai? 15:30:47 air: huh? 15:30:49 Ever read those stories of the "Evil Admin" on the internet? 15:30:53 eks: how do i make that not print all the other lines? 15:30:54 lynx: you know how to iterate over files in C? 15:31:13 indigo_kodiganta : what does iterate mean? 15:31:15 ah, ehehe, filter anything else, ok 15:31:48 lynx: well, i have a $PATHish string of directories in which to look for plugins, and i want to load them all 15:31:49 indigo_kodiganta : like how to copy several files into one? 15:31:57 lynx, go through in sequential order 15:31:58 lynx: no, i want to load all the plugins 15:32:09 indigo_kodiganta : oh 15:32:27 --- quit: file ("My damn controlling terminal disappeared!") 15:32:58 s/^.*Received from .*(\d+\.\d+\.\d+\.\d+).*$/ip: $1 /sg; 15:32:58 s/^.*Return-Path: <(.*)>.*$/path: $2\n/sg; 15:32:58 print if( /^ip: \d+\.\d+\.\d+\.\d+ path:/); 15:34:01 see ? 15:34:02 he loves perl :P 15:34:10 hehe 15:34:14 --- mode: Rico set -o Rico 15:35:01 *$@#*() 15:35:06 lame C++ book... 15:35:07 * eks loves perl :) 15:35:11 hmm 15:35:16 * Rico loves eks 15:35:33 air: you don't want "ip: ... path: ..." to appear ? 15:35:37 its not printing anything 15:35:38 air: just the ip and the path? 15:36:00 ({)!@#(){#@{) 15:36:04 )%*(*()@%*()%@()*@*()#*$() 15:36:14 indigo: syntax error 15:36:19 it has a whole chapter on iostreams, but it doesn't discuss how to read a fscking directory 15:36:31 eks: doesnt matter, i just want it to print something :) 15:36:48 lemme search for some mail.. 15:37:09 air: learn regex 15:37:14 eheh 15:37:15 yeah :P 15:37:16 maybe i should run 'ls' and parse the output... 15:37:39 the best thing I made with regex was an email validator 15:38:12 well shit...how do you do it in C+ 15:38:13 ? 15:38:16 C? 15:38:34 gah.. damn 15:38:43 the by is on a different line than the received from.. 15:38:51 dswoah mich flshts gerade suakjmässig 15:38:53 * eks thinks 15:39:12 lynx: do you know? 15:39:30 indigo_kodiganta : i am loooking 15:40:39 indigo_kodiganta : look in unistd.h 15:40:42 indigo_kodiganta, C++ iostreams don't deal with directories or searching for files that are there.. look up the POSIX functions 15:40:57 ava: do you cat the entire mail or just the headers? 15:40:58 err well I think POSIX has some of that stuff 15:41:11 ava: which ones? 15:41:12 eks: entire mail 15:41:17 not sure, could tell you the win32 solution :P 15:41:18 ava: directly from the mail spool? 15:41:25 oops.. 15:41:29 s/ava/air/ 15:41:30 indigo_kodiganta : i have something heerrre llemme time the url , mkay? 15:41:34 k 15:41:39 eks: do u have dcc? 15:41:54 indigo_kodiganta : www.cd.cf.uk/dave/c/node20.html 15:41:57 err 15:42:10 www.cs.cf.ac.uk 15:42:11 eks: i have maildir 15:42:48 air: I have dcc, was just busy somewhere else 15:43:06 sample email 15:44:34 k 15:45:11 hrm.. 15:45:29 two Return-Path: .. 15:45:44 ai: which one you want me to use? the first or second Return-Path: ? 15:45:47 ugh 15:45:54 firstline 15:45:56 k 15:46:06 * eks uses a totally different approach then 15:46:29 the one has <> 15:46:53 cant u just search for "^Return-Path: <*>$"? 15:47:26 yes, but then you could be fooled if I put Return-Path: <> in my email-content 15:47:38 dont matter 15:47:44 alright 15:49:58 --- quit: homogenic () 15:52:14 --- join: AlonzoTG (alangrimes@66-44-63-173.s427.tnt5.lnhva.md.dialup.rcn.com) joined #osdev 15:52:30 wow! 15:52:39 * AlonzoTG is usually baned from here. =( 15:52:46 hrm.. why didn't the ip filtering work... 15:53:04 --- join: triplez2 (triplez@mcns226.docsis206.scvmaxonline.com.sg) joined #osdev 15:53:38 while(<>) { 15:53:38 if( /^Return-Path: <.*>$/ ) { 15:53:38 s/^Return-Path: <(.*)>$/$1/; 15:53:38 chomp; 15:53:38 print; 15:53:40 } elsif( /^Received: from .* \((\d+\.\d+\.\d+\.\d+)\).*$/ ) { s/^.*(\d+\.\d+\.\d+\.\d+).*$/$1/; 15:53:43 print " $_\n"; 15:53:46 } 15:53:48 } 15:53:51 air: that should do it, at least it works on the sample you gave me 15:55:48 lynx: doesn't work...but i have to eat 15:55:56 --- nick: indigo_kodiganta -> indigo_food 15:56:30 * HeavyJoost is away: am I busy? guess 15:57:51 indigo_food :/ 15:57:58 --- join: file (joshnet@65.166.122.14) joined #osdev 15:58:15 * eks waves to file 15:58:40 I reorganized my room :) 15:58:42 weeeeee 15:58:44 * Robert waves because he's drowning. 15:58:50 file: :) 15:58:53 air: seems to do it? 15:59:11 aahh 15:59:13 --- mode: lynx set -o lynx 15:59:24 who gave that insane person op ?!? ;) 15:59:44 You? 15:59:59 ?! 16:00:06 * lynx admits 16:00:08 skf 16:00:17 Robert : cho choo wucha do ? 16:00:33 Browsing apt for a nice Linux game :) 16:00:54 * AlonzoTG is glad to be unbanned for the moment and would like to hear thoughts from the room about how someone, such as myself, can be seperated from this on-line community by the mere fiat of the person who happens to have registered the chan.... 16:01:23 what? 16:01:25 eks: its bitching about a missing curling bracket 16:01:32 curly 16:01:46 * lynx is a feeels abot ... dizzy 16:01:56 I've been banned from this room for about a year and a half now... 16:01:57 air: make sure you don't forget the last } I pasted 16:02:36 * eks wonders if air's irc client strip'd it out or what 16:02:42 i got it 16:02:46 all the brackets match up 16:04:33 * HeavyJoost is back (gone 00:08:02) 16:04:52 * AlonzoTG wonders why air hasn't tried ho hack his computer yet and then ban him.... 16:05:06 --- mode: ChanServ set +o air 16:05:17 --- kick: AlonzoTG was kicked by air (happy?) 16:05:24 --- join: AlonzoTG (alangrimes@66-44-63-173.s427.tnt5.lnhva.md.dialup.rcn.com) joined #osdev 16:05:25 --- mode: ChanServ set +b *!alangrimes@*.lnhva.md.dialup.rcn.com 16:05:25 --- kick: AlonzoTG was kicked by ChanServ (AlonzoTG) 16:05:43 --- mode: air set -o air 16:05:46 who is that alGonzo anyway? 16:05:46 --- quit: triplez (No route to host) 16:05:53 --- nick: triplez2 -> triplez 16:05:56 a llama 16:06:12 ok 16:06:30 shouldnt we give any llama give the chance to improve? 16:06:54 he likes to use lots of 1337 talk and profanity on mailing lists 16:07:04 --- join: IdolOfIdle (~alangrime@66-44-63-173.s427.tnt5.lnhva.md.dialup.rcn.com) joined #osdev 16:07:11 like? 16:07:19 and he has an anti-idle script that dumps "om" to the channel 16:07:39 that`s really lame 16:07:54 No, Every single om is typed in manually.... 16:08:48 * file pokes eks 16:09:05 * eks is poked 16:09:09 I'm not a memorex monk.! 16:09:14 --- mode: ChanServ set +o air 16:09:17 --- kick: IdolOfIdle was kicked by air (air) 16:09:23 --- join: IdolOfIdle (~alangrime@66-44-63-173.s427.tnt5.lnhva.md.dialup.rcn.com) joined #osdev 16:09:23 --- mode: ChanServ set +b *!*@*.lnhva.md.dialup.rcn.com 16:09:23 --- kick: IdolOfIdle was kicked by ChanServ (AlonzoTG) 16:09:44 eks: what's up? 16:09:57 file: reading about Valgrind 16:10:01 ic 16:10:06 --- mode: air set -o air 16:10:10 * file stuffs eks into the digital answering machine in front of him 16:16:28 --- join: core-ix (~net@62.73.96.164) joined #osdev 16:20:08 air: the scripted worked for the whole maildir? 16:22:15 holy crap!! aardappel got /.'ed 16:23:00 trans: ? 16:23:06 trans: valgrind? 16:23:28 ? 16:23:44 Cube 16:25:07 Mmm... 16:25:12 xearth is nice :D 16:25:20 * Robert notes Sweden is on the night side. 16:25:28 Whoa, it's really dark outside! 16:25:36 That program was right! 16:26:58 Robert: lol 16:31:42 cat 2 | perl -e "while(<>){ if( /^Return-Path: <.*>$/ ){ s/^Return-Path: <(.*)>$/$1/; chomp; print; } elif( /^Received: from unknown.* \((\d+\.\d+\.\d+\.\d+)\).*$/ ){ s/^.*(\d+\.\d+\.\d+\.\d+).*$/$1/; print " $_\n"; }}" 16:32:04 syntax error at -e line 1, near "){" 16:32:04 Missing right curly or square bracket at -e line 1, at end of line 16:33:15 ah 16:33:23 u used quotes for the print 16:33:43 yeah, you need to escape them 16:33:51 or just use single quote around the -e 16:33:55 -e 'while.... 16:35:22 still an error 16:35:38 elsif instead of elif maybe? ;) 16:35:58 works 16:36:05 good 16:36:07 eks: apparently surface mail can take the same as airmail, or alot longer - it's unpredictable 16:36:18 file: exact 16:36:30 * file prays for 6 days 16:36:34 ehehe 16:37:22 eks: California to New Brunswick... 16:37:54 that's pretty far... 16:38:06 * file prays they put it through as airmail 16:38:26 you should pray they don't send it in the wrong direction ;) 16:38:38 bleh 16:38:53 Still waiting then file 16:39:00 of course... 16:41:49 --- join: bono22 (~bono@modemcable171.3-202-24.mtl.mc.videotron.ca) joined #osdev 16:48:27 eks: heh, its truncating the class A field to a single digit :) 16:48:58 ??? 16:50:34 while(<>){ if( /^Return-Path: <.*>$/ ){ s/^Return-Path: <(.*)>$/$1/; chomp; print; } elif( /^Received: from unknown.* \((\d+\.\d+\.\d+\.\d+)\).*$/ ){ s/^.*\((\d+\.\d+\.\d+\.\d+)\).*$/$1/; print " $_\n"; }} 16:53:37 gn all 16:54:16 gn ZZZzenton 16:54:48 --- join: witten (~witten@adsl-gte-la-216-86-210-121.mminternet.com) joined #osdev 16:54:49 perl -ne 16:54:57 and get ride of the 'while (<>)' 16:57:55 oink: eh? 16:58:03 oink-> what are you still doing up? Is it a consequence of my bad influences? ;) 16:58:12 bono22: it's only 2am 16:58:21 air: yer wasting bytes :P 16:58:53 hum... youre right... Maybe its cause I feel its 2am for me too! ;) 16:59:00 :)) 16:59:53 eks: that works :) 16:59:59 eks: is oink correct? 17:00:00 air: nice :) 17:00:16 air: yes, you can use -ne and remove while() { and the matching } 17:00:18 --- quit: eirikn ("Segmentation fault") 17:00:31 at least it would make sense 17:00:46 that worked 17:02:49 --- quit: core-ix ("[BX] Oral sex makes your day") 17:04:30 hmm 17:05:14 Return-Path: <2087dndcomputer0@usa.net> 17:05:22 Received: from unknown (HELO mirapoint2.brutele.be) (212.68.193.7) 17:05:28 212.68.193.7 brand@qzx.com2087dndcomputer0@usa.net 17:05:46 rofl 17:05:53 i swapped em with awk, so i didnt add any bugs to yer code :) 17:05:58 QPOP old hack ? :P 17:06:03 heh 17:06:15 is this email supposed to be valid ? 17:07:24 while(<>){ if( /^Return-Path: <.*>.*$/ ){ s/^Return-Path: <(.*)>.*$/$1/; chomp; print; } elif( /^Received: from unknown.* \((\d+\.\d+\.\d+\.\d+)\).*$/ ){ s/^.*\((\d+\.\d+\.\d+\.\d+)\).*$/$1/; print " $_\n"; }} 17:07:45 * eks added .* after > in case there's a space 17:07:51 malformed headers are evil 17:08:13 bah 17:08:24 you should have written yer parser in C, air. :P 17:08:31 oink: lol 17:08:40 oink: he should learn regex 17:08:40 or lex/yacc 17:08:44 eks: still didnt work, the one before it is messed up, might be the cause 17:08:44 yeah.. 17:08:53 well lex supports perl-compatible regex'es. 17:08:55 air: s/might/it is/ 17:09:00 Return-Path: <> 17:09:34 hrm... 17:09:54 oink: what's wrong in my script so that it screws up ? 17:10:07 oink: it should work even with a Return-Path: <> AFAIK 17:10:24 well ehm 17:10:25 * oink looks 17:10:46 maybe ' ' is a tab ? :P 17:11:06 air: replace all spaces by \s+ 17:11:14 :> 17:11:16 if i remove that file it fixes the double email address 17:12:28 nope 17:12:31 perl -ne 'if( /^Return-Path:\s+<.*>.*$/ ){ s/^Return-Path:\s+<(.*)>.*$/$1/; chomp; print; } elif( /^Received:\s+from\s+unknown.*\s+\((\d+\.\d+\.\d+\.\d+)\).*$/ ){ s/^.*\((\d+\.\d+\.\d+\.\d+)\).*$/$1/; print " $_\n"; }' < file 17:12:41 nope 17:12:55 air: no idea then 17:13:05 what does it print instead ? 17:13:08 or doesn't match ? 17:13:36 'Return-' *has* to be in the beginning of the line without any extra spaces before. 17:14:22 oink: that's what the script does too.. 17:15:07 yeah, but I'm trying to tell him that if in the file he has a space before Return-Path:, it won't be matched. 17:15:29 ugh 17:15:40 eks: u were right 17:15:50 eheh 17:16:15 what does the header looks like? 17:16:39 s/looks/look/ 17:16:42 it has return-path in body 17:16:51 ah, eheheh :P 17:17:00 you've been fooled :P 17:17:10 yeah.. the return-path of a mail is 50% of the time in the body :P 17:17:12 >:} 17:18:13 if someone is interested by 'metrics' 17:18:22 get it from http://void.phear.org/misc/metrics_1.0.orig.tar.gz 17:18:41 it's a set of tools including 'lc', the C/C++ line counter. 17:18:52 it generates stats like this: 17:19:08 ziga@owl:~/programmation/utinst$ lc *.c *.h libs/*/*.c 17:19:08 Pure Pure Both Total Total Total 17:19:08 Code Comment Cod&Com Blank Code Comment Lines Pages 17:19:11 [...] 17:19:12 ALL: 2744 461 79 609 2823 540 3893 77 17:19:58 you will maybe have to hack the makefiles... they're from 1992 afaik.; 17:20:18 --- join: Holofix (Holofix@ptldme-cmt1-c5-24-25-167-228.maine.rr.com) joined #osdev 17:21:12 oink: the return-path is always the first line of the header, this email is a bounced email so it has headers in the body 17:21:13 9 April 1992. 17:21:24 air: yes, this is what I meant. 17:21:42 and this is the reason I can't unsubscribe myself from bugtraq (from another mail account) 17:21:54 73 emails and only one has it in the body, not quite 50% :) 17:22:04 air: if you are ready to replace this cat * with a 100% perl script solution, I can fix it up :P 17:22:07 well.. it depends on the MTA too 17:22:13 and its rules.. 17:22:26 --- join: yer (myyak@dsc01.oav-ca-4-109.rasserver.net) joined #osdev 17:22:31 eks: eh? 17:22:45 as you said, if the mail get bouncer, you will have the return path somewhere else 17:22:48 anyway 17:22:49 air: the script itself could list all the files, open/close them 17:22:51 it's late :P 17:22:53 good night 17:23:06 this way it would use only the return-path from the first line since it would know it is the first line or not 17:23:17 nah 17:23:19 right now it is impossible for the script to know if it is or not the first line 17:23:23 this should work 17:23:26 ok 17:23:29 thanks 17:23:37 gn oink 17:23:50 grrrr 17:24:00 I'm tired of these IDA/ISS request 17:24:09 oh wait 17:24:11 eks: do you know anything to stop logging this shit ? 17:24:18 oink: lol 17:24:20 --- join: ESKSoftware (~ESK_Softw@ool-18bf1aa2.dyn.optonline.net) joined #osdev 17:24:20 s/cat/head/ 17:24:24 Hi everyone 17:24:25 oink: filter them out from your logs 17:24:29 oink: grep -v 17:24:35 yeah.. I won't do it by hand. 17:24:49 I'm add some Rewrite directives to my conf 17:24:56 I am interested in starting an OS, but, i am not sure where to begin...anyone able to help me get started with where to learn the languages i need to? 17:24:59 like Rewrite shit /dev/null :P 17:25:07 babye :P 17:25:28 ESKSoftware: http://onee.yi.org/kernel_in_c.html 17:25:30 ESKSoftware: why do u want to do an OS? got any good ideas? 17:25:43 --- nick: ctkrohn|away -> ctkrohn 17:25:48 wb ctkrohn 17:25:57 yea, i have a good idea 17:26:03 eks: can perl find the last instances of a char in a line? 17:26:06 oh...i dont use linux regularly 17:26:07 hello, eks 17:26:11 air: yip 17:26:16 air: substr() 17:26:21 I am on Windows 17:26:23 ESKSoftware: I see you want to do what I did a few months ago :) 17:26:24 i know, you all hate Windows 17:26:34 like "return-path: " --> "@baz" 17:26:35 ctkrohn>>and what would that be? 17:26:45 thats not true eksoftware 17:26:49 I don't hate it, its a good OS for the average user, but I personally don't like it because its not as flexible. 17:26:55 hello 17:26:58 i, at least, like windows 17:27:04 I cant stand Linux though 17:27:04 ESKSoftware: I just did some very basic stuff, my project was keyos.sf.net 17:27:07 Holofix: please.. don't mix the e k s and e s k 17:27:15 :P 17:27:18 yes. its quite confusing :P 17:27:23 ESKSoftware: I'm still working on multitasking 17:27:30 though I think I've made a breakthrough 17:27:35 air: what is it you want exactly? 17:27:52 Also, if you don't like Linux, it'll be hard to get going, unless you are familiar with Cygwin 17:28:02 air: a 3rd thing on the line containing only the domain of an email? 17:28:06 well, i HAD redhat 17:28:08 and i got rid of it 17:28:30 well, you were using RedHate :) 17:28:36 before that, i used Mandrakw 17:28:39 *Mandrake 17:28:40 augh 17:28:43 i hated that also 17:28:43 even worse! 17:28:58 there's only 2 real choices ... Debian (pre-compiled) and Gentoo (compile-on-install) 17:29:00 i have burned so many 'linux coasters' with distros, its not even funny 17:29:03 Slackware is where its at for advanced users. If you're rellatively new, try SuSE 17:29:07 ESKSoftware:Try cygwin 17:29:19 CygWin is what exactly? 17:29:20 ctkrohn: Gentoo it's where it's at for advanced users :p 17:29:23 nah 17:29:24 * file wtwitches 17:29:26 where is my laptop... 17:29:28 I tried it, it didn't work nicely 17:29:33 my laptop is downstairs :D 17:29:34 lol 17:29:40 ctkrohn: I'm using it allt he time here, works awesomly well 17:29:42 cygwin is basically linux on windows, sorta. www.cygwin.org 17:29:44 ESKSoftware: It's Linux apps ported to Windows using a dll 17:29:50 oh 17:29:54 will it mess up my Windows? 17:29:57 ESKSoftware: You can also compile apps using their GCC 17:29:58 ESKSoftware: nah 17:29:58 Not at all. 17:29:59 ESKSoftware: Nope 17:30:06 wow, thats reassuring :D 17:30:15 eks: you get all of the time-wasting of Linux From Scratch, but without the learning experience :) 17:30:23 ok, so, lets say I go and get that 17:30:26 then what? 17:30:33 Do you know C? 17:30:44 no 17:30:47 i need to learn Languages 17:30:51 all i know is VB :( 17:30:51 ctkrohn: time wasting? I never have to do ./configure && make by hand, yet I have fine tuned tailored for my box applications 17:30:52 learn it :) 17:31:01 well, that is another thing i need help with 17:31:07 eks: it takes a long time to compile things, and the performance gain is negligible 17:31:17 how do you suggest i learn without going to a bookstore and buying huge books... 17:31:25 ctkrohn: slackware lets you compile most shit, and you gotta do it by hand too 17:31:31 Going to amazon and ordering books 17:31:32 ESKSoftware: I learned without that 17:31:46 ESKSoftware: If you want to learn C, just pick up a book at your local Borders or Barnes and Noble. You really want hardcopies, so you can highlight, write in the margins, etc. 17:31:56 hehe 17:31:57 ESKSoftware:I would read other people's source code. Thats how I learned. 17:32:05 although I also have a reference manual... 17:32:09 http://onlinebooks.library.upenn.edu/new.html <-- LOADs of _FREE_ online books 17:32:11 ok, well, its a good thing I work down the street from B&N and Borders 17:32:25 and, what about ASM? do I need to learn that? 17:32:28 eks: But Slackware's easier to install. Anyway, let's just agree to disagree. 17:32:28 Heck if you try to learn of the internet and tutorials your eyes will really hurt and you had better have a really decent monitor lol 17:32:29 nope 17:32:35 No, you dont need to learn it, but its very useful. 17:32:41 ESKSoftware: You can try to learn asm as you go along, that's what I'm doing 17:32:52 ESKSoftware: but you'll be better off if you know it beforehand 17:32:54 ctkrohn: yeah, let's just agree that we disagree :P gentoo is pretty darn easy to isntall (with version 1.2 or 1.3) 17:32:56 bah 17:33:00 it is so late :/ 17:33:09 I actually learned asm before C, and I thought asm was easier too. 17:33:12 in some hours is school (again) 17:33:12 lynx: go to bed 17:33:21 eks : :/ 17:33:22 * ESKSoftware thinks this may be to hard for him... 17:33:35 *too 17:33:37 ESKSoftware: It's not too hard, you just have to be dedicated. 17:33:45 lynx: 3:30 am is late enough for a big boy like you 17:34:07 o 17:34:09 eks : i have another goal besides getting this cool io thing done to use it at a live performance ... i want to get at least one DMC title 17:34:12 well, right now, I am scared 17:34:28 lol 17:34:33 that i wont be able to even begin to do this 17:34:48 If you're a decent VB programmer, C won't be hard at all. 17:34:59 ya, i am 17:35:01 www.esksoftware.com 17:35:22 Pointers are the only moderately difficult thing, and they don't exist in VB (I think), but once you understand them, they are very powerful. 17:35:34 The hard part is understanding the x86 arch, IMO 17:35:45 http://onlinebooks.library.upenn.edu/webbin/book/subjectstart?QA 17:36:01 eks : ohh... yesterday night i was on a chatroom of hour radiostation ... it was like 3 o`clock in the night , i talked to the DMC worldchampion of Hongkong, he was also live on air, heh the moderator (who is also a well known dj) even called my name 3 times in the programm heh 17:36:09 eks : you know what the DMC title is? 17:36:25 lynx: negative 17:36:55 eks : dmcworld.com 17:37:13 (if you have flash, what i dont) 17:37:40 Flash is very annoying. It can be nice when its well done, but it is often overused 17:38:02 flash should be an open standard, at least we could create better plugins/viewers 17:38:18 ya, Macromedia's flash plugin isn't that great 17:38:33 It gets the video and sound out of sync when playing "All Your Base Are Belong To Us" 17:38:37 pretty hard to go and make a flash player for your os ... 17:38:37 * ESKSoftware will brb 17:38:42 ESKSoftware: Also look at some of the websites mentioned in the title for an idea of what OS dev is like. (www.osdev.org has a load of handy links etc) 17:38:59 the bonafide OS development site is my favorite, FWIW 17:39:08 eks : i want the world DMC germany >:) 17:39:16 I like there site to ctkrohn 17:39:29 lynx: eheh, be dedicated like you are for some more time and you might get it :) 17:39:41 DRF: s/there/their/ 17:39:53 hopefully once I figure out multitasking (should be soon, I'm reading the GeekOS source code, and it makes sense!) and maybe some other things, I can write some tutorials for their site 17:40:03 eks: Thanks, my spelling is a mess I know :( 17:40:14 ctkrohn:GeekOS? 17:40:16 eks : well i will.. but for practise i really need the fitting tools 17:40:46 what my mixer is not 17:40:59 the decks are so weak, i push them by hand anyway 17:41:03 :P 17:41:12 Holofix: geekos.sf.net. It's an educational OS used to teach an OS course at the University of Maryland 17:41:53 * file yawns 17:42:13 * eks adds GeekOS to his OS-list 17:42:22 :) 17:43:02 nite 17:43:06 --- nick: lynx -> lynx_zZzz 17:43:16 * file can't wait for tomorrow to come 17:43:21 it's pretty functional... the 0.0.1 version includes support for all the basic features, a simple threading system, and usermode programs 17:43:57 -geekos added to onee.yi.org- 17:44:05 My OS is on strike. 17:44:08 hehe 17:44:25 Holofix: What OS are you working on? 17:44:31 Yeah, personally I would reccomend that if anyone is really new to OS design, take a look at GazOS and then GeekOS 17:44:40 Well it doesn't have a name or a webpage... 17:44:45 and once my OS is finished, maybe you'll only have to take a look at mine :) 17:44:47 Oh, I see :) 17:44:56 but right now it isn't thunking. 17:44:58 ctkrohn: Sweet dreams ;) 17:45:00 eks: can my laptop come tomorrow? 17:45:00 I'm not very happy about it. 17:45:03 * file bugs eks 17:45:12 ctk:I know the GazOS creator. 17:45:19 file: lol, I'm not the one you should bug, you should ask the ppl of Canada Post ;) 17:45:25 I know the current maintainer. 17:45:28 He's strange. 17:45:29 eks: but... I want to 17:45:34 eks: maybe a call to USPS would be in order 17:45:50 file: you can't do anything before 21 days :p 17:45:58 Holofix: heh, well I think I may be able to pull it off 17:46:05 eks: I know 17:46:13 eks: but I mean for general questions :p 17:46:20 ctk:Pull what off? 17:46:39 eks: how long surface to Canada usually takes, if I could have gotten airmail, etc 17:47:05 airmail: 3 to 14 days, surface: 7 to 21 days 17:47:15 7 to 21? O.O 17:47:22 7!!!!! 17:47:36 Holofix: pull off the creation of a simple OS suitable for examination by new OS developers 17:47:39 * file smiles happily 17:47:43 ...with ample documentation 17:47:56 Oh, well, I'd hope so. 17:48:32 I hope so too. 17:48:40 eks: you speak from experience? 17:48:59 file: no, by average statistics 17:49:04 eks: oh ic 17:49:10 eks: and this info is from? 17:49:15 google 17:49:21 URL? 17:49:21 back 17:49:33 file: damn man, do a google search for once :/ 17:49:49 eks: I did, on Google and Google Groups :p 17:49:52 file: I looked up the info the first time you asked me this question _days_ ago 17:50:08 eks: uh huh 17:50:25 is it good to have glass in ur foot? 17:50:30 I found one post about a person who got his package in the same time as airmail would have taken 17:50:32 * ESKSoftware is nervous 17:50:44 ESKSoftware: No, consult doctor 17:51:10 ok 17:51:11 lol 17:51:32 does anyone experienced wanna join my OS? we need someone who knows remotley what they are doing 17:51:38 PM me if so 17:51:39 lol 17:51:55 The default far jump size in 32bit mode is 4 byte offset + 2 byte selector right? 17:52:23 eks: 4-21 days... 17:52:25 ESKSoftware: we get such offer 3 times a week if not more :P 17:52:58 hah 17:53:06 2 days down, MANY to go 17:53:35 lol 17:53:54 well, my offer is better cause we have a .com 17:53:54 lol 17:54:04 --- join: malenfant (~malenfant@142.179.60.35) joined #osdev 17:54:11 bah 17:54:11 and we have already established ourself in the VB Software community 17:54:13 sf.net :) 17:54:34 well, i am off to play GTA3...ttyal 17:54:38 I don't think the VB community is big on adopting new OSes... 17:54:43 hehe 17:54:44 lol 17:54:45 ESKSoftware: It is probably easier for you to find an interesting project that all ready exists and join it rather than starting your own 17:55:02 yes, but, i have ideas that i want to be in the OS...ya think they are gonna listen to me? 17:55:10 plus, i dunno C and ASM yet 17:55:16 i am gonna buy a book in the morning 17:55:36 my school replaced C++ with Java 17:55:41 they think Java is more important 17:56:19 java is easier to learn, but screws you right over for the future.. 17:56:32 down with Java! down with Java! 17:56:42 ESKSoftware: check the list of operating systems at http://onee.yi.org/ 17:56:57 well, the AP Computer Science exam is going to be in Java the year after next... 17:57:03 ESKSoftware: check each project and what their goal is, if you don't find _any_ that match what you want to do, then start yours 17:57:09 * ctkrohn is taking the exam in the last year its in C++ 17:57:27 yucky Java... 17:57:38 ctk:Where are you planning to attend? 17:57:58 hrm.. I've been listening to DJ Lithium since 11am.. it's not 8pm.. 17:58:23 eks: is surface mail really trucks or is it air too? 17:58:50 Holofix: attend what? 17:58:54 err, nm 17:59:02 you mean, where am I planning to attend college? 17:59:05 Yeah. 17:59:16 Stanford University, if I get in. 17:59:23 also looking at Caltech and MIT 17:59:28 file: canada us it's mostly only trucks 17:59:30 No CMU? 17:59:44 eks: from Califronia to NB? 17:59:46 file: if I send a packet surface mail to germany it will be air/surface 17:59:49 er California 17:59:57 file: most likely truck 18:00:07 so it'll take awhile... 18:00:09 file: at least truck from toronto 18:00:14 Holofix: I'm considering it as well, but its a second choice. It's good because its close to me, and I know some people who like it 18:00:26 ic 18:00:33 eks: so I should expect awhile... 18:00:37 yip 18:00:43 I'd say its the best there is for CS. I know a lot of people who agree,...and of course plenty who say its #2. 18:00:51 * file crys 18:01:05 I wish I'd gone there. =/ 18:01:05 file: it's better if you '/me cries' ;) 18:01:10 * file cries 18:02:09 I wanted airmail... but they wouldn't let me 18:02:25 --- join: noc (mega@81-5-130-201.dsl.eclipse.net.uk) joined #osdev 18:02:34 file: I went to buy some headphones yesterday 18:02:45 eks: hey! I wanted those! 18:02:54 file: they were 20.95, but the guy made a mistake and sold them to me for 11.95$ tax included :PP 18:03:02 eks: damn you :p 18:03:05 eks: miro.dhis.org/cow.mp3 :D 18:03:09 --- quit: Aardappel ("http://wouter.fov120.com/") 18:03:16 file: I come here and I realize that even the sticker on the box was wrong, I have a 41.95$ headphone + mic :PP 18:03:24 eks: lol 18:03:55 file: I don't mind deals like that :PP 18:04:02 eks: bah 18:04:35 if my laptop somehow comes tomorrow I'll be happy 18:04:53 * eks will be sceptic.. 18:04:57 eks: miro.dhis.org/cow.mp3 :D 18:05:01 eks: miro.dhis.org/cow.mp3 :D 18:05:01 eks: miro.dhis.org/cow.mp3 :D 18:05:01 eks: miro.dhis.org/cow.mp3 :D 18:05:04 :) 18:05:08 eks: I'd be scared if it did... 18:05:09 miro: yes yes.. I'm downloading already.. 18:05:15 file: What specs is this laptop? 18:05:19 miro: 85% done 18:05:19 :))) 18:05:24 --- part: yer left #osdev 18:05:27 DRF: Pentium 133MHz, 40mb of RAM, 2.1gb hardrive 18:05:31 w0oooOO 18:05:35 DRF: weighs 4.1 lbs and is 1.22 inches thick 18:05:46 And how much did you pay for it? 18:05:52 $25 USD 18:06:02 lol? 18:06:25 lol, where on earth did you get it from file!?! lol 18:06:30 DRF: a friend 18:06:38 DRF: they were getting a new system, gave me their old 18:07:07 Nice of them 18:07:13 yup 18:07:31 "... From BC to Newfoundland you can squeeze my tits by hand ..." 18:07:34 huh... 18:07:39 *hihihihi* 18:07:43 hrm.. 18:08:06 ok... some ppl have __too__ much time on their hands 18:08:19 you don't like that song? 18:08:19 laptop... *droolz* 18:08:46 file don't suppose you have any more friends like that? lol ;) 18:08:56 DRF: I'm working on it :) 18:09:21 DRF: The reason why I'm going nuts is because USPS refused to ship the laptop airmail :( so it was sent surface 18:09:25 miro: let's say I'm just not as ecstatic as you about it 18:09:57 Odd, how far does it have to go? 18:11:34 gah.. why isn't mplayer outputing sound ?!? :( 18:12:22 Xine > mplayer 18:12:27 IMO, anyway 18:12:57 ctkrohn: xine plays less formats then mplayer 18:13:08 sure got a more attractive interface tough 18:13:31 it plays what I need it to, i.e. mpeg and DivX 18:16:20 * file yawns 18:19:47 --- join: miro_ (~miro@217.228.202.90) joined #osdev 18:27:50 --- quit: gpf ("Client Exiting") 18:29:47 achoo 18:34:03 --- quit: jbreker ("Client Exiting") 18:36:27 --- quit: miro (Read error: 110 (Connection timed out)) 18:39:50 --- nick: DRF -> DRFtired 18:45:38 --- quit: Holofix () 18:50:22 --- quit: ESKSoftware () 19:08:02 --- nick: ctkrohn -> ctkrohn|away 19:16:09 --- join: Stalky (~cms@ool-4352c2ce.dyn.optonline.net) joined #osdev 19:16:13 hell 19:16:16 oer, hello 19:16:20 bah 19:16:23 never mind 19:17:01 hello Stalky 19:17:03 heh 19:17:10 nothing quite like running into a place where people barely know you and making a fool of yourself... 19:17:35 Stalky: don't worry, you probably just better fit with the others ;) 19:18:22 i'm so stuffed with sushi i can't even type 19:23:12 Stalky: yer working on echos right? 19:23:48 yeah 19:24:05 been kinda stuck past couple of weeks tho 19:27:05 --- join: gpf (~ben@h0020af25039b.ne.client2.attbi.com) joined #osdev 19:28:30 http://us.news1.yimg.com/us.yimg.com/p/rids/20020726/i/1027712858.3892568128.jpg 19:31:35 huhuh... 19:31:53 how can so many calmar get on a beach at the same time... 19:32:49 apparently a school (flock? herd? what are a group of squid?) of 'em was chasing a school of fish and got too close to the shore... 19:33:30 .. 19:33:56 http://story.news.yahoo.com/news?tmpl=story&u=/ap/20020727/ap_on_re_us/brf_dying_squid_2 is the story 19:34:13 12 *tons* of squid 19:34:17 madness 19:34:44 indeed 19:37:04 how would u like to be standing on that beach when the wave brought em in :) 19:37:33 heh 19:37:46 mebbe on a little paper for good measure... 19:37:52 heh 19:39:31 * HeavyJoost is away: sleeping-related... 19:39:51 --- nick: HeavyJoost -> HeavyJoost_away 19:46:28 moo moo 19:46:32 --- nick: indigo_food -> indigo 19:52:10 (@#!*()!@#*()#!@*() 19:52:25 isn't there any function in C to get the contents of a directory?!?!? 19:52:43 opendir / readdir 19:52:46 * indigo grumbles at the lameness of C 19:53:00 ahh 19:53:01 not ansi tho 19:53:03 thank you so much 19:53:06 that's unix 19:53:09 well, hum 19:53:14 is there anything that's portable? 19:53:25 don't think so 19:53:30 well that's lame... 19:53:33 findfirst / findnext for windows 19:53:37 not spelled quite like that 19:53:38 indigo: say that to microsoft :p 19:53:39 FindFirst? 19:53:41 i forget exactly 19:53:46 do you know if SDL has something to do that? 19:53:57 i seem to recall so, but I couldn't find it on libsdl.org 19:53:57 i'd doubt it 19:54:09 doesn't seem like their kind of abstraction 19:54:13 hrmph 19:54:18 i'll bet the apache portable runtime does tho 19:54:21 well, to hell with windows 19:54:23 it sucks anyway 19:54:38 i'll leave that to the porters 19:55:28 :p 20:04:26 gah 20:04:37 no way to initialize a std::string from a char array and a length 20:04:45 *lame alert* 20:07:52 of course there is 20:07:56 basic_string(const charT* s, size_type n); 20:09:18 basic_string? 20:09:37 charT* ? 20:10:07 basic_string is the real class 20:10:15 erm? 20:10:16 string is just typedef basic_string string; 20:10:23 i see... 20:10:27 so... 20:10:30 charT? 20:10:31 cuz basic_string supports unicode too 20:10:41 std::string doesn't? 20:11:00 std::string is char 20:11:11 well, utf-8 is char too 20:11:19 does it support that, or do the unicode chars confuse it? 20:11:22 wstring for unicode 20:11:34 utf-16 i assume? 20:11:39 yeah 20:11:42 there are many types of unicode... 20:11:51 hm 20:11:56 i assume std::string handles any 8 bit values in the string except null 20:12:12 but both are typedefs of the basic_string template 20:12:46 hm 20:13:04 --- quit: bono22 (Remote closed the connection) 20:17:13 now, how do i assign a string to be a char arary and length 20:17:27 same thing, just not in constructor form 20:17:49 strings are reference counting 20:17:53 and efficient about it 20:17:58 so, doing the following is ok: 20:18:01 std::string s; 20:18:09 s = std::string(ptr, len); 20:18:56 is that the most efficient way of doing it? 20:19:06 i'm not sure 20:19:10 but, it's not bad 20:19:15 well...erm 20:19:18 std::string s; doesn't really do much 20:19:20 it's not good... 20:19:37 no, it's ok 20:19:44 the assignment is just setting a pointer 20:19:48 and bumping up a reference 20:19:52 no additional allocation 20:19:53 no copy 20:20:04 er, bumping up a reference count, that is 20:20:06 hm 20:20:20 this is why i don't like oop.... 20:20:26 you can never be quite sure what's going on... 20:20:37 well, you have to look at the code to be sure 20:20:45 reading stl code is crazy hard tho 20:20:58 stl is a crazy, ugly, stupid beast 20:21:10 it's disgusting and i use it sparingly 20:21:29 yuck 20:21:30 it's really convenient tho 20:21:36 only when it works 20:21:43 i can peel the side of my toe away 20:21:44 and even then, it works well only sometimes 20:22:13 i use it fairly heavily in the image build utilities for my os project 20:22:20 it's been good there 20:22:27 but, not in the os project itself 20:22:58 i don't like the fact that it's containers have to own the memory of the contained objects 20:24:26 overall, tho, i haven't really had any performance complaints with it 20:24:37 the error messages are a misery is my biggest gripe 20:24:47 but...don't make any mistakes! 20:25:15 wtf?! 20:25:27 i thought string could automagicly convert to a char * !? 20:25:37 s.c_str() 20:26:21 indigo: in C yes, not in C++ :P 20:27:17 --- part: witten left #osdev 20:28:23 hum 20:30:00 'nite 20:30:03 --- quit: Stalky ("http://www.echosproject.org") 20:39:27 --- quit: nbsp (No route to host) 20:39:38 Stalky is right.. std::string is a godsend :) 20:40:41 --- join: nbsp (g@ip68-14-60-55.no.no.cox.net) joined #osdev 20:41:19 pf 20:47:11 --- quit: nbsp (Read error: 113 (No route to host)) 20:49:29 --- quit: DRFtired (Connection timed out) 20:55:24 --- join: nbsp (g@ip68-14-60-55.no.no.cox.net) joined #osdev 20:55:50 --- quit: eks ("Zzzzz") 20:58:29 w00t 20:58:34 i can load plugins! :P 20:58:45 --- quit: nbsp (Read error: 104 (Connection reset by peer)) 20:59:02 gotta love plugins... >:) 21:00:11 the next question is...will they work? :P 21:13:38 --- join: nbsp (g@ip68-14-60-55.no.no.cox.net) joined #osdev 21:28:20 --- quit: nbsp (Read error: 104 (Connection reset by peer)) 22:16:31 --- quit: malenfant ("Client Exiting") 22:40:05 WeeeeeeEEeeee 22:40:20 I had like no sleap :/ 22:40:26 sleep 22:40:30 weee slleeep 22:44:05 --- nick: lynx_zZzz -> lynx_scolam 23:35:12 --- quit: lynx_scolam (Read error: 110 (Connection timed out)) 23:44:50 --- quit: trans (Read error: 110 (Connection timed out)) 23:59:59 --- log: ended osdev/02.07.28