logs archiveIRC Archive / Freenode / #php / 2006 / February / 16 / 1
Kog
Stormchaser: Crypt_RSA just gives the bare essentials for private keys
and I do mean BEAR
private exponent and modulous
Ktala
hi
Kog
(and an int saying "hey, I'm private")
Stormchaser
Kog: Heh... You shouldn't be looking at PEAR at all for encryption :)
Kog
Stormchaser: it was the only place that had a prebuilt lib
Stormchaser: but yes, usually PEAR is horrible
I went looking for a tree the other day, thought PEAR might have one
it does... sorta
it creates a tree based on an XML fragment or a RDBMS
Stormchaser
o.O PECL doesn't have anything RSA / DSA related :/
Kog
that's not a tree, that's something else
Stormchaser
(Action) looks deeper
Kog
that's a tree constructor
(Action) rants
Stormchaser: yeah... I looked around
Stormchaser: needed RSA though, no DSA
Stormchaser: wasn't signing anything
         

Stormchaser
http://pecl.php.net/package/gnupg <--this might be something
Kog
not what I really wanted
lig
Morning
joh
Kog: You can't use the openssl extension?
Kog
gnupg is a little slow
joh: I wasn't aware there was one when I wrote it
joh
Kog: php.net/openssl
Kog
yes, I know that now
coolpix
g night :)
Kog
but I wrote this like a year or two ago
joh
Kog: Ah, I didn't catch that ;)
Kog
neh, I didn't really care for my ex-employer anyway
although openssl_x509 function grouping looks apropos
Stormchaser
(Action) pokes lig
lig
(Action) hugs Stormchaser
Stormchaser
Kog: heh... PHP 4.0.6... Means it is there for a loooooooooooooooooooooooong time :)
brianMan
Anyone who is good with regular expressions, that can tell me how to match all lines that doesn't contain a specific word? I was thinking something line the lines of the following, however it doesn't work :( : ^.*[^{myword}].*$
Kog
Stormchaser: yes, but I wasn't as familiar w/ openssl as I am now
Stormchaser
lig: IRC-ing again instead of working? :)
Kog: :)
Kog
Stormchaser: having written against it
I wrote this lovely Xchat Hybrid Challenge plugin
SperMite
Is there any free phps cripts that i can get for video gallery listings?
Kog
ended up having to write it in C because Python has nothing good
         

