00:50.34 | *** join/#fredlug nomb_ (n=nomb@pool-71-171-64-46.clppva.east.verizon.net) |
01:22.48 | *** join/#fredlug nomb_ (n=nomb@pool-71-171-64-46.clppva.east.verizon.net) |
01:24.59 | *** join/#fredlug yuminstallasteri (n=Aaron@pool-71-171-64-46.clppva.east.verizon.net) |
01:27.18 | nomb_ | stickster: do you have any idea why glade is telling me to check for glad-- when i try to use c++ code for the gui? |
01:29.28 | stickster | Um, because that package is where the C++ glue for Glade is? |
01:29.46 | stickster | I thought Glade only did C and Perl by itself |
01:30.13 | nomb_ | not sure |
01:30.25 | nomb_ | are you any good at c++ im very stuck |
01:30.29 | jsmith | That's my understanding |
01:30.41 | jsmith | Uh... I haven't done much in C++ in about 6 years... why? |
01:30.50 | jsmith | Whatcha trying to do? |
01:31.38 | nomb_ | im making a c++ program to make using dm-crypt and luks easier |
01:31.46 | nomb_ | then im going to make a gui for it and host it |
01:31.48 | nomb_ | however |
01:32.17 | nomb_ | and to make it easier ill have u look at my forum post cause that has code on it already |
01:32.54 | stickster | nomb_: I think that exists already, doesn't it? Why not work on the existing code instead? |
01:32.58 | nomb_ | oh and do u guys know what the package is called i need to install to have glade to c++ code? |
01:33.04 | stickster | The package is luks-tools in Extras if I remember correctly |
01:33.16 | nomb_ | as a gui? |
01:33.35 | stickster | Yup |
01:34.53 | nomb_ | oh >< |
01:34.53 | nomb_ | well i still gotta figure out the error or I wont sleep here is the link |
01:34.53 | stickster | nomb_: What you need might be libglademm24 and/or libglademm24-devel |
01:34.53 | nomb_ | http://www.linuxquestions.org/questions/showthread.php?t=537815 |
01:34.54 | nomb_ | ill try those |
01:35.16 | nomb_ | but ya if u could take a look for me that'd be great |
01:35.42 | stickster | nomb_: Have you tried running gdb to see where the segfault is? |
01:36.09 | nomb_ | ya its where i use the variable to create the char array |
01:36.23 | nomb_ | it seg faults but keeps going |
01:37.05 | nomb_ | basically if i use the variable + any number it seg faults where if i just put in a number it doesn't and i don't know why |
01:39.30 | stickster | nomb_: My bet is that command.length() is not what you want, probably you're adding 30 to a pointer or something |
01:39.39 | stickster | Might depend on what command actually is |
01:39.42 | nomb_ | oh |
01:39.51 | stickster | If you do gdb, why don't you try printing some of the variables as you go |
01:39.55 | stickster | print/x command |
01:40.00 | stickster | print/x *command |
01:40.01 | stickster | and so forth. |
01:40.20 | nomb_ | cause someone just told me about gdb today and i don't know how to use it much :D |
01:40.28 | stickster | Heh :-) |
01:40.49 | nomb_ | i like programming but everything i wanna make is already done. It is discouraging |
01:40.50 | stickster | So, that can be really useful for figuring out these problems. I hate using C++ for this very reason |
01:41.10 | stickster | The damn language gets in the way of what you want to do. It's why I use Python on the rare occasions where I need to write something to get work done |
01:41.33 | stickster | Just my $0.02, there's something to be said for the speed :-) |
01:42.00 | nomb_ | another language to learn... you don't have a spare book i could borrow do u? |
01:42.02 | stickster | Once the program is doing the right thing, you can always rewrite |
01:42.06 | stickster | nomb_: Sure! |
01:42.15 | stickster | nomb_: http://diveintopython.com/ <-- free book |
01:42.20 | stickster | That's the one I used |
01:42.29 | stickster | Oh crap! |
01:42.31 | nomb_ | oh cool its all online? |
01:42.36 | stickster | They changed their site! |
01:42.49 | stickster | nomb_: http://diveintopython.org/ <-- free book |
01:42.50 | stickster | Sorry. |
01:43.05 | stickster | They both used to work, author must have dropped the .com domain |
01:43.19 | nomb_ | oh ok |
01:43.35 | nomb_ | so i can't use glade then to make a gui can i? |
01:43.56 | stickster | Sure you can |
01:44.09 | nomb_ | i thought it just did c, c++, and perl |
01:44.11 | stickster | Glade generates an XML file that defines all the interface stuff, and you can read that in with Python to use it |
01:44.20 | nomb_ | oh |
01:44.35 | nomb_ | i really don't know anthing about gtk this was a learn as u go project |
01:44.37 | stickster | It has pieces that generate C/C++ framework code for you... but the Python is dead-simple to do yourself |
01:45.02 | stickster | nomb_: Just Google "glade python" and go to town. There are lots of easy tutorials out there for this part. |
01:45.24 | stickster | I'm not going to pretend that I'm a GUI programming expert, but I even started a little project of my own this way, and I could get started very quickly! |
01:45.57 | nomb_ | i installed luks-tools and all it gave me was a glade file |
01:46.36 | stickster | nomb_: Really? You don't see a list of files if you do "rpm -ql luks-tools"? |
01:46.51 | stickster | Try running gnome-luks-format and tell me what you see. |
01:47.13 | nomb_ | oh >< |
01:47.27 | nomb_ | so ql lists things in an rpm thats neat |
01:48.23 | stickster | nomb_: and, conversely, rpm -qf will tell you which RPM package owns a particular file |
01:48.46 | nomb_ | that program makes u do a device like hda it doesn't have any options to create it in a container |
01:49.21 | stickster | nomb_: So download the source, and send the author(s) a patch |
01:49.39 | stickster | I'm sure they'd be interested in extending the functionality. That's the power of FOSS. |
01:49.55 | stickster | Rather than writing your own from scratch, if you find something that's 85% of what you want, add the other 15% and share it |
01:49.56 | nomb_ | true |
01:50.08 | nomb_ | my c++ program already can do all of the container aspect of it |
01:50.17 | stickster | Shouldn't be hard to integrate then. |
01:50.25 | nomb_ | i just wanted to fix the stupid seg fault thing |
01:50.29 | nomb_ | and i dont' know how |
01:50.44 | stickster | Like I said, either "watch" or simply line-by-line examine the variables |
01:50.48 | jsmith | segfaults usually happen when you write memory outside of what you're supposed to |
01:50.54 | stickster | jsmith++ |
01:50.57 | jsmith | Usually if you write past the end of an array |
01:51.06 | stickster | I meant: |
01:51.10 | stickster | ~jsmith++ |
01:51.24 | nomb_ | thats what i read but i added 30 to the array which was already bigger i don't understand it |
01:51.48 | nomb_ | did you look at my post jsmith? |
01:51.58 | jsmith | Another way to segfault is to follow a null pointer |
01:52.05 | jsmith | Did your program generate a core file? |
01:52.15 | nomb_ | ? |
01:52.18 | nomb_ | core file? |
01:52.51 | stickster | Anjuta is one, there are others. |
01:53.04 | nomb_ | i saw anjuta it look bad a$$ |
01:53.16 | nomb_ | jsmith can i send u my cpp file? |
01:53.30 | jsmith | nomb_: Type "ulimit -c unlimited", then crash your program |
01:53.47 | jsmith | It may create a file called "core.54321", where 54321 is the process id of your program |
01:54.05 | jsmith | Sure, send it my way... jaredsmith <at> jaredsmith <d0t> net |
01:54.12 | nomb_ | well it doesn't crash it keeps going and creates the file but it prints out seg fualt to the terminal |
01:57.29 | nomb_ | ok sent |
02:04.55 | nomb_ | hey paul what is your email / gpg key again? |
02:05.04 | nomb_ | or you can email me |
02:05.36 | stickster | stickster at gmail |
02:22.07 | nomb_ | oh wow i don't understand anything from the example program in that book on the first page... i feel a headache coming on |
03:36.32 | plarsen | stickster: you around? |
03:51.47 | *** join/#fredlug IrishW0lf (n=william@70-41-145-17.cust.wildblue.net) |
03:52.18 | IrishW0lf | hey gang, the gangs all here |
03:52.55 | IrishW0lf | except for Peter |
03:53.17 | IrishW0lf | stickster: howdy |
13:18.46 | *** join/#fredlug stickster (n=stickste@fedora/stickster) |
15:11.05 | *** join/#fredlug IrishW0lf (n=william@70-41-145-17.cust.wildblue.net) |
15:14.42 | *** join/#fredlug william (n=wdoakes@70-41-145-17.cust.wildblue.net) |
15:15.33 | william | stickster_work: hi, I have a question |
15:23.17 | IrishW0lf | Windows IP Configuration |
15:23.17 | IrishW0lf | Ethernet adapter Local Area Connection: |
15:23.17 | IrishW0lf | Connection-specific DNS Suffix . : wildblue.com |
15:23.17 | IrishW0lf | IP Address. . . . . . . . . . . . : 192.168.1.100 |
15:23.17 | IrishW0lf | Subnet Mask . . . . . . . . . . . : 255.255.255.0 |
15:23.18 | IrishW0lf | Default Gateway . . . . . . . . . : 192.168.1.1 |
15:23.20 | IrishW0lf | Tunnel adapter Teredo Tunneling Pseudo-Interface: |
15:23.23 | IrishW0lf | Connection-specific DNS Suffix . : |
15:23.35 | IrishW0lf | IP Address. . . . . . . . . . . . : 2001:0:4136:e37c:0:fbec:b9d6:6eee |
15:23.39 | IrishW0lf | IP Address. . . . . . . . . . . . : fe80::ffff:ffff:fffd%5 |
15:23.43 | IrishW0lf | Default Gateway . . . . . . . . . : :: |
15:23.43 | IrishW0lf | Tunnel adapter Automatic Tunneling Pseudo-Interface: |
15:23.43 | IrishW0lf | Connection-specific DNS Suffix . : wildblue.com |
15:23.43 | IrishW0lf | IP Address. . . . . . . . . . . . : fe80::5efe:192.168.1.100%2 |
15:23.43 | IrishW0lf | Default Gateway . . . . . . . . . : |
15:25.43 | IrishW0lf | I don't understand where the apparent VPN IP's are originating from. I didn't install a VPN that I'm aware of, and my ISP says it's not them |
15:26.39 | IrishW0lf | This is on my wife's computer. I do not show anything like this on mine. |
15:29.40 | IrishW0lf | stickster_work: please see above. Any suggestions would be appreciated. |
15:42.28 | *** join/#fredlug william (n=wdoakes@70-41-145-17.cust.wildblue.net) |
15:50.36 | *** join/#fredlug jsmith (n=jsmith@70.5.229.151) |
15:56.47 | *** join/#fredlug plarsen (n=plarsen@w158.z06400088.was-dc.dsl.cnc.net) |
15:57.33 | plarsen | I'm still not sure if we have a topic for Tuesday's meeting? |
16:00.52 | plarsen | Btw. I read an interesting article in Network Magazine that said that Linux is right now running on about 25% of all "smart phones" world wide. Mostly outside the US. They expect by 2010 it will be a much bigger "threat" to WinCE and PalmOS |
16:06.52 | jsmith | And Symbian... don't forget Symbian |
16:07.06 | jsmith | (since Symbian claims to be running on about half the smartphones out therer) |
16:07.13 | jsmith | s/therer/there/ |
16:30.51 | IrishW0lf_afk | plarsen: hi |
16:33.21 | IrishW0lf | plarsen: could you review my earlier dialog concerning VPNs and perhaps make a suggestion |
16:38.15 | *** join/#fredlug jsmith (n=jsmith@000-130-807.area3.spcsdns.net) |
16:48.42 | IrishW0lf | jsmith: hi |
16:49.49 | jsmith | Hey IrishW0lf |
16:49.51 | jsmith | What's up? |
16:50.57 | IrishW0lf | trying to figure out how my wife's computer running winxp has vpn tunneling established showing in her ipconfig |
16:51.53 | IrishW0lf | it shows up as follows: |
16:52.08 | IrishW0lf | Windows IP Configuration |
16:52.08 | IrishW0lf | Ethernet adapter Local Area Connection: |
16:52.11 | IrishW0lf | Connection-specific DNS Suffix . : wildblue.com |
16:52.15 | IrishW0lf | IP Address. . . . . . . . . . . . : 192.168.1.100 |
16:52.20 | IrishW0lf | Subnet Mask . . . . . . . . . . . : 255.255.255.0 |
16:52.25 | IrishW0lf | Default Gateway . . . . . . . . . : 192.168.1.1 |
16:52.27 | IrishW0lf | Tunnel adapter Teredo Tunneling Pseudo-Interface: |
16:52.31 | IrishW0lf | Connection-specific DNS Suffix . : |
16:52.35 | IrishW0lf | IP Address. . . . . . . . . . . . : 2001:0:4136:e37c:0:fbec:b9d6:6eee |
16:52.39 | IrishW0lf | IP Address. . . . . . . . . . . . : fe80::ffff:ffff:fffd%5 |
16:52.44 | IrishW0lf | Default Gateway . . . . . . . . . : :: |
16:52.48 | IrishW0lf | Tunnel adapter Automatic Tunneling Pseudo-Interface: |
16:52.48 | IrishW0lf | Connection-specific DNS Suffix . : wildblue.com |
16:52.48 | IrishW0lf | IP Address. . . . . . . . . . . . : fe80::5efe:192.168.1.100%2 |
16:52.48 | IrishW0lf | Default Gateway . . . . . . . . . : |
16:52.48 | IrishW0lf | any ideas? |
16:55.57 | plarsen | IrishW0lf: does she have VPN installed/configured? |
16:56.26 | IrishW0lf | no,not that i am aware of |
16:56.30 | plarsen | IrishW0lf: Most likely it's running even if inactive. There's no gateway, so it sounds like it's just standing by. |
16:56.55 | plarsen | Check your network setup (properties on the interface) |
16:57.05 | plarsen | They'll show what VPN has been installed on the interface. |
16:57.10 | IrishW0lf | ok, any ideas where i might find the client |
16:57.46 | IrishW0lf | trouble is, i didn't see any |
16:58.14 | IrishW0lf | but, i'll double check |
16:58.22 | plarsen | First off, it's a network protocol. So it will show up in the protocol list for each interface. |
16:58.33 | IrishW0lf | gotcha |
16:58.34 | plarsen | It might be listed on multiple interfaces, if you have multiple nics or services. |
16:58.50 | IrishW0lf | ok |
16:59.49 | IrishW0lf | that sure gives me more info than i had before, thanks |
17:00.13 | plarsen | Also, check what services you have running. Windows have a nasty tendency to have every piece of software running as services, even if they're not in use. "Just so they are ready when you want to use them". |
17:00.38 | IrishW0lf | haha, that's funny but true |
17:01.24 | IrishW0lf | thanks, Peter |
17:02.07 | plarsen | np |
17:18.46 | *** join/#fredlug stickster (n=stickste@fedora/stickster) |
20:10.55 | plarsen | stickster_work: is there a channel for fc7-test ?? |
20:23.09 | jsmith | #fedora-devel |
20:34.07 | *** join/#fredlug plarsen_ (n=plarsen@w158.z06400088.was-dc.dsl.cnc.net) |
22:59.12 | nombyte | stickster: im on page 232 of that python book and they haven't said anything about how to recieve input from a user |