| 00:14.39 | *** join/#uphpu justincarmony (n=justinca@97-126-212-111.slkc.qwest.net) |
| 00:14.39 | *** mode/#UPHPU [+v justincarmony] by ChanServ |
| 00:16.30 | herlo | go home |
| 00:40.25 | *** join/#uphpu redroy1 (n=Adium@66.60.105.178) |
| 01:01.44 | *** join/#uphpu redroy (n=Adium@67.177.44.214) |
| 01:15.29 | *** join/#uphpu jtsnow_ (n=jtsnow@c-98-202-6-213.hsd1.ut.comcast.net) |
| 01:34.33 | *** join/#uphpu redroy (n=Adium@c-67-177-44-214.hsd1.ut.comcast.net) |
| 02:27.18 | *** join/#uphpu justincarmony (n=justinca@c-98-202-44-233.hsd1.ut.comcast.net) |
| 02:27.18 | *** mode/#UPHPU [+v justincarmony] by ChanServ |
| 02:56.46 | *** join/#uphpu jtsnow_laptop (n=jtsnow_l@c-98-202-6-213.hsd1.ut.comcast.net) |
| 13:14.49 | *** join/#uphpu jtsnow (n=chatzill@VDSL-151-118-128-100.DNVR.QWEST.NET) |
| 14:31.54 | *** join/#uphpu redroy1 (n=Adium@66.60.105.178) |
| 14:32.28 | *** join/#uphpu redroy1 (n=Adium@66.60.105.178) |
| 14:39.46 | *** join/#uphpu mrkrow (n=mrkrow@office.codegreene.com) |
| 15:02.28 | *** join/#uphpu mgeary (n=mgeary@166.70.44.49) |
| 15:02.28 | *** mode/#UPHPU [+v mgeary] by ChanServ |
| 15:03.15 | *** join/#uphpu fungus (n=olsonl@bromine.sosstaffing.com) |
| 15:03.15 | *** mode/#UPHPU [+o fungus] by ChanServ |
| 15:22.54 | *** join/#uphpu redroy1 (n=Adium@66.60.105.178) |
| 15:27.02 | *** join/#uphpu _psychic_ (n=_psychic@173-8-91-177-Utah.hfc.comcastbusiness.net) |
| 15:27.02 | *** mode/#UPHPU [+v _psychic_] by ChanServ |
| 15:45.56 | *** join/#uphpu cro (n=cro@166-70-222-105.ip.xmission.com) |
| 15:57.25 | *** join/#uphpu Utah_Dave (n=David@72-166-51-162.dia.static.qwest.net) |
| 15:57.25 | *** mode/#UPHPU [+o Utah_Dave] by ChanServ |
| 16:38.35 | mgeary | ~rlart |
| 16:38.36 | ibot | hooks into a hydrant and hoses tierra down |
| 16:41.18 | Utah_Dave | Anybody have a Google Wave invite I can have? |
| 16:41.56 | herlo | Utah_Dave: I probably have one |
| 16:42.36 | herlo | oh, wait. I was thinking google talk, I don't have a wave account yet :( |
| 16:44.12 | *** join/#uphpu cro (n=cro@166-70-222-105.ip.xmission.com) |
| 16:46.20 | Utah_Dave | that's ok, herlo. Thanks anyways. |
| 17:26.43 | PoeticIntensity | herlo - PM |
| 17:31.39 | wps | array_unshift($my_day, 'happiness'); |
| 17:39.15 | mgeary | wps: i hear ya |
| 17:40.07 | wps | mgeary: I seem you remember you posting some code in a paste bin the other day that was a nice oneâ¦Â easy on the eyes and not cluttered |
| 17:40.21 | mgeary | well, ALL my code is like that... ;) |
| 17:40.29 | wps | not your code :) |
| 17:40.32 | wps | the pastebin |
| 17:40.34 | *** join/#uphpu itimber (n=itimber@c-67-172-234-235.hsd1.ut.comcast.net) |
| 17:40.34 | *** mode/#UPHPU [+v itimber] by ChanServ |
| 17:40.42 | wps | I did find this today: |
| 17:40.43 | wps | http://pastebin.me/ |
| 17:40.44 | wps | not bad |
| 17:40.44 | mgeary | doh |
| 17:40.50 | mgeary | dpaste.com |
| 17:41.00 | wps | that's it! |
| 17:41.00 | wps | thanks |
| 17:41.29 | wps | it's interesting that dpaste doesn't come up in google searches for paste bin |
| 17:41.40 | wps | pastebin.com is alright |
| 17:42.03 | wps | but sites like http://pastebin.ca/ make me want to vomit |
| 17:42.51 | mgeary | yeah |
| 17:49.16 | itimber | mawnin' |
| 17:49.56 | herlo | barely |
| 17:55.23 | Utah_Dave | wps: try stikked |
| 17:55.25 | Utah_Dave | http://stikked.com/view/97930614 |
| 17:56.16 | wps | thanks |
| 17:58.15 | utahcon | tee hee... fungus |
| 17:58.41 | fungus | lol |
| 18:01.47 | tierra | that's some awesome code there... |
| 18:02.23 | tierra | using a class like it's a namespace |
| 18:03.20 | tierra | there's a ton of code duplication... |
| 18:04.24 | DexterTheDragon | isn't all php code awesome like that? |
| 18:04.37 | tierra | I can't tell what the coding guidelines being used are |
| 18:04.43 | tierra | I don't think any are |
| 18:07.24 | fungus | DexterTheDragon: definitely not |
| 18:24.43 | mindjuju | anybody know fof hand what the deal is with IE and PNGs |
| 18:24.43 | mindjuju | was it that the transparency didn't carry over? |
| 18:25.19 | orsonj | I think it could handle binary transparancy(eg. gifs), but not partial transparancy |
| 18:25.34 | orsonj | if that makes sense |
| 18:25.41 | mindjuju | ya |
| 18:25.48 | mindjuju | png transparency == no |
| 18:25.52 | mindjuju | gif transparency == yes |
| 18:26.10 | tierra | gif transparency == an image mask |
| 18:26.18 | tierra | png transparency == alpha transparency |
| 18:26.33 | tierra | big difference |
| 18:26.54 | orsonj | yeah 254 |
| 18:27.26 | tierra | more than that... alpha transparency requires compositing |
| 18:28.17 | orsonj | ok, bad joke |
| 18:28.27 | tierra | heh |
| 18:28.29 | tierra | sorry |
| 18:28.30 | mgeary | there's a workaround |
| 18:28.42 | mgeary | and iirc, only IE6 doesn't support pngs well natively |
| 18:29.13 | mgeary | but the workaround doesn't work for background graphics (css as opposed to img tags) |
| 18:32.52 | tierra | you know what's funny about this... desktop application developers have to deal with a similar issue on Windows when writing printing support into their application |
| 18:35.15 | tierra | compositing means you need to retrieve the actual color values on the device context to blend in with the alpha color value being blitted... which works fine on regular device contexts, but on Windows, printer device contexts can't retrieve those values, so... no compositing... |
| 18:35.45 | *** join/#uphpu herlo (n=clints@fedora/herlo) |
| 18:35.45 | *** mode/#UPHPU [+v herlo] by ChanServ |
| 18:42.52 | *** join/#uphpu _psychic_ (n=_psychic@173-8-91-177-Utah.hfc.comcastbusiness.net) [NETSPLIT VICTIM] |
| 18:42.52 | *** mode/#UPHPU [+v _psychic_] by irc.freenode.net |
| 19:34.06 | tierra | it'd be nice if PHP had a built-in email validation function that actually worked consistently... |
| 19:36.26 | macnewbold | hehe |
| 19:36.28 | fungus | but different people have different rules for "valid", especially for email addresses |
| 19:36.29 | macnewbold | i've got one if you want |
| 19:36.48 | macnewbold | imo, the RFC definition is pretty darn good |
| 19:37.02 | tierra | there's no different rules... either it's a valid RFC email address or it's not... |
| 19:37.04 | fungus | some just want an @ sign, others want a response to an email ping |
| 19:37.05 | macnewbold | though syntactically valid vs. actually might work (i.e. has a valid mail server) |
| 19:37.38 | fungus | http://www.regular-expressions.info/email.html |
| 19:37.48 | fungus | the official standard is huge and ugly |
| 19:37.54 | tierra | yeah, I mean I just want one that checks syntatically... I'll worry about checking MX records if I care to dive in deeper myself |
| 19:38.30 | fungus | (?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\]) |
| 19:38.40 | macnewbold | cakephp uses this: |
| 19:38.42 | macnewbold | define('VALID_EMAIL', "/^[a-z0-9!#$%&'*+\/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+\/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+(?:[a-z]{2,4}|museum|travel)$/i"); |
| 19:39.18 | tierra | everyone uses such wildly different regex patterns and checks... I'm just saying that there needs to be one single standard one |
| 19:39.33 | macnewbold | yeah, in general there is |
| 19:39.39 | fungus | there is. the one I posted. but it's hideous and painful |
| 19:39.48 | macnewbold | there are only so many chars that are truly valid in an email |
| 19:40.16 | macnewbold | i didn't think ~#$%^'* were valid in email addrs |
| 19:40.40 | fungus | i knew about ~ but not the others. |
| 19:42.28 | tierra | PHP has a start to a standard built-in one with filter_var(), but I've read a few posts that prove that even it has some problems and doesn't actually follow the RFC |
| 19:43.07 | orsonj | "^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,}|\.xn--[a-z0-9-]+)$" <-- What I use |
| 19:46.17 | fungus | orsonj: your's is missing . and + in the local part. those are quite common |
| 19:46.26 | orsonj | It has ., but not + |
| 19:46.39 | fungus | it only allows one . |
| 19:46.46 | fungus | that is broken too |
| 19:46.48 | orsonj | doh |
| 19:47.46 | fungus | the whole article I linked to discusses the the trade-offs in email validation. It's a complex issue. |
| 19:48.38 | tierra | macnewbold: that cakephp version isn't going to work when new TLD rules set in |
| 19:50.03 | fungus | the world is going to end when that happens. :P |
| 19:50.52 | fungus | I'm still bummed I can't get a .xxx domain |
| 19:51.02 | fungus | yet. |
| 20:08.42 | orsonj | meanwhile, there is nothing stopping us from setting up private dns with anything we want for our own use... |
| 20:09.41 | macnewbold | tierra: what new TLD rules? i haven't heard about that. |
| 20:10.11 | orsonj | well, they are doing internationalization for one |
| 20:15.37 | orsonj | http://ä¾å.æµè¯/ |
| 20:18.38 | orsonj | (which comes through as: http://xn--fsqu00a.xn--0zwm56d/ |
| 20:18.58 | mgeary | hey stderr |
| 20:22.13 | orsonj | I guess I like the simplified regex supplied on that page. No need to do any checking to see if it is a real domain at this point. |
| 20:33.03 | fungus | international domains are already available. tierra was referring to the future ability for organizations to apply for their own TLD that they control. |
| 20:34.09 | fungus | *.microsoft, *.ibm, *.honda, etc |
| 20:34.31 | herlo | ugh! |
| 20:35.03 | herlo | you can do that now anyway, why worry about getting it official. People just have to use your nameservers :) |
| 20:35.29 | fungus | hehe, but if it's official, then everyone in the world can use it. |
| 20:35.40 | fungus | instead of hammering on your nameservers |
| 20:36.02 | herlo | and thinks most people shouldn't either :) |
| 20:36.09 | fungus | what about www.fedora.redhat |
| 20:36.14 | herlo | nah |
| 20:36.20 | herlo | .org is good enough |
| 20:36.25 | herlo | fedoraproject.org worksforme |
| 20:37.23 | fungus | but it could be so much shorter |
| 20:37.23 | herlo | fedora.org is not available, but it could be |
| 20:37.48 | fungus | lol. "as always, we are not affiliated with red hat or the fedora project |
| 20:37.48 | fungus | or people who like to wear hats while using linux |
| 20:37.48 | fungus | or any other entity" |
| 20:38.18 | fungus | I like to wear hats while using linux |
| 20:39.54 | fungus | herlo: has the fedora project contacted this guy to see if they can buy it off him? |
| 20:40.16 | herlo | fungus: there's a whole todo about it |
| 20:40.30 | herlo | I think he had it before the fedora project started |
| 20:40.42 | herlo | and so I think there's an agreement or something about it |
| 20:40.45 | fungus | Created On:29-May-1998 04:00:00 UTC |
| 20:40.49 | fungus | yup |
| 20:41.22 | fungus | but maybe he would sell it for a non-exorbitant amount of money. |
| 20:41.24 | herlo | that is all I really know |
| 20:41.30 | fungus | interesting |
| 20:41.38 | herlo | you can ask more in #fedora |
| 20:41.46 | herlo | if you wanna have more noise than signal |
| 20:41.55 | fungus | hehe |
| 21:17.18 | Utah_Dave | dang, still haven't gotten a Google Wave invite :( |
| 21:22.55 | mgeary | ~invite Utah_Dave |
| 21:32.36 | *** join/#uphpu fungus (n=olsonl@216.112.118.2) |
| 21:32.36 | *** mode/#UPHPU [+o fungus] by ChanServ |
| 21:54.18 | wps | what would be the most effective way to test whether a variable is not true, false, or null |
| 21:54.19 | wps | ? |
| 21:54.29 | wps | meaning, it has to be a string of text? |
| 21:55.33 | wps | well, look at that |
| 21:55.35 | wps | is_string() |
| 21:55.39 | wps | peachy |
| 22:09.06 | itimber | I'm out.... later guys |
| 22:26.29 | *** join/#uphpu mgeary (n=mgeary@166.70.44.49) |
| 22:26.29 | *** mode/#UPHPU [+v mgeary] by ChanServ |
| 22:26.30 | wps | (and other good data type checking) |
| 22:31.26 | wps | receiving logwatch emails are so stressful to me |
| 22:31.32 | wps | how can they just stop arriving? |
| 22:32.01 | wps | I've checked my spam box |
| 22:32.01 | wps | I've checked sending mail from the server |
| 22:32.01 | wps | it really shouldn't be this complicated |
| 22:34.08 | orsonj | I keep getting surprised by what can actually be done with a shell script. |
| 23:01.09 | *** join/#uphpu orsonj_ (n=orson@b22222.bookstore.usu.edu) |
| 23:01.09 | *** mode/#UPHPU [+v orsonj_] by ChanServ |
| 23:01.16 | *** join/#uphpu opapo_ (n=daniel@205.118.116.89) |
| 23:10.20 | *** join/#uphpu cro (n=cro@166-70-222-105.ip.xmission.com) |