« first day (215 days earlier)      last day (4726 days later) » 

user1385191
5:00 PM
make it a global selector (*)
 
I tried both of them but is not working
 
@MattMcDonald the Q i posted then is it possible ?
 
TRY
* {
padding: 0;
margin: 0;
}
 
@aurel maybe post your code in jsfiddle.net
 
user1385191
I know nothing about mobile events
 
5:01 PM
@MattMcDonald thx dude
@Neal that first link is telling me to maniuplate the page via css well what i want to do is change the WHOLE orientation based on a tap
 
it work on jsfiddle.net though
 
so even if the phone is in landscape it would force it to portrait
 
@Xavier isnt that controlled by css?
 
RT @maboa: An often asked question is how to ensure site-wide continuous playback of audio, it came up on HTML5Doctor so I replied: http ...
 
it works as a seperate snippet
 
5:02 PM
also reply to the post not just @something
 
user1385191
@aurel jsfiddle uses a css reset
 
user1385191
don't trust it
 
or else sometimes idk what ur replying to
 
user1385191
whoops
 
@aurel so something is wrong in ur code
 
5:03 PM
@Neal ok i gotcha didn't know there was a reply feature
 
@Xavier and now u do :-P
@Xavier plain ping
@Xavier reply
@Xavier reply to up here
 
@Neal ok ok lol
 
I am using the 960 grid sistem, so its making things compicated for me
 
@Xavier and here :-P
 
could that be the problem
 
5:04 PM
@aurel no idea what that is
 
@aurel use something like firebug in firefox to view what CSS is being output on the page
@aurel also do you have like a <div id="header"> or something with a margin ? that also causes problems sometimes and pushes the page from the top
 
user1385191
ugh, I'm thinking back to grid design in college classes
 
user1385191
painful times
 
user1385191
@user257493, I posted my answer on that question if you want to take a look at it
 
hello to everyone!
 
5:07 PM
@Pehat shalom
hola
hello
 
привет
 
I have this jsfiddle.net/KEKGX
 
)
 
@Pehat surre that too :-P
 
@Neal after testing the css change all it does is forces the current screen smaller i want it to actually rotate the screen, seems that im not sure about that
 
5:08 PM
@aurel i dont see an issue
 
@Pehat hiho
@aurel ditto i cant see anything wrong with that either
 
Oh, it's a javascript room, and I was going to chat in Android. Sorry, it seems to me that I've missed.
 
thats what is annoying - anyways thanks for your help
 
@aurel although u did put 10px padding on the body element
@Xavier idk man...
i dont rly know mobile stuff
 
@Neal its homo stuff i tell ya
 
5:10 PM
@Xavier suuurrre...
 
@Neal you should read my answer to my own question on media queries for a phone that says it's 480px wide LOL
 
@Neal that did not change much
 
@Xavier idk. i am not rly a css buff lol
 
anyway Im sure I'll get it fix soon - thanks
 
@aurel is that all the code ?
 
5:11 PM
(i might have posted this before)
 
user1385191
jsfiddle is a bad example because it puts padding on the iframe body
 
user1385191
10px
 
@Xavier no but thats where the issue is - the page is full of html
 
@MattMcDonald you can remove that easily
 
@aurel do you have the files online so i can view it in firebug ?
 
5:12 PM
no sorry
 
user1385191
@Neal ...and yet, I had much trouble doing so
 
lol:

body {
padding: 0 !important;
}
easy :-P
hey @Ray!
 
user1385191
I never use !importants
 
user1385191
they're cancer
 
@Neal >_> what want :o
 
5:13 PM
@MattMcDonald well then ur just not cool enuf!
 
Oh we're going all multi-lingual in here?
 
:-P
 
@MattMcDonald just like real men
 
@Raynos just say hey
 
@onteria no bad
 
user1385191
5:14 PM
using an !important means your CSS or someone else's is busted
 
heh
 
@MattMcDonald and jsfiddles is, as u said earlier :-P
and also, not always
 
1 message moved to bin
 
