« first day (1446 days earlier)      last day (3498 days later) » 

4:00 PM
If I was in his place and that legacy code could be all erased and reconstructed in viable time, I would.
 
anyway, gonna go eat now. o/ later
 
!!slidepoop
 
Mar 13 '13 at 1:40, by rlemon
(Random Fact, when rlemon was 13 he pooped on a slide. he isn't proud of it, but he felt it was time to confess. I'm sorry slide.)
2
 
user2620028
lol ok thats probably why it wasnt as funny to me
 
@CapricaSix @Shog9 in case you weren't aware ^ * 3
 
user1596138
4:01 PM
 
user1596138
LG forces landscape mode for the website
 
user1596138
Are you fucking kidding me
 
@BenjaminGruenbaum wish I still wasn't...
 
user1596138
I don't want my G3 anymore. I didn't know the manufacturer was insane. Lol
 
@Jhawins ??
 
4:03 PM
@Algorath Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
@Jhawins trying to txt you back but service blows
 
@CapricaSix Here to help if I can, else lurk. :p
 
@Shog9 it's important to know that @rlemon who is Robert Lemon a developer from Kitchener, Ontario. Canada RobertLemon rlemon.ca @TheGreatRupert codepen.io/rlemon pooped on a slide.
 
user1596138
This link isn't viewable outside of landscape for me
 
user1596138
4:04 PM
@sterling it's cool. But I'm leaving the office so if you wanna talk to me you'll have to text lol
 
@rlemon Still not triggering.
 
Kitchener. I've heard of that place. Odd people there.
 
user1596138
Oh wait no I'm not
 
I'll try to txt you at lunch then
 
@rlemon The legacy code is atrociously long, too long to rewrite.
 
4:05 PM
@BenjaminGruenbaum oh my goodness!
 
Nope. Not going to wear a digital watch
 
Also, sorely tempted to just send Benjamin a slide in a box.
 
@AwalGarg that's for SEO
 
xD Superb
 
@Shog9 pre-lived-in-feel slide?
 
user2620028
4:06 PM
I am currently listening to Barry White's Greatest Hits at work lmfao this is weird
 
LMFAO covered Barry White? That would be weird.
 
user2620028
No its not covered, its his album collection on youtube
 
@rlemon It looks like it continually builds new products.
 
