« first day (536 days earlier)      last day (4410 days later) » 

user1385191
3:00 PM
[clicks on job ad]
 
user1385191
> social media e-commerce
 
user1385191
[sobs]
 
who is actually responsible for the chat-channels topic ?
and who is able to modify/change it
 
@MattMcDonald can I believe
"Expect your code to be thoroughly mocked, especially if you're using jQuery."
makes me a bit sad for newer js devs
 
^haha
 
user1385191
3:03 PM
that's definitely @Raynos who wrote that
 
that looks so unprofessional and child'ish, how old are people in charge here
 
hey guys. Is there a way to use the video tag and just put a placeholder vid to show my boss ? (One that I don't have to create? )
 
user1385191
I had one earlier that was a lot more professional
 
user1385191
but it labeled ExtJS as trollbait
 
user1385191
I'll change it in a bit
 
3:04 PM
@jAndy room owners
Should I remove my personal opinions from the room description
 
who actually is in charge to give a room owner his rights ?
 
nah
i think it's amusing-ish
 
room topic changed to JavaScript: Discussion for JavaScript and its many libraries. Note: questions are better off asked on the main site, followed by a link posted here. [dom] [html] [javascript] [jquery] [mootools]
@jAndy room owners
 
@florian ok, but then my example doesn't work off my local machine
 
when people make such statements in an official SO chat channel, (highly unprofessional) it might be time to talk to some guys
 
3:06 PM
@jAndy what's unprofessional about mocking your code?
 
fou
0
Q: change default icon of marker in route

fouI want to change the default icon of marker when I search route between two locations. How can I do it? I use this code but I didn't get only the map without route and points var start = new google.maps.Marker({ position: new google.maps.LatLng(lat, lon), icon:'http://www.google.com/mapfiles/d...

 
I did the same to foobars
 
btw, i wasn't offended by the jquery topic, it's ok to have different preferences
 
fou
any one has an idea about my question
 
:? code mocking is what programmings all about
 
3:07 PM
and you guys have been really nice to me
 
I actually always looked with humor on jquery trolling here, but it really gets beyond funny
 
And anyone using jQuery deserves to be mocked
 
hahaha loktar is right on the mark
jquery is fun though!
 
Things I've learned here: If there is a jquery way to do it, there is a javascript one and the javascript one is often better!
 
@Dreamling: channel topic has to be totally neutral
 
3:08 PM
@delarn well obviously; considering jquery /is/ js ;P
 
^
 
anything else looks just unprofessional and if only a small group of people are able to change that, its just disgusting to be in here
 
user1385191
room topic changed to JavaScript: Discussion pertaining to ECMAScript and its many variants (primarily JavaScript). General web topics are permissible provided other rooms are stagnant. Ultimately, we're here to help. [dom] [html] [javascript] [jquery] [mootools]
 
@jandy that does make sense,
 
user1385191
3:09 PM
there
 
@jAndy NOW YOU CHANGE IT >:(
 
haha
 
has there been an outcry of annoyed people or something?
 
@MattMcDonald "ECMAScript and it's many variants" includes ES4 and it's ugly cousin AS3
 
@MagicDev yeah but if you don't know how to do it in js and you take the shortcut to make it you never learn. When I learned mecanic I learned to sharpen drill bit by hand but we then used a tool to do it.
 
user1385191
3:10 PM
it sure does
 
Learn the "hard way" and then learn the tool
 
This not to say I should learn assembly
 
fair enough
hahaha
 
Is there a placeholder video bank for html5 ?
 
I'm sick of the discussion, so I just won't do any discussion about it, just make short statements :p
 
3:11 PM
ummn
 
user1385191
I was arguing about $ in ##javascript last night and someone used the Assembly vs. C retort
 
user1385191
I wanted to vomit
 
I think you should just learn, and never stop, easy ways, hard ways, whatever way gets you to your end goal :P
 
@jAndy seriously though, why you no appreciate humour in room description
 
true
 
3:11 PM
Everything is a tool in my toolbox, I use whatever is at hand
 
user1385191
it's not humor
 
user1385191
it's stupidity
 
I'm only now just entering the world of pure js
 
@Raynos: cause the people in here just trolled one time too often about the library (most of the times with wrong assumptions and totally off real world problems)
 
same with art. I make digital comics, it doesn't make them less
 
3:12 PM
but I learnt jquery originally because it was a quick fix at the time to alot of ui stuff I wanted to be able to do
 
Pure JS is hard to learn...
 
I know :c
 
user1385191
who was trolling? I definitely haven't been
 
eh its a library.. who cares if its trolled
 
There is so much ugh
 
user1385191
3:12 PM
I find trolling to be abhorrent
 
Oh, you live in AZ?
 
I mean seriously.. form your own opinions, its not like a person is being trolled.
 
Hello all, anyone run up against AJAX issues because of origin?
 
no
 
wheres the jquery image gone :(
 
user1385191
3:13 PM
I understand your frustration
 
but people visiting this channel really do get the clue that the "official statement" for this channels is "don't use jQuery, it sucks" which is BIAS
 
how is there a way to tell the video tag in html 5 that the device is on mobile network and compress the video so it becomes lightweight ?
 
user1385191
negative opinions (such as my own) are prevalent here
 
and again, I guarantee you that SO doesn't want that in any form
 
any one got the image of jquery ??
 
3:14 PM
@jAndy but thats what I mean by form your own opinion (in terms of liking jQuery or not). I agree with your statement about the official channel though.
 
Delarn i'm not sure that is possible without the user contributing some kind of input
where they choose their own speed
 
user1385191
I try to suggest better options when I do speak out
 
HAHAHAHA
what!
hahahahahaha
 
@Dave I had no idea what you meant by jQuery image
 
user1385191
3:15 PM
ugh
 
i am dying haha
 
well now u know :D
 
yeah ive seen that a few times
 
@MagicDev I have to make it automatic because my boss want me to... lol
 
user1385191
here's a new topic of discussion:
 
user1385191
3:16 PM
es5 strict mode
 
user1385191
go
 
does it work in jQuery :P
 
should be renamed to jQuery strict mode
 
haha @delarn I know what you mean, but I seriously doubt that is possible without running into issues
 
man, es5's mom has set such an early curfew
 
3:16 PM
@Loktar: ;)
 
hahaha
 
@GGG ever broadcaste on web ?
 
user1385191
I won't hesitate to bin this discussion
 
@MattMcDonald :D
 
user1385191
anyways, alert(this); still yields the window in global strict mode
 
3:19 PM
lets stick to the new topic, I can't take anymore nonesense jquery bullshit
 
has anyone here worked with writing a custom input library?
 
user1385191
I was debating using strict mode at a module level
 
user1385191
so basically after I'd bound the global object to a global
 
brb
 
@MagicDev I would only to make one since there is only 1 vid per page. (Multipage with only one layout. (twitter bootstrap))
 
3:21 PM
@MattMcDonald it shouldn't
 
strict is pretty, it also protects people from doing stupid things (hey we should actually hate it, comes close to the jQuery idea)
only caveat to me is beeing unable to access Function.caller
 
@Delarn oh well then that seems much easier then; are these youtube videos?
 
@MagicDev flickr ... I may switch them on vimeo though
 
@Delarn have you checked if they have an api for pulling placeholder images?
 
user1385191
3:23 PM
29 messages moved to bin
 
user1385191
TO THE BIN WITH YE
 
hahahaha ten points to gryffindor
 
user1385191
1 message moved to bin
 
user1385191
I find it interesting that I can still grab the global object even in global strict mode
 
GGG
...
 
3:25 PM
Woot, apparently I got a raise?
 
@MagicDev no not yet, Need to take over the whole web thing. I am just starting the webdev there. Lot's are taking care of by the boss' father. (who only take care of twitter stuff and let the rest take dust)
 
you all be hating, because i have a jam doughnut.
 
I love when the boss is too busy to do my review so just gives me a raise without telling me
 
or donut for the americans here
 
@Delarn ahhh fair enough
 
3:26 PM
Hello @rlemon
 
@Dave bro, krispy kreme goes off
 
only got one KK in my city here in Uk
:(
 
sucks to be you!
There's like a few in the city here in sydney
 
they aint invaded our country yet totally
 
hahaha
 
3:27 PM
but no doubt uk will tax our doughnuts next!
 
@MagicDev yeah, got lot of stuff to do... and going to learn "graphism" for that company. Because they need a designer and won't hire one.
 
fucking americans...y u have to be different.
 
they put tax on cornish pastys! WTF
 
GGG
yeah
 
@Delarn hahahahaha I hope you're getting paid for this!
 
GGG
3:27 PM
bin the js discussion
 
USA is to the world what IE is to the internet.
 
GGG
leave the donuts
 
HAHAH!
 
rofl
 
GGG
it's all about the professionalism up in here
 
3:27 PM
@rlemon ie is the uganda of the internet
 
@MattMcDonald you can't, you must be doing something wrong
 
@rlemon and fucking frogs that thinks in french all the time ... oups I'm the frog here... lol
 
doughnuts are professional... pros have to have food breaks
 
IE === proprietary garbage because they think the entire world runs on MS products...
 
I do my best coding when peaking on acid tbh
 
3:28 PM
USA === we are the world, if you exist outside of us we don't care.
 
@MattMcDonald you can, wtf :\
 
is IE still main used browser?
 
probably
 
Hey I can say the same with Safari ... Apple and its crap ! ;P
 
user1385191
so code that you thought wouldn't work still can
 
3:29 PM
chrome <3
 
@MattMcDonald I presume browsers dont implement that because "it would break the web"
 
safari actually does pretty well, atleast it's webkit
doesn't break everything
...as much
 
doesnt do canvas well
 
webkit has it's own issues with proprietary garbage.
 
hence chrome <3
yeah but I don't like the way firefox renders things
 
3:30 PM
yeh chrome with hardware support on is v.nice, shame they don't have it on from default
 
Chrome FTW
 
firefox is ever so slightly laggy i find
 
and opera isn't even a thing
 
for canvas anyway
 
yeah i get the same dave
But I don't plan to use canvas until it is properly supported everywhere haha
 
3:31 PM
Chrome on linux (Ubuntu) i've had some issues with reflow bogging me down (any animations, flash, canvas, gifs...)
 
@MagicDev all browser should be the same ... they just don't know how to get along... w3c should have a crew making the ultimate browser!
 
user1385191
I'm trying to find the part in the es5 spec where this is supposed to be undefined in global scope
 
but that was circumvented by the last update.
 
hahaha @delarn, w3c have enough to do
but I agree, I want to see an internet where specifications are pushed to every browser instantly
 
@Delarn any browser considers themselves the 'ultimate browser'
 
3:32 PM
@MagicDev they should do even more... like Certification ...
 
for those who have not made your chrome super duper amazing yet: downloadsquad.switched.com/2011/03/03/…
 
if w3c makes the specs, and develops the browser... how does that make them any different than say... IE makes the spec, and develops the browser.
 
@rlemon yeah I know... but see what happened to netscape ?
 
because it wouldnt be shit
haha
 
@rlemon because it would not be microsoft
 
3:33 PM
@Matt it's under annex C, about the middle
 
browser wars are a good thing... the internet is VERY young and the browser wars are pushing the vendors to produce ever enhancing technologies.
 
@MattMcDonald it may not actually be true :\
 
@rlemon right on the mark
 
Only happens in strict
 
one day 3D games will be on the browsers - no need for hard drives for them xD
 
3:34 PM
has already been done
 
online gaming is before it's time.
 
3d js demos
blew me away
 
@dave webgl !!!
 
i mean C++ like battlefield 3 stuff
 
hahaha
 
3:35 PM
its in its infancy :P
 
user1385191
@Raynos (function () { "use strict"; var global = this; global = this; }());
 
user1385191
that passes in jslint
 
@Dave Look at pocket legend in chrome apps
 
$/gig for a HDD is what? $0.10? $/gig bandwidth (in canada) is like 5 times that netflix kills me
 
@MattMcDonald "passes in jslint" ?
 
3:35 PM
okay
 
user1385191
zero errors with zero boxes checked
 
is it flash based?
 
nope
completely js
 
I mean what value does it have to pass in jslint
all your doing is setting a variable then setting the value
 
3:36 PM
impressive
 
its like ugh, thats nothing spoecial
 
@Matt so? You're assigning undefined
 
craaazy
blew me away when I saw it
 
WWait nvm, I'm stupid
 
is it opengl ?
 
user1385191
3:37 PM
(function () { "use strict"; var global = this; global.API = {}; }()); passes too
 
Booooo hardware accel kills my Plymouth
 
@dave java with webgl
 
nope
WEBjl
*gl
 
ah i see
 
Wait, yes, it is undefined, the value
 
3:37 PM
it's a 3D engine written entirely in js
my jaw like punched the floor when I saw it first
 
better not use jquery :P
 
hahahaha
heres another demo
 
@Dave it's just a lot of stuff going on for that game
 
damn 7 FPS
 
user1385191
3:39 PM
given that Crockford's been on the strict mode train for a while, I find it odd that an error isn't thrown for adding a property to the global object in strict mode
 
@MattMcDonald why wouldn't it pass?
 
this was rather awesome too
http://mrdoob.github.com/three.js/examples/webgl_materials_cubemap_refraction.html
model refraction in js
like how even
haha
 
user1385191
global should be undefined in that context
 
user1385191
assigning a property to undefined = error
 
yeh now thats impressive stuff
 
3:42 PM
@MattMcDonald jslint is a linter not a compiler
it doesn't know those things
 
yes it should but it doesn't run the code it just does static analysis
which cannot determine value of this
 
got to code that page today, with no content until monday and only place holder... hard!
 
ahahaha
I'm having issues with .range
but I'm too lazy to properly learn how to use it so i've been googling around to find some kind of reference to what I need
not even my so question was solved :c
 
user1385191
> There are a number of situations that could cause this to be bound to the global object. For example, if you forget to provide the new prefix when calling a constructor function, the constructor’s this will be bound unexpectedly to the global object, so instead of initializing a new object, it will instead be silently tampering with global variables.
 
user1385191
> In these situations, strict mode will instead bind this to undefined, which will cause the constructor to throw an exception instead, allowing the error to be detected much sooner.
 
user1385191
3:45 PM
well there it is
 
oh yeah with the range thing. I was thinking, is it easier to code a loop for a range sum or simply do this formula : total = (X(X+1))/2 ...
 
haha
 
user1385191
> In the strict mode, a this value is not automatically coerced to an object. A this value of null or undefined is not converted to the global object and primitive values are not converted to wrapper objects.
 
user1385191
3:49 PM
> 3. Set the ThisBinding to the global object.
 
user1385191
there's our evidence
 
I'm building a google docs -esque notes web-app with local sql, but i'm yet to understand how to be able to input text from a point defined by a click as I am writing a custom handler for each keydown which inputs directly into the dom via keycode parsing
I was able to almost do this using range with an index of 0 depending on where the user clicks
but input by letter ended up being output backwards
/facepalm
 
omg almost got this damn ajax image uploader done.
 
hooray!
 
3:52 PM
fucking IE... Y U NO FormData!
 
victory cake is almost yours
hahahahaha
so close, yet so far
 
the cake is a lie
 
I don't even bother taking ie into account anymore
unless i'm doing a job
and even then it's ie8+
 
well I have no use for the script (atm) - someone needed help with their jQuery ajax image uploader and I hate jQuery so I decided to write a vanilla version.
 
hahahahaha
 
3:54 PM
why would my jsfiddle work and the same code on my local machine not execute the same?
 
are you using any libraries in the jsfiddle?
 
which is to say, it's not really ajax it's a iframe hack currently... but i'll add in the xhr2 stuff
 
user1385191
just an fyi; I'll be building an HTTP module for Utils
 
user1385191
I might start on it today
 
@Dreamling can we see the fiddle?
 
3:55 PM
check that your js is not within a document ready or onLoad
up the top left ;)
 
ok
it says no wrap
 
jsfiddle shouldn't even have those options.
no wrap (head) and no wrap (body) are all you need.
 
awh
 
you want onload... write your code to execute onload.
 
head
 
3:55 PM
are you getting errors locally? if so what are they
 
ah
i know why
 
nope, it just doesn't run
 
jsfiddle
appends
a character at end
 
jsfiddle mystery chars
 
show the jsfiddle?
 
3:56 PM
just backspace the last line
and then make an new line yourself
 
backspace until you delete a char, then retype the char to be safe
 
jsfiddle.net/dreamling/AMLaj/15 thanks for your patience
 
@Abhishek happens to me ALL THE TIME
 
@rlemon me tooo
use the /show/light
 
I don't know what that means
 
3:57 PM
and use view-source:
 
user1385191
btw, has anyone found an instance where char is listed as a reserved word in ECMASCript?
 
by the way @Dreamling <html xmlns="http://www.w3.org/1999/xhtml"> is deprecated, all you need is a simple <html>
 
there, that should work.
 
rleamon +1
 
user1385191
3:58 PM
I found it listed in ...The Good Parts yesterday
 
you are right!
 
oops
 
anyways @rlemon i will give u a demo of my broadcaster
 
c:
 
when i find out why am i chipmunking so bad :-|
its like i speak like "Gangster Deep voice"
and sound like justin beiber -_-
 
3:58 PM
see ya soon
 
I also really like your lorum ipsum!
what are you using?
 
user1385191
you guys might want to make an extra chat room for that topic
 
@MattMcDonald i wrote the broadcaster on js btw , if that was supposed for me
 

« first day (536 days earlier)      last day (4410 days later) »