@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45



Comments:

<0> Regarding ALSA, if I don't have a .asoundrc file, does ALSA make its own defaults based on what it finds from the sound card driver? I'm trying to figure out where some of these defaults ALSA is using come from...
<1> if you like it, "the scene" episode 20 is out
<1> http://www.welcometothescene.com/download.php
<2> i'm gonna b down @ ur house 2night if i can get something to run, or u can comeup here and u can use the old Unix PC
<3> I won't have time
<4> i have a cron job running every hour but every hour i get a mail with that jobs output how can i stop that?
<5> &> /dev/null
<5> ?
<4> thx
<6> bye all
<7> hi. does anyone know any bandwidth manager prog like netlimiter for windows?
<7> i tried lartc but it gave me errors for `tc`
<8> i need a text mode user interface c library, and recommendations, other than slang ?
<9> bye
<1> ncurses?
<8> slang & ncurses are the same package



<8> lenny__, is there like a higher level one that uses ncurses perhaps ?
<8> some with menus and lists and stuff already, or does ncurses have all that now ?
<8> s/some/something
<1> I know some, but for python, java, etc...
<8> alright...i need to do a display kinda like top, but with multiple screens, for monitoring a server process
<10> headmonkey: dialog
<8> is that a c library ? ;)
<1> I thought about that, but it's not exactly event driven
<1> from what I remember at least
<10> headmonkey: Not directly, you can call it from a c program via the"system" call.
<8> yeah...im gonna have to do my own library, as i have to test for keystrokes in a poll() loop
<8> bronze, not from within a server app handling thousands of messages every second...that would get kinda ugly
<1> ncurses should be a good starting point, but you should write your own widgets if you need them
<10> verily
<8> im gonna try slang first, i used it once before with good results, its compatible with ncurses, so i should be able to use either/or without changing any code
<1> slang uses ncurses
<8> i thought it replaced ncurses
<10> headmonkey: look into select, more efficient and safer than polling
<1> I mean, slang depends on ncurses
<1> no, it's not a replacement and then "slang" is really 3 different libraries
<1> but I haven't written nothing for a terminal in ages, so...
<8> i know slang has its own scripting language lib
<8> bronze, theres a reason im not using select, but i forget what it is offhand
<1> one of the libs is an extension language
<1> another one should be the widget set you need
<8> bronze, has to do with the interface to the function
<11> gn8@all
<8> bronze, right now, i have a dynamically sized array of pollfd structures that grows/shrinks everytime a client connects or disconnects
<8> which works well in my situation
<10> ok
<8> poll might just call select internally...if its an issue later i'll fix it, i dont really have alot of connections, disconnections like a webserver, but i do have alot of messages p***ing back and forth
<1> for, say, 10 or 20 clients it doesn't make difference
<12> Hi - can anyone tell me what sort of csh code I'd need to use to get the name of the current directory, and not the path to that directory?
<8> lenny__, so slang does have widgets then ?
<1> probably
<13> I have a CentOS 4 server that's receiving about 35 jpegs a second. I need to make sure that I get as many of those as possible, so I was thinking that it would make sense to use nice to raise the priority of vsftpd. Is this the right or a right idea?
<14> i have a curses widge kit
<14> cwk iinm
<14> or cdk
<1> yes, dialog uses cdk I think. it's an alternative
<12> Bah! Sorry. Did anyone have something to say to me about my directory name troubles?
<1> pwd?
<14> what name
<8> im looking at cdk right now
<14> k
<12> Basically, what I need to know is if there is a substring operation in csh. pwd returns the full path (logical or physical), but I only want the directory name.
<14> duno csh
<14> dont use;
<14> people shouldnt use it
<1> omg csh
<1> I used that once in my life
<15> Before ksh appeared, it looked pretty good
<12> tail -c 6 would do it, except we have an old version of tail on this server (or at least one that didn't have the ability to read from STDIN)
<12> Guys: why would I be asking this question if I wasn't a bash user?
<15> tcsh wasn't so bad, in its time
<12> This is for a server that doesn't HAVE bash.
<1> symian, basename `pwd` ?
<12> basename? Let me check that out.
<1> it's a shell command
<12> lenny__: perfect!
<12> Thanks,.



<12> That's exactly what I needed.
<10> symian: what kind of server doesn't have bash or sh?
<12> bronze: it has sh
<15> Quite a few don't have bash
<16> *cough*WINDOZE
<12> just not bash.
<14> symian read bash howto and repent
<12> Quiznos: read what I've written and recant.
<14> lol
<12> Thanks, lenny__, see you later.
<15> Most any commercial unix is likely not to have bash out of the box
<10> sh has some substring stuff in it.
<17> flippo: solaris does
<15> dmbt: it was installed by hand on my SunOS 5.8 machine
<17> well, the latist in solaris does
<17> 10.0 i know has it
<10> 1984 sh had parameter substitution stuff, probably has more now
<15> I've never used an IRIX machine that had it preinstalled
<10> at least according to my at&t manual
<10> woops, its copy right 1985.
<10> :-)
<14> i have ancient sh src here
<14> cant get it compile tho
<14> gcc barfs
<14> oops
<10> set the gcc flag "--stone_age_unix"
<14> ok
<14> pre-ansi
<10> it makes me antsy
<14> gcc doesnt do -traditional without -E anymore
<10> I hate that
<10> have to type in an extra - and use real words!
<10> gawd!
<14> -E is for pp'ing isnt it?
<10> tink so,
<18> bots?
<10> -E Stop after the preprocessing stage; do not run the compiler proper.
<19> freakazoid0223, -lilo/Wallops- Small regional server experiencing some packet loss; affected users, about 300 ?
<14> well, that interferes with automake rules i think
<0> Anyone happen to have an asound.conf or .asoundrc for a SB Live with spdif out that I could grab a copy of? Otherwise, I'm trying to make my own by hand, so...
<14> diamon not i
<20> i've taken upon myself pretty much this whole week to security audit about 17,000+ lines of php that i've written in the last 2 years. and my head hurts
<10> php is pretty secure isn't it...
<0> Ah well. Worth asking at least. My spdif output works, but I lack volume control to it. I think it only works as a 'the driver didn't say to turn off so I work anyway' sort of thing. I'm trying to make it work properly.
<20> bronze: php itself is secure, but when you are taking in form data and such, you need to write secure code
<10> my point exactly.
<20> bronze: it doesn't really translate like that though...that's like saying because Microsoft uses C++ to make some of their programs...it's secure right?
<10> keep goinbg
<10> keep going
<10> your 2/3 of the way there now
<20> my brain hurts
<10> your/you're
<15> Gumby lives
<20> the point is my brain hurts
<10> there is a difference between using a package that inherently allows multitudinous security vulnerablities to occur and using ones which inherently don't
<10> One of the difference is going back and auditing 17,000+ lines of code written in past years.
<20> nah, that's just inexperience for the first 16,500 lines of code hehe
<15> http://www.holt.org/images/mbmvfpo209gb.jpg
<10> I have less than positive feelings about PHP (should be obvious by now, I guess.. :-) )
<20> oh dang, i totally forgot, there's like 2500+ lines of bash scripts to support this monster site
<20> so that's uhh, 17000 + 2500
<20> exactly, my brain hurts
<20> been sick for 2 days which doesn't help
<10> !!bashbot math 17000 + 2500
<20> haha
<10> echo $(( 17000 + 2500 )) 19500
<21> slightly offtopic: Is there a C function call which can be used to clear a terminal window ?
<14> nop
<14> ncurses does that or user
<10> nrubsig: look in curses
<10> or use a system call to call "clear"
<14> dont clear
<14> let the user do it


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #linux
or
Go to some related logs:

tomcat Gtk-WARNING **: cannot open display:
#perl
#perl
scsi_transport_sas module not found
#physics
#ai
#perl
#gentoo
#css
etch apt-install



Home  |  disclaimer  |  contact  |  submit quotes