« first day (284 days earlier)      last day (4679 days later) » 

12:00 AM
in most languages it would omit the newline, and just join the string together.
I think.
 
I think that's the behaviour in VB, it's been a while since I did it. But with things like PHP's heredoc syntax, it preserves the CRLF.
 
Goes on a walk... BRB
 
@Ethan i think most people use the DOM because it easier to add
where if you did innerHTML you would have to parse it first
parse the HTML first that is
 
no, the browser parses it just fine.
 
I know it does
 
12:02 AM
oh yeah.... walk.
 
@Ethan here you go, wait-till-i.com/2006/04/18/… explains it pretty nicely
 
12:29 AM
should I escape the ^ character in a regex like so /^2\^5=25/ or not /^2^2=25/?
 
yes
 
I should escape it?
 
yes, otherwise it means "beginning of string"
 
even if it's in the middle of the regex expression
 
yes, it will break the regex. I think.
Unless regex are more geniuser than I think, which is usually the case actually.
but inside a character set it means "not", like /^[^a]/ means a string that starts with a non-a char.
Whoah! heavy duty thundershower!
 
12:49 AM
lol
where you from?
 
Alaska; Fairbanks.
 
hmm
 
Usually very dry.
 
I'm from Arizona, so its monsoon season right now
come 1400, 1500, the storm rolls in
 
yeah, just a minute ago the sun was shining.
 
12:50 AM
half the time it doesn't even rain, just lightning and thunder
 
yeah and heat lightning? I've been to AZ in August.
 
lol yea, you'll see the weirdest crap here. It will be sunny 10 feet away from you
 
1:04 AM
?
 
dang image won't hotlink... half a sec
arrgh
 
in theory an image URL will onebox but I think it's kind of simplistic, like it has to end in .jpg|png|etc
 
right, the query strings mess it up. One sec, putting it on Imgur
Uploading...Processing...
Processing...
 
blocking websites on google is awesome
 
fina-freakin-ly
 
1:12 AM
lol
Not sure about the safari one though
 
Honestly I only know who half those people are, but it's still hilarious.
 
Safari On a Plane!
Gnight, all.
 
lol
 
ha. later.
 
 
1 hour later…
2:29 AM
 
@Shaz is that really true?? I haven't been keeping up.
"plus", Google+ wouldn't let my Apps account sign up.
 
@ThomasShields I've seen multiple sources so I believe it's true :)
 
and isn't it still in private beta? how can they have 10mil users already?
 
Yup, it's currently invite only. Not sure how they did it though, as I don't even think they are publicly advertising it yet either
 
Google+ is in limited Field Trial
Right now, we're testing with a small number of people,
...how is 10 milllion == small number?
 
2:35 AM
@ThomasShields Well it's Google we are talking about. ;)
10million is probably nothing to them. ;)
 
true dat.
 
If you want an invite, post your gmail (delete it after though)
 
iwearpinkpanties@gmail.com
 
Got it @david. @ThomasShields: I need gmail
 
@Shaz it's a google account, does that not work?
 
2:38 AM
i posted that in jest ><
but someone will be happy with the invite
 
xD
 
@david LOL
if it doesn't work i'll make a non-apps gmail real quick; i've been meaning to but putting it off.
 
I'll see if it does, last name then first?
 
no, first
its on here oo.apphb.com/About
thomas shields at live dot com
 
Sent. Not sure what will happen though
 
2:41 AM
recieved.
clicks
if this works, thanks a bunch.
Oh COME ON
I'm too young. :-\
 
sometimes they limit it, but if you keep trying it will go through eventually
 
o.O?
 
oh
bahaha 17
that's pretty rough
i thought maybe you were 14 or something
 
You have to be 18 or older...?
 
That's the most crappy excuse I've ever gotten for not being able to sign up for an otherwise normal account.
I can understand like payment sites and stuff where legally you have to be 18+
but gee.
Error: Underage
Some Google features are only accessible by users over a certain age.
 
mutters
Thanks anyway.
 
No problem
Happen to have a birthday coming up soon?
 
Just had it, unfortunately.
or fortunately.
 
Ah okay :/
 
depends on how you look at it. ;)
 
2:51 AM
@david That address is not appearing in my circles, so I don't think it existed :p
 
:o
it should!
it's an excellent address
 
lol
Any of y'all have a favorite syntax highlighter? (JS of course)
 
@ThomasShields Google Code Prettify
 
aha, nice.
it's Google, so it must be good ;)
 
3:09 AM
@Shaz "Powers stackoverflow" pretty legit
 
Yup :)
 
hey, got some crashing css, http://cottage-goods.com/

