| |
| |
| |
|
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 33 34 35
Comments:
<0> owh" Get your lips off my ***. <1> Lord_Loki: Sure, ask away. <2> well its quite complex <2> but here goes <3> Zeth: What are your PC specs? <2> I am trying to create a mod to phpbb (before you say seek help there, my issues are coding themselves) <4> Well my laptop (which I'm on now) has Pentium M 1.7ghz, 2GB ram, X700 Radeon, and some slapsticked 100GB hard drive. <3> Zeth: Which one are you interested in dual booting Linux? <4> Neither, yet ;) <1> Lord_Loki: I'll indulge you for a bit :-) <2> This mod is to add a bunch of medals to a persons profile... I have at present a db table for the medal images (for each there are 2) and a field in the usertable for each type of medal <3> Zeth: Let me ask something, do you enjoy waiting hours for your desktop or applications to compile before you can use them? <2> my overall goal with the code is this <2> to be able to pull up the users current medal standings, (ie display the medal if he has one), to be able to add, edit and delete medals, and ***ign them to users <1> Lord_Loki: So far I'm not seeing any need for rocket science here... <4> PHP scripts don't require compiling. I'm not much of a coder outside of upper level languages/scripting. BSP compilations do take a while though and complex frame by frame scene renders take a crap-load of time -- but Linux can't address that with Blender alone.
<2> also when ***igning to users, i want them to be able to receive more than 1 of the same type, but teh image to change ( ie.... move to a different field in the database) <1> Lord_Loki: That sounds more like a database design question to me. <3> Zeth: No, no. I'm talking about, would you enjoy waiting hours to compile your Linux desktop and use it? And would you enjoy waiting a long time to compile most of your applications on Linux to use them, or would you rather just install binary packages and use them right away? <2> here's the problem.... I know JACK about writing from scratch.. I can backwards engineer with the best of them.. but from scratch.. I am a monkey with a m-16 <2> well the database is done.. <2> i dont know anything about the coding of it <2> database is the easy part <1> Lord_Loki: User table with an ID, medal table with types of medals, link table with a record for each user medal, containing the user ID and the medal ID. <5> kuja: gentoo supports binary packages <3> wisp: Would you not think that defeats the purpose of a flexible package manger? <1> Lord_Loki: That way, each user can have as many medals as you want. <2> so your saying 3 tables? <4> kuja : I HATE registry integrations with Windows if that answers anything. I prefer stand-alone applications that can operate with little configurations (aside from self-created ones in the directories they are placed). I have windows on an exclusive partition. When I format, I never need to reinstall any of my common applications since they require no integration whatsoever. Hope I was more on subject with that answer. <5> kuja: i don't see how that doesn't make it even more felxible.. <2> wouldnt the link table have to be dynamic in some way? <1> Lord_Loki: Seems simplest. <1> Lord_Loki: Nope, one record per allocated medal. <2> hmm <2> let me go back a bit <4> kuja : googleTalk / uTorrent are ideal applications basically to me. Single, small, executable files. <1> Lord_Loki: The record contains a User ID, a medal type and perhaps a name for the medal :-) <2> right thats done already <2> in the usertable each user has an id <1> Lord_Loki: Yup. <3> Zeth: Well, I'm talking about Linux. If you ever decide to try it again. If you enjoy compiling and like the flexibility of optimizing your applications, then Gentoo is what you want. However, if you want right-away binary packages, you want Debian or Ubuntu. Just to save you the time of fiddlin with either to try it out. <2> in the field for that medal.. it has a value of # <2> that number is the same as the medal ID from the medal table <2> ie.. my link <1> Lord_Loki: What happens if they have two medals? <4> kuja : Ahh. Thanks for the advance ;) <2> now i need the code to manipulate it <2> i want the code to add a value <2> ie.. <2> joe has 1 (medal1) <3> Zeth: Honestly, on my p3 500, only a MORON would use Gentoo. In fact, only an idiot would use Gentoo for a 1GHz, either, IMHO. If you got some very highend hardware, Gentoo might be a decent choice. Otherwise, Debian or Ubuntu are for people who want things up and working right away. <2> if i give him another <2> the value in teh field for that medal goes up by 1 <4> kuja : Gotcha. <3> :) <5> kuja: lol.. <1> Lord_Loki: So, what if one is a Gold Medal and the other one is Bronze? <2> so it will then = the next medal id from the medals databasee <4> I think I'm going to run off for a bit now. Later everyone. Thanks for the discussions ;) <5> i can't even comment on that.. <3> wisp: I don't care for Gentoo, I don't care if people use it. I want them to be educated on what they use. <2> 2 different medal fields <1> Lord_Loki: And if they get six? <3> wisp: I know enough and I'm not stupid enough to use Gentoo for lowend hardware. <2> they can get up to a max of 8 for each medal type... 42 different medals all together <5> kuja: binaries... <2> basically <1> Lord_Loki: So, you've got a record with 43 fields? <2> if i can code 1 medal to work.. the rest is easy <3> wisp: ...Debian... does this... already... <3> wisp: More than Gentoo does... yes... <2> the user table will have 42 fields in it of medals <3> Because, that is its package manager's purpose. <2> with the medal id value <5> kuja: your choice.. still i think it's silly to call gentoo users "stupid"
<1> Lord_Loki: That is why you have a link table! <2> ok.... <5> especially because you're not getting the point <1> Lord_Loki: It only takes up space for allocated medals, not potential medals. <3> wisp: I'm not calling all Gentoo users stupid, but I also said it's my opinion that they are stupid to use Gentoo with low-end hardware. <2> ic <5> you'd use binaries for stuff like xorg-x11 and such <2> and for that i would need to go back to the mysql room LOL <5> and compile smaller progs <5> OR compile at night when you're sleeping anyways <3> Where is the point in compiling smaller programs? <6> $message = 'Someone has submitted a 404 error page.<br />The name is: '$name' The URL is: '$url' Their email is: '$email; <6> What's wrong with that line? <3> Smaller programs will likely have less options. <2> appreciate you putting up with me but at least i know where i need to start... a link table <1> wisp: No, you'd compile it for the big stuff, compiling the rats and mice is a waste of time. There is not optimisation for small code, it's the big stuff that will marginally benefit from a hardware specific compile. <5> kuja: not necessarily <3> Bigger programs are more dependant on other stuff, but if you compile it you can tell it what to use and not to use. <1> root404: The single quotes in the middle. <6> owh: What do you mean? <7> i am sorry for the question here but i don't know where to ask as i don't have friends in here. May you login on google adsense right now? Because i have error message for more than 2 hours. Thank you in advance <5> what's wrong with compiling when you're not using your computer? <1> root404: If you want to do that, then put a dot around it. <1> root404: $message = 'Someone has submitted a 404 error page.<br />The name is: '.$name.' The URL is: '.$url.' Their email is: '.$email; <3> wisp: I'm always on my computer, usually. My friends are all in college in the states :) <6> owh: I still get :Parse error: parse error, unexpected T_VARIABLE <5> kuja: good for you.. you must be.. uhm.. healthy <3> I am, actually... aside from the fact I smoke like a pack a day :P <1> Lord_Loki: The code is pretty trivial, the examples in the manual will help you get started using your reverse engineering :-) <1> root404: Then you made a typo. <3> wisp: If I was out, I'd be smoking 2 packs a day :) <2> unfortunately i have nothing to reverse from <2> i was just saying that i can reverese engineer something that already exists <5> kuja: so.. basically you don't sleep and never leave the house, smokes a package of cigs a day and still, you're healthy? <1> Lord_Loki: Sure you do, go to the mysql examples and see what they use to show records in the database. <6> owh: It says it on that line... <8> PHP Warning: PHP Startup: Unable to load dynamic library 'c:\PHP\php_mysql.dll' <8> anyone?? <1> Lord_Loki: You got to start somewhere... <8> and the file is there... ;p <1> root404: Yes, but what I gave you and what you typed are different. <3> mozez: libmysql.dll must be recognized in your path as well. <5> kuja: besides.. when compiling ****, you can still do other things on the comp <6> owh: Err, I copy and pasted the line you gave me. <8> kuja, libmysql.dll is in c:\windows\system32 <3> wisp: When I tell my package manager to do something, it's because I want to use that package right away. <8> kuja, which is in my path.. <1> root404: Are you missing a ; in the line before? <3> wisp: Korean repositories, along with my fast connection, create no conflict. I tell apt to install a package, and 2 seconds later, it's installed. <6> owh: .....Lol <3> In fact, it only takes me 2-3 minutes to install KDE, entirely. <5> kuja: congrats? <3> wisp: No need, it's old news. <9> if I put error_reporting = E_ALL in my php.ini, but error_reporting(E_ALL ^ E_NOTICE) in my script, I don't get any erorrs displays but it screws up my formatting? Excluding notices from the ini works, but how come it turns off the display of notices but still seems to "work off them"? <10> eh, how do you make a self incrementing array? (need it to increment by 1 each time through the loop) <9> stedios: a for loop? <10> and count(array) or whatever it is.. ? to get # of entries <3> stedios: Using $arr[] = 'foo' ... (notice the []) <10> i have $filetype=array('.txt','.zip','.rar','.7z','.gz','.exe','.doc','.htm','.php','.shtml','.mp3','.css'); , <10> use $filetype[] = ? <11> $filetype[] = 'something' is to append a value to the end of the array <9> stedios: for ($i=0; $i<count($filetype); $i++) { echo $filetype[$i]; } <3> ... <11> foreach ($filetype as $v) echo $v; would be simpler <3> foreach ($filetype as $type) { echo $type; } <10> ah yea, foreach would be best <9> doh. wow im stupid <9> lol <9> been doing stupid stuff a lot lately... whats happening to me!? <10> first language i used was c++ in HS, so i like for loops ;0 forget to use foreach <11> nah. it's not a stupid thing. it's just the good old fashion way
Return to
#php or Go to some related
logs:
perl split '\s(\s*)', $_ #linux #php smb signing is incompatible #debian gentoo xen nvidia patch ps2pdf ebuild #css Red Hat Enterprise Linux ES release 4 pop3
#suse
|
|