| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9
Comments:
<0> Probably why I'm having so much trouble conceptualizing this project. <1> @roulette topten <2> Roulette topten: spox (6), follower (5), Zenethian (5), evulish (3), realmene1tbacon (3), Technobabble (2), Sean| (2), ansimation (1), evulish_ (1), RealMenEatBacon (1), djkaye (1), Mr_Eko (0), Confessor (0), pizza_milkshake (0) <1> heh <0> Hmm... <0> You could actually have a "gatling" command reserved for yourself... <3> is that times shot or times surviving 5 rounds? <0> Does a 1/6 chance on all non-voiced members. <1> surviving <0> Ops also excluded, of course. <1> Confessor: i think people would get annoyed with randomly being kicked for not reason <1> no* <0> Yeah, you're right. <0> Better in concept than execution. <3> how about aids roulette? the bot sticks you with a needle that's been god knows where and doesn't tell you if you're infected. then one day it kick bans you. and everyone you've made a ***ual reference towards before the kick ban becomes infected and their own clocks start ticking and before we know it the entire channel will be empty <3> muwahahaha
<1> lol <1> that would be fun <3> i'd get raped the first day, i just know it <4> Two-Bits: well, you do have a pretty mouth. <5> that would be... weird <3> "purdy mouf" <5> my first action would be to ***ual harr*** mod_spox <5> th, it will fall right after me <4> and damnit, i just compiled subversion 1.3.1 and removed the rpms for subversion 1.1. now i have no python bindings for subversion :-/ <0> I completely understand. <0> My Ford F-150 has the same problem. <0> Hmm... <0> Spox? <1> ? <0> Did you recently switch @porn database providers or something? <1> no <1> why? <6> @porn hairy chaps <2> Error: No results found for hairy chaps <1> i actually keep forgetting to ask pizza what his site is and if i can scrape it <6> WHAT!?! <0> Oh, just a couple unsuccessful queries that I would've thought would be successful. <1> or if he even still has it <6> i thought he just recently redid it <4> and jesus, subversion has some of the longest configure script output that i have ever seen. <5> @ <1> ! <0> "melon love", for example. <0> or "girl on girl on girl on girl on girl on guy on sheep" <1> the @porn command wasn't really done for serious use, which is why the output is so crappy <5> try it with donkey <1> it's more just something i made up because someone was like, "what, no @porn" <5> it will return more matches <0> Oh, I was just wondering, I have far better sources for serious pr0n searches. <0> By the way, did any of you catch the PumpCast News segment featured on Leno a few nights ago? <0> It's quite funny, in the Candid Camera mould... <5> spox, are lookarounds implemented on php's regex system? <0> It's been meming across the Internets for a bit. <7> Can anyone help me... http://pastebin.com/747509 i am trying to make this, so that it doesnt matter the size, it will allways be a picture of the same height.. but i am lost.. can anyone help? http://pastebin.com/747509 <0> Ah, here's the YouTube of it... <0> http://www.youtube.com/watch?v=JWYMMjMA41k <6> netgene: you don't care about the width? <6> netgene: divide whatever specified height you want by the current height then multiply by the current width to get the proportionate width for scaling to the new height <6> resize, output, voila. <1> @php $string = 'fooradly'; echo preg_match('/oo(?=r)/', $string, $matches) ? 'matched' : 'no match'; echo " - "; echo implode(' | ', $matches); <2> Result: matched - oo <6> which is what you're doing so i don't see what the problem is. <1> Mr_Eko: i would say that's a yes <3> mmm, that was indeed funny Confessor <7> yeah but look.. http://elitedeco.com/Dining-Room-Sets-c-20.html <7> some pictures appear taller than others <3> tickled my proverbial funny bone in fewer ways than 3 <6> netgene: right <3> but still funny <6> netgene: because of the logic in your code <7> how can i make it so that all pictures appear 160 of width all the time, and if they are taller, shrink it to fit ? <6> netgene: i thought you wanted them to be a specific height? <3> set the width to 160? <3> height to auto? <3> or vicey versy
<7> hhmhm its hard to explain... i would want them all too look even, so its either 160 or smaller. depending. <6> netgene: do you want all the heights the same or all the widths the same? <7> http://www.cb2.com/spill.aspx?c=115&p=2 <--- altough it seems all their pics are, 100x100 , but at least thats the final look i would want <5> you want to kee the proportions? <3> netgene: you want them scaled to the largest size that would fit within a peticular bounds, correct? <7> all the widths the same, and the heights to be X or smaller. <6> you can't have both height and width the same unless they all have the same h:w ratio or you distort them <7> Two-Bits EXACTLY <6> netgene: eh, so just do some math <3> you can calculate that in php <5> calculate the aspect ratio, amigo <3> you could do that.. calculate the aspect ratio and compare with the aspect ratio of your desired bounding box and then you'll know which dimension to make 100% and which to make auto <6> figure out the dimensions of your boundaries, find out the percentages of your images, find which one is bigger then scale to that one <3> or you can outright calculate the exact size and specify it in your markup <5> find the bigger one, set it to the value and set the other to the max value * aspect ratio <3> Mr_Eko: you have to inverse the aspect ratio for one of the <3> m <5> hmm... yep <3> http://www.nomorepasting.com/paste.php?pasteID=62907 <6> it always confuses me how people can program and not figure this stuff out on their own :P <6> same with pagination <3> indeed <6> it's very basic logic <5> who posted the link of the 3-armed chinese baby? <7> evulish... sometimes i get lost in my code.. lol.. <3> of all things, it's hard to imagine why math is difficult when you know it <6> but i generally ***ume programmers would know math <8> hey i need help with a inner join <8> :S <6> i mean, i can understand throwing logic problems at random people and not having them get it <1> an <6> but not really at programmers <3> half the time they dont understand the correlation of expressions, statements, operators/operands, etc <3> coding is just a flowing of mimicry for some <7> i understand most of the thing.. but for examp=le all the images functions from php are usually confusing for me.. for some reason <6> hehe. i learned modulus on my own while programming <6> netgene: it has nothing to do with the image functions <8> guys i made a query using a inner join, in the fetch_array i can get all the columns of the table1, but some columns on table2 i cant get the results, what i can do? <6> phyntek: are you selecting them? <3> imagesx/imagesy or getimagesize <8> yep <3> the docs spell it out in gross detail <3> phyntek try "tablename.fieldname" in your array key <6> if that fails print_r() the array <3> yes, investigative debugging would have told you exactly what IS in the array <8> you mean this: $field = $array["table.column"] <8> ?? <3> yes <3> it usually only happens with fields that exist in both tables though <8> let me try <8> ... <3> fieldnames rather <5> spox, which version of php does mod_spox run? <3> @php echo phpversion(); <1> @php echo phpversion(); <2> Result: 5.1.2-1ubuntu2 <5> can i ask for permission to use mod_spox for quick php tests? <3> seriously, why is your bot so slow? <1> it hates me <1> i added some new stuff to it for tracking and it has slowed it down <8> doesnt work <8> :S <6> phyntek: print_r() it <1> next week i will have some time to go through it and optimize it so it won't be such a bitch <3> move the "tracking" stuff to after it runs the php code? <8> evulish print_r($array) and them what? <1> it's not so much the "running" that is keeping things slow <6> and then look at the output <1> it's replies from the server in the queue getting processed <3> hrm <1> some times it gets too full, so it takes a minute for things to get through <3> well, fix it <3> heh
Return to
#php or Go to some related
logs:
mcal_date_valid undefined #chat-world #allnitecafe #allnitecafe #india ilmainen bouncer #unixer #allnitecafe #india #vb
|
|