« first day (791 days earlier)      last day (4175 days later) » 
00:00 - 18:0018:00 - 00:00

6:00 PM
One of the many flaws with w3schools is that they use document.write everywhere. If it is called while the document is loading, it'll append the text to it, but if it is called after the document has been loaded, it'll overwrite everything
 
i am no longer using w3schools, it is currently a html file
 
But you're probably using document.write because you saw it there - I'm explaining why you generally shouldn't use it
 
Why eval()?
 
@OctavianDamiean eval is not always evil
 
6:04 PM
@Abhishek I'm aware but eval on user input?
 
its my version of the tryit editor by w3schools, and im using it to teach others coding
<head><center>
<script type="text/javascript" src="switch.js">
</script>

<link rel="alternate stylesheet" type="text/css" href="/css/blackandblue.css"title="default" />
<link rel="stylesheet" type="text/css" href="/css/alternate colors.css"title="plus" />
<link rel="stylesheet" type="text/css" href="/css/theme3.css"title="gothic" />
<link rel="stylesheet" type="text/css" href="/css/theme4.css"title="metal" />
<link rel="stylesheet" type="text/css" href="/css/theme5.css"title="peacock" />
<link rel="stylesheet" type="text/css" href="/css/creeper.css"title="creeper" />
 
lol
that is a joke, RIGHT ?!
 
You obviously don't know how to code, how do you want to teach others ?
 
And it wont execute html :(
 
this guy must be trolling
 
6:07 PM
@copy thats what w3schools is doing for long
@tereško no , he is clueless of what hes saying
 
I can do html, css, currently LEARNING JS im going to be using this for users to test css and html, no i am not a troll
 
^ see
 
Dunning-Kruger
 
What?
 
6:08 PM
@copy Dunning-Kruger mixxed with superioirity complex
 
Shut up.
@copy
 
do you know what semantic html is ?
 
NOte I AM 13, not 23 like you probably are
and no
 
i am 19 , amaan is 16 , age is just a number :P
 
You cannot teach other people. And be nice to other people. My writing style is horrible today
 
6:10 PM
@Abhishek You ain't 19 ...
 
@deep was that "no" in response to my question ?
 
Wait, you're 19!?
 
I still have 6 years to learn as much as you @Abhishek, and @OctavianDamiean, my thoughts exactly
 
So why are you trying to teach people?
 
@OctavianDamiean Yes i am 19
 
6:11 PM
@deep That's not the point, if you are still learning don't try to teach people stuff you didn't master yet.
 
you looks 14
 
want my birth certificate ?
@tereško aww so nice of you!
 
@Abhishek I always thought you'd be mid 20. :D
 
@OctavianDamiean yeah i look like mid 20 :-(
 
@deep start by reading w3fools.com .. the site sill list some of the mistakes in your current source of "knowledge"
after you are done with it, look up the terms "semantic html" and "3 layers of web"
 
6:13 PM
@tereško, yes@zirak, other people in my year are doing ICT gcse, and a struggling at HTML* & CSS Which i Know. and this means that they can edit code, and soon, their own files, my site is not a one man job, i have people who can do Js, Python, ruby PHP ajax, css html...
 
And their editor is a shitty thing. If you want to duplicate something, duplicate something good.
 
I AM NOT TEACHING JS FOR CLARIFICATION
 
@deep this code you posted illustrates that you do not understand HTML
 
and this was also based off code academy, and @tereško how does my code demonstrate a lack of knowledge in html?
 
@deep You can't be teaching HTML and CSS alone, since nowadays those three technologies overlap.
 
6:15 PM
I do have a vague knowledge of js, i can do canvas etc
 
@deep You don't have a doctype or even an opening <html> tag in your markup
 
@OctavianDamiean That's not right. Also don't forget what Robert always says - do the HTML first, then CSS, then JS
 
@copy +1 to that
 
@copy Yes, you can do amazing static sites with HTML and CSS. :D
 
@OctavianDamiean That's what the web is mostly about
 
6:16 PM
@Dennis i skipped it as it was unnecessary for you to see
 
@copy Indeed, there's only static websites all over the place in the web 2.0 era.
 
@deep it illustrates that you have no idea what semantic html is, you are completely unaware of deprecated tags or even basic html structure
 
@copy I fully agree. raises sarcasm sign
 
@deep You skipped it on your site as well...
 
@OctavianDamiean Most of our time on the internet, we spend reading texts, looking at images or watching movies, none of which requires decent skills at Javascript to implement
 
6:17 PM
A depreciated tag is a tag that is no longer used, or is less supported with newer versions of html. shut up and sit down.
 
@copy Have you actually bothered to take a look at the underlying technologies of YouTube, Flickr and the like?
I don't even believe we're having this conversation.
 
@Dennis. To be Blunt. I'm lazy, Dont need it? dont add it? my sit still attract 1000 visits a day from an audience of 155 (The size of the year group at my school)
*site
 
ehh .. i guess i should just add this one to the ignore list
 
I have a new candidate for my ignore list. :)
 
@OctavianDamiean sites ?
you can do a small web-app in just html and css :P
 
6:20 PM
@Abhishek websites.
 
I have a question? So check this page out. So the map code is in my template file and then I use get_content and I set the position of the content to be next to the map in my style sheet but if you resize the browser window the content moves
 
// using server side for other stuff
 
@Abhishek Yea, but that wasn't the point, you need more than HTML and CSS if you have a backend.
 
I wanted to know how to execute user given HTML, CSS , AND JS, not how youtube works, what semantic html is
@OctavianDamiean No you don't.
 
@deep the best way to do it is having a server
and displaying the echoed responce
 
6:23 PM
ok,
 
in an iframe
 
@deep Talk to me as soon as you understood semantic HTML, until then, take a seat on my ignore list.
 
@OctavianDamiean That's not something most people are concerned with. On the other hand, for example every single blog works without Javascript (that doesn't mean it's not nice to have)
 
@OctavianDamiean dont ignore him , atleast he wants to learn
 
Out of interest, how do i get the code to run html and css?
 
6:24 PM
@copy Are you trying to troll me now?
 
No
 
Are you sure you are not trying to troll me?
 
Yes, but we can end the discussion without conclusion if you want
 
@Octavian Everyone has had enough. Just give it a rst
*rest
 
@copy I guess we'll have to end it that way.
 
6:25 PM
@deep you dont run html
 
Your blog works nice without Javascript by the way :-)
 