@AaronSiciliano :(
 
@rlemon Which do have the Valid-Int within the div.
 
user2620028
4:09 PM
What benjamin lol why the sad face
 
Hello All.
I am including a javascript using jQuery.getScript and console.log in it doesnt logs in my browsers console.
why is that?
 
Code first, answers after.
 
code is like this

<img width=551px height = 32px src='https://wmt.quickbase.com/up/bixsxpnpv/g/rbt/ei/va/flags_banner_graphic_mexico.jpg' onload="jQuery.getScript('/db/bizi984tf?a=dbpage&pageID=222')"/>
 
@BenjaminGruenbaum brooooooooo
congratulations
 
@techie_28 eugh
 
4:18 PM
console.log('bfore');
jQuery.when(
jQuery.getScript('/db/bizi984tf?a=dbpage&pageID=yyy');
jQuery.getScript('/db/bizi984tf?a=dbpage&pageID=xxx');
console.log('asdsadasdsad');
).then(function() {
........
Its the only option unfotunately @JanDvorak
 
I just had the most brilliant idea ever.
 
bug: semicolons in the middle of an expression; use commas instead
 
I'm not even sure it works
 
@rlemon The Fiddle works now, the page itself isn't now.
 
but if it does... lel
 
4:19 PM
also, console.log doesn't return anything useful and shouldn't be inside a $.when call.
 
user1596138
@Shmiddty what is it
 
@JanDvorak why is that?
 
Take someone's GA snippet. Inject it into some site of ill-repute (like a pornsite). repeat
 
Burnt the roof of my mouth :(
 
@JanDvorak I have one of that outside above jQuery.when
it also doesnt logs
 
4:21 PM
@techie_28 if you're debugger isn't open, it's going to fail. Try an if(console) before the call.
 
@techie_28 most likely it's because of the syntax error
 
@rlemon hipster...
 
@Algorath really?
 
@Algorath only in IE8
@Algorath also, *your
 
I've had IE10 do it.
 
user1596138
4:23 PM
@Shmiddty Well... It would register it as a different domain completely. My GA snippet tracks the difference between api.XX.com and XX.com
 
user1596138
As totally separate domains
 
browser debugger shows me the call to the script that is in onload
 
wait.... who debugs code on IE?
 
@Jhawins But you would still see it
 
user1596138
Oh yeah no doubt!
 
4:23 PM
there doesnt appear any error
 
@Jhawins I think you're following me now. ;)
 
@AwalGarg Anyone who's client uses IE exclusively.
 
@AwalGarg only those who want their pages to work in IE
 
@AwalGarg you should follow Jonathan Sampson on twitter. His tweets bring out the good parts of developing on IE
 
user1596138
Idk I mean, it would be confusing
 
4:24 PM
@Algorath *whose
 
@SterlingArcher That guy works in Redmond and once came here, right?
 
user1596138
I'd just laugh a lot
 
just the console log is not showing up in browser debugger,I was wondering if inclusion and execution different thing here?
 
@JanDvorak bro.......
 
@SterlingArcher I know. i'm terrible
 
4:24 PM
@AwalGarg I uhh.. don't know. I met him on meta
 
How many people would be complaining to Google about porn sites popping up in their dashboard?
 
@rlemon huehuehue
@Shmiddty I guess it depends on the porn
 
@SterlingArcher he frequents the HTML room
 
I just completed this jquery toast plugin that can be used to show toast messages etc to the user
https://github.com/kamranahmedse/jquery-toast-plugin
Contributions, Critiques are welcomed
 
@techie_28 well... yes
 
4:25 PM
Confirmed, @rlemon is a hipster, I am not.
 
I have only this way to include JS files unfortunately..
any ideas?
 
being a hipster is too mainstream for Nick. he's a meta-hipster.
 
I have to admit, IE11's debugger has some cool features. (Two that I know off)
 
@SterlingArcher True. The admin for mylittlepony.com probably is into child porn.
 
Thank you for the help.
 
4:27 PM
@Greg sorted? sorry had to eat soup
 
@AwalGarg name two
 
... I want to click
 
why is that tagged?
 
4:27 PM
do it
 
But I'm at work >=(
 
it is cup cakes.
 
lol
 
lol way to ruin it @rlemon
 
cupcakes and is very intruiging
Not clicking, fuck you. D:
 
4:28 PM
@Shmiddty jokes are too cool. I don't roll that way
 
jokes are too mainstream for @rlemon
 
@JanDvorak 1. Element highlighting looks better, specially to make sure alignment of elements is proper. 2. It allows clearing all site related data from the debugger. (not just cache, cookies, but form data as well)
 
I prefer meta-jokes
 
If it helps, the cupcakes are chocolate.
 
any Ideas?
 
4:29 PM
I prefer muffin jokes
such as muffin tops
/me goes to present
 
@Loktar break a leg
 
@rlemon Yeah, the previous developer had all the data randomly called through a function for the sake of rebinding, ugh I hate legacy.
 
What a terrible phrase
"I hope you do so well that you theoretically break a bone"
I wonder if anybody has taken that phrase literally and broke somebodies leg during a presentation
 
"Break a leg" is an idiom in theatre used to wish a performer "good luck" in an ironic way. Well-wishers typically say "Break a leg" to actors and musicians before they go on stage to perform. The origin of the phrase remains obscure. The expression reflects a theatrical superstition in which wishing a person "good luck" is considered bad luck. The expression is sometimes used outside the theatre as superstitions and customs travel through other professions and then into common use. Among professional dancers, the traditional saying is not "break a leg," but "merde". == Origins == Urbane Irish...
 
user1596138
10,000 pigeons go through anal security check for suspicious objects Tue, ready to be released on National Day on Wed http://t.co/HitEpLMv8o
 
user1596138
4:33 PM
I feel like this is a misinterpretation of "anal" and everyone is just running with it
 
user1596138
There is no way they are checking bird butts
 
anal and running should not be in the same sentence
ever
 
user1596138
http://www.independent.co.uk/news/world/asia/china-checks-the-anuses-of-10000-pigeons-for-explosives-ahead-of-national-day-event-9767598.html
 
user1596138
Dat URL
 
@Jhawins maybe they are
 
4:34 PM
Hi everybody!
 
While they were busy checking bird ass, they didn't realize that the feathers were the real threat
 
user1596138
> china-checks-the-anuses-of-10000-pigeons
 
@Jhawins Aw. I was hoping that was a real story.
 
Do I have to make #myform>#myform in HTML like on example? jqueryvalidation
 
user1596138
@Shmiddty Yeah, it is.
 
user1596138
 
user1596138
It's all over.
 
user1596138
I think it's a mistake
 
Not going to lie, I never thought of smuggling contraband via avian colon(s).
That would be a crime most fowl.
 
OH THE PUNS
 
Is there a reason I can't set an attribute on an element I get from querySelectorAll?
 
user1596138
Even if they did check their asses there's no doubt they just ran them in groups through xray machines. I don't get why they try to make it so raunchy, they also checked their heads.
 
@Jhawins hopefully not in that order...
 
> endure my butt stench
that's a new one
i'll be using that phrase on my brothers gf tonight when I get back from the gym
She hates it when either of us do that
It's too funny
 
force her to endure your butt stench?
 
kinky
 
4:40 PM
... sounds like 15 minutes into a really strange porno
 
user1596138
s/?/\./
 
@Jhawins Could not process input. Error: nothing to repeat on line 201
 
!!afk man needs his coffee
 
nm I figured it out. I wasn't using an index to set when I was looping.
 
4:43 PM
TIL console.table
 
@NickDugger I don't get it D:
 
I'd be surprised if you did from just one frame
 
if console.table is so much better, why do people still use .log?
 
Isn't morrowind a magic the gathering set?
@AwalGarg why is table better than log?
 
@AwalGarg I haven't heard of it being available outside of Chrome.
 
4:48 PM
@SterlingArcher sortable, better on eyes, overall more control.
@Algorath FF and IE have it too, according to their respective documentations.
 
I would argue that most people just need a simple confirmation, so log is simple and easy and wont clog the console with uneeded info?
 
IE seems to have a better version, I must say.
 
user1596138
 
user1596138
^ the immediate thing idk about the rest of the video
 
@SterlingArcher table would auto alias to log when tabulation is not required.
 
4:50 PM
@Jhawins dude wtf xD
 
@AwalGarg Damn, am I out of the loop. Thanks
 
user1596138
@SterlingArcher dude I would have kicked that things ass and got eaten
 
@Algorath xD
 
That was a giant doge
 
Was that a cougar attack?
 
4:53 PM
I think I would use table for some time and see how it works in real life cases...
 
inb4 milf joke, I know, I know
 
user1596138
@SterlingArcher whoa shit youtu.be/GBIvR1Z3wUc?t=10m8s
 
user1596138
(break time fail time)
 
user1596138
I'm always so scared of that happening
 
user1596138
His bike flies like 50ft!
 
4:55 PM
oh, lovely... console.table is pretty nice...
 
user1596138
youtu.be/GBIvR1Z3wUc?t=10m52s // HOLY SHIT SHARK PRANK!!
 
user1596138
That's all. But you really need to see the shark one!
 
user1596138
!!afk lunch
 
@Jhawins the next one is cool, I would love to see a rally some time
 
@rm-vanda damn I did the same command first time xD
 
4:59 PM
@rm-vanda woah, TIL
 
I've only linked the console API a dozen times :P
@AwalGarg Because you usually don't need tables?
 
and look the guy we were talking off arrived ;p
@Zirak I don't agree on that argument. Not only in this case but in any case...
 
Is today Oktoberfest? We're celebrating it today at work
 
@Zirak lots of aliases in the console object
 
@taco no
not here at least
 
5:03 PM
I guess we're just trying to find a reason to drink beer and eat sausage
 
Nobody would have thought we would need the internet before it came... should we not use it then?
 
Oktoberfest is the world's largest funfair held annually in Munich, Bavaria, Germany. It is a 16-day festival running from late September to the first weekend in October with more than 6 million people from around the world attending the event every year. Locally, it is often simply called Wiesn, after the colloquial name of the fairgrounds (Theresienwiese) themselves. The Oktoberfest is an important part of Bavarian culture, having been held since 1810. Other cities across the world also hold Oktoberfest celebrations, modeled after the original Munich event. The Munich Oktoberfest originally took...
hrm
seems like different places have their own times?
Kitchener-Waterloo Oktoberfest is an annual nine-day festival in the twin cities of Kitchener-Waterloo, Ontario, Canada. Based on the original German Oktoberfest, it is billed as Canada's Greatest Bavarian Festival, and is the second-largest Oktoberfest in the world. It is held every October, starting on the Friday before Canadian Thanksgiving and running until the Saturday after and attracts an estimated 750,000-1,000,000 visitors every year. While its best-known draws are the beer-based celebrations, other cultural and entertainment attractions also fill the week. The most well-known is the...
^ we like to drink beer in my city
 
@AwalGarg ok, so console.log('foo =', foo), the most common case of console.log, should be what exactly?
 
> and is the second-largest Oktoberfest in the world.
@Zirak console.log('here')
 
@Zirak eh?
 
5:06 PM
Back in the 90's we used to ask each other this kind of thing. It feels impersonal googling every single thing
 
@rlemon I lol'd
 
Alright later, gonna go to the sausagefest
2
 
@Zirak I spent far too long without knowing that console.log could take multiple arguments
 
@rlemon no numeric keypad ;(
 
5:08 PM
@SterlingArcher then enjoy poorlydrawnlines.com/comic/pets
 
@SomeKittens - what do you think the value of that, is? I personally didn't know that until a few moments ago, but I've always been fine with: `console.log("foo= "+bar);
 
@rm-vanda multiple arguments doesn't coerce bar into a string
 
console.log.apply(console, arrayOfArguments);
and what Kittens said
 
OH. ok.
 
I often use console.dir when inspecting objects or elements
.log just for numerics, strings, and the aforementioned 'here'
 
user2620028
5:09 PM
<3 Rush and Pink Floyd who are playing in succession on my phone
 
I used dir once, got undefined or something, never looked again... gotta look at it sometime.
 
@rlemon lmao XD
 
...
 
@AwalGarg see the big advantage when inspecting elements?
 
5:12 PM
@rlemon indeed. TIL
(lots of TILs coming for me today \o/)
 
@Zirak my favorite thing ever is still TheThingThatGetsDataFromTheServer
thankyou for finding that
 
Seriously people, take a look over this: developer.chrome.com/devtools/docs/console-api
Console is important, learn to use it
 
@rlemon rofl, I just typed it in the console and saw the autocompletion... I was like wtf?
 
group is also often overlooked
 
@Zirak <3
 
5:15 PM
@AwalGarg haha yup
 
xD
 
As is trace and proper use of info and warn
Devtools also has quite a few keyboard shortcuts, like Ctrl-[ and Ctrl-] for navigating between panes
 
I'm going to cry xD
 
I use error in code so I can see if something happened without looking at the console and staying at the sources tab ;p
 
@SterlingArcher did I just trap you into a new webcomic?
 
5:17 PM
Or being able to run js in a frame of your choosing
 
(the red counter ya know)
 
You sure did
 
yea I love that comic
much better than SMBC
I feel like @Zirak will appreciate: poorlydrawnlines.com/comic/gun-baby
 
oh my god LOL
I have tears I'm laughing so hard
 
5:20 PM
what did just happen that you guys started posting that entire site here?
 
@rlemon heh, I've read them all already
 
@AwalGarg You have 1 guess.
 
sorry :(
 
@Zirak I don't ;p
 
5:21 PM
 
gnight guys
 
Ok im going to rip my abs i keep looking at this
 
Can we not star the messages from the help vampires?
 
5:38 PM
!!urban fos
 
@SomeKittens FOS Abbrev. Full of shit.
 
@rlemon - I wish they were asking what to remove.
 
@TravisJ What do you feel we should remove?
 
@TravisJ Top voted thing by a mile "The Name"
 
@JonathanSampson - I feel like IE should be sandboxed. It is the most exploited web browser available.
 
5:40 PM
c# guy hatin on IE?
 
@JonathanSampson I feel this should be added : wpdev.uservoice.com/forums/257854-internet-explorer-platform/…
xD shameless self promotion
 
Hey guys this isn't working wow:
$(".chat-bar-itemusers").click(function() {console.log("Clicked - Changing to users");});
 
@TravisJ Do you have any specific examples? Most, if not all, of the exploits I have heard of recently don't get in through IE code, but rather through Flash/Java, etc.
 
Generators and <Template> element people!
come on!
how are those not the top two?
 
@JonathanSampson - Originally, IE was also there to facilitate updating the OS which gave it a lot of access to places like the HD and registry. I feel like these hooks have been exploited ever since.
 
5:41 PM
lol activeX components .. smh
 
@TravisJ Would you mind jotting down your thoughts, and sending them to me? (josamp@microsoft.com). I'll gladly bring them up internally.
 
Anyone know why is that not working?
 
@TomášAresakMalčánek May be because the element (".chat-bar-itemusers") doesn't exist at the time you're trying to add the handler.
 
Also, all input boxes come with that x sign by default and removing them requires another css rule. I don't think showing it by default is of any use.
 
@TomášAresakMalčánek there is no syntax errors, so impossible to tell with the code you've given
 
5:42 PM
Hi Room
 
@JonathanSampson - I wouldn't mind doing that. It would probably take me a little time to compose so I can do more research.
 
@ツツツ Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
It exist
<div id="chat-bar">
            <span class="chat-bar-itemchat">Chat</span> |
            <span class="chat-bar-itemusers">Users</span>
        </div>
 
@TomášAresakMalčánek no, he means you've executed the js code before the browser reads the html and populates the DOM
 
5:43 PM
@AwalGarg That was an Windows 8's addition geared towards touch. I don't think there is any specification that discusses pseuo-elements on inputs like that. But yeah, those were kinda pesky (given how many people had clear buttons to begin with).
 
Well and how to load it after? o.O
 
put the script tag at the end of the html before the </body> tag
 
I have an <script src=""></script> in my <head> tags
 
@TravisJ Take all the time you need; it's a pretty serious topic.
 
So you are saying to load it as last?
 
5:43 PM
any one can help for this problem : stackoverflow.com/questions/26146373/…
 
@TomášAresakMalčánek yes
 
@TomášAresakMalčánek Try $(document).on("click", ".chat-bar-itemusers", function(){} );
 
it also (can) boosts perceived performance
 
What if I will do $("html").load(function() {
/*stuff here*/});
 
@JonathanSampson there is no reason to delegate if structure can improve it
 
5:44 PM
@JonathanSampson - It would be nice if it were more secure. There are several integrated features of IE on the Surface that seem nice to use, but since it is vulnerable to attack tends to scare users away.
 
@JonathanSampson maybe have them disabled by default on non-touch devices?
 
there is also no reason to wait using .load or .ready or w/e
just put the JS at the end
simple
 
@rlemon Only suggesting delegation for testing purposes :)
 
@JonathanSampson - Oh! Also. The rendering algorithm for automatic table cell calculations.
 
ahh, well his code is in the head. I presume not wrapped in DOMContentLoaded wait
 
5:45 PM
@JonathanSampson +1
 
@JonathanSampson - That desperately needs refactoring.
 
@TomášAresakMalčánek best practice is just to move it to the end (if the script interacts with the DOM)
 
@TravisJ To address your bigger issue though, while UserVoice isn't for item-deprecation, we are totally opened to hearing your thoughts in that area. Anything at all you feel we can do to improve usability/security/etc., please do not hesitate to write.
 
okay
 
@rlemon ok I was never know that. Thanks you. Why I never saw that on any website?
Like to have a script file on the end of the page
 
@AwalGarg Yes, I'm familiar with it. You could add that rule to your user-agent stylesheet and never see those clear boxes again :)
It's a temporary solution if they really bother you :P
 
@JonathanSampson indeed, but it would be nice if they were disabled by default on non-touch devices
also, on text boxes with placeholder, placeholder disappears when element is focused. I guess users like it to remain there until text is entered; like other browsers do.
 
user1596138
@KendallFrey I would be worried about getting killed by a runaway car haha
 
@AwalGarg The placeholder issue is known internally. Subtle issue, but can be annoying :)
 
5:52 PM
@JonathanSampson Ahh, gud then. I hope it gets fixed sometime soon then :)
 
@AwalGarg Anything else you would like to see added/removed/modified in Internet Explorer, please feel free to ping me directly here, on twitter (@jonathansampson) or via email: josamp@microsoft.com.
 
@JonathanSampson sure :)
 
Guys (@BenjaminGruenbaum) promise question
 
@JonathanSampson How about a, "fix my code" button ;)
 
return parseItem(item)
    .then(checkDuplicates)
    .delay(index * 100)
    .then(findAmazonASIN)
Part of a promise chain ^
 
5:54 PM
And super work you guys are doing with IE. Difficult to say the old thing about IE anymore :D
 
checkDuplicates = function (item) {
    getMongoConnection()
        .then(function(conn) {
            var collection = conn.collection('items');
            return collection.findOneAsync({'originalEbay.title': item.originalEbay.title});
        })
        .then(function(dbItem) {
            console.log(dbItem);
            process.exit(42);
            return item;
        })
},
@JonathanSampson I'm really impressed by how serious Microsoft takes the project. I truly hope that you'd be able to shake off that "IE is crap" thought that everyone got so used to have.
 
@Algorath We do warn you of malformed markup and more in the console output. I'm personally advocating for a super-strict development mode that refuses to even render your site (during development) if there are any validation errors :)
 
okay, so I am having a stupid simple problem, but I haven't been able to figure it out. So, I made a simple fiddle so I can work out an issue I'm having. jsfiddle.net/qyv381xd the developer tools in chrome are telling me that my javascript function isn't defined... I just can't see why it's not being picked up.
 
@SecondRikudo There are still a lot of burned people out there (I was one of them), but we find that being open, honest, and transparent is doing really well.
 
@JonathanSampson If your JavaScript doesn't pass Linter, throw a fatal exception :P
 
5:56 PM
@Jenn common mistake
it is two parts. 1) you're using silly inline events.
2) you didn't read the jsfiddle docs
 
@rlemon alright. Well I guess I'll go read then. Thanks
 
@Jenn
 
Alright, I'm an idiot. Disregard my latest promise question :D
(Was missing a return)
 
@Jenn change the 'onload' to 'nowrap body' and it should work
but consider NOT using inline event stuff. it is harder to read, harder to maintain, there are caveats to it you could burn yourself with later, and overall it is just sloppy to look at.
 
@Jenn - By default jsfiddle executes javascript inside of an onload callback which is not a global scope. Inline events on your elements attempt to call the function from the wrong scope because they are defined in that callback.
 
5:58 PM
@rlemon never understood why that is not the default thing ;p
 
@AwalGarg I think because previously it loaded a library by default as well
 

« first day (1446 days earlier)      last day (3498 days later) »