Disappointing. :(
 
No non-ascii tags for you mister
 
5:14 PM
Not having any of that
 
@Raynos why u moving stuff?
a russian hello was said earlier :-P
 
@Neal :( why are you higher in the weeklies
 
My Japanese text has been stolen by thieving demons
 
@Raynos hehe
i am the best
 
Oh wait your not
 
5:16 PM
and i dont play on saturdays hehe
 
@onteria why are you higher in the weeklies :(
 
@Raynos what # are u ray?
 
@Raynos I don't know, but this is the closest I'm ever going to get to Jon Skeet in my lifetime
 
user1385191
man, Raynos is killing it in the monthly js rankings
 
@Raynos lol im better than u in monthly :-P
@MattMcDonald im beating him hehe
hehe im #19 :-P
 
user1385191
5:17 PM
he's 4th, you're 9th
 
user1385191
(in the last 30 days)
 
@MattMcDonald where do u see those?
(i was looking at total, not just js)
 
@Neal only because you have 50 open id accounts and upvote yourself :D
 
Where do you see last 30 ?
 
I don't think I deserve that high ranking in the weeklies, but not my code
 
5:18 PM
@Xavier ?? i dont
 
Oh js list
 
@Neal sureeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee lol im joking (British Humor)
 
user1385191
rep isn't indicative of quality in a lot of cases
 
user1385191
it's just quantity
 
5:19 PM
@MattMcDonald where does it show my rank?
 
lol
 
@MattMcDonald exactly, I screw up royally sometimes when compared to lower ranking peeps
 
yay
and im 1st in askers
 
user1385191
yeah, but we all know the jQuery tag is a pigpen
 
5:20 PM
@MattMcDonald and ray answered double the amt of Q's
 
hold up im 5th in Askers
wooo hooo lol
 
Very cool jQuery blog aggregator created by @cfjedimaster http://bit.ly/jGJw7x #jquery
 
user1385191
@Neal that just means he answered the questions that weren't popular
 
@Xavier lol no ur not
 
user1385191
I've been there before
 
5:20 PM
@Neal I answered half the # of questions
108-64 vs 174-131 ;)
 
@Neal well i am on the list i assumed the '5' was position lol
 
@Raynos in javascript u answered 144 and i answered 91
@Xavier lol no
 
and 250-144 and 131-91 :)
 
Went to use "graphic content" to refer to "graphics related content" until I realized how it might be implied
 
user1385191
29-2 :)
 
5:22 PM
well in total SO score im beating @Raynos
for the month
 
@Neal oh it's just showing me on it, because im viewing the page ?!
 
@Neal I think I win this one in votes / questions rating :)
 
"Make sure there's lots of blood in those pngs"
 
@Xavier yes
 
@Neal fail
 
5:22 PM
"Maybe add some rounded corners and transparency. People love those."
 
I know :)
 
user1385191
rep is just a number
 
user1385191
don't forget that
 
and im beating u for the quarter (barely)
 
5:23 PM
audiolib.js scheduling API http://goo.gl/SBUcc from @quinnirill
RT @GoogleCode: Google's T. V. Raman blogs about ChromeVox, the new built-in screen reader for Chrome OS. http://goo.gl/XRhsb ^sk
 
@Raynos and u just beat me for the year, but i started in march
 
user1385191
I could be at 10k by now if I answered 5-10 questions a day
 
@MattMcDonald whats the point of rep even, do you get a free trip to Willy Wonka's chocolate factory when you get 10k + ?
 
@Xavier nop.
 
@Xavier u get to be a mod. :-P (whatever that means)
 
5:24 PM
Rep gives you access to community tools
 
Theres no point.
 
user1385191
privliiges
 
@Raynos i know, but its fun to gloat
 
There is some value in being #1 / #2 in a tag
 
user1385191
lots of people want the mod tools
 
5:24 PM
Being able to edit people's questions so you can read their code pastes, giant banner ads go bye bye, voting to close questions, etc.
 
Merely because you can assert knowledge in an area
 
user1385191
personally, I only wanted the tag creation privilege
 
i see, well i got mod tools irl so ill enjoy my below 200 score :D
 
Do I have that yet?
 
user1385191
(ps: use noscript and those ads go away anyways)
 