Some reason the background of that purple sidebar makes the parchment background of <div class="page" quit

search "newL" to go to the sidebar
 
@DevinGRhode Site is not loading for me
 
terribly slow, prob my doing..
does it load straight away now?
 
@DevinGRhode No but It did load eventually
 
3:21 AM
I've been commenting in and out this line...
<?php shopp('catalog','category-list','hierarchy=on&products=on&showsmart=before&title=Categories'); ?>

It's from shopp.net's plugin

Tears down the whole page load!
their function call also messes up the background...
and if you look at their site, seems and feels like a GREAT plugin!
like 30 sec page load... wonder if it hits a timeout of some sort...
yeah their function call is most certainly hitting a 30 sec timeout, timed it ;)
 
3:36 AM
@DevinGRhode Well I found if you change #page to
background-image: url('link');
background-repeat: repeat;
width: 100%;
height: 100%;
position: absolute;
It works half correctly
 
I really like this but it doesn't have an HTML brush. :(
How hard is it to write one of these yourself?
 
@DevinGRhode Just use the above code on body{} instead of #page{}
 
sweet
I would be too flustered to think of just moving things to body
 
@ThomasShields ah stupid me, there's an XML brush
 
@Shaz Works entirely for me, thanks!
 
3:46 AM
@ThomasShields Talking to yourself in a chat room? ;o
 
@Shaz yup ;)
 
perfect place to do so
 
It's a handy way of linking the messages
 
@DevinGRhode Glad I could help
 
I've yet to get myself to talk via notepad
*THAT* would be a skill

"Hey so I can't figure X out"

"Oh wait, I bet if I do Y..."

"Ahh I f'n love you notepad!"
haha! hilarious or no?
 
3:48 AM
xD
 
4:08 AM
Why would some JS work in a script tag at the end of a doc, but not inside window.onload?
 
I think safari fires window.onload faster than other browsers
window.onload and <body onload="onloadFunc()" trigger at the same time right?
nvm I have no idea
 
lol
I always thought the browser worked through the page, executing scripts as it encounters them, then executes window.onload.
...and it does.
so why would SyntaxHighlighter's code not work later?
vatever.
 
yea window.onload should execute once everything is done loading
 
yeah, it does. For some reason when i put code there it doesn't work, even though it works in the earlier-fired script tag that's on the bottom.
 
wierd
 
4:23 AM
"The load event fires at the end of the document loading process. At this point, all of the objects in the document are in the DOM, and all the images and sub-frames have finished loading." link
I'm guessing that doesn't include the "load" of scripts
 
lol
could be i guess
if its just the dom
 
Hello everyone
 
made a little test script, look at the console to see when events and code are firing throughout the page cottage-goods.com/new/onloadTest.php
window.onload is the VERY last piece of code run in the whole page
 
What this suppose to do? Just load a div?
 
that link?
 
4:27 AM
Yea
 
lol
no its testing the onload events
 
I need help :$
 
window.onload should load last
 
What do you need help with
 
4:27 AM
@Darkyen Don't we all
 
can any1 test my page and tell if this runs slow on Google Chrome by default ?
 
@Darkyen yeah I have chrome
 
im using google chrome and it loads just fine
 
1 uses only canvas rendering and other is based on CSS the CSS one lags badly on chrome
 
4:28 AM
oh
 
@shawn
i mean the moment etc
hover ur mouse over buttons .. those lag badly on chrome for me
 
Did you create that?
 
yes
 
Cool
 
thank you ^_^
nyways i will bbl l8rs ... leaving the chat online.
 
4:31 AM
ok
 
Hi Everyone
 
I'm having a problem with a form validation its just not working
mainly it is setup like this:
 
@Darkyen so the silverlight thing seemed to load normally but the shooter had some good lag, but my machine sucks
 
You should use a validation plugin like that one guy said on your post.
 
the rest of the animates will make sure that onyl one error shows
if (frm.name.value=='') {
$('#error-container2').animate({'top' : '-70px'}, 100);
$('#error-container3').animate({'top' : '-70px'}, 100);
$('#error-container4').animate({'top' : '-70px'}, 100);
$('#error-container5').animate({'top' : '-70px'}, 100);
$('#error-container6').animate({'top' : '-70px'}, 100);
$('#error-container7').animate({'top' : '-70px'}, 100);
$('#error-container').delay.(200).animate({'top' : '4px'}, 400);
$('#error-container').delay(3700).animate({'top' : '-70px'}, 400);
return false;
 
4:33 AM
@Shawn31313 You should use a validation plugin like that one guy said on your post.
 
Yes, but I really just like it doing it my own way
And this worked before
 
@DevinGRhode okay tys. so far i found out about chrome that its faster with 1 thread (as the canvas) but it hardly ever uses hardware acceleration when u do the same load (or even less) with CSS.
 
and it was working very good
 
I think that's why they down-voted your post.
 
Do you have an example in jsfiddle?
 
4:34 AM
Me?
If your talking to me then the answer\ is no
 
yes
Is it just not animating?
 
Yea, its not animating
and its still submiting the form
 
ooo
 
I can give you the whole code if you want
 
@Shawn31313 You should put it in jsFiddle so we can see the code you're using in action. Make sure you select jQuery for the library on the side.
 
4:37 AM
Yes,
I will set that up right now
do i need the script tags
in the javascript area?
 
@Shawn31313 Nope :)
 
