| 00:05.47 | *** join/#uphpu wps (~wps@byu074602wks.rn.byu.edu) |
| 00:05.59 | *** mode/#uphpu [+o wps] by ChanServ |
| 00:35.52 | macnewbold | tierra|w, (and bigdog_ut and jsmith who are both gone already): google's dns is something really special... they were talking about it a while back in #gubug cause jlp in there interviewed with them for a job (got the offer too!) and knows all about it now |
| 00:36.28 | macnewbold | they use info about web traffic volume to detect reachability of a given server from a given IP block, and redirect traffic to the nearest reachable server |
| 00:36.45 | macnewbold | out of about 7 or so sites (IIRC) in the US and many more in other parts of the world |
| 00:37.05 | macnewbold | too bad #gubug doesn't have jbot to log for them... if you want the IRC logs, lemme know, cause I got some |
| 00:38.26 | macnewbold | it's really really cool stuff |
| 00:38.48 | *** join/#uphpu wps (~wps@byu074602wks.rn.byu.edu) |
| 00:38.58 | tierra|w | sweet, I would like a copy |
| 00:39.01 | *** mode/#uphpu [+o wps] by ChanServ |
| 00:40.41 | optikal_ | macnewbold: heck, i'd also be interested in that |
| 00:41.38 | tierra|w | bbiab though... grabbing some food |
| 00:42.07 | spiderbiter | me too, macnewbold |
| 00:42.11 | optikal_ | i still havent eaten lol.. im gunna grub something on the way home for sure.. being that its in 15min |
| 00:42.16 | macnewbold | k, I'm getting them |
| 00:42.22 | optikal_ | u r 2 slow |
| 00:42.27 | optikal_ | =) |
| 00:42.46 | spiderbiter | hey, anyone know of a place that offers free php tests? |
| 00:43.23 | optikal_ | php tests? |
| 00:43.25 | spiderbiter | I've gotta run, but post any recommended sites for testing your php mysql knowledge |
| 00:43.32 | optikal_ | ooh. |
| 00:46.06 | macnewbold | spiderbiter: brainbench offers theirs free from time to time |
| 00:46.23 | macnewbold | okay, the google stuff is posted now, tierra|w optikal_ and spiderbiter: |
| 00:46.39 | macnewbold | http://www.macnewbold.com/misc/ |
| 00:46.44 | macnewbold | in the #gubug dir |
| 00:46.48 | macnewbold | 4 files |
| 00:46.55 | macnewbold | the conversation overlaps all 4 of them |
| 00:52.26 | optikal_ | interesting |
| 00:58.29 | optikal_ | laters |
| 01:00.36 | *** join/#uphpu bigdog_ut (~bigdog_ut@70-58-42-135.slkc.qwest.net) |
| 01:00.36 | *** mode/#uphpu [+o bigdog_ut] by ChanServ |
| 01:09.01 | *** join/#uphpu bigdog (~bigdog_ut@70-58-42-135.slkc.qwest.net) |
| 02:41.40 | *** join/#uphpu jsmith (~jsmith@smithfam.dsl.xmission.com) |
| 02:55.01 | *** join/#uphpu drewbono (~andrew@byu176783wks.rn.byu.edu) |
| 04:50.46 | *** join/#uphpu wps (~wps@208.186.134.102) |
| 04:50.49 | *** mode/#uphpu [+o wps] by ChanServ |
| 05:19.32 | *** join/#uphpu dataw0lf (~dataw0lf@dataw0lf.org) |
| 05:38.07 | wps | ~uphpu archives |
| 05:38.08 | jbot | uphpu archives are http://ibot.rikers.org/uphpu/ |
| 05:38.43 | wps | jbot, no uphpu archives are http://ibot.rikers.org/%23uphpu/ |
| 05:38.44 | jbot | okay, wps |
| 06:30.52 | wps | dataw0lf: you available for a few questions about GRUB? |
| 06:30.59 | wps | (or anyone) |
| 06:31.44 | dataw0lf | wps: whaddya need to know? |
| 06:33.04 | wps | k... so I made some hardware changes to the server and reinstalled |
| 06:33.41 | wps | now, after BIOS, it comes to a screen that says GNU GRUB at the top and has a command-line type thing like... |
| 06:33.45 | wps | GRUB> _ |
| 06:34.00 | wps | I am not sure what needs to be done |
| 06:34.15 | wps | I am guessing that GRUB doesn't know what to do (ie: what to load) |
| 06:34.27 | wps | and that's why it is just sitting there |
| 06:35.05 | dataw0lf | try typing boot first for me. |
| 06:35.21 | wps | k |
| 06:35.43 | wps | Error 8: Kernel must be loaded before booting |
| 06:35.57 | dataw0lf | ok, do you know what partition root is on? |
| 06:37.11 | wps | umm... maybe |
| 06:37.23 | dataw0lf | hm well try a: |
| 06:37.31 | wps | ` /dev/cciss/c0d0 perhaps |
| 06:37.40 | dataw0lf | kernel /vmlinuz root=<partition> |
| 06:40.32 | wps | is that supposed to be "linuz"? or "linux"? |
| 06:40.48 | dataw0lf | 'linuz' |
| 06:42.00 | dataw0lf | see, on my system it's kernel /vmlinuz root=/dev/hda3 or something, whatever I partitioned the root filesystem as. |
| 06:42.27 | dataw0lf | well, actually, it's kernel /vmlinuz-2.6.8-686 or something, but you get the picture. |
| 06:50.45 | *** join/#uphpu xilch|h (~xilch@c-67-166-119-0.client.comcast.net) |
| 06:59.50 | wps | I did it! |
| 06:59.53 | *** join/#uphpu tierra|h (tierra@c-67-166-119-150.client.comcast.net) |
| 06:59.54 | wps | I fixed GRUB |
| 06:59.59 | wps | wahoo |
| 07:00.39 | wps | and I think that eth0 is working!!! |
| 07:01.21 | wps | YEAH!!! |
| 07:01.29 | wps | OS is installed and running! |
| 07:01.39 | wps | and I successfully ssh'd to the server from another box |
| 07:01.46 | wps | cha-ching-bodda-bing! |
| 07:03.37 | tierra|h | booyakasha! |
| 07:37.52 | *** join/#uphpu jbot (ibot@apt.bot.TimRiker.active.supporter.pdpc) |
| 07:37.52 | *** topic/#uphpu is Utah PHP Users - uphpu.org - Thanks to everyone who has donated! |
| 07:47.49 | *** join/#uphpu xilch|h (~xilch@c-67-166-119-0.client.comcast.net) |
| 09:15.56 | wps | anyone awake? |
| 14:04.25 | macnewbold | ~uphpu archives |
| 14:04.26 | jbot | rumour has it, uphpu archives is http://ibot.rikers.org/%23uphpu/ |
| 14:04.43 | macnewbold | jbot, uphpu archives is also http://uphpu.org/pipermail/uphpu/ |
| 14:04.44 | jbot | okay, macnewbold |
| 14:04.48 | *** join/#uphpu jsmith (~jsmith@smithfam.dsl.xmission.com) |
| 14:04.50 | macnewbold | ~uphpu archives |
| 14:04.51 | jbot | i heard uphpu archives is http://ibot.rikers.org/%23uphpu/, or http://uphpu.org/pipermail/uphpu/ |
| 14:04.54 | macnewbold | morning, jsmith |
| 14:05.01 | jsmith | Mornin' |
| 14:21.50 | *** join/#uphpu drewbono (~andrew@byu176783wks.rn.byu.edu) |
| 14:24.49 | *** join/#uphpu wps (~wps@208.186.134.102) |
| 14:27.05 | *** join/#uphpu jbot (ibot@apt.bot.TimRiker.active.supporter.pdpc) |
| 14:27.05 | *** topic/#uphpu is Utah PHP Users - uphpu.org - Thanks to everyone who has donated! |
| 15:20.50 | *** join/#uphpu bigdog_ut (~bigdog_ut@166.70.34.182) |
| 15:20.50 | *** mode/#uphpu [+o bigdog_ut] by ChanServ |
| 15:22.12 | *** part/#uphpu bigdog_ut (~bigdog_ut@166.70.34.182) |
| 15:22.18 | *** join/#uphpu bigdog_ut (~bigdog_ut@166.70.34.182) |
| 15:22.18 | *** mode/#uphpu [+o bigdog_ut] by ChanServ |
| 16:04.45 | *** join/#uphpu optikal (~optikal@67-40-118-81.slkc.uswest.net) |
| 16:06.13 | *** join/#uphpu wps (~wps@byu074602wks.rn.byu.edu) |
| 16:06.33 | *** mode/#uphpu [+o wps] by ChanServ |
| 16:14.06 | macnewbold | there was a discussion about google's DNS last night that I caught after bigdog_ut and wps had left... here's some info you might be interested in: |
| 16:14.13 | macnewbold | macnewbold: tierra|w, (and bigdog_ut and jsmith who are both gone already): google's dns is something really special... they were talking about it a while back in #gubug cause jlp in there interviewed with them for a job (got the offer too!) and knows all about it now |
| 16:14.18 | macnewbold | macnewbold: they use info about web traffic volume to detect reachability of a given server from a given IP block, and redirect traffic to the nearest reachable server |
| 16:14.21 | macnewbold | macnewbold: out of about 7 or so sites (IIRC) in the US and many more in other parts of the world |
| 16:14.26 | macnewbold | macnewbold: it's really really cool stuff |
| 16:14.41 | macnewbold | macnewbold: http://www.macnewbold.com/misc/ |
| 16:14.43 | macnewbold | macnewbold: in the #gubug dir |
| 16:14.45 | macnewbold | macnewbold: 4 files |
| 16:14.50 | macnewbold | macnewbold: the conversation overlaps all 4 of them |
| 16:15.13 | optikal | waz that 4 me? |
| 16:15.46 | optikal | thanks for posting that up tho |
| 16:15.53 | optikal | i wasn't really curious until i read it |
| 16:18.45 | *** join/#uphpu fungus (~fungus@firebat.aros.net) |
| 16:19.24 | *** part/#uphpu fungus (~fungus@firebat.aros.net) |
| 16:19.27 | macnewbold | mostly that was for bigdog_ut and wps, who were asking about it last night |
| 16:23.12 | optikal | aah |
| 16:23.25 | macnewbold | google's dns magic is some really cool stuff |
| 16:33.47 | bigdog_ut | whatz the jist of the dns with them...i just dont have time to read it all |
| 16:37.47 | macnewbold | hehe |
| 16:38.13 | macnewbold | they return dns results based on web traffic volume... they send you to the closest site, |
| 16:38.28 | macnewbold | but if web traffic drops off from your IP block (your ISP), then the routing must be hozed |
| 16:38.38 | macnewbold | so they send you to a different one that you _can_ reach |
| 16:38.46 | macnewbold | that way, google hardly ever appears down |
| 16:39.37 | bigdog_ut | cool thanks |
| 16:39.42 | bigdog_ut | cool thankz |
| 16:55.01 | bigdog_ut | man it is quiet |
| 16:55.28 | optikal | hehe |
| 16:56.55 | bigdog_ut | tell me about it |
| 16:57.11 | bigdog_ut | then wps ignores me while i am trying to help him last night |
| 16:57.41 | wps | what? |
| 16:57.51 | wps | you disappeared! |
| 17:00.18 | bigdog_ut | dude i was up all night |
| 17:00.26 | bigdog_ut | you where gone bro |
| 17:00.40 | bigdog_ut | all my hard work...and then neglect |
| 17:00.44 | bigdog_ut | :( |
| 17:01.37 | wps | really? |
| 17:01.43 | bigdog_ut | y |
| 17:01.48 | wps | about two-thirty, you logged off suddenly |
| 17:01.56 | wps | I waited around until three hoping you'd come back, but you never did |
| 17:02.00 | bigdog_ut | i was still on |
| 17:02.04 | wps | really? |
| 17:02.15 | wps | sheeesh |
| 17:02.28 | wps | I logged on and off a few times, but nothing |
| 17:02.32 | wps | lame |
| 17:03.00 | wps | sorry... I was still there |
| 17:03.08 | wps | I thought about sending an email. I should have. |
| 17:03.20 | wps | Didn't think that I should call at that hour :) |
| 17:03.48 | bigdog_ut | yeah i was up...you can call my cell phone |
| 17:03.56 | wps | dang |
| 17:03.58 | wps | that's lame |
| 17:04.06 | bigdog_ut | did you get it finished |
| 17:04.06 | wps | would have been nice to have finished |
| 17:04.13 | wps | I got apt-get working |
| 17:04.20 | wps | and it says that curl is installed and up to date |
| 17:04.34 | bigdog_ut | u need the curl-dev rpms |
| 17:04.46 | wps | I showed drewbono the error and he ran it through google and found that many are having the same error |
| 17:04.52 | wps | ah "curl-dev" |
| 17:05.19 | wps | I will try that as soon as I get home in an hour |
| 17:05.23 | bigdog_ut | yeah you need the dev files |
| 17:05.26 | bigdog_ut | k |
| 17:07.22 | *** join/#uphpu SpeechBot (~PircBot@69.27.4.131) |
| 17:08.08 | *** join/#uphpu tbye (~tbye@69.27.4.131) |
| 17:08.38 | tbye | Morning all |
| 17:08.52 | bigdog_ut | mornin' tbye |
| 17:10.06 | macnewbold | g'day |
| 17:26.37 | macnewbold | Any smarty users out there today? Got a quick question... |
| 17:26.42 | macnewbold | (or phpbb users, for that matter) |
| 17:27.44 | macnewbold | tbye: I don't believe you've introduced us to SpeechBot either... |
| 17:28.29 | tbye | Heh... he's uhm... a friend I was introduced to on the O'reilly network today... only it was the uhmm.. J-word section... |
| 17:28.50 | tbye | He speaks whatever text shows up in the channel so I can continue to work without the channel up. |
| 17:29.04 | tbye | channel window that is. |
| 17:29.43 | macnewbold | well, hi there, SpeechBot... how are you today? |
| 17:29.47 | synic | so if I were to say things like "my boss is a monkey" |
| 17:29.48 | macnewbold | hm.. no answer |
| 17:29.53 | synic | you're boss might think you said it? |
| 17:30.01 | synic | er... your |
| 17:30.05 | tbye | He might... if I weren't working from home today. |
| 17:30.08 | macnewbold | what if we said "tbye stinks tbye stinks tbye stinks"? |
| 17:30.20 | synic | drat |
| 17:30.20 | macnewbold | "Honey, you're fat!" |
| 17:30.20 | tbye | lol |
| 17:30.23 | tbye | that's great. |
| 17:30.24 | macnewbold | you married, tbye? |
| 17:30.27 | tbye | ya |
| 17:30.28 | tbye | hehe |
| 17:30.34 | macnewbold | did she hear me? :) |
| 17:30.40 | macnewbold | >:-) |
| 17:30.44 | tbye | nah... she's wrangling our 1.5 year old. |
| 17:30.44 | macnewbold | hehe |
| 17:30.47 | macnewbold | just kidding |
| 17:30.50 | macnewbold | oh, you've got one too? |
| 17:31.08 | tbye | Oh ya... she's a blast |
| 17:31.16 | macnewbold | we've got two boys 2yrs and 3.5 yrs. |
| 17:31.26 | macnewbold | lemme tell ya, potty training ain't fun |
| 17:31.36 | optikal | hah |
| 17:31.48 | macnewbold | optikal laughs, cause he's still in training himself |
| 17:31.50 | tbye | Hehe... our little girl ditches her diaper after she "moves"... keeps us on our toes. |
| 17:31.54 | tbye | lol |
| 17:31.56 | macnewbold | yeah, fun |
| 17:32.05 | optikal | macnewbold: heeey! i told u not to tell anyone. |
| 17:32.08 | macnewbold | so what were you saying about getting work done, tbye? |
| 17:32.32 | macnewbold | hehe |
| 17:32.33 | macnewbold | j/k |
| 17:32.46 | optikal | i spilled my water.. i swear! |
| 17:32.48 | tbye | hehe... ya really |
| 17:33.13 | macnewbold | anybody know if smarty templates (.tpl files) can include php code directly? |
| 17:33.21 | macnewbold | or if they can only do template code... |
| 17:33.32 | optikal | never touches tpls |
| 17:34.17 | synic | templates are the only way to fly... though I don't use smarty. |
| 17:35.04 | wps | yes, macnewbold, they can |
| 17:35.12 | wps | you can break out of smarty and run PHP right there |
| 17:35.17 | wps | although that kind of defeats the point |
| 17:36.20 | bigdog_ut | i think xslt is great for templates |
| 17:36.29 | wps | indeed |
| 17:41.57 | bigdog_ut | i think smarty is too bloated |
| 17:42.04 | bigdog_ut | it does to much for a template system |
| 17:44.43 | wps | wholeheartedly |
| 18:08.51 | *** join/#uphpu vontrapp (~von@user-225.kingsley2.fiber.net) |
| 18:09.27 | vontrapp | is there a function or a special variable in php to get the referer and one to get the requested page? |
| 18:09.35 | macnewbold | yes |
| 18:09.38 | macnewbold | in $_SERVER |
| 18:09.40 | bigdog_ut | yea |
| 18:09.51 | vontrapp | so $_SERVER['referer'] |
| 18:09.55 | macnewbold | REQUEST_URI and HTTP_REFERRER I think |
| 18:10.06 | bigdog_ut | or $_REQUEST |
| 18:10.07 | macnewbold | if not, try a print_r($_SERVER) |
| 18:10.15 | bigdog_ut | i think? |
| 18:10.30 | bigdog_ut | i remember that you need to be careful with them cause they can be spoofed |
| 18:12.20 | macnewbold | easily, too |
| 18:12.28 | macnewbold | the request uri though is the real thing |
| 18:12.42 | macnewbold | can't spoof what page you're asking for, or you'd be asking for a different page :) |
| 18:13.03 | macnewbold | kind of like trying to spoof the destination address of an IP packet |
| 18:13.20 | bigdog_ut | yea for the request uri |
| 18:25.21 | *** join/#uphpu wps (~wps@208.186.134.102) |
| 18:25.41 | *** mode/#uphpu [+o wps] by ChanServ |
| 18:35.17 | *** join/#uphpu drewbono (~andrew@byu176783wks.rn.byu.edu) |
| 18:39.37 | *** join/#uphpu sbopti (~PircBot@69.27.4.131) |
| 18:41.28 | *** join/#uphpu synic (~synic@66.239.17.228.ptr.us.xo.net) |
| 18:42.18 | optikal | hmm |
| 18:48.33 | wps | ~sbopti |
| 18:55.02 | dataw0lf | every year is getting shorter.... |
| 18:55.40 | wps | no kidding |
| 18:56.23 | dataw0lf | Pink Floyd lyrics. |
| 18:56.48 | tbye | ... one day closer to death. |
| 19:02.08 | optikal | lol |
| 19:02.17 | optikal | Im sure you could recognize Comfortably Numb |
| 19:03.52 | wps | anyone have any ideas about my curl problem (posted to list)? |
| 19:04.43 | synic | wps: libidn is what you need, it looks like |
| 19:05.11 | wps | libidn is already the newest version. |
| 19:05.11 | wps | 0 upgraded, 0 newly installed, 0 removed and 0 not upgraded. |
| 19:05.25 | synic | try ldconfig and then make |
| 19:06.04 | wps | [root@pedro ~]# apt-get install ldconfig |
| 19:06.04 | wps | Reading Package Lists... Done |
| 19:06.04 | wps | Building Dependency Tree... Done |
| 19:06.04 | wps | Selecting glibc for 'ldconfig' |
| 19:06.05 | wps | glibc is already the newest version. |
| 19:06.07 | wps | 0 upgraded, 0 newly installed, 0 removed and 0 not upgraded. |
| 19:06.10 | wps | [root@pedro ~]# make |
| 19:06.12 | wps | make: *** No targets specified and no makefile found. Stop. |
| 19:06.19 | synic | er... ./configure |
| 19:07.23 | wps | same: configure: error: There is something wrong. Please check config.log for more information. |
| 19:07.54 | dataw0lf | *boggle* how old are you wps? |
| 19:08.26 | wps | 25 |
| 19:08.38 | dataw0lf | *boggle* |
| 19:08.45 | dataw0lf | Pink Floyd rocks. |
| 19:08.57 | wps | I was a sheltered chilld |
| 19:09.11 | wps | grew up on barry manlow, anne murray, and bobby vinton |
| 19:09.50 | dataw0lf | heh, I grew up on Pink Floyd, Bob Dylan, the Doors, etc. |
| 19:10.16 | synic | I grew up on Randy Travis and Kenny Rogers. |
| 19:10.48 | wps | this is when I get the most frustrated with linux... when something won't work and I have absolutely no idea what to do |
| 19:11.02 | dataw0lf | tldp.org wps |
| 19:11.05 | tbye | Ultravox, Psychedelic Furs, Yello, Bronski Beat, Soft Cell... it's a wonder I'm not gay. |
| 19:17.52 | macnewbold | ~wps++ for naming the server pedro |
| 19:18.05 | macnewbold | ~wps++ |
| 19:18.23 | macnewbold | doh... adding karma with "for ..." on the end doesn't work... |
| 19:19.45 | wps | any ideas about this stupid curl problem, macnewbold? |
| 19:20.00 | wps | thanks, took me an entire day to come up with the name for the server |
| 19:20.07 | macnewbold | lemme scroll back and take a look |
| 19:20.19 | wps | I wanted something only three characters in length, but couldn't come up with something I liked |
| 19:20.35 | wps | I posted to he mailing list too (covers all the details) |
| 19:20.46 | macnewbold | ah, that's probably better |
| 19:21.00 | tbye | I like her bangs. |
| 19:22.04 | macnewbold | I think this is the magic one, wps: |
| 19:22.10 | macnewbold | <PROTECTED> |
| 19:22.17 | macnewbold | the idn library is not found |
| 19:22.25 | synic | he's got it installed, though |
| 19:22.26 | macnewbold | try locating it, or something that installs it |
| 19:22.36 | tbye | I had that problem installing asterisk recently. |
| 19:23.05 | tbye | I had to install libidn again... for some stupid reason... FC3 |
| 19:23.18 | macnewbold | yeah, try reinstalling |
| 19:23.32 | macnewbold | maybe it needs ldconfig to be run or something like that |
| 19:23.34 | wps | k... how do I go about reinstalling? uninstall first with apt-get and then reinstall? |
| 19:23.55 | tbye | that's what I did... rpmish of course... but ya. |
| 19:24.32 | wps | so is it "libidn" or "lidn" ? |
| 19:24.39 | tbye | libidn |
| 19:25.42 | macnewbold | the l in lidn is the -l option of gcc, which causes it to look for "libidn" |
| 19:25.47 | wps | okay... remove went fine |
| 19:25.53 | macnewbold | okay, try it now |
| 19:25.55 | wps | but then when I tried "apt-get install libidn" |
| 19:26.03 | wps | I got: "E: Couldn't find package libidn" |
| 19:26.19 | macnewbold | aha! |
| 19:26.22 | macnewbold | that's it, wps! |
| 19:26.24 | macnewbold | you've done it! |
| 19:26.28 | wps | :) |
| 19:26.34 | wps | what did I do? |
| 19:26.43 | macnewbold | I dunno, I just wanted to say that... |
| 19:26.44 | macnewbold | ;) |
| 19:26.56 | macnewbold | this reminds me of why I like FreeBSD... :) |
| 19:27.03 | wps | so how do reinstall this thing |
| 19:27.18 | macnewbold | how did you remove it? |
| 19:27.40 | wps | apt-get remove libidn |
| 19:28.37 | wps | was that the right way to do that? |
| 19:28.49 | macnewbold | ~google libidn apt |
| 19:28.59 | tbye | synic: Are you hear? |
| 19:29.14 | tbye | my ears... my ears... |
| 19:29.18 | tbye | make it stop... |
| 19:29.20 | tbye | lol |
| 19:29.25 | tbye | die speechbot die! |
| 19:29.53 | macnewbold | is there an apt-get command for finding if a package is locatable? |
| 19:30.03 | macnewbold | i.e. check your repositories and see if it's there? |
| 19:30.06 | wps | drewbono? |
| 19:30.08 | macnewbold | you mihgt not have a repository listed that has it |
| 19:30.26 | macnewbold | ~google tbye |
| 19:30.32 | macnewbold | hehe |
| 19:30.38 | macnewbold | talk, sbopti, talk! |
| 19:30.57 | wps | macnewbold: "apt-cache search libidn" returned nothing |
| 19:31.28 | macnewbold | I bet it can't find it then... |
| 19:31.33 | tbye | I hate myself... |
| 19:31.51 | tbye | I hate my hair, I wish I was dead. |
| 19:32.01 | macnewbold | you need a repo that carries the right libidn |
| 19:32.25 | macnewbold | so tbye, does speechbot talk when you /msg it? or just what's said in the chat room publicly? |
| 19:35.07 | bigdog_ut | wps send me the output from the configure command...all if you can |
| 19:36.06 | wps | bigdog_ut: sent |
| 19:38.30 | bigdog_ut | okay curl_easy_perform is a function of curl |
| 19:38.47 | wps | k... |
| 19:39.01 | tbye | Do you absolutely need to use the libcurl version? |
| 19:39.24 | synic | tbye: yeah, I'm here |
| 19:39.28 | bigdog_ut | wps, will you be using curl in any apps? |
| 19:39.32 | tbye | I ran into issues with it... I built a library for talking to Authorize.Net and ended up just exec'ing curl from the command line. |
| 19:39.35 | wps | not currently, no |
| 19:39.44 | tbye | synic: Ever listen to JazzMusique? |
| 19:39.44 | wps | just left it in case I might want it in the future |
| 19:39.48 | synic | tbye: nope |
| 19:39.54 | wps | I am about to just yank it from the install though |
| 19:40.02 | tbye | http://www.netmusique.com |
| 19:40.12 | bigdog_ut | yank it...it seems to be a bug |
| 19:40.17 | wps | k |
| 19:40.21 | tbye | I agree with bigdog |
| 19:40.29 | tbye | call it from the commandline if you need it... |
| 19:40.56 | bigdog_ut | or you can build your own curl later when you need it and recompile php with the new curl |
| 19:41.02 | bigdog_ut | i dont like binarys |
| 19:45.11 | tbye | bigdog_ut: Gentoo user? |
| 19:45.22 | bigdog_ut | yes indeed |
| 19:45.37 | tbye | explains things... hehe |
| 19:45.46 | bigdog_ut | i love it |
| 19:46.02 | bigdog_ut | i am looking at linux from scratch and ubuntu some as well |
| 19:46.10 | tbye | I know this guy who likes to scratch at his eyes... weird... |
| 19:46.14 | bigdog_ut | ubuntu for kids and linux from scratch for me |
| 19:46.51 | tbye | I'm stuck using distros that the MCSEs at work can handle. |
| 19:47.02 | bigdog_ut | lol |
| 19:47.05 | bigdog_ut | mandrake? |
| 19:47.12 | tbye | exactly! |
| 19:47.16 | tbye | FC3 |
| 19:47.20 | tbye | the likes... |
| 19:47.41 | bigdog_ut | i cut my teeth on redhat6.1-7.3, mandrake7.0-10. and now gentoo |
| 19:48.56 | bigdog_ut | no i am just old |
| 19:48.57 | tbye | I once used this thing called Slackware... weird. |
| 19:49.23 | bigdog_ut | slack is cool i used it once...did not really like |
| 19:49.30 | tbye | Anyone use ActiveState Komodo for PHP? |
| 19:49.33 | bigdog_ut | same with cauldera and suse |
| 19:49.59 | tbye | Poor Darl... |
| 19:50.21 | tbye | May he not get anything he wants. |
| 19:50.54 | bigdog_ut | lol |
| 19:52.21 | synic | tbye: it's all about jedit |
| 19:52.34 | macnewbold | tbye: does sbopti speak when /msg'd to? |
| 19:52.49 | bigdog_ut | jedit sucks |
| 19:53.04 | synic | you suck! |
| 19:53.05 | synic | hehe |
| 19:53.18 | bigdog_ut | synic, nows its all about eclipse |
| 19:55.44 | synic | eclipse makes all of your base belong to it |
| 19:56.19 | tbye | macnewbold: not sure about the bot... pretty simple. |
| 19:56.36 | macnewbold | lemme test it... it's currently sbopti right? |
| 19:56.47 | tbye | yes |
| 19:56.51 | macnewbold | sweet... |
| 19:56.51 | macnewbold | hehe |
| 19:57.15 | tbye | Is there a pastebin? |
| 19:57.21 | tbye | I'll post the code for it. |
| 19:59.09 | bigdog_ut | all base? what? |
| 20:00.09 | tbye | macnewbold: http://www.pastebin.com/237261 |
| 20:00.25 | synic | bigdog_ut: it takes your machine over, it's a beast! |
| 20:00.30 | tbye | it may burn your eyes |
| 20:00.51 | bigdog_ut | yeah when running on a 486 it will do that to you |
| 20:00.56 | synic | Kernel: Linux 2.6.8.1 | Distro: Arch Linux 0.7 (Wombat) | CPU: AMD Athlon(tm) XP 3000+ @ 2167 Mhz | Mem usage: 384.7/883.8 MB (44%) | Swap usage: 112.7/953.9 MB (12%) | Disk usage(WDC WD400BB-75CLB0): 10.7/30.8 GB (35%) | Uptime: 1 wk 23 hrs 47 mins |
| 20:01.03 | synic | hardly a 486 :) |
| 20:01.39 | bigdog_ut | then what you complaining for |
| 20:01.50 | synic | lol, it's still slow even on this machine |
| 20:02.27 | bigdog_ut | really...that is weird, arch linux will do that i guess...no it is a beast |
| 20:02.42 | bigdog_ut | i am trying to compile it native and see the diffs |
| 20:04.29 | bigdog_ut | what does jedit give besides editing |
| 20:04.45 | synic | depends on the plugins you use |
| 20:07.21 | bigdog_ut | synic i was thinking of gtk'in your app |
| 20:07.37 | synic | jbother? |
| 20:07.44 | bigdog_ut | y |
| 20:07.56 | bigdog_ut | java-gnome'in it |
| 20:07.57 | synic | that'd be sweet |
| 20:08.12 | synic | have you ever done anything with swt? |
| 20:08.17 | bigdog_ut | yeah |
| 20:08.30 | synic | what are the drawbacks? how come everyone doesn't use it? |
| 20:08.35 | bigdog_ut | i dont like it too much |
| 20:08.44 | bigdog_ut | cause it is a beast to use |
| 20:08.47 | synic | tbye: this is some good stuff. |
| 20:08.47 | bigdog_ut | that and jface |
| 20:09.08 | tbye | synic: thought you'd dig it. |
| 20:13.49 | macnewbold | tbye: thanks for the paste... you should have warned me about it being java. |
| 20:13.58 | macnewbold | did you put the <?php at the top, or did pastebin? |
| 20:15.26 | wps | pastebin does that |
| 20:15.38 | synic | http://www.rafb.net/paste is better for other languages |
| 20:16.13 | *** join/#uphpu tierra|w (~tierra@dsl093-225-126.slc1.dsl.speakeasy.net) |
| 20:22.01 | tbye | macnewbold: I said it may burn your eyes... |
| 20:22.09 | macnewbold | definitely |
| 20:22.15 | tbye | hehe |
| 20:22.16 | macnewbold | but I didn't get it until after I read it |
| 20:22.23 | macnewbold | and by then it was too late... |
| 20:22.24 | *** join/#uphpu jsmith (~jsmith@pip.drs1.omniture.com) |
| 20:22.47 | macnewbold | so if at our next meeting (in < 2weeks), you see me with patches over my eyes and a red and white cane... |
| 20:22.47 | synic | macnewbold: some day you're going to admit that java is cool. |
| 20:22.55 | synic | dataw0lf: you too. |
| 20:23.03 | wps | jsmith, my fans seem to be one no matter what if the unit is plugged in... even if it is off |
| 20:23.07 | wps | is that normal behavior? |
| 20:23.16 | macnewbold | java has its advantages... |
| 20:23.21 | jsmith | wps: That's strange. |
| 20:23.41 | macnewbold | I just don't know what they are yet |
| 20:23.59 | jsmith | wps: Of course, all mine are in noisy data centers, so I wouldn't know if that's really normal. |
| 20:24.00 | tbye | write once... |
| 20:24.04 | tbye | debug everywhere... |
| 20:24.09 | jsmith | tbye: Write once -- curse everywhere? |
| 20:24.21 | tbye | write once... blood everywhere. |
| 20:24.53 | jsmith | Ah -- java isn't that bad -- it's just not my first choice. |
| 20:25.11 | jsmith | (Hence the reason I hang out in #uphpu, instead of #java-junkies) |
| 20:25.31 | tbye | besides it led to things like... C#... errr... |
| 20:26.00 | jsmith | C# isn't that bad eitherj |
| 20:26.06 | jsmith | s/eitherj/either/ |
| 20:34.26 | jsmith | C'mon -- they're just tools, right? You wouldn't build a house with just a hand-saw, right? Different jobs and different circumstances require different tools. |
| 20:36.31 | tierra|w | yeah, but to this day, I have not found one good job that C# is a good tool for versus some other tool |
| 20:36.51 | tierra|w | it's a useless tool |
| 20:37.11 | jsmith | I found it great for a Windows program I needed to write quickly that interacted with Microsoft Excel COM+ objects. |
| 20:37.28 | bigdog_ut | yeah |
| 20:37.28 | jsmith | Does that mean it's a great fit for anything else? Maybe not... |
| 20:37.31 | tierra|w | exactly... useless |
| 20:37.34 | jsmith | tierra|w: Don't be so closed-minded. |
| 20:38.01 | jsmith | Might be useless to you, but that doesn't make it useless. |
| 20:38.07 | tierra|w | jsmith, I'm not... trust me... I'm a huge Gentoo fanatic... you want to know what's running on my laptop right now? Ubuntu! |
| 20:38.10 | bigdog_ut | true to a point |
| 20:38.40 | jsmith | tierra|w: So? That doesn't mean anything to me. Running both Gentoo and Ubuntu doesn't mean you're open-minded. :-) |
| 20:38.43 | *** join/#uphpu drewbono (~andrew@byu176783wks.rn.byu.edu) |
| 20:38.52 | tierra|w | I'll try anything and everything... I take and consider everything... |
| 20:39.42 | tierra|w | I will experiment with everything, I'm not close-minded... I've considered C#, and found that it's useless |
| 20:40.03 | optikal | bleh.. and just because he says C# is useless doesnt mean hes closeminded either |
| 20:40.37 | bigdog_ut | oh crap...here comes optikal |
| 20:40.44 | tierra|w | ^5 |
| 20:41.11 | optikal | it may have its uses.. but then again, so does a Zamboni on ice.. but does it on the streets? nope |
| 20:41.11 | bigdog_ut | ^5 |
| 20:41.14 | bigdog_ut | at you |
| 20:41.32 | bigdog_ut | but that is what jsmith is saying though too |
| 20:41.35 | tierra|w | I almost thought you were going to leave me hanging |
| 20:41.35 | optikal | and i dont wanna be on the ice.. evar. P |
| 20:41.37 | bigdog_ut | that is has one purpose |
| 20:41.41 | bigdog_ut | lol |
| 20:41.51 | bigdog_ut | sorry helping wps |
| 20:41.53 | tierra|w | anyway, I'm off to grab some food... bbl |
| 20:41.57 | optikal | tierra|w: sucka |
| 20:45.36 | dataw0lf | optikal: check out dataw0lf.org now. it's really broken though. |
| 20:45.38 | bigdog_ut | pretzels sound good |
| 20:46.01 | synic | dataw0lf: you just can't leave it alone, can you? |
| 20:46.04 | optikal | bigdog_ut: they r, except when u eat em all the time cuz u dont have a car to go to lunch w/ |
| 20:46.13 | dataw0lf | synic: nope. |
| 20:46.24 | bigdog_ut | yeah, i am a sunflower seed freak |
| 20:46.40 | synic | bigdog_ut: so am I. |
| 20:46.46 | *** join/#uphpu jakea (~jakea@byu147137wks.byu.edu) |
| 20:46.48 | synic | I eat like three bags of the frito lay ones a week |
| 20:47.14 | optikal | bigdog_ut: wtf? |
| 20:47.20 | optikal | bigdog_ut: incoming pic just 4 u |
| 20:47.45 | *** join/#uphpu mindjuju (~mindjuju@63.226.104.67) |
| 20:47.47 | optikal | (uploading) |
| 20:47.51 | bigdog_ut | uploading where? |
| 20:48.04 | optikal | from my phone |
| 20:48.06 | optikal | took a pic of something |
| 20:48.16 | optikal | re: 'bigdog_ut yeah, i am a sunflower seed freak' |
| 20:48.16 | bigdog_ut | where you postin? |
| 20:48.44 | optikal | 1sec and ill link u when its up |
| 20:48.49 | bigdog_ut | k |
| 20:49.53 | optikal | accidentalyl sent it to the wrong site heh |
| 20:50.04 | optikal | mate? lol |
| 20:50.34 | bigdog_ut | yeah bro |
| 20:50.44 | bigdog_ut | argentine drink |
| 20:50.47 | bigdog_ut | gotta have it |
| 20:50.58 | optikal | yerba mate? |
| 20:51.09 | bigdog_ut | hell ya |
| 20:51.24 | bigdog_ut | dataw0lf, where is the gallery? |
| 20:52.57 | optikal | bigdog_ut: 3 days worth.. http://optikal.textamerica.com/?r=2014123 |
| 20:53.02 | optikal | inside.. is empty sunflower seeds |
| 20:53.47 | bigdog_ut | nice |
| 20:54.20 | optikal | hehe |
| 20:54.26 | optikal | yah.. im a big time sunflower seed freak |
| 20:54.45 | bigdog_ut | i eat like a bag a day |
| 20:54.48 | optikal | yah |
| 20:55.11 | bigdog_ut | i love the jalapeno ones |
| 20:55.13 | optikal | I bought this bag of 'Spitz' seeds for $1.50 @ 7-11, and its a big bag.. and its half full |
| 20:55.20 | optikal | i havent tried any of the flavor ones yet.. im going to next time |
| 20:55.25 | optikal | i just love original |
| 20:55.26 | optikal | heh |
| 20:55.34 | bigdog_ut | i dont like spitz...im a davids man |
| 20:55.56 | optikal | me too |
| 20:56.02 | optikal | but.. they were out of davids |
| 20:56.06 | bigdog_ut | i tried spitz a couple times...my wife bought me four bags and i went through them to fast i think |
| 20:56.17 | bigdog_ut | yeah seconfs |
| 21:07.47 | *** join/#uphpu drewbono (~andrew@byu176783wks.rn.byu.edu) |
| 21:09.31 | macnewbold | bigdog_ut: why didn't you tell me you were a mate guy? Tenemos que matear en la proxima reunion UPHPU! |
| 21:10.06 | bigdog_ut | si macnewbold nos tenemos tocar |
| 21:10.14 | bigdog_ut | lol |
| 21:10.15 | bigdog_ut | tomar |
| 21:10.17 | macnewbold | hehe |
| 21:10.23 | bigdog_ut | tocar tambien |
| 21:10.35 | macnewbold | estuviste en argentina por mucho tiempo? |
| 21:10.45 | bigdog_ut | dos anos...el mision |
| 21:11.01 | macnewbold | claro... que bueno. servi en Rosario. |
| 21:11.04 | macnewbold | y vos? |
| 21:11.05 | bigdog_ut | el sur de argentino |
| 21:11.10 | macnewbold | neuquen? |
| 21:11.13 | bigdog_ut | si |
| 21:11.21 | bigdog_ut | el gran mision neuquen |
| 21:11.35 | bigdog_ut | 94-96 |
| 21:11.40 | macnewbold | conocio un Presidente Coronel? Un Santafesino? |
| 21:11.57 | bigdog_ut | si fue mi primero presidente |
| 21:12.02 | macnewbold | que bueno |
| 21:12.17 | macnewbold | yo le conoci en Santa Fe... era consejero a mi presidente |
| 21:12.49 | macnewbold | sus hijos son muy divertidos... uno sirvio en Georgia, USA |
| 21:12.52 | bigdog_ut | si me aquerdo...se fue despues su mision |
| 21:13.08 | bigdog_ut | si...durante los olympics |
| 21:14.04 | macnewbold | que cosa buena, che |
| 21:14.12 | macnewbold | no puedo dejar de sonreirme... |
| 21:14.21 | optikal | you crazies |
| 21:14.25 | macnewbold | anyway, basta with the spanish memories... |
| 21:14.26 | bigdog_ut | lol |
| 21:14.31 | optikal | tu habla en ingles, por favor! |
| 21:14.33 | bigdog_ut | el castillano |
| 21:14.40 | macnewbold | che, loco, que te pasa?! |
| 21:14.41 | bigdog_ut | tu hablas |
| 21:14.52 | optikal | mi pantalones el blanco en la casa |
| 21:15.11 | bigdog_ut | veni che y toma el mate |
| 21:15.19 | optikal | haha |
| 21:15.21 | macnewbold | hehe |
| 21:15.23 | bigdog_ut | dropping the vos |
| 21:15.27 | macnewbold | oh yeah |
| 21:15.33 | bigdog_ut | chiliano sytle |
| 21:15.44 | mindjuju | so what's this about having to "touch" each other and drink at the next uPHPu meeting? |
| 21:15.51 | mindjuju | i must have caught that conversation late |
| 21:16.03 | macnewbold | touch was a typo... it was drink, referring to mate |
| 21:16.15 | mindjuju | just giving ya'll a hard time |
| 21:16.17 | mindjuju | ;) |
| 21:16.19 | bigdog_ut | yeah...fat fingered it |
| 21:16.38 | macnewbold | um, yeah... since c and m are only 5 chars away on a keyboard... |
| 21:17.14 | bigdog_ut | beber then |
| 21:18.35 | bigdog_ut | me gusta tocar and tomar |
| 21:18.36 | bigdog_ut | lol |
| 21:19.03 | mindjuju | que te gusta tomar? |
| 21:19.11 | macnewbold | mate, che |
| 21:19.15 | macnewbold | mate dulce |
| 21:19.21 | bigdog_ut | mate, dulce de leche |
| 21:19.27 | bigdog_ut | factura |
| 21:19.27 | macnewbold | (mata amarga me da azco) |
| 21:19.35 | bigdog_ut | alfejordes |
| 21:19.42 | macnewbold | (terere tambien [mate fria de paraguay) |
| 21:19.47 | mindjuju | ahhhh... never had mate, but it's that drink that people drink with the silver straw isn't it, it's hot drink like coffee? |
| 21:19.54 | macnewbold | oh, yeah... alfajores son los mejores |
| 21:19.57 | mindjuju | but with grains or something |
| 21:20.02 | bigdog_ut | si |
| 21:20.08 | macnewbold | yeah, it's a metal straw with a strainer on the end |
| 21:20.13 | macnewbold | it's an herbal tea |
| 21:20.25 | bigdog_ut | herbal...yeah |
| 21:20.27 | macnewbold | made from a plant called yerba, looks like grass |
| 21:20.27 | mindjuju | way cool |
| 21:20.50 | bigdog_ut | i got a big bag of it at home...you should see people when they see it on the counter |
| 21:20.51 | wps | ~bigdog_ut++ |
| 21:20.51 | macnewbold | people kept calling it "yuyo" on "accident", which means weeds, and sounds similar |
| 21:20.54 | macnewbold | hehe |
| 21:20.57 | macnewbold | ~mate++ |
| 21:21.16 | wps | bigdog_ut rocks |
| 21:21.17 | macnewbold | I've got dulce de leche in my fridge, too |
| 21:21.21 | bigdog_ut | nice |
| 21:21.22 | macnewbold | that stuff never goes bad |
| 21:21.28 | macnewbold | and it's easy to make too, if you do it the easy way |
| 21:21.34 | bigdog_ut | never....it like grease |
| 21:21.39 | macnewbold | yeah |
| 21:22.00 | bigdog_ut | my kidz hate the stuff |
| 21:22.01 | macnewbold | for the uninitiated, dulce de leche is a milk caramel that's really good... used like jam or jelly in a lot of things |
| 21:22.03 | macnewbold | hehe |
| 21:22.07 | macnewbold | everybody I know likes it |
| 21:22.18 | macnewbold | we'll have to have mate and tortas fritas with dulce de leche at the meeting |
| 21:22.19 | macnewbold | mmm |
| 21:22.22 | bigdog_ut | i do...i love it on bread and some mate con leche |
| 21:22.31 | bigdog_ut | dude that would rock |
| 21:22.41 | macnewbold | what do you say, wade? |
| 21:22.46 | bigdog_ut | cause that stuff is good |
| 21:22.48 | macnewbold | yeah |
| 21:22.57 | macnewbold | tortas fritas are some of my favorites |
| 21:23.04 | wps | sounds good |
| 21:23.05 | bigdog_ut | empanadas |
| 21:23.12 | macnewbold | ~bigdog_ut is also an argentino bad boy |
| 21:23.13 | jbot | macnewbold: okay |
| 21:23.14 | macnewbold | oh yeah |
| 21:23.18 | bigdog_ut | hell ya |
| 21:23.24 | bigdog_ut | from the south |
| 21:23.35 | macnewbold | I like empanadas dulces a lot... my wife thought they'd be weird with meat and raisins |
| 21:23.38 | macnewbold | but she loves them too |
| 21:23.54 | bigdog_ut | i did not care for the them too much |
| 21:23.59 | bigdog_ut | i like con carne |
| 21:24.04 | macnewbold | I like the "normal" ones too |
| 21:24.08 | macnewbold | it's all good |
| 21:24.12 | bigdog_ut | yeah |
| 21:24.19 | bigdog_ut | i ate so much meat down there |
| 21:24.26 | macnewbold | hehe, I bet |
| 21:24.30 | bigdog_ut | protein and mate...i was a skinny guy |
| 21:24.37 | bigdog_ut | and noodles |
| 21:24.45 | macnewbold | "If it wasn't slaughtered today or yesterday, it isn't fresh" |
| 21:24.45 | bigdog_ut | tons of italian food too |
| 21:24.52 | bigdog_ut | or that morning |
| 21:25.03 | macnewbold | yeah, we walked 25 miles a day on average, so I was about 50 pounds lighter then |
| 21:25.03 | bigdog_ut | steak and eggs for breakfast |
| 21:25.06 | macnewbold | mmm |
| 21:25.13 | bigdog_ut | steak and noodles for lunch |
| 21:25.23 | bigdog_ut | and dulce de leche and pan for dinner |
| 21:25.28 | bigdog_ut | mate all the time |
| 21:25.31 | macnewbold | toast with dulce de leche, and hot chocolate or te de menta |
| 21:25.39 | bigdog_ut | y |
| 21:25.43 | macnewbold | we couldn't drink mate as missionaries in my mission |
| 21:25.55 | bigdog_ut | really we could only drink the tea bags |
| 21:25.57 | macnewbold | but I drank mint tea or chamomile tea like mate anyway |
| 21:25.59 | macnewbold | yeah |
| 21:26.25 | macnewbold | half of the fun is the process... I got pretty good at it... |
| 21:26.29 | bigdog_ut | lol |
| 21:26.33 | bigdog_ut | i am okay |
| 21:26.51 | macnewbold | while everyone else was drinking it, we'd keep refilling it so they would just concentrate on what we were saying :) |
| 21:27.04 | bigdog_ut | nice |
| 21:27.51 | bigdog_ut | i am trying to save to head down to bariloche again |
| 21:28.15 | macnewbold | yeah, I need to go |
| 21:28.23 | macnewbold | the longer I wait though, the more kids I have... |
| 21:28.23 | bigdog_ut | it has been 10 years |
| 21:28.35 | macnewbold | I've been back over 5 |
| 21:28.36 | bigdog_ut | i am done with the kidz im saving to go |
| 21:29.13 | bigdog_ut | great times |
| 21:37.39 | mindjuju | k, i have a database question |
| 21:37.50 | mindjuju | let's say your building a site where your going to have accounts. And that part of having an account means that you can invite others to see your account. At any point you can resind that invitation. |
| 21:38.01 | mindjuju | That said, should the database structure: |
| 21:38.11 | mindjuju | User table where the average user info is (name, address, phone, etc) |
| 21:38.22 | mindjuju | The question, should I append the permissions field to the user table and store all the permissions for the account that are authorized or should I make a new table that has the userid and then the new user id of the account that has been given permission, each permission being it's own record or should i create a new table with the userid and all the permissions being one record |
| 21:38.45 | wps | I would do a separate table |
| 21:39.10 | mindjuju | that's what i was thinking, keep user table for just user info |
| 21:39.38 | wps | usually always to have another table — 1 to many |
| 21:40.03 | mindjuju | k, so let's say you give mac permission and you gave optikal permission, would you just have a record for mac and a record for optikal |
| 21:40.16 | mindjuju | or one record with your userid and their userid stored in an array? |
| 21:40.51 | bigdog_ut | what db form are you wanting to use? |
| 21:41.09 | mindjuju | 3 |
| 21:41.18 | bigdog_ut | then dont do arrays |
| 21:41.28 | bigdog_ut | and use join tables |
| 21:41.51 | mindjuju | yeah, that's what i was thinking, one record for each permission, but then started to wonder about efficency |
| 21:41.57 | bigdog_ut | what db are u using? |
| 21:42.02 | mindjuju | mysql 4 |
| 21:42.29 | bigdog_ut | i would promote a stored function then |
| 21:42.44 | bigdog_ut | pass in username or id |
| 21:43.00 | mindjuju | hmm... not familiar with stored functions, is that similar to stored procedures in MS SQL? |
| 21:43.02 | bigdog_ut | view_account(view_userid, access_userid) |
| 21:43.09 | bigdog_ut | y |
| 21:43.25 | bigdog_ut | then you can do all the queries in there for the information and return the result set you want |
| 21:43.38 | mindjuju | didn't know mysql had them... for some reason thought those weren't going to be available until Mysql 5 |
| 21:43.39 | bigdog_ut | very clean |
| 21:43.53 | mindjuju | yeah, that would be nice |
| 21:43.55 | bigdog_ut | oh perhaps they are...i was thinking 4 |
| 21:44.07 | bigdog_ut | perhaps i am thinking transactions |
| 21:44.16 | bigdog_ut | then i recommend pgslq |
| 21:44.16 | mindjuju | i could be wrong, haven't downloaded mysql in about a year sooo... |
| 21:44.35 | mindjuju | i'll check it out, thnx for the help! |
| 21:44.46 | bigdog_ut | np |
| 21:45.52 | bigdog_ut | does mysql support children tables |
| 21:46.46 | bigdog_ut | man mysql sucks for that mindjuju |
| 21:46.52 | bigdog_ut | i would suggest views to |
| 21:47.20 | mindjuju | yeah, and i think new mysql is coming out this quater |
| 21:47.23 | bigdog_ut | have a view over the table with the subset data and then query the view if the person has perms to acces it |
| 21:47.33 | mindjuju | it's suppose to have views and stored procedures (i think) |
| 21:48.46 | bigdog_ut | i would have a table that is a join that had both ids |
| 21:48.57 | bigdog_ut | viewer_id, viewee_id |
| 21:49.07 | bigdog_ut | then join against the other tables |
| 21:49.56 | bigdog_ut | they really come in handy |
| 21:52.27 | mindjuju | so to keep to 3rd form, the table should have a column for permission id (incremental)| granterid | granteeid | active (as in is it current or has it been recinded) |
| 21:52.30 | mindjuju | don't you think? |
| 21:52.57 | bigdog_ut | y |
| 21:53.09 | mindjuju | cool! |
| 21:53.09 | bigdog_ut | but you dont really need the permission id |
| 21:53.16 | bigdog_ut | it is a join table |
| 21:53.40 | bigdog_ut | and you dont really need the active either |
| 21:53.51 | bigdog_ut | active if in table...not active if missing |
| 21:54.01 | bigdog_ut | but it is okay to have |
| 21:54.32 | mindjuju | oh, i see what your saying, if record is present then permission, if permission revoked, delete record |
| 21:54.40 | bigdog_ut | y |
| 21:55.01 | mindjuju | with my way, you could have thousands of records with only hundreds having active permissions, but with your way, i'd just have the hundreds |
| 21:55.08 | bigdog_ut | and your key is the 2 of them |
| 21:55.09 | mindjuju | less sql load faster search time |
| 21:55.14 | mindjuju | nice, i like |
| 21:55.16 | bigdog_ut | yes |
| 21:55.36 | bigdog_ut | and use numbers (ids) instead of usernames |
| 21:56.00 | bigdog_ut | index the field together |
| 21:56.05 | bigdog_ut | fields |
| 21:56.34 | mindjuju | just actuallly started learning about indexes, but can see how that would make this really efficent |
| 21:57.10 | bigdog_ut | or atleast which column you will query the most |
| 21:57.31 | bigdog_ut | probably on granterid |
| 21:58.02 | bigdog_ut | select granteeid from permissions where granterid = <id>; |
| 21:58.36 | bigdog_ut | whatever is in the where clause really |
| 22:00.07 | bigdog_ut | but the best thing to use is the query explainer (is that right?) |
| 22:00.25 | mindjuju | explainer? |
| 22:00.30 | bigdog_ut | macnewbold, when you teaching db optimization |
| 22:00.36 | bigdog_ut | or query optimization |
| 22:00.37 | macnewbold | huh? |
| 22:00.50 | macnewbold | anytime, for you, amigo |
| 22:01.17 | bigdog_ut | macnewbold, we should do mysql vs. pgsql |
| 22:01.30 | wps | that would be a good meeting |
| 22:01.36 | wps | comparing and contrasting the two |
| 22:01.42 | bigdog_ut | y |
| 22:01.48 | bigdog_ut | i call pgslq |
| 22:01.50 | bigdog_ut | pgsql |
| 22:01.58 | bigdog_ut | oh macnewbold gets mysql |
| 22:02.01 | macnewbold | 1. seperate table for permissions to view other users, cause it's a many-to-many relationship. Needs at least two colums (who sees, and who is seen) |
| 22:02.01 | bigdog_ut | :( |
| 22:02.14 | bigdog_ut | y |
| 22:02.20 | macnewbold | one record for each permission. |
| 22:02.36 | macnewbold | you could do a stored function, but it's prolly just as good with a join. |
| 22:02.43 | bigdog_ut | mindjuju, check out mysql docs on explain |
| 22:03.06 | macnewbold | you just need to make sure to include the id you care about in the "on" clause of the join, so you don't get _everything_ back |
| 22:03.19 | wps | ~prolly |
| 22:03.20 | jbot | well, prolly is probably |
| 22:03.31 | wps | jbot, knows all |
| 22:03.32 | jbot | and don't you forget it |
| 22:03.38 | wps | LOL |
| 22:03.56 | wps | what a crazy guy |
| 22:03.59 | macnewbold | you could do without a permission id if you wanted, and just make (granterid,granteeid) your primary key |
| 22:04.20 | mindjuju | that was bigdog_ut's idea |
| 22:04.32 | mindjuju | i was thinking of doing that |
| 22:04.52 | macnewbold | you'll probably want indexes on granterid and granteeid, and yes, using ints instead of varchars is a great idea |
| 22:05.27 | bigdog_ut | now check to see how you will be quering the table..sometimes mysql will not use indexes so you might need to force it |
| 22:05.35 | bigdog_ut | that is where explain <query> comes in |
| 22:05.46 | macnewbold | as long as the right index is there, it usually uses it, in my experience. |
| 22:06.11 | mindjuju | have ya'll ever heard of Database Design for Mere Mortals, heard good things about it, thinking of reading it |
| 22:06.13 | macnewbold | if (grantee,grantor) is your primary key, it can use that for the combination, or for just grantee, but not for just grantor (i.e. a prefix of an index works too) |
| 22:06.19 | bigdog_ut | yes unless you do something like "OR" in the where on 2 indexed columns then it might pick only one |
| 22:06.26 | macnewbold | so you'll want a separate index for the 2nd col in your key. |
| 22:17.49 | *** join/#uphpu wps (~wps@208.186.134.102) |
| 22:23.49 | *** join/#uphpu drewbono (~andrew@byu176783wks.rn.byu.edu) |
| 22:24.56 | tbye | <PROTECTED> |
| 22:25.10 | tbye | on the idn issue |
| 22:25.26 | bigdog_ut | yeh it is a curl issue though |
| 22:25.53 | tbye | I just mean since I'd commented that I had a similar issue installing asterisk recently. |
| 22:26.38 | bigdog_ut | lol |
| 22:29.58 | dataw0lf | o |
| 22:29.59 | dataw0lf | m |
| 22:29.59 | dataw0lf | g |
| 22:30.00 | dataw0lf | http://www.savetoby.com/ |
| 22:32.50 | mindjuju | not likely, have you ever seen those waiters that put a $1 in the tip cup to help motivate others to give? |
| 22:32.59 | mindjuju | i should send a rabbit receipe |
| 22:33.13 | dataw0lf | look at the bottom. |
| 22:33.15 | dataw0lf | he's gotten 11k |
| 22:33.23 | dataw0lf | I'm going to do that, but with tierra|w. |
| 22:33.32 | mindjuju | yeah, see, not sure that is real |
| 22:33.57 | dataw0lf | people buy grilled cheese sandwiches that look the virgin mary, I don't see whats so hard to believe about it. |
| 22:34.32 | mindjuju | well true, could be |
| 22:34.49 | tbye | Plus... just look at James Brown... Anything is possible!! |
| 22:35.03 | tbye | ...what? |
| 22:35.07 | tierra|w | I'm up for it |
| 22:35.12 | tierra|w | let's do it dataw0lf |
| 22:35.27 | dataw0lf | savetierra.org |
| 22:35.43 | tbye | sounds like a mexican hippy site. |
| 22:35.46 | dataw0lf | we could put you in a cage with me poking you with a stick |
| 22:35.59 | tbye | a jar... like bonsai kitty |
| 22:36.34 | tierra|w | haha |
| 22:36.54 | dataw0lf | 'this is tierra when I first found him' <insert high school yearbook picture> |
| 22:37.04 | tbye | don't forget the catheter. |
| 22:38.01 | tierra|w | ouch |
| 22:38.13 | tbye | Anyone an XBox hacker? |
| 22:39.16 | bigdog_ut | xbox sucks |
| 22:39.21 | tierra|w | some would consider me one since I did in fact have xbox-linux running on my xbox, I do have it modded out... but somehow I managed all of it without learning jack about doing it, and I still have no clue how I got it all working |
| 22:39.41 | tbye | nice |
| 22:39.55 | mindjuju | i want to mod my box, but need to save some money first |
| 22:40.00 | tbye | I've got a 250 GB drive in mine... I think it's going bad. |
| 22:40.30 | tbye | I wish Xbox Media Center had better docs. |
| 22:40.32 | tierra|w | what's even more funny about it, is that I had a solderless push-pin chip, and I stripped the screw inset in the motherboard, and ended up soldering it anyway |
| 22:40.46 | tbye | lol |
| 22:42.33 | tierra|w | so I decided since I was going to end up soldering it anyway, I made a small cable, cut a hole in the side of the xbox, and the chip is hanging on the outside of the box dangling by wires so I can still flash it if I need to |
| 22:42.53 | tierra|w | definately a custom job |
| 22:43.15 | tierra|w | makes it not so portable though, have to be careful with the chip |
| 22:56.30 | bigdog_ut | man the find command rocks |
| 22:57.08 | tierra|w | yes it does |
| 22:57.36 | tierra|w | I need to learn to take full advantage of it more often... I've only used it a couple times |
| 22:57.56 | tierra|w | well, that is, when I have stuff it will come in handy for |
| 23:03.48 | macnewbold | any smarty users still in here? |
| 23:04.41 | bigdog_ut | lol |
| 23:07.00 | mindjuju | macnewbold, is there a big performance penalty for saying select * from whatever as opposed to just asking for the column? |
| 23:07.20 | macnewbold | depends on the table, probably... try it and see I guess? |
| 23:07.25 | macnewbold | in most cases, it won't matter a bit |
| 23:07.34 | bigdog_ut | yes it does |
| 23:07.34 | macnewbold | bigdog_ut: not by choice... I'm hacking on phpbb for a client |
| 23:07.41 | macnewbold | really? |
| 23:07.44 | bigdog_ut | man i hacked phpbb to death |
| 23:07.47 | bigdog_ut | yes it does |
| 23:07.59 | bigdog_ut | mysql says you should ask for the columns |
| 23:08.10 | macnewbold | table with 100 rows and 8 columns, and you say * instead, and it matters? |
| 23:08.31 | bigdog_ut | yeah i guess |
| 23:08.44 | bigdog_ut | well if i only need 4 then i will ask for 4 |
| 23:08.50 | macnewbold | IMO, depends on how many rows you're getting, how many columns you're eliminating by being specific, etc. |
| 23:08.50 | bigdog_ut | when bring back more than i need |
| 23:09.11 | macnewbold | I guess I usually need all or almost all of them anyway... so I'm not in that habit yet |
| 23:09.22 | macnewbold | bigdog_ut: you know how to embed php code in a .tpl? |
| 23:09.30 | macnewbold | <? and <?php just print it into the html source |
| 23:09.34 | macnewbold | w/o executing |
| 23:09.40 | macnewbold | {php} does something |
| 23:09.48 | macnewbold | but doesn't run the code still, and just outputs it |
| 23:10.03 | macnewbold | I'm wondering if phpbb has something to do with it? |
| 23:11.28 | bigdog_ut | yeah {php} {/php} should work |
| 23:11.49 | bigdog_ut | or else include it like so {include_php file="path/file.php"} |
| 23:14.10 | bigdog_ut | macnewbold, did that work? |
| 23:14.34 | macnewbold | I'll try it |
| 23:17.37 | macnewbold | no worky. if I use {include_php or {include_php_file it just echos the thing in the output. |
| 23:17.53 | bigdog_ut | sorry bro |
| 23:17.58 | macnewbold | I'll have to put the php somewhere in the phpbb code and pull it into a template var |
| 23:18.01 | macnewbold | oh well |
| 23:18.43 | bigdog_ut | yeah...i did not like phpbb but we did do some cool stuff with it |
| 23:25.38 | optikal | I love SMF |
| 23:30.48 | *** join/#uphpu jbot (ibot@apt.bot.TimRiker.active.supporter.pdpc) |
| 23:30.48 | *** topic/#uphpu is Utah PHP Users - uphpu.org - Thanks to everyone who has donated! |
| 23:35.00 | optikal | http://neil.moon-beam.com/users/kris/index.htm |
| 23:37.00 | mindjuju | doesn't come up for me |
| 23:37.30 | *** join/#uphpu osynic (~synic@c-67-172-242-219.client.comcast.net) [NETSPLIT VICTIM] |
| 23:39.04 | optikal | then ur terminal sux |
| 23:39.23 | optikal | =P |
| 23:39.24 | optikal | works fine here |
| 23:39.51 | mindjuju | k, cleared cache and it came up, my bad |
| 23:40.13 | mindjuju | i've been sick all day if that gets me any sympathy |
| 23:51.31 | optikal | nope |
| 23:52.02 | mindjuju | dag! |