| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8
Comments:
<0> well, the only thing i can see that google video shows is that they can't detect duplicates for ****. <1> I was umm... testing you. <2> Gambit-, hey. this is neat. turns SQL DDL into graphviz. http://community.moertel.com/ss/space/Tom's+Perl+code/ddl-to-graph <2> (perl script, but doesn't seem to depend on anything) <3> heya ot <3> like, draws boxs and connects lines and stuff? <2> yea. you never used graphviz? <3> not in years <2> digraph G { foo -> bar -> baz -> foo; } /* circular depedency graph */ <2> Gambit-, there is a node [shape=record] option in graphviz so you can do database records. this just parses CREATE TABLE directives and spits out a graphviz file to convert into png, svg, pdf, etc <3> that's pretty cool :) <4> yo OrngeTide <3> hey OrageTide, didn't you say that ncurses had 'scrolling' features in one of the libs? <2> Gambit-, yea. man newpad <3> ah pad that was it <2> then you gotta use pnoutrefresh and deal with priorities
<4> I used ncurses once <4> all I did was print in funny places though :P <3> so does vim use ncurses too? <4> nethack does <3> yeah i thought it was pretty universally used <3> strange that it's not threadsafe. <4> couldn't you just put the flush call in a mutex? <3> zid_, i think it makes use of globals and stuff... I was thinking of it controlling multiple terminals from one process. <2> Gambit-, yea. vim uses ncurses. <2> Gambit-, one day you will listen to me and not use ncurses. <2> you could probably write your own that parses a text version of terminfo that works better than the real thing. <2> then your app would also compile/run on windows. <2> parsing the binary terminfo is a problem since there several variants floating around. <3> OrngeTide, Suggest an alternate <2> but the text one is nice and standardized. <3> ugh, I don't want to deal with parsing my own termcap <2> i wrote the code to do it in like an hour. <2> the other annoying problem is that ncurses requires a pty. and a system can quickly run out of ptys. <3> how quickly? <3> how many ptys does a system have? <5> 256 is common <5> i think my server is set to 1024 <5> since a lot of people run screen <0> pdcurses works on win32 and posix-ish stuff. <5> yea. porting pdcurses would not be too terrible. <5> the win32 stuff in pdcurses you would just throw away though <5> since you actually want pdcurses to operate over a socket <3> Yeah, I'm basically looking for a multithread curses implementation I can point at sockets and get all the same trickery from normal curses <5> but rolling your own termcap lib would take all of 30 minutes. you wouldn't get the slick stuff for managing windows. but you could do an ircii like interface really easily. (ircii originally used termcap, now it supports terminfo and termcap. but it doesn't actually use ncurses directly) <3> ach afk have to run run run. <5> okay. <0> a custom putc is all that is needed to run curses over a socket on win32. on posix you don't need that because sockets live in the fd namespace. <5> well the win32 one actually makes a window so you can have the video modes going. <4> wtf <4> xmms refuses to play sound <5> and pdcurses on posix systems uses termios <5> so it's not as simple as you say. <4> oh.. azureus I bet <4> java hates everything else <4> alsamixer has everything greyed out <0> OrageTide: the only call to termios in the pdcurses source, at least that i can find, is for os/2 using "EMXVIDEO". <4> OrageTide help :( <4> yay fixed it <4> re-ran the OSS setup dealie <4> apparently.. linux doesn't support the scroll lock light, go linux :P <0> it just hates you. try beos instead. <4> I don't even know what scroll lock does <4> I was just playing with the lights <6> superman was a pretty good movie. liked it a lot. <7> with poll() on a socket is a disconnection event POLLIN or POLLHUP coz it seems to come with POLLIN with recv() ? <7> anyone? =[ <0> you already found what happens. <7> ... <7> i heard some os's are differnet <2> kthx^, you need to check both. <2> kthx^, normally you get POLLIN. but some systems you get POLLHUP and other systems you get both. <7> hmm <2> i'd just use libevent which handles all these details for you. <7> for some reason <7> ok
<2> iirc linux doesn't use POLLHUP at all <7> ;o <8> kkkkkkkkthhhhhhhx^ I told you yesterday already <7> heh <4> ..hello? *echo echo echo* <9> zidzidizidizd <4> hey boro <4> took off any zids today? <9> lol <9> nah keepin them for afternoon, they're useless in the morning <9> take off every zid move zid move zid for greet justice <4> OrageTide? <2> zid_, yea? i've only found the 40gb so far. i hope i can find the 80gb before the 5th (when i actually go to the post office) <4> ooh fun <4> give me a raid card and all the 40s! :P <2> ahah. <2> just run software raid. software raid is better, in some ways. <4> I can't CONNECT them to anything <4> :P <2> i'm not giving you any of my SATA drives :P <4> E- Elbereth <4> OrngeTide: noo wake up! <4> I need to learn your schedule, it's rather hit and miss whether you're here <2> i have no schedule. <4> you're at work.. and sometimes sleeping.. and sometimes at home <2> yes. that's my life. <4> awesome <4> mine is home sleep home sleep <10> OrngeTide: hi <2> i'm in UTC-8 i think. <4> what time is it now <2> i'm not sure how the summertime/wintertime thing works. i think in the summer i'm utc-7. <2> it's 3:53 right now <4> right <4> it's 11 here <4> so erm, see you in 7 hours <2> ehhe. <4> OrngeTide: How do you know when your kid is full? <2> kid? <4> he gets a runny nose <2> ahahah <10> OrngeTide: Aren't you GMT? <2> kawfee, uhh. no. i'm in california <4> 0.9999' = 1 <11> how do i fix pointer truncation from 'WNDPROC' to 'LONG' warning? <0> don't do that. <11> ? <0> don't try to squeeze a WNDPROC into a LONG, since it doesn't seem to fit. <11> i have to, its for subcl***ing <12> hi <11> if i dont i get a compiler error <12> can i ask a question about c++ ? <11> 'SetWindowLongA' : cannot convert parameter 3 from 'WNDPROC' to 'LONG' <12> http://rafb.net/paste/results/nAUtT026.html <12> can someone take a look please <12> i dont understand why it output inf loop of function template and not inf loop of cl*** template <0> c++ doesn't happen to be in the topic today. <12> ;'\ <11> i also get warning C4311: 'type cast' : pointer truncation from 'LRESULT (__stdcall *)(HWND,UINT,WPARAM,LPARAM)' to 'LONG' <11> for OldEditProc= SetWindowLong(edit,GWL_WNDPROC, (LONG) EditSubcl***Proc); <11> dose the warning mean it might break at some point because it dose work :/ <9> warnings are like errors <0> not much point in a warning that isn't warning you of a potential issue. <0> whether it will every become an issue cannot be known in advance, unless perhaps you know c***andra. <11> lol <12> ty anyway <4> Stream #0.0: Video: mpeg2video, yuv420p, 720x576, q=2-31, 6000 kb/s, 25.00 fps(c) <4> Stream #0.1: Audio: ac3, 48000 Hz, stereo, 448 kb/s <4> that's right, right? <0> yes, for values of right that include no. <4> awesome <4> You're probably just being an arse, but thanks. <0> no, really.
Return to
#c or Go to some related
logs:
balisong knife swap meet #linux-noob #unixhelp google.mrc #dsl aljazeera.ent
#computers #computers #mirc #computers
|
|