5:25 PM
Being able to see other peoples deleted answers is fun ;)
 
has anyone here used the jquery ui combobox with autocomplete?
 
user1385191
noscript + custom hosts file = bye bye ads
 
I'm wondering if there's an option to use a remote data source with it
 
yup, I do indeed have tag create privilege
 
user1385191
5:26 PM
that will set ad servers to 127.0.0.1/localhost
 
almost have the ability to do close vote
 
user1385191
therefore barring them from loading
 
user1385191
but it's for windows
 
@Raynos thats for sure ^_^, you get to see silly mistakes :-P
 
@Neal talking about rep, i remember neal when he was like 2-3k rep :O
@Neal thats when i met you lol
 
5:27 PM
@Xavier lol yes.
haha, thats when i 1st started here ha
 
@Neal then your like "BRB GETTING UBER REPS"
 
Another reason why more rep would be nice for me is so I can add bounties to other people's questions to help them out
 
@Xavier riiiight
@onteria_ ehhhh i havent rly felt the need to do that
 
@onteria_ you can bounty mine !
 
unless its a rly awesome Q
 
5:28 PM
@Neal you can giveth me bounties
 
Yeah, it has to be something very interesting to me for doing the bounty deal
 
@Xavier ehhh
 
Something like language internals
 
user1385191
oh my goodness
 
Or very interesting edge cases
 
user1385191
5:29 PM
I found an answer with nested for...in loops over an array
 
@MattMcDonald ?? where where! !! !! !! !! !!
 
user1385191
I'm just going to paste the code
 
o just post the q...
 
