@# 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



Comments:

<0> It has different rules to MediaWiki by default, but they both output HTML in the end and are therefore pretty similar
<1> the namespace is already polluted with 3000 functions :P
<1> and tons of constants
<1> the only solution I can think of would be to do something like packages with name prefixes, ie reverse dns: com_bewst_function_name_here()
<1> +e
<2> Zeros: Look at Java's setup sometime. It does similar.
<3> oh, ok
<3> well i dunno what i'll do but i am talking about the future here so i'm sure i'll be able to figure it out when i get to that point
<1> Tresnar_, I have, java has packages though com.sun.net.MyCl***Name
<3> AFK
<1> you import packages and cl***es into your compilation unit
<2> Right, it uses that system for naming the namespaces [to avoid collision].
<1> exactly
<1> php doesn't
<4> meh... if you need a language to formalize lots of things for you (such as good native object model, native namespaces) et cet... php isn't the language for you
<1> php5 is a decent OO language, restrictive in comparison to something like ruby but still nice



<1> its just not the best procedural language for large projects
<1> well, in my opinion :)
<4> Zeros: that's just it: not everyone needs OO as a language feature and explicit namespaces...
<1> I suppose :)
<5> does anyone know of a javascript script that will resize images down with the font sizes?
<5> like right now i'm using overflow:hidden
<5> so if the image goes outside of its bounds, it cuts off
<5> but i'd like it to dynamically scale down, if thats possible
<4> you would trust the browser to scale the image well?
<6> well you can always size an image in ems
<6> good luck with that
<7> heh
<5> bewest: not well, but arguably better than just cutting off?
<2> <nods> I've only gotten away with em-sizing on images that could be easily defined in vectors :P
<4> hax: honestly it sounds like a feature that supports an unreasonable expectation
<4> hax: why do you need to dynamically resize images with font size?
<5> bewest: k, just checking
<5> bewest: i don't
<5> bewest: my layout is totally relative though, so if you scale down to a certain point, the images end up overlapping
<5> unless i set overflow:hidden which solves it
<4> right. I would think that expecting the site to look the same through all possible font sizes is an unrealistic expectation
<5> bewest: well, not really the same
<5> but whatever, its fine
<8> hax you were working on a "columnized" dt thing weren't you?
<5> Jymmm: i scrapped it
<5> Jymmm: i do it now with a ul, li, and span
<5> even though its still semantically a definition
<8> hax That's fine, but did you ever try it wiht a HUGE list, say like 80 items?
<5> Jymmm: yes
<5> Jymmm: works fine
<8> hax exmaple?
<5> Jymmm: umm, i don't have one handy
<5> not public anyway
<8> hax turn off the firwall =)
<8> and the firewall too
<5> Jymmm: all you do is <ul> <li> <span>Defition term:</span> Definition goes here </li> </ul>
<5> heh
<5> Jymmm: can't internal stuff
<1> oh ick
<1> don't do that
<8> hax: bull****!
<5> lol its true
<1> thats why we have a definition list!
<1> :D
<8> hax yeah, so is evils is dead.
<8> elvis
<5> Jymmm: if you really want me to do i can make an example
<8> hax Not really, I just need to see a list of 80+ items in column format
<8> hax I want the colums to be dynamic based on the widt of the container
<8> ok, width of the browser too
<5> Jymmm: sec, i'll do it
<5> Jymmm: http://www.cheaphacks.info/layout.html
<5> Jymmm: done
<1> hax, why can't that be done with a dl?
<5> Zeros: no
<5> Zeros: well, not validly
<1> um why not?
<5> Zeros: it would have to be:



<5> <dl> <div> <dt> </dt> <dd> </dd> </div> </dl>
<5> and thats not legal
<1> no it wouldn't....
<1> why would you ever need to place a div inside :P
<5> go try and recreate it
<5> and you'll see
<1> oh
<1> heh, I didn't realize the columns we're a fixed count
<8> they're not (are they)
<1> I'd use <strong> instead of <span> then
<5> well, whatever
<5> same difference
<1> as you are emphasizing the term you're defining :P
<8> hax thanks
<1> you're right though, that wouldn't be possible with a dl
<1> :)
<1> oh bah
<1> I mean't weren't*
<1> :/
<5> Jymmm: lol it took me forever to figure that one out
<8> hax better you than me =)
<1> had a weird bug with dl's yesterday too hax, IE was making all the dd's inline even though they were floated and nothing I did could change it. had to clear them forcing them down under the dt and then use negative margins to move them up next to the dt's
<8> hax if you knew what I did yesterday.... uh boy
<1> would a list of directions be an ol?
<5> Zeros: depends if they need to be followed in order? ;)
<1> heh, well you'd think so but my mother regularly proves otherwise ;P
<5> heh
<9> <@kazin> why does php have 'echo' and 'print'? Do they do different things?
<9> <Bluefoxicy> kazin: echo prints in a big empty room.
<9> heh
<5> rofl
<1> :P
<1> unfortunately they do actually do different things even if subtle :/
<1> wow I'm just in a php bashin' mood today
<10> i'm leaving now bye :)
<5> Zeros: bash harder :P
<5> i'm thinking about taking a nap
<1> luck you
<1> +ly
<5> i shouldn't be
<5> but i'm getting frustrated with IE
<1> aren't we all, whats the issue with it?
<5> its... extensive
<8> it's existance
<5> heh
<1> well I've been able to get around most bugs in IE
<5> Zeros: its internal right now, i've got to like sanitize it and post it
<5> which i'll do
<5> sec
<1> there's a few show stoppers that'll crash the browser though :P
<8> windows?
<5> Zeros: http://cheaphacks.info/zomg.html
<5> Zeros: half my problem is i don't have IE to test
<5> cause i'm on a mac
<11> roflhax
<5> eat-php: ?
<8> hax install os9 and then install ie =)
<5> Jymmm: ?
<5> i need like a virtual pc thing
<5> or dual boot
<5> but i'm too lazy to do it
<5> after this project is done, i'll do it
<5> Jymmm: fyi my css from the dl/li thing works on ie
<11> hax: ?
<5> Zeros: :(
<8> hax good to know
<5> Zeros: its almost certainly a padding problem
<5> Zeros: but i have the (what i think are relavent) dean edwards scripts
<5> Zeros: so that should be corrected
<5> but its clearly not
<5> Zeros: btw, try resizing that **** in FX, both browser and font size
<5> Zeros: neat, huh? :)


Name:

Comments:

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






Return to #web
or
Go to some related logs:

ipgre init: can't add protocol
#lisp
what is sscpurawuser
#debian
#sdl
Ubuntu tribe
python pattern.sub
WHERE NOT EXISTS mysql 4
bcm44xx
#dns



Home  |  disclaimer  |  contact  |  submit quotes