@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 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 28 29 30 31 32



Comments:

<0> Jymm that's only getting me about $10k a month now, i guess i could double my output
<1> they did a good job on that
<2> http://joshstmarie.com/x11-kde.jpg -- lol
<3> caffinated: Yeah, the thing is my girlfriend one of those "wtf is this?" people, so I just give her GNOME :)
<1> FzZzT: much of it is not yet available through the configuration interface
<2> too bad i can't get it working right, it'd be ****ing cool
<3> And then she goes, "ooh! Windows!" :P
<4> myconid: i'm not worried about version control ... i've never had a problem with 'losting' old files and i've done some pretty large projects in my time
<5> heh
<4> *'losing'
<6> caffinated: Now the trick is, will Raster actually do a release before getting another bug in his side to scrap and rewrite everything? :)
<1> mattmcc: haha, fair comment. they do tend to rewrite at the slightest hint of danger
<0> Artnez_: serously, html-kit is free and is great for code work. handles php syntax highlighting and a plug in that lets you use the chm version of the php manual for online documentation. www.chami.com
<5> b1n0ry: does it do completion?
<5> parameter
<0> if you want it to, i think it does. i disable code completion.



<4> b1n0ry: is it easily exensible? I always end up writing little plugins of my own if the option exists
<0> Artnez_: yeah, lots of plug-ins already available and a pretty decent scripting language
<3> All these useless features for an editor! Why! :)
<4> cool, i'll give it a try tonight, thanks
<3> caffinated: All *we* need is jEdit :D
<0> Artnez_: and it does FTP transfer just fine. use Add/Remove Server Folder... FTP folder...
<1> kuja: heh, I'm just waiting for the eclipse plugins for ruby to mature
<3> Nooo!
<3> caffinated: Traitor!
<1> kuja: jedit is nice, but it lacks any form of svn support
<3> caffinated: Ah well, yeah... svn :P
<7> hi
<0> ruby... a programming language... my birthstone... i wonder if that means something...
<4> b1n0ry: can you 'sync' it with a local director?
<3> I just stick with the command line for svn
<4> *directory
<3> b1n0ry: What's that supposed to mean? :P
<0> Artnez_: you can do that using the "open a copy" option on the open config and set a local directory as your "copy" directory.
<7> how do i use a css file in a php page ?
<8> hello all
<4> awesome, i thinks that's exactly what i need
<3> jaggg: Carefully.
<7> lol
<7> but how would i do it ?
<0> jaggg: echo a <link....> line to the client in the <head> section?
<3> jaggg: Accurately.
<8> alright, can someone give me a decent but brief explanation of how cl***es in PHP are useful beyond organizing your custom functions?
<7> b1n0ry yeah, but how do i echo something ?
<0> jaggg: ummm.... with the echo() command
<3> NSGN: Nothing much, aside from a minimal OOP implementation.
<7> lol, got link to a tut on php ?
<0> jaggg: echo "<link href='styles/style.css' rel='stylesheet' type='text/css'>";
<7> for echoing...
<3> Minimal from my Ruby perspective, of course :P
<7> b1n0ry thakns
<8> kuja: really?
<3> Still, much better than procedural in PHP, IMHO
<4> NSGN: It allows you to write portable code. For example, if you can write a cl*** called 'database' and extend it to work with any database system you see fit.
<3> What I'm saying is, OOP is there in PHP, you should use it.
<0> jaggg: personally, i would start here http://www.php.net/docs.php
<8> artnez_: ah, i see
<4> NSGN: It really depends on where you stand in the PHP market. If you're creating a simple image gallery, go procedural and save yourself some time to spend with the kids.
<0> jaggg: echo() is like PHP 101... probably the very first command someone learns (i.e. echo "Hello, World"; )
<8> artnez_: so i could write my site to use a database cl*** i make, and in the future if i change databases i only have to rewrite my cl***...not my entire program
<6> caffinated: If you use Konqueror much, kdesvn is a pretty interesting overlay to give it integrated svn support.
<4> NSG: In my code, all i need to do is change $db -> add("main","mysql") to $db -> add("main","postgres")
<9> damn internet
<4> if that isn't simple, i dont know what is :D
<8> artnez_: hm...thats even cooler. can you give me a nutshell idea of how that works?
<8> oh wait
<8> nevermind
<8> it makes sense already :-)
<4> oooooo and lets knot forget dataobjects
<4> google php dataobjects
<8> hm?
<4> $my_table -> fname = "Joe";
<3> NSGN: By wrapping the common database calls. When you call query on that cl***, depending on the database type you know which database to query, so mysql_query() vs. pg_query()
<4> $my_table -> lname = "Shmoe";
<4> $my_table -> update();
<0> ya know, i think it's lunch time
<8> thats where i get lost: the object based stuff in php