okay consider it like this HTML is bones and muscles , javascript is ur mind and css is ur skin and looks :P
your brian thinks not ur organs
 
Correction how do i get the js to Display the HTML
 
well . you can create a div and directly fiddle with its .innerHTML
but like i said .. too ugly!
who the hell did it ? good idea
 
What? when?
I tried it
 
6:31 PM
!!/choose "Get into EVE" "Finish your Erlang book"
 
@OctavianDamiean Get into EVE
 
So be it.
 
GTG BYE
 
everybody re-fresh
 
6:33 PM
@OctavianDamiean nothing just a trick (x
 
Sonofa! :D
 
@OctavianDamiean somebody got downvoted twice :3
min rep = 20 ;D
 
Oh I see, sneaky sneaky.
 
Hahahaha
That's hilarious XD
 
@AmaanCheval :P
 
6:54 PM
Closure compiler question: I'd like to define a record type that contains itself, but have absolutely no idea where to start. Any tips?
 
/** @type {{a: Foo}} */ var Foo = { a: null };
 
It would look like
{{a: number, b: `something`}}
where I have no idea how I can make b refer to the type declaration it's in.
 
Like that ?
 
Hello :) Does anybody know if jQuery.ajax({async:true,dataType:'json')} parses returned 'json' string async too or it is sync?
 
Oh wait, I see the problem
 
6:58 PM
@copy Aaah. Do you know the solution? :D
 
@erik1001 A jQuery ajax call is asynchronous by default unless specified otherwise.
 
