| |
| |
| |
|
Page: 1 2 3 4 5 6
Comments:
<0> Oh well, I'm doing a data disc. I guess I'll have to seperate my MP3's and WMA's <1> can someone please tell me how i can tell how long ago an email with timestamp Wed, 5 Jul 2006 19:44:00 -0700 (PDT) <1> is? <2> i don't understand the question <2> i mean, you know what time it is now, right? <1> yes i do <1> i have eastern standard time here <3> I think that sentence lacks a verb. <1> it's 6:31 pm on the 6 <2> so eastern standard time is +3 from PDT <1> nah that can't be right <1> it's currently thursday june the 6th time = 6:33 pm <4> whatdoine: Use an email library. <1> what's that <1> **** i'm stupid <1> ill just email myself
<1> dugh <5> lool <6> don't remember who was asking earlier, but check this **** out: let x=0 ; while read line ; do let x=x+1 ; echo -n "$x: " ; echo $line ; done < cs140/Week9/Week9C.htm ; echo $x <6> that prints out entire lines from a file without spawning a new subprocess <7> is there a way to make gcc search "dir" for include files by default instead of having to do -I"dir" all the time? I tried man page and google but couldn't find the answer <4> The info page mentions CPATH, C_INCLUDE_PATH, CPLUS_INCLUDE_PATH and OBJC_INCLUDE_PATH. <7> thanks <4> You're welcome. <8> it took 12 hours to download two x 4GB images <8> nod bad <8> checksums match <2> heh <2> it takes me weeks to do the same thing <2> it'd be faster to fly, but not cheaper :) <2> heya feti <9> ey <8> Humans exposed to vacuum will lose consciousness after a few seconds and will die within minutes from asphyxiation, but the symptoms are not nearly as graphic as commonly shown in pop culture. Robert Boyle was the first to show that vacuum was lethal to small animals. <8> Blood and other body fluids do boil (medical term: ebullism) and the vapour pressure may be expected to bloat the body to twice its normal size and slow down circulation, but tissues are elastic and porous enough to prevent rupture <10> are you planning a spacetrip? <8> not really <2> rip, no, just experiments in his vacuum chamber. <8> just curious <10> haha Gambit- <8> Shuttle astronauts wear a fitted elastic garment called the Crew Altitude Protection Suit (CAPS) which prevents ebullism at vacuums of 15 Torr (2 kPa). Animal experiments show that rapid complete recovery is the norm for exposures of less than 90 seconds, while longer full body exposures are fatal and resuscitation has never succeeded. <2> "No exploding bodies? Damnit!" <10> DynaMish, pop culture isn't most known for it's reality-like reconstruction of events <10> but interesting to know <8> and nobody offers 90 seconds of fun in vacuum? what a ashame <10> how it happens <8> you eyes pop up.... <8> your mouth freeze... <8> and then you return to normal <8> must be fun <11> Gambit-: Are you ready for me to playtest your mud yet?! ;) <2> Teckla, Not quite. By the by, do you know off hand if you can tweak valgrind to measure memory consumption throughout the life of the program? <2> or a differnet tool to monitor memory consumption at regular intervals? <8> top <4> Gambit-: ps? <2> yeah but those aren't very accurate sometimes. <12> pwned <11> Gambit-: Alas, I've never used valgrind. <8> In the Middle Ages, the idea of a vacuum was thought to be immoral or even heretical. <2> so since I've got gauze around to l34n me, how do you get the pid of the last process to run? <11> The earth is flat! <12> Gambit-: in what context? <2> like if i do: "foo &" and then I want to check every few seconds what the memory consumption of that process is. <11> Capture the output of "foo &" which should include the PID. <2> uhn, well, it's all happening inside a shell script <11> You should get something like: [1] NNNNN <11> Where NNNN is the PID. <2> i thought there was an environment variable that got set to it. <9> ok i need a lex guru! ;D <11> Ah...I've never heard of such a thing. <9> i still need one. haha <11> Gambit-: Capturing that PID in a shell script should be relatively easy though (for people who know shell scripting). <9> yeah <9> bash? <2> bash is fine <2> is it $$?
<9> well not of hte current bash script <9> but it will be the pid of the last process executed <2> hrm no that's not right. <9> you have <9> $$ <9> $? <9> $! <8> $? <9> $@ <8> no, $!O2P <8> $! <9> haha dynamish <2> ah I think $! is what I'm looking for. <2> remorse, without actually going through all of the manpage, how would you find those in man bash? <13> eh dont get me wrong <13> im lazy too <13> i just had to throw in my 2 cents <13> :P <13> hey gambit <13> howd did that phone interview go <2> heh na cause that's the last place I looked and I couldn't find it in there :) <13> you were on for hours <13> s/howd/how/ <2> was that the one for me interviewing someone else, or someone else interviewing me? <13> ohh <13> good question <13> i donno <13> :) <2> both went sorta mediocre, I'm sad to say :) <2> the former the guy was ok, but decided he didn't want to come, and the later was for a perl job :P <8> Gambit-: even if you know the right answer, it's difficult enough to find it on the bash manpage <8> that's why there is an F part in the RTFM <2> DynaMish, Yeah, I was sorta hoping searching for $$ would yield a list of them, which it didn't. <9> now if doing a /searchterm in man would search all man pages for bash, then you'd be set <8> in this case, searching for process then for pid looks right <9> but it only searches the one you're in <8> Gambit-: my man is aliased to vman which is my script that takes the manpage into vim <8> where i can search back and forth as i please <2> DynaMish, that's a pretty good idea, actually :) <2> share? <8> moment <8> http://ilerner.3b1.org/scripts/vman + alias man=vman <2> cheers <2> even with that I still don't find $! in the bash man page :P <8> bash manpage is notoriously resistant to searching :--)) <8> Gambit-: here is the quote: ! Expands to the process ID of the most recently executed back- <8> ground (asynchronous) command. <8> wisely, they save recurrent $'s, and $! appears there in the form of ! <8> that's to defy user's finding the answers, of course <2> ahhh cool <2> under the special paramters secion, naturally. <11> Cool - $! works in ksh too. <11> That's handy. <8> $! is very old, works in all shells <8> it's pre-ksh and pre-bash <11> Pre-historic <8> prehistoric, yes <8> in tcsh, too <8> i used tcsh as interactive shell between 1995-2004 <8> and bourne shell for scripting <8> in 2004 i switched to bash for interactive <8> tcsh is so buggy, just impossible to use for scripting <11> That's unpossible! It's open source! <11> Thousands of eyes! All bugs are shallow! Etc.! <8> heh <11> Which is better, irssi or epic? <10> matter of taste <8> indeed what'd the difference <11> irssi may be too fat to fit in the remaining disk space on my unix account. <8> i run epic, it shows ircII on statusline <10> there are some differences <10> i run epic myself
Return to
#c or Go to some related
logs:
#computers #windows frshrpms shableep dalnet
#nhl #computers #politics #gamedev #red #slackware
|
|