<10> b1n0ry: I have narrowed the problem down to the encryption of that array.... Is there any good want to encrypt it as we had talked before?
<0> gabrielone don't encrypt it as an array...
<4> NSGN: OOP is over simplified in PHP anyway. just read a few of the many tutorials and you'll be in the game in no time
<0> gabrielone encrypt the indiviual elements of the array separately
<3> Over simplified, as in an array :P
<8> artnez_: alright. hopefully i wont get confused, cause i currently am learning Objective-C
<8> hehe
<10> b1n0ry[lunch]: Thanks I will try that...
<11> that was the point of my whole foreach() recommendation
<4> bro, if you're learning objective c -- scripting cl***es in PHP will be like wiping your ***
<10> b1n0ry[lunch]: But the problem is I do not know how to do the foreach properly to accomplish it
<4> gabrielone: http://us3.php.net/foreach
<8> artnez_: haha. i'm a super super n00b at Obj-C at the moment
<8> but php i have a good amount of experience in and am comfortable with. i just never got into the whole OOP area in it
<4> we all start somewhere :)
<10> Artnez_: Thanks... I have been looking at it, but I am just not sure how to do it.... I am learning as I go I am embarr***ed to say
<8> gabrielone: thats how i learned ;-)
<8> no shame in it
<12> Artnez_: In the middle of the puddle
<8> i think its one of the better ways
<13> How do i access http *request* headers (sent by the client) ? And does anyone know if it could be somehow possible via plain cgi scripts too ?
<10> NSGN: Thank you... It makes me feel a little better.... :)
<8> :-)
<3> NSGN: Eh, understanding OOP is like understanding your environment. You're environment is full of objects. The tree across the street from you is an object, what can you do with it? $tree = new Tree(); $tree->chopThat****er();
<14> !+gv
<15> Global Variables - this will show you everything that php sees: <pre><?php print_r($GLOBALS); ?><hr size=5 noshade><?php var_dump($GLOBALS); ?></pre>
<3> s/You're/Your/
<8> kuja: haha
<4> pisi: The headers are sent to the server initially, so the server can hand it out to pretty much anything.
<14> kuja: Korean uses a form of Kani, right?
<14> Kanji
<10> NSGN: I am building a complete online application and the login encryption and decryption is killing me
<8> yikes, thats one of the tougher areas
<3> Jymm: Chinese characters? Yeah. It's called Hanja :)
<8> but shouldnt be too impossible
<8> using sessions?
<14> kuja: Not Chinese, Korean
<4> gabrielone: login encryption/decryption?
<3> Jymm: They are essentially (mainly) composed of Chinese characters, like Kanji. And it's called Hanja.
<10> NSGN: yea but I need to get it to where where it writes a cookie to the drive next so that they do not have to login everytime
<3> Chinese people will be able to read most of Kanji or Hanja, cause most of it is Chinese.
<8> hm. dude, sessions are your friend
<14> kuja: Ah, ok. How many Hanja characters are there (about)?
<8> they do the work for you
<4> gabrielone: are you using a database to store user data?
<8> and yeah, use a db
<8> hehe
<10> Artnez_: Yes I am using PostgreSQL....
<13> how stupid of me, it uses HTTP_HEADER_NAME in the standard environment..
<3> Jymm: Probably all the Chinese characters (of course) plus some extra maybe :) ... soo... /me counts his fingers...
<4> create a field in the user table called cookie
<3> Answer: Too damn much.
<10> Have ya'll got a better suggestion
<4> when the user logs in for the first time, if they want to be remembered, generate a random token
<4> something like
<14> kuja so roughly 3000+
<3> Probably
<4> sha1( uniqid( mktime() ) . "SOME****" );
<4> that's 40 characters as an sha-1 hash
<4> stick that in the cookie field, and ***ign a cookie to that value
<8> gabrielone: artnez_ has it smack on
<14> kuja Is the Korean Culture into "symbolism" like Chinese is? Prosperity, Peace, Wealth, Health, etc ?
<3> But in Korean, you won't need to know Hanja to read much of the newspaper, like in Japan where you need to know at least 2000 Kanji characters to read an average newspaper.
<8> gabrielone: or you could use sessions ;-)
<8> to do the cookie work for you
<3> Jymm: We've got lots of traditions, sure.
<4> that way you're not revealing the p***word in the cookie but still give them access
<14> kuja: Red and Gold ?
<4> NSGN: session are temporary
<3> Red and Gold? What's that symbolize? Death and Happiness? :P
<16> Artnez_: not true
<8> yeah
<4> myconid: true
<3> err Wealth, even


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #php
or
Go to some related logs:

fucking-gentoo
#sdl
javascript imagepreloader
#python
#perl
copying files to var/www
#linux
bind rndc dapper
#sed
#math



Home  |  disclaimer  |  contact  |  submit quotes