user1385191
for(var i in tr){
        for(var j in tr[i].childNodes){
        var td = tr[i].childNodes[j];
        if(typeof td == 'object'){
            if(higestWidth[td.cellIndex] == null || higestWidth[td.cellIndex] < td.offsetWidth){
            higestWidth[td.cellIndex] = td.offsetWidth;
            }
        }
        }
        for(var j in tr[i].childNodes){
        var td = tr[i].childNodes[j];
        if(typeof td == 'object'){
            td.setAttribute('width', higestWidth[td.cellIndex] - padding);
 
zzzzzzz
@MattMcDonald pooost the Q, i need to know the context
 
user1385191
5:31 PM
I don't want the poor guy to get downvoted, he's a new user
 
@MattMcDonald i just want to see the Q
 
user1385191
it's in the JS section related to tables
 
@MattMcDonald why :( why not loop through the row properly
 
user1385191
he's not aware that tables have a rows collection built-in
 
user1385191
and rows have a cells collection
 
5:34 PM
oh i missed 310 messages
 
user1385191
there are a ton of table methods and collections that are quite useful, yet overlooked
 
@SirmXe ha
 
well chances are i wouldn't have really responded to any anyways.
too busy working etc
 
onGameStart - first HTML5 games conference http://goo.gl/WLq8g
 
Server migrations are FUN -_-
 
5:41 PM
@RyanKinal .net to node?
 
lol, no
Actually, SQL Server 2000 to 2005 ( I think... I'm not the one doing the migration, just dealing with config changes)
 
We're still on .NET 2.0, unfortunately
@user257493 They took our jobs!
 
@user257493 how do those work?....
 
is these a non-math way of seeing the height of an element, when the css heigh value is not available?
 
thanks
 
@Neal @RyanKinal Not sure how it works, I'm going to snoop around in it tonight.
 
kk
 
@Neal @user257493 Are you guys talking about the CSS effects?
 
6:03 PM
ya
 
It will be interesting to benchmark how much faster these are, and see if we can mix css rules with js events.
 
I guess I'm just not sure what you mean by "How do those work?"... I mean, each of them has some explanation, if you click through
 
user1385191
none of those are really viable at this point because of browser support
 
user1385191
they're just kind of there as an art gallery
 
@MattMcDonald Sure, not for production, but they're interesting as a way to push the envelope
"This is the kind of crazy stuff you can do with cutting edge CSS."
 
6:12 PM
ouch
 
@Neal Ouch?
 
6 mins ago, by Ryan Kinal
"This is the kind of crazy stuff you can do with cutting edge CSS."
hence ouch
:-P
 
I fail to catch your meaning
 
@RyanKinal cutting edge = ouch
lol never mind
 
Oh. Oh I see.
 
user1385191
6:17 PM
how punny
 
So, let's say I have an element to which I've attached a click event (through jQuery). Said element also matches the selector for a delegated click event. I should be able to rely on the actual click happening before the delegated click, correct? Due to the way bubbling works?
 
user1385191
the event bubbles from the target up the DOM
 
Right, so the click will always fire before the delegate (unless I'm understanding it incorrectly)
 
user1385191
not sure how jQ works, but that's the theory
 
@RyanKinal did u test it?
 
6:25 PM
@Neal I'm in the process right now :-)
 
@RyanKinal :-P
 
user1385191
 
Excuse me for trying to spur conversation :-P
 
user1385191
this is how the event model works in as3
 
user1385191
ignore the capture part
 
user1385191
6:26 PM
stage is your top level
 
user1385191
page 504 if the link is busted
 
Nope, looking good
Testing seems to indicate that I can rely on it. But testing can be unreliable :-)
 
user1385191
delegation is very powerful
 
user1385191
especially with the DOM
 
Definitely. I use it frequently.
 
user1385191
6:32 PM
the concept carries to other situations where you learn to attach to the top-level, for example, if you're listening for an event when the element is below the target in terms of bubble order
 
user1385191
I use this for as3 custom events a lot
 
The application I'm building modifies the DOM quite a bit. If it weren't for delegation, I'd be writing a lot more code.
 
But delegation is slow :(
I always recommend direct binding
just use a proper view abstraction
 
user1385191
yes, you are going to have a cost with waiting for it to bubble
 
Oh noes, not costs
 
user1385191
6:46 PM
you can minimize that by attaching further down the DOM (ie: form for inputs instead of document)
 
@RyanKinal COSTS are bad
ASP.NET is bad
 
Everything has a cost. Thus, costs are not inherently bad. Too many costs is definitely bad, though.
 
-1
A: What are the programming languages developed for the specific purpose of web development?

SLoretJQuery. Even though it is just an overlay of Javascript, it's base intention is to make developing common client side code across browser platforms without have to worry about compatibility issues.

jQuery is a programming language!
@RyanKinal write ASM. It's faster
 
@Raynos No. I'm okay with the cost of using a high-level language, thank you very much.
 
user1385191
NOOOOOOOOOOOOO
 
6:53 PM
Like jQuery. I'm okay with the cost of 83k of code, as long as I can use a language like jQuery.
 
user1385191
in many ways, it is because its syntax is so alien it warps people's minds about client scripting
 
user1385191
but in technical terms, no way on this earth
 
waits to be banned and/or murdered
 
user1385191
I'm pretty benevolent, so no negative action other than some scolding for calling it a language.
 
@RyanKinal BANNED
 
6:55 PM
Ah, you have passed my first test, padawan. Hatred and violence are of the dark side.
 
Besides jQuery sucks
Its a shit library
The API design is appaling.
Use ender.
 
I don't know. I'd say it's pretty good at what it does.
 
@RyanKinal How do you know it's good? Did you try alternatives?
 
@Zirak Pure JS ;-)
 
I use JQuery simply because I haven't had the time to look into alternatives, or I have something already using it and conversion to an alternative is way more time consuming.
 
6:58 PM
I have plans to look into a lot of the stuff from microjs.com, though
 
@RyanKinal Yeah, it's like saying "I prefer using Java to C because it's good."
 
user1385191
@RyanKinal beware, it requires you to really do your homework
 
user1385191
lots of dependency
 
@RyanKinal jQuery was designed to make stuff easier. I'm talking about alternatives that do, like Prototype or MooTools.
 
@Zirak It depends on what you mean by "good". In regards to jQuery, I find it deals with DOM selection, event handling, AJAX, and animations very well, and it allows me to code quickly.
 
6:59 PM
Oh SELECT *, how I loathe you.
 

« first day (215 days earlier)      last day (4726 days later) »