no
@Shawn31313 also another thing you can do is bind the submit with jquery if you wanted
 
yes
 
("#formid").submit(function(){
 
i did
im using an onsubmit
 
4:40 AM
@Shawn31313 jQuery .submit is better
Instead of onsubmit handlers
But since you already have it set up just keep it with onsubmit's
 
onsubmit is fine
 
Okay, nothing is happening when I click those buttons.
 
wait
there is a problem
 
arrgg that css makes me cry :(
 
Yeah
 
4:42 AM
because the form slides from the top
@davin What do you mean by that?
 
@david what do you mean?
Even the full screen version does work, Shawn:
 
all the crazy different gradients for different browsers :(
 
*doesn't
 
no there not differant
there just the same thing but for differant broswers
 
*they're
 
4:44 AM
i think it only works on a webpage
wait
on my website it works
hmm
 
my recommendation is create a binding to the form
do your validation in there
 
How do I do that....or what do you mean
BTW, im still learning JQuery
 
thats fine
so you have multiple forms
 
i have 2
yes
but i dont under stand y this code isnt working
 
$("#bug_form").submit(function(){\\code in here})
 
4:48 AM
when it was working like 3 hours ago
 
Im not sure, there is a lot
 
ahh
 
I would break it down to just a portion
create a temp setup
just create a simple form
then test the validation on that form
 
So instead on adding an onSubmit and making a seperate function i just use that
ok
well it might be because i added so many animate()
after i did that im guessing it stopped to work
but i dont know y it should do that
 
I'm gonna be leaving from work in a few, once i get home i can take a look at it again
 
4:51 AM
OK thanks
 
I always like to keep my code separate from styling or from the html when possible
thats why i suggest to use submit for the first thing
 
Really? I dont I code with everything together
yea
well ill just play around with the code some more and see if i can get it
 
What if they have javascript disabled?
its also an accessibility issue
yea ill hop back on in a bit
later
 
Well my site will have noscript tags
my site has so much JS
so i will need that
 
Hi everyone !
 
4:54 AM
HI
 
How you going @Shawn31313 ?
 
good
what about you @OmeidHerat
 
I am good thanks
 
You good with Javascript?
 
eih not bad.
noscript is not a good idea !
 
4:56 AM
@OmeidHerat why the heck is <noscript> bad?
 
Yea
 
What if users have JS disabled?
 
True that
i tought he said it was a good idea
 
will first calm down, :)
 
i didnt read that not
 
4:56 AM
the best way to code is to make a fully functional website without JS
then add JS for extra+ stuff and making it more user friendly.
 
A site without JS is boring
 
@OmeidHerat I'm not upset ;) ...but of course, your site should work without JS. but sometimes you have to have it, in which case noscript is a very good idea.
@Shawn31313 how so?
 
Well that came out wrong
 
@ThomasShields I am not a fun of noscript
 
not boring
i just have way to much JS on my site
 
4:58 AM
5
Q: Shouldn't we use <noscript> tag?

Jitendra VyasI found some good cons here. The noscript tag only detects whether the browser has JavaScript enabled or not. If JavaScript is disabled in the Firewall rather than in the browser then the JavaScript will not run and the content of the noscript tag will not be displayed. Many JavaScripts are d...

 
A <noscript> should be used when scripts are vital to the proper execution and display of the page. When scripts are just for improvement, you don't need it.
 
Because I have website tools on there
like generators
 
Another idea is just to have <div>Make sure you have Javascript enabled!</div> and then hide it via JS
 
if you need JavaScript for proper execution and display then you are doing it wrong.
 
What I do is make it redirect
 
4:59 AM
@OmeidHerat in most cases, yes.
 
to another page
if JS is disableed
 
@OmeidHerat but often there are sites with games or an app (like Google Docs) that's not just a website.
 

« first day (284 days earlier)      last day (4679 days later) »