irclog2html for #linuxpakistan on 20050316

00:29.44*** join/#linuxpakistan L|NUX (~Linux_Fre@202.5.145.22)
01:13.06*** join/#linuxpakistan fawad (~fawad@c-24-14-168-201.client.comcast.net)
02:11.22*** join/#linuxpakistan u_int64_t (~im_an_int@cpanel16.fuitadnet.com)
02:12.56u_int64_tfawad tell me how to use vpn on linux :D
02:13.11fawadget an ipcop box.
02:13.53fawadwhat's the server running?
02:31.10*** join/#linuxpakistan fawad_ (~fawad@c-24-14-168-201.client.comcast.net)
02:34.11u_int64_tfawad i dont know
02:34.14u_int64_tfawad_ i dont know
02:35.04fawad_oh.
02:35.10fawad_well, you have to know.
02:35.11u_int64_twhat does ipcop have 2 do with it
02:35.31fawad_ipcop lets you do ipsec vpn very quicky.
02:35.35u_int64_tif i log in  thru windows will i be able to tell
02:35.38fawad_damn, i mean quickly.
02:36.05fawad_do you have any instructions on how to connect to the vpn on windows?
02:36.22u_int64_tyep nothing teling
02:39.57u_int64_tany idea
02:40.24fawad_what's the server running?
02:40.30fawad_i mean, what OS?
02:40.38u_int64_tidont know :(
02:40.45u_int64_twindows im sure
02:40.48fawad_ok, then there's no friggin way to know.
02:41.02u_int64_twhy?
02:41.07fawad_you have to have some basic info like the protocol, userid, password (or rsa key, etc).
02:41.15u_int64_tbtw there is no specific client to dl
02:41.30u_int64_tu can do it thru winxp
02:41.31fawad_no client to download on windows?
02:41.33fawad_oh.
02:41.34u_int64_tya
02:41.40fawad_then it's either ipsec or pptp.
02:41.49fawad_ipsec support is built into most 2.6.x kernels.
02:42.00u_int64_tpptp is the opewn port
02:42.20fawad_huh?
02:42.41u_int64_ti did nmap on the server, pptp is an open port
02:43.07u_int64_thttp://pptpclient.sourceforge.net/ hey lookie
02:43.20fawad_oh.
02:43.22fawad_aaight.
02:43.26fawad_yeah, then you need pptp.
02:43.41fawad_depending on the server policy, you may or may not need a kernel patch.
02:43.44u_int64_tso thats all i would need?
02:43.49fawad_yes.
02:43.58fawad_but you might need to apply the crypto kernel patch.
02:44.05u_int64_twhy come
02:44.09fawad_it instructions are all there on the pptp client site.
02:46.22u_int64_tthere is no instructions with what IT gave me as to whether or not it requires encryption
02:47.36fawad_you can try to do it without the crypto first.
02:48.04u_int64_tya
02:48.09u_int64_temerging now
02:48.16fawad_emerging?
02:48.20u_int64_tmy boss will be so mad
02:48.25u_int64_tfawad stupid gentoo
02:48.28fawad_then i guess the kernel upgrade wouldn't be too hard either.
02:48.50u_int64_tkernel is custom already\
02:50.45fawadu_int64_t: is comparison of pointers in c++ allowed?
02:50.50u_int64_tsure
02:51.03fawadlike strstr(str,"a")<strstr(str,"b") ?
02:51.32u_int64_twhy arent you using c++ strings
02:51.44u_int64_tbut anyway, yeah you should be able to do that
02:52.17u_int64_there goes pptpclient
02:52.33u_int64_toh god why arent I using debian
02:52.33fawadis it possible to go from c++ string to a char* ?
02:54.45u_int64_tyea
02:54.48u_int64_tstring_var.c_str()
02:58.34fawaddamn.
02:59.14fawadi wish i knew that before i changed everything to char*
03:00.45u_int64_thehe
03:00.55u_int64_tgtg bbl
03:40.12*** join/#linuxpakistan u_int64_t (~im_an_int@cpanel16.fuitadnet.com)
03:40.41u_int64_ti friggin hate gentoo
03:42.15u_int64_tfirst of all, this php-gtk
03:42.16u_int64_twhy
03:42.17u_int64_twhy
03:42.19u_int64_toh god why
03:48.17fawadu_int64_t: are you seeing any 'clock skew detected' warnings building with mingw/eclipse?
03:51.26u_int64_tfawad nope not yet
03:52.24fawadman, am seeing it every single build.
03:53.52fawadu_int64_t: what uses php-gtk?
03:59.08*** join/#linuxpakistan u_int32_t (~im_an_int@7619f59193faaf3e.node.tor)
11:32.43*** join/#linuxpakistan u_int64_t (~im_an_int@cpanel16.fuitadnet.com)
15:33.33*** join/#linuxpakistan fawad (~fawad@dsl092-255-194.chi1.dsl.speakeasy.net)
17:47.25*** join/#linuxpakistan mathrick (~mathrick@195.116.35.55)
17:53.16*** join/#linuxpakistan Guest309 (~Guest309@202.61.60.49)
18:05.07linux_beginany body theere
18:05.25linux_begini have a little problem
18:05.31linux_begin:(
18:28.13*** join/#linuxpakistan fawad (~fawad@dsl092-255-194.chi1.dsl.speakeasy.net)
18:33.39linux_beginfawwad are u ther
18:36.08fawadsure am.
18:45.11linux_begindo u know about assterisk
18:45.16linux_begin??
18:47.24u_int32_tfawad, plz help me with my vpn
18:47.28u_int32_tfawad, fawad fawad fawad
18:47.29linux_beginasteriskk the open source pbx
18:50.29u_int32_tvpn
18:56.22u_int32_tnm i killed the routing on my desktop :(
18:58.40fawadlinux_begin: i don't.
18:58.56fawadu_int32_t: did you figure out if it is pptp?
18:59.19u_int32_tfawad, nope, but they told me they are using CHAP authentication atleast
19:00.33fawadyeah, so it's pptp.
19:00.41fawadany luck with the pptpclient?
19:00.47u_int32_tbtw, everythng is default windows
19:00.52u_int32_twhatever windows gives them, they use
19:01.47fawadyeah, makes sense.
19:02.40*** join/#linuxpakistan Zeenix (zeenix@203.133.252.16)
19:03.38Zeenixhello
19:03.55u_int32_tbut fawad , i still can't connect
19:05.10Zeenixu_int32_t: connect to msn?
19:05.37u_int32_tyes
19:05.39u_int32_tZeenix, no, vpn
19:06.42Zeenixok, as i am unable to connect to msn right now
19:07.32fawadu_int32_t: vpns are a pain.
19:07.46fawadexcept for cipe. that's just non-standard.
19:08.14fawadu_int32_t: did you patch with the crypto thingy?
19:08.57u_int32_tfawad, yep
19:09.07u_int32_tbuilt it as a module though
19:11.43fawadthe log doesn't help?
19:12.35u_int32_tnot at all
19:12.43u_int32_tall i get is: "peer sent terminate request"
19:13.01fawadthat explains everything.
19:14.25u_int32_tyes
19:14.38u_int32_twinpptserver.c(80): if(!windows_client())close();
19:15.55u_int32_tpptp of course :P
19:16.00u_int32_tand using 8.3 filenames
19:16.09u_int32_twinnpp~1.c
19:17.14*** join/#linuxpakistan Zeenix (zeenix@203.130.31.231)
19:18.25u_int32_tgoddamn mingw is so slow on windows
19:19.26Zeenixu_int32_t: what else mingw is meant to run on?
19:19.49u_int32_truns on linux afaik
19:20.36Zeenixfawad: i am sure you didn't mind the "Lisp and Fawad" section in my last blog
19:21.31Zeenixu_int32_t: isn't mingw 'MINimum Gnu for Win32"?
19:21.49u_int32_tyes but you can use it on linux to cross-compile
19:24.21fawadZeenix: nah. quite the contrary.
19:24.32fawadu_int32_t: how does one cross-compile? any pointers?
19:24.37fawadi'd love to do that.
19:24.51u_int32_tfawad, afaik, all you have to do is apt-get mingw
19:25.00u_int32_tand then set your makefiles to use mingw-g++
19:25.17fawadand that generates windows executables?
19:25.24u_int32_tyep
19:25.26fawadhow about libraries? where does it look for them?
19:25.28u_int32_tagain, afaik :)
19:25.50fawadoh, man. i've gots to get me some of that.
19:26.16u_int32_tyou'll probably need import libraries
19:26.19u_int32_tbut thats all you should need
19:26.27u_int32_ti..e your winapi.lib files
19:28.07u_int32_tand even thats probably only at link time
19:28.54fawadah.
19:29.00Zeenixhttp://www.advogato.org/person/rmathew/diary.html?start=63
19:29.19u_int32_tdoes mingw come with them
19:29.41Zeenixthis person claims to have a proof for saying "C++ sucks"
19:30.05u_int32_thes complaining about writing c++ compilers
19:30.09u_int32_twhich has been admitted to be hard
19:30.46u_int32_tand its not proof of c++ sucking, its an easier way to parse c++
19:30.54u_int32_tso your buddy should read it :)
19:32.23Zeenixwhich buddy?
19:32.37Zeenixi just reported what i saw ;0
19:33.32Zeenixmathrick: you were talking of hating linux for not having a stable api some days back IIRC?
19:33.39u_int32_twhoevers blog that is
19:36.33fawadZeenix: what does the complexity of parsing have to do with anything?
19:36.50Zeenixfawad: i didn't read it myself
19:36.58fawadah.
19:37.10Zeenixfawad: as i said "This person claims to have a proof"
19:37.28u_int32_tfawad, what would you consider a unit test
19:37.36Zeenixso many things on my head these days
19:37.54Zeenixhalf my hair are gone white already
19:38.43u_int32_tZeenix, dude, like i told you,m you need to relax
19:38.46u_int32_tor mov eot cnada
19:38.47u_int32_tcanada
19:39.03Zeenixno, finland is better :)
19:39.11u_int32_ti wouldnt know
19:39.31Zeenixbut you are right about one thing at least: i do need a gal
19:40.04fawadu_int32_t: something that tests one use case of an atomic module.
19:40.06mathrickZeenix: yep
19:40.11u_int32_tmy socins hair was all white before he was 25
19:40.17u_int32_terr
19:40.17u_int32_tcousins
19:43.24fawadu_int32_t: is he related to michael jackson?
19:43.33fawadhis face was all white before he was 25.
19:43.37u_int32_tfawad, not tha ti know of
19:43.44u_int32_tthough he is crazy about madonna
19:45.12fawadeew. in the immortal words of E. Cartman:
19:45.14fawadfag!
19:47.16*** join/#linuxpakistan Zeenix (zeenix@203.130.10.76)
19:47.23Zeenixsorry, bad ISP!
19:47.34Zeenixmathrick: what was my last message that you got?
19:48.34u_int32_t<Zeenix> I'm a fag
19:48.39u_int32_tthats what I got here
19:49.32mathrick<Zeenix> mathrick: you were talking of hating linux for not having a stable api some days back IIRC?
19:49.34mathrick<mathrick> Zeenix: yep
19:52.33fawadu_int32_t: yeah, man. make him more insecure than he already is :)
19:52.48u_int32_the thinks hes gay?
19:55.35u_int32_tfawad, remind me not to do route del default
19:56.29fawadyeah. use iproute2 instead.
19:57.21u_int32_t---------------------------
19:57.22u_int32_tMicrosoft Development Environment
19:57.22u_int32_t---------------------------
19:57.22u_int32_t<PROTECTED>
19:57.23u_int32_t---------------------------
19:57.25u_int32_tOK   Cancel  
19:57.27u_int32_t---------------------------
19:57.29u_int32_tWOW!
19:57.34u_int32_tanother way for vs.net to get in my ass
20:00.03fawadyep. lovely, ain't it?
20:09.06u_int32_twhats luverly is forgetting about c++ name mangling then trying to use your dll in another compiler
20:09.49fawadyep. .net spoils you like that.
20:17.52u_int32_twell mostly only using g++ spoils me like that, but yeah
20:17.53u_int32_tbtw whens the last time you used a non-ms compiler for .net
20:18.05u_int32_t(in conjunction with othe rcompilers, i mean)
20:18.09*** join/#linuxpakistan L|NUX (~linux@202.5.145.55)
20:22.32fawadi use it all the time.
20:22.52fawadwe have a perl project here.
20:23.18fawadbut, point well taken.
20:33.15*** join/#linuxpakistan Zeenix (zeenix@203.130.10.222)
20:33.51Zeenixnow i can't appologize all the time as there are too many problems :)
20:45.41*** join/#linuxpakistan linuxgod (linuxg0d@distros.is.my.bitchs.info)
20:45.47linuxgody0
20:48.01linuxgody0 Zeenix
20:48.06linuxgodany one alive
20:50.25Zeenixfawad: you said that you once got onto the lkml to report a bug?
20:51.16fawadyeah.
20:51.28fawadi thought it was a bug with linux.
20:52.14fawadturns out that it was a problem with an upstream router not supporting ecn.
20:52.14Zeenixfawad: so thats the place where i should report this problem of mine
20:52.27fawadwell, there is a kernel bugzilla now.
20:52.38fawadi think that might be a more appropriate place to report bugs now.
20:52.46Zeenixsorry, i dont know how many of my messages got into the channel before i got disconnected
20:53.07Zeenixfawad: oh, i didn't know that
20:53.21Zeenixi think i report it early in the morning :)
20:54.36Zeenixbesides, i'll try to summarize the series of problems i've been facing just to make a recent kernel working for me under debian
20:55.04u_int32_tdont make your hair purple
20:55.13linuxgodhye listen u all
20:55.20Zeenixin my next blog that is
20:55.26linuxgodzeenix anjumbutt need ur files i dont know
20:55.32linuxgodwhich files
20:55.43Zeenix?
20:55.55linuxgodsome software whic u make
20:56.01linuxgodjust mail him
20:56.09Zeenixwhich one?
20:56.13linuxgodall ur things made by you
20:56.15linuxgod:)
20:56.27Zeenixlinuxgod: wtf?
20:56.33linuxgodlol
20:56.36linuxgodman i forget
20:56.41linuxgodhe is saying
20:56.48linuxgodsome software
20:56.55linuxgodi forget the name
20:57.04linuxgodcode by u
20:57.15linuxgodfuckin software
20:57.37Zeenixi can't gues
20:57.58Zeenixlinuxgod: btw, this is not an SMS window
20:58.16linuxgodlol
20:58.18fawadZeenix: i think linuxgod is saying that anjumbutt needs some file from you.
20:58.18linuxgodsorry
20:58.37linuxgodya exactly i want to say that fawad
20:58.42linuxgodthanks man
20:58.53Zeenixfawad: i got that much. i do understand SMS lang. when written well :)
21:08.15Zeenixfawad: otoh, today i was able to make the verifinger sdk and the finger-print scanners working under linux today
21:08.35Zeenixso easy finger-print recognition from now on :)
21:09.10Zeenixrecognition, storage and comparison that is
21:10.20Zeenixbut i wish it was open-source :(
21:10.27linuxgodlol
21:10.34linuxgodgive it to me i open it
21:14.12Zeenixok guys, i must sleep now
21:14.18Zeenixgood night
21:22.36u_int32_tfawad is there a way to do post-build steps in eclipse?
21:23.37fawadyep.
21:23.47fawadproject properties->builders.
21:23.53fawadadd a process to that.
21:25.18u_int32_tah
21:25.19u_int32_tok
21:26.07fawadway cooler than vs.net where
21:26.17fawada. you can only have pre-build and post-build events.
21:26.37fawadb. it's basically a hook to kick off a shell process (i.e. a hack).
21:28.12u_int32_toh wicked!
21:28.21u_int32_ti got visual c++ to call a mingw dll
21:28.25u_int32_toh this is just making me randy
21:29.04u_int32_tfawad, eclipse is pretty flexible
21:31.22u_int32_tfawad, can I use ${project_name} in cdt text boxes
21:34.01fawadyeah.
21:34.08fawadthey made it very open ended.
21:34.33fawadi'm pretty sure you can use patterns. not sure where they apply, though.
21:34.45fawads/patterns/variables
21:34.55u_int32_toh man
21:34.59u_int32_tthis is just making me horny
21:36.13u_int32_tim using one core dll for both mingw and visual c++
21:38.28linuxg0dwht u guys talking all the time
21:38.29fawadu_int32_t: i have one class defined in one cpp/hpp pair, another class in another.
21:38.32linuxg0d:)
21:38.41fawadeach has an instance of the other.
21:38.55fawadhow do i get that to work?
21:39.11fawadit seems that cpp doesn't like cyclic #includes.
21:39.12u_int32_tfawad, make them pointers or references
21:39.17u_int32_tand forward declare
21:39.29fawadclass Commands{
21:39.30fawadpublic:
21:39.30fawadSimulatorMainWindow window;
21:39.30fawadvoid lxi_pr();
21:39.30fawad};
21:39.40u_int32_tfawad, make sure you're either using #pragma once or doing #ifndef FAWADS_HEADER_A #define FAWADS_HEADER_A
21:39.48u_int32_tfawad, you want header guards
21:39.52fawadyeah, am doing that (thank goodness for cdt)
21:40.22u_int32_twell you can't have a Commads contain a SimulatorMainWindow and vice versa
21:40.26fawadit doesn't seem to like it though.
21:40.28u_int32_tits got to be Commands *
21:40.32fawadoh.
21:41.25fawadstill dunt like it.
21:41.40u_int32_tcomnands * and simulatormainwindow *
21:41.41fawadISO C++ forbids declaration of `SimulatorMainWindow' with no type
21:43.58u_int32_toh
21:44.04u_int32_tyou have to forward declare it
21:44.12fawadwhat does that mean?
21:44.17u_int32_tso just do something like struct SimulatorMainWindow; class Commands{...}
21:45.42u_int32_tah you can't use ${project_name} everywhere
21:46.54fawadu_int32_t: thanks. worked like a charm.
21:50.14fawadwhat's the purpose of forward declaration?
21:50.52u_int32_tfawad, means you're going to define it somewhere else
21:51.51u_int32_tatleast athts how I use it
21:52.07u_int32_tc++ doesn't need to know the full type because it just allocates size for a pointer
21:55.57fawadoh.
21:56.31fawadbut doesn't the preprocessor run through the files first?
21:56.31fawadbefore the compiler even sees the files?
21:57.48u_int32_tyes
21:58.09u_int32_tpreprocessor just replaces macros basically
21:59.50fawadok, so by the time the preprocessor is done with it, typea.hpp and typeb.hpp should be mushed into one big file internally.
22:00.01fawadand it should know about both type simultaneously.
22:00.15fawadso doesn't that make the forward declaration redundant?
22:02.40u_int32_twell the compiler doesn't have infinite knowledge
22:03.45u_int32_tnot only that, think about it like this
22:04.01u_int32_tC contains an S (not a pointer to S)
22:04.19u_int32_tif S has to contain C, that C must contain an S and that S must contain a C, etc,e tc
22:04.47fawadit is a pointer, though.
22:05.05fawadclass c{s* s1;}; class s{c* c1;}
22:05.52fawadif c* c1;,
22:05.54fawaddoes
22:06.06fawad*c1=c(); make sense?
22:06.18u_int32_twhat do you mean
22:06.40fawadin s, c1 is a pointer, right?
22:06.52fawadi want to create a c object and set c1 to point to that.
22:06.53u_int32_tyes
22:07.02fawadcroaking.
22:07.42u_int32_tc1 = new c()...
22:07.52u_int32_tand make sure that you delete c1 before reassigning it
22:09.07fawadnothing to delete.
22:09.17fawaddoing in constructor of s object.
22:09.45u_int32_toh wait a minute
22:09.47u_int32_tc1 is a pointer
22:24.09*** join/#linuxpakistan u_int32_t (~im_an_int@d225058fa3bef528.node.tor)
22:25.30u_int32_tfawad, you want to do c1=&(c())
22:25.36u_int32_tbut really, you want to do c1=new c()
22:25.42u_int32_tand then in ~C(){delete c1;}
22:27.06u_int32_tfawad, whats wrong with http://rafb.net/paste/results/JTAoQp42.html
22:28.31fawadoh, man.
22:28.36fawadway to confuse me.
22:28.51fawadwhat's a launch file?
22:28.56fawadno clue.
22:31.06u_int32_tfawad, see, when you do T * c; you have only allocated space for c;
22:31.11u_int32_tc points to random garbage
22:31.22u_int32_tso if you do *c, it tries to dereference a random address
22:31.26u_int32_twhich will be bad
22:32.09u_int32_tfawad, a launch file is the eclipse builder file
22:32.14u_int32_tlike add new builder
22:34.14fawadah. got it.
22:34.35fawaddoesn't the gui editor for the builder cut it?
22:34.59u_int32_tit does, but it doesnt seem to call the program!
22:37.28u_int32_tmaybe i should make it call explorer.exe to check
22:37.58fawadyeah.
22:38.15fawadmaybe you need to quote it (what with the spaces and all)
22:39.47u_int32_tnope
22:40.01u_int32_tis there some eclipse debug window
22:44.23fawadi dont think so.
22:44.36u_int32_tgrat
23:05.46fawadok, am off to school.
23:05.48fawadsee ya.
23:05.50fawadlolz.
23:21.28*** join/#linuxpakistan u_int32_t (~im_an_int@7f810d6d9c436c27.node.tor)
23:41.42*** join/#linuxpakistan u_int32_t (~im_an_int@4ed9af21019aa2b2.node.tor)

Generated by irclog2html.pl by Jeff Waugh - find it at freshmeat.net! Modified by Tim Riker to work with blootbot logs, split per channel, etc.