Stormchaser
Kog: heh
Kog
and I learned 1) how much it sucks to write C on windows 2) cross-platform make files 3) how lovely openssl is
(if you can find the ssleay.dll)
(which I stole from xchat)
Stormchaser
hehe
lig
Stormchaser: just got in - so keeping an eye out while I check email and stuff
Kog
Stormchaser: but in all honesty, if I was concerned would I waste my day on stuff like writing a MySQL->CSV export util?
Stormchaser
(Action) steals lig's eye
lig
(Action) uses the 3rd inner eye
Stormchaser
(Action) steals that too
Darn it... VGCars still aren't updated :'(
lig
damn it Stormchaser - give it back
Stormchaser
*VGCats
lig: No it's not!
Kog
not what?
Stormchaser
Kog: That doesn't involve you :)
Kog
you said it in public, not me
lig
(Action) dazzles Stormchaser by throwing Kog at him .. and steals her eye's back
Kog
oh hell, the openssl lib looks real nice
I wonder how fast it is
probably much faster than that crappy ass Crypt_RSA
caffinated
(Action) notes that mysql will already export to CSV via mysqldump
Kog
caffinated: yes, but you can't run it from the web
Stormchaser
(Action) steals back his eraser from lig
Kog
caffinated: further, I coulda just stolen the phpMyAdmin lib for it
caffinated
Kog: sure you could.
Stormchaser
Kog: Sure you can... exec()
Kog
caffinated: if I wanted to wrap an exec call
caffinated: I make it a policy to never run exec
it just asks for trouble
lig
(Action) steals caffinated's eraser then
Stormchaser
Kog: It depends on situation
Kog
I also made sure to get rid of suexec
caffinated
makes more sense than reinventing the wheel. there may even be a way to do it via SELECT INTO FILE
Kog
caffinated: not really... see, there's this thing called work... they pay you to do sh*t like that ;)
caffinated
sorry, OUTFILE
Kog
it was like 15 lines of code
caffinated
Kog: right, but why write 15 lines of redundant code?
Kog
and I decided to spend a few hours making it verbose, so now it's ~130
caffinated: because someone is picking up the tab
caffinated: and because they stiffed me for $$$
Stormchaser
fair enough
Kog
caffinated: so they no longer get efficient time from me
caffinated: a 50c an hour raise?
caffinated: come on, I'm not in highschool
caffinated: I have a 4 year degree, a sh*t-ton of exp and I'm doing the work of 4 people
vhuren
what is a good way to determine what country/state/city that a person is connecting from (using their IP address). Are there any opensource solutions out there?
caffinated
Kog: nor am I. I suppose I have higher coding standards though.
Kog
caffinated: so I figure while I'm looking for a new job, I'm going to charge for slow work ;)
caffinated: neh, my boss wanted it anyway
caffinated: so... whatev
I coulda taken the lazy solution
but didn't
caffinated: the fastest solution would be to use the phpMyAdmin code for it, take me 15s to rip out and repackage, throw on their licensing info
(Action) shrugs
Stormchaser
Kog: I spent 2 hours reading PMA's code, then went "WTF", and recode my own system for content editing :)
Kog
Stormchaser: not familiar w/ PMA
Stormchaser: but I tell you... I'm going to leave my job and go work for someone that isn't a bloody idiot
Stormchaser
Kog: Sure you are... Php MyAdmin :)
Kog: Got my last message?
Kog
hm..
Stormchaser Kog: Sure you are... Php MyAdmin :)
Stormchaser
Kog: :)
Kog
I wonder what's wrong with freenode today...
anyway, yeah, sorry... my acronym db hasn't updated yet ;)
Stormchaser
ask lilo here :)
^ATOMIC^
With Explode is there anyway to explode something by multiply spaces. Like some have 1 some have 2 but i don't knwo how many spaces its goign to have?
Kog
Stormchaser: last I checked he had me on ignore
Stormchaser
Kog: lol! Why?
Kog
Stormchaser: we got into an argument about freedom of speech... I'm also a programmer for Atheme/Charybdis
Stormchaser: I'd say more, but this is hardly the place
Stormchaser
Kog: I don't even know, what that is :)
Kog
well, Charybdis is (supposedly) the thing that was going to replace Hyperion (FreeNode's current IRCD)
it's run by a guy who's a tad bit unpleasant
colder
^ATOMIC^, use preg_split
Stormchaser
Kog: Hm... Just read it... In fact reading it...
Kog: Have you tried unreal as well?
Kog
hahahahahah
HAHAHA
HAAAAAAAAAH
you're joking right?
Stormchaser
Kog: I said 'tried', dammit
Kog
I've been on networks that run unreal, but I'm not foolish enough to want to run it myself, no
although, about 7 years ago I ran a win32 unreal box for a friend
then I told him Beware was a better IRCD
Stormchaser
hehe :)
Jymmm
(Action) found his new video card --> http://www.3dlabs.com/products/product.asp?prod=293
Stormchaser
Hm... configuration seems cimilar to Unreal...
Kog
well, it certainly doesn't use ircu style :lines
but that's because it uses yacc
been talking to LaptopBrain about inspircd... their config and parsing looks pretty nice
and t heir config API is good
uses a wierd form of SGML
Jymmm
Not bad... only $2150
Stormchaser
Jymmm: Looks expensive. How much?
heh
Jymmm
damn thing has more ram than most computers
Kog
at $2150 video card? reminds me of SGI...
Mewshi
hey
magewlf
how do you make an image confirm on forms?
Jymmm
Kog that's basically what it's for... CAD
Kog
Jymmm: jesus, what the hell are you modelling?
Mewshi
is there a way to get the information about a user (such as ip address, browser, os, resolution, kernel, etc) using php?
Kog
3840 x 2400... why would you want to do that to yourself
Mewshi: look at the predefined variables
Jymmm
Kog: I'm tired of waiting for the damn thing to refresh.
Mewshi
what?
Kog
Jymmm: huh?
« prev 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 next »