| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
Comments:
<0> if I do an fseek(file,0,SEEK_END) and then an feof(file) <0> shouldn't feof(file) return true? <1> no, why? <2> salec: feof() signals end-of-file once an operation has tried and failed. <0> ohhh <0> so if you seek to the edge it won't fire..but if i seeked to the edge and then tried to read that would cause it to be true? <1> in other words, feof simply gives you the eof status flag of the filehandle <3> salec: yes <1> read operations set this flag, fseek clears it <3> ok, i arranged to go to cinema with the girl from dating site <3> it's tuesday <3> the dating project is moving along <4> *sigh* <3> she's not a bot <4> My girlfirend used to shop at a small store I worked at
<3> i don't see any ppl at work <4> Well, she and I ended up running into each other online <3> except same 3 faces every day <3> heh <4> Place I'm going to go work at possibly, I'd be working with a bunch of WoW gamers in a DC/NOC <3> sounds nice <4> I guess <4> One of them is a high school buddy of mine =] <3> that's what phone interview was about ? <4> Yeah. <4> I got asked questions about Redhat, Windows, FreeBSD, and general hardware. <4> I did well but flubbed a question on RAID <3> coulpe of my patches ended up this week in the git, the VCS that kernel uses <5> did you say that RAID5 is where all the hdds explode? <4> LordZid: No, he asked me how many drivs are needed for RAID Ten <3> aedi: what was the question ? <5> 10!? <5> I'd say... 40 <4> I've never heard it called tha tbefore, he meant RAID 1+0 or "One zero" <5> oh <3> ah <5> retard <4> Me or him? <3> what's the correct answer btw ? <4> 4 <4> 2 pairs of stripes, mirrored to each other. <3> i'd never guess that ... <5> "2 or more disks that are mirrored" <4> LordZid: No, it's 4. <2> http://en.wikipedia.org/wiki/Batman_%28m***_measure%29 <- No wonder he can fly. <5> 2 * 2 = 4 mate <4> LordZid: Yes. Not "2 or mor edisks" <5> THAT ARE MIRRORED <6> I'm looking at the hash function presented in the K&R book. int seed=131; hash=0 i=0; for(i=0; i<len; str++, i++){ hash = (hash*seed)+(*str);} return (hash & 0x7FFFFFFF); two questions, what does "seed" do and why was 131 chosen, also what does that return statement do? <5> 2 + mirrors = 4 <5> stop quoting HALF of what I say then telling me it's wrong <4> LordZid: Well, it's horrible wording anyway <4> LordZid: It's a raid stripe of two raid mirrors. <4> So 4. <3> ncaller: the purpose of & in the return is to make result non-negative <5> that's too technical for me <4> No other answer. It's 4. <4> Well, this is a technical position =] <3> boy <3> demand managerial responsibilities <4> Oh, and I flubbed a few Windows questions (Didn't know what things were called) <5> got examples? <3> tell us tell us <4> LordZid: What's teh MMC snap in for configuring tape backups. <5> **** knows <4> Exactly <4> Oh, I also forgot about chkconfig in RedHat <5> -bash: chkconfig: command not found <5> I dun gots it <3> did you mention that you learn quickly ? <4> My solution was to change permissions on stuff in /etc/rc*.d/ <4> LordZid: RedHat? <5> nope! :) <4> Yeah, it's a redhat thing. <5> is there a comment that'll tell you your distro?
<3> chkconfig is /sbin/chkconfig <5> uname doesn't give me crap <4> LordZid: You should know what distro you installed. <3> LordZip: no <5> I do <5> slackware 10.2 with 2.4.31 <4> hh <4> Darwin panna.local 8.6.2 Darwin Kernel Version 8.6.2: Thu Apr 13 18:48:29 PDT 2006; root:xnu-792.9.59.obj~1/RELEASE_I386 i386 i386 <5> chkdupexe is the closest I have to chkconfig <5> chkdupexe - find duplicate executables <5> awesome <4> heh, Darwin naboo.galaxy.local 8.6.0 Darwin Kernel Version 8.6.0: Tue Mar 7 16:58:48 PST 2006; root:xnu-792.6.70.obj~1/RELEASE_PPC Power Macintosh powerpc <4> PPC is .2 behind <5> it's all just sbin / bin stuff damn <3> 'uname' doesn't show distro type because uname shows the kernel type, that's all <5> is there a command to find all files that I can run which are setuid root? I wanna pwn my boxz0r <4> LordZid: find. <5> params bitch <5> -group users -user root <-- random guess, I don't know how linux works <5> hell, i can't even get 'su' to give me colours <3> **** this chair's back is breaking under me <3> and i thought this is solid one <5> root bin ? <5> they seem nice <4> that's not setuid. <3> you need -perms or something <4> -perm -1000 or something. <3> Lord: why do you need to hax your box, you forgot root paswd ? <5> no, I wanna hax it from the inside :P <5> just to see how badly I fail it <4> local exploit? <3> boot single-user and pwn iot <5> i'm guessing 9/1 <5> (9 times more than certain fail) <5> du: cannot access `hast': No such file or directory <3> i have difficulty deciding whether i shall go to sleep this night or stay awake <3> Lord:try one of those net-breaking game <5> I did years ago <2> MishAlone: I tried going to sleep, I woke up three hours later after dreaming that MacGyver was living in my apartment and was an alien who along with his alien friends made a movie with them running around after taking off their human faces. <2> MishAlone: Then I woke up and one of my monitors showed said movie. And then I really woke up. <5> you'd think 100mbit would be enough to stream a video over, but NOOO <3> hind: now you're afraid of going to sleep again ? <2> Yup. <2> I hate it when I dream that I wake up. <3> i don't have night dreams recent days <3> yeah, i had that, too <2> Except when I realize it, of course. <5> 2090*2090 I get.. hmm <5> mplayer needs a server mode <4> LordZid: server mode? <5> yea <5> mplayer -s video.avi <5> then anyone on the network can do mplayer 192.168.1.1 <5> and watch <4> Oh, you mean like VLC? =] <5> I'll wait for mplayer, I only have one video on my other machine :p <5> not very <5> trust me <4> I didn't think so <7> Anyone know the 'secret' behind drawing 2D game tiles that tile well? <5> the framerate wasn't terrible <5> but no audio or bitdepth :P <4> Ah, true <7> Similar to how you can tile certain images on your desktop wallpaper and they look good all tiled together. <2> Teckla: Not actually redrawing the entire screen? <2> Teckla: Oh, you mean creating the tiles? <7> Yeah. It seems REALLY hard to create tiles that tile well. <5> Teckla: just don't put anything against both edges <5> else they'll touch :P
Return to
#c or Go to some related
logs:
seconhand caravans #goal raid 11 adapter #linuxhelp #nhl #computers #dsl #sql #nhl #politics
|
|