Hmm ...
 
@copy That was my thought too :|
 
@OctavianDamiean I know that, I mean if parsing the returned json data is asynchronous too
 
@erik1001 No.
 
7:01 PM
@Casse The thing I posted above works. Or are your creating the object differently ?
 
@OctavianDamiean ok, thanks
 
@copy Aaah; I was using @typedef instead of @type . Lemme try that ... (sorry about the misdirection)
 
There is no error, but I am not sure if CC has the type right or is just ignoring something
Nope, it's not right, sorry
 
@copy No worries; I'll just go make an SO question. Thanks for trying :3
@copy Aah, specifically, I believe this is called making a 'recursive type' (if I understand that haskell tutorial properly).
In case you run across some resolution someday ...
 
Yes, but if it had a name, you could also use that.
 
7:16 PM
Can anyone tell me why when I'm inspecting my page I am getting <body class=" customize-support"> when I didn't even set that on my site
 
Yes
 
@benlevywebdesign Well, for one you don't set a body tag. For me it doesn't insert the body tag with that class though.
By it, I mean the browser.
 
@OctavianDamiean are you inspecting with something other than ff
 
Yes, Chrome's developer tools.
 
7:21 PM
@OctavianDamiean I only see it on ff so far
 
@benlevywebdesign It doesn't add any class in FF either.
@benlevywebdesign When in doubt, load the website in an incognito window.
 
@Abhishek WOOOOH do NOT go in there. pats water out of pocket
 
7:56 PM
posted on December 15, 2012 by RKoutnik

Woohoo!  The semester's over!  I'm feeling a lot more like myself now that all the stress has drained away.  Well, not all of it.  Some friends and I wanted to celebrate the end of a difficult semester by blowing some bytes to bits in the newly-released Planetside 2.  There's a lot of features in PS2 that I like (MMOFPS with RPG elements, large strategy elements, tanks)

 
@Abhishek Yep, you got me!
 
8:12 PM
Er, I meant @AmaanCheval. I get you two confused sometimes.
 
@SomeKittens Thanks, asshole :p
 
8:35 PM
evening folks!
 
Gosh FTL is a hard game ...
 
8:54 PM
Faster Than Light?
Haven't tried it :/
 
It is friggin' hard.
 
9:51 PM
I think JQ is starting to hit some excess design churn. It's like every method has been deprecated twice now.
 
oh, Visual Studio you minx... The CREATE TABLE SQL construct or statement is not supported.
Well, that wasn't a very helpful error message...especially since it was a lie.
 
Woohoo! Latest blog post actually generated controversy!
 
@SomeKittens How so?
 
10:00 PM
One guy called it "The most misinformed post [he'd] seen all week" because I said OSS was gaining ground
 
Hahaha
 
That's why? I thought the soft spot was how you blamed Windows 7 for your inability to dual-boot
 
Yeah, I got another comment saying "If you'd only done [exactly what I did] it'd be really easy"
meh
 
10:24 PM
Aw yea! Awwww yea!
BF3 Longest Headshot: 1,017.31 m ... like a fuckin' BAUCE!
Was more like firing a mortar but I nailed it. :D
 
11:03 PM
0
Q: Ajax URLs without #!, how to prevent falling into single.php on load or reload?

wyemI'm trying to make things properly with a single page ajax powered portfolio. I've read that there is no need of #! to make it crawlable by google. So I have clean URLs that updates with .pushState when I load a post. My problem is that if you hit F5 or load directly an URL, you fall into the si...

 
11:15 PM
user image
3
 
rofl
 
11:54 PM
-3
Q: I need some Javascript Magic

user1579627Okay so at my company we have a form that is generated with javascript. Basically when an employee clicks add customer a form is generated that allows input. This form includes two text boxes. The first is called trip number, the second is called initials. Every trip number is bound to a customer...

 
Nice DOM skills
 
00:00 - 18:0018:00 - 00:00

« first day (791 days earlier)      last day (4175 days later) »