« first day (1040 days earlier)      last day (3923 days later) » 

7:00 PM
best to use require.js mostly because writing you app in dependent modules is smart and good... but then you use the r.js optimizer to make shit super fast and only include what you need
 
is this not a valid JS object?
{strategy:{bets:{dnm:10,num:5},prr:{dnm:10,num:5}},crrr:{bets:{dnm:10,num:5},prr:{dnm:10,num:5}}};
 
@m59 the point you're getting at, i think, is modeling a depdendency graph for your scripts.
 
@PaulIrish but that might be an overkill if he needs to adopt requirejs to an existing project. but i'm absolutly with you, i LOVE r.js :)
 
and... best to just go to that directly than hack it with sequential script tags :)
it's not overkill. shipping 4+ scripts to a client means it'll take something like 4 extra seconds to load on 3G
at a minimum
if you are fine with your site/app taking 20s to load on mobile then go for it. :)
 
m59
So, headjs = win?
 
7:03 PM
bzzzt.
2
headjs = fail.
 
m59
oh lol
 
on page load you want to serve a maximum of 2 scripts to your users.
 
isn't headjs insanely outdated?
 
@gni
 
@m59 headjs only if you have no time to hop on to requirejs
 
m59
7:05 PM
The reason I didn't understand was that I thought the point was to load both at once, rather than synchronously.
 
@GNi33 it was abandoned, then i took over maintainership.. and abandoned it.. now it finally has a real owner. :)
 
m59
even if it is only 2 scripts, loading at once is better, right?
 
@m59 what i'm implying is that you shoudl serve a single script which is all your dependencies and app code concatenated
fewer http requests always wins over trying to parallelize requests. especially on mobile
 
@majodev a basic requirejs-structure is put together pretty fast (depends on your existing codebase of course)
@PaulIrish oh, okay. read about it ages ago and it kind of disappeared then. What is the "real owner" going to do with it?
 
@PaulIrish Hey Paul, just wanted to say I really like your stuff and effort in the Chrome dev tools and that I use it all the time.
 
7:08 PM
@GNi33 I currently working with it and its amazing. :) even though r.js leaves me with some weird errors with some third party libs
 
yeah, i love it too
@BenjaminGruenbaum i can agree with that :)
 
^ what he said.
 
@PaulIrish Also, I'd really enjoy better editing abilities and better optional multiline support like Firefox (and even IE) have. It's a pain having to switch to JSFiddle when playing with code to test behavior when it's more than a line (I constantly hit the up arrow or down arrow one time too many by mistake and the code gets deleted)
 
probably the hardest part about require.js is using it in time-critical projects and still splitting up the modules in a good way
looking at our current project, where some modules would definitely need some refactoring. it's a constant learn process
 
@GNi33 What? I use Require (and r) all the time, splitting up the modules in a good way is fundamental in coding.. more generally breaking code into smaller pieces is a big part of better coding.
 
7:11 PM
of course
 
@GNi33 @PaulIrish maybe someone could give me hint why the r.js optimizer messes with leapjs, had 4 horrible hours yesterday debugging before finally writing a issue report: github.com/jrburke/r.js/issues/514
 
and that's exactly the point, stuff got really messy in some modules on our current project, I guess some people (including me) just lost the overview in stressful times
 
@majodev Check out if it's anything why it's failing with Angular (and you have to adjust the way you write Angular). Does any of your code do dependency injection based on variable names?
@GNi33 Writing dirty stops being writing fast pretty quickly in big projects..
 
yep
 
@BenjaminGruenbaum I'm not using angular in the sample project?!?
 
7:14 PM
@majodev Not saying you are, saying that any reliance on names will mess up your code with r.js
 
@GNi33 I 2.9 everything about this.
 
hehe ;)
 
@BenjaminGruenbaum hm, I might be too stupid to get the quintessence out of that. In my big project, I shim 4 libs that I need, and everything works perfect until I use the optimizer and only leapjs fails
 
@Arbaaz Holy jesus. Find a new hobby.
 
You did the right thing opening a bug report, how does it fail? Did you try prettifying the minified code or using source maps?
 
7:18 PM
@BenjaminGruenbaum yep everything, tried various config flags, tried almond, usw. keeps failing everytime
 
@Zirak Where iz you?
 
@BenjaminGruenbaum I even tried the commonjs-converter from r.js without any success.
 
@BenjaminGruenbaum we have the same optional multiline console that Firefox and IE have. :) But I would recommend Sources / Snippets which is a proper multiline console
 
@PaulIrish thoughts on browserify?
 
@PaulIrish Could I ask a question for the sole purpose of quoting your response to my team?
 
7:20 PM
lol
 
Oh hello Paul.
 
@PaulIrish could I ask a question, DO YOU EVEN LIFT?! :P
5
I knew right when I saw your avatar, questions would flow in
 
@Loktar well that's my monitor covered in tea. Thanks! :D
 
@PaulIrish Is it completely stupid as hell to cache JavaScript in localStorage? (Specifically for mobile)
 
@mikedidthis haha
 
7:21 PM
@PaulIrish Yeah, I've been using snippets a lot - it's really helpful.
 
@FlorianMargaine seems good
@BenjaminGruenbaum good!
@phenomnomnominal sup
 
awaits Loktars question to be answered
 
@Loktar BRO U LIFT?! ;)
10
 
haha
 
7:22 PM
Meh. You didn't even try it :(
 
totally worth it!
 
JSHint in snippets would be nice, but I guess that might be overkill
 
i don't lift. :) i think you can tell. Anton (@valueof) lifts.
@FlorianMargaine it's complicated but inevitably i dont think sharing a repo of packages with node and the browser is going to work
especially as es6 modules land
technically browserify is doing really well and their sourcemap integration is hot as fuck
 
Also I love $_ in the console , some guys here (ahem @Zirak) really like that in PERL and miss that.
 
Oh yeah, es6 modules going the other way than node way :/
 
7:24 PM
@phenomnomnominal ? i gotta run. hit me quick
 
Sorry, you musnt have seen:
 
oh! your'e right
 
3 mins ago, by phenomnomnominal
@PaulIrish Is it completely stupid as hell to cache JavaScript in localStorage? (Specifically for mobile)
One word is okay
 
this assumes you have expires caching set up on the asset and that's somehow not good enough... like it's evicted from disk cache before your users return visit in 5 days.
 
@BenjaminGruenbaum Wait what?
 
7:25 PM
if you're measuring that and that is the case, then yes, it seems okay.
 
@OctavianDamiean $_ returns the most recently evaluated result in the Chrome console
 
since bing and google use this technique i imagine it's fairly smart
i wish we didnt have to do it
 
@BenjaminGruenbaum O_O
 
but before implementing it you should have significant metrics showing that it's not actually regressing your performance goals
 
How the hell did I miss that!?
 
7:26 PM
it happened like 12mo ago.
 
@PaulIrish thanks for cc'ing the issue :)
 
it's pretty sweet.
@majodev yah i think the maintainer will probably help out. hopefully
 
We have worse problems that that - we're hitting the limit in chrome. But thanks anyways
 
@OctavianDamiean Ah, works in non-Canary too
 
That's pretty awesome!
 
7:27 PM
yeah it's been in forever.
 
uses the REPL a lot
 
lol @rlemon is always gone when popular community members join
 
@phenomnomnominal the storage cache limit?
 
he missed @jresig too
 
It's fun to have celebrities in there. It's a shame they don't stay though, but it's understandable since they're harassed with questions...
 
7:28 PM
@Loktar paul has been here a couple of times before
 
read the read of the page for $_ and copy() and values() and clear() and getEventListeners() omgomg
 
@PaulIrish yeah, we're storing a pretty hefty (infrequently changing) JSON file along with the cached JS. My argument is that ApplicationCache (or just browser cache) should be in charge of caching (surprise) and localStorage should be for data.
 
@FlorianMargaine I FEEL SO HARASSED :p actually someone is yelling at me to get lunch
 
@PaulIrish heh, cheers. :D
 
@PaulIrish Tell them to shut up, we're special
 
7:29 PM
Tell him I said no
 
Tell him he needs to lose a few pounds anyway
 
@phenomnomnominal in a perfect world yes. in a year it'll be navigationcontroller and all this will be fixed.
 
@PaulIrish just say "You're right" so I can use it.
2
 
It's 9pm here, too late for lunch
 
^^ good enough.
 
7:29 PM
hahaa
 
is this allowed?

$.globalVariable =
{
permArray: Utils.makeArrayOf(0, 59)
};

I always get the Utils is not defined.. but it's included..
 
@rogcg omg not now dude. joking
 
@rogcg What's Utils?
 
@Loktar lolz!
 
7:30 PM
@Loktar #notJoking
 
@FlorianMargaine you're right in this. they are wrong. it's a separation of concerns and it's completely inappropriate to bastardize localstorage for caching javascript content.
^ screenshot that and email it off :p
 
@PaulIrish it's @phenomnomnominal
 
@PaulIrish was that to me?
 
@phe
/me omg noob
 
He can call you @FlorianMargaine if he wants dude.
 
7:31 PM
Haha yes, I am Florian
 
@phenomnomnominal you're right in this. they are wrong. it's a separation of concerns and it's completely inappropriate to bastardize localstorage for caching javascript content.
 
I think @PaulIrish really need that lunch break.
 
@BenjaminGruenbaum Utils.. paste.kde.org/p4764e937
 
we are all @FlorianMargaine damnit
 
@PaulIrish You can edit by hitting the up arrow key when the input is focused.
 
7:31 PM
@PaulIrish Amazing. Also probably tweeting it
 
(the reality is that i can see the sense in it but feel free to use me as a trump card if you really want to win the argument)
<3
 
@rogcg Show me a self contained example in codepen or jsfiddle.
 
2.9 brother!
 
@OctavianDamiean oh shit. thx for the protip
 
Have a good lunch
 
7:32 PM
peace gotta go. hearts.
 
see ya
 
thanks for stopping by
 
I take back the douche things I said about him
all of the douche things over the years.
 
7:33 PM
also it was cool to have someone older than me in the chat :P
 
@BenjaminGruenbaum why?? isn't that understandable?
 
@Loktar I think we are nearly the same age.
 
@Loktar Stop lying he ain't older than you.
 
@rogcg I don't see how you'd get the "Utils is not defined" error
 
hes 31! according to his descrip on google
Friend of mine asked who he was after I linked my question in IRC
/me not a creepy stalker.
 
7:34 PM
@Loktar Oh crap! I won't tell how old I thought you are.
 
@mikedidthis Im 30, sep 28th is my bday
 
I call the Util function in a file called manage_permissions.js. And these .js files are included in html code in the following order:

<script src="../js/manage_permissions.js"></script>
<script src="../js/Utils.js"></script>
 
@OctavianDamiean I let it out, you aint blackmailing me any longer!
 
@Loktar 30, jun 16th. So you have 9 months on me. But your alot funnier, so there is that.
 
7:35 PM
@rogcg Includes are synchronous, include Utils before manage_permissions , also be consistent in your naming
 
@BenjaminGruenbaum the order matters?
 
@mikedidthis lol
 
@mikedidthis you have the good ol' British humor, it evens out.
 
@BenjaminGruenbaum what about the naming?
 
7:35 PM
@OctavianDamiean I have good ol' British teeth. That is all.
 
@rlemon miss all the fun.
 
@rogcg You name one file like_this and another like This. Be consistent.
 
lol wait, British teeth thing is a thing even in Britain??
I thought it was just Americans joking around
 
7:36 PM
@BenjaminGruenbaum oh yeah.. that's because we follow a specific pattern here.
 
@Loktar no, we don't notice in Britain, but since being here, I have learned it is a joke.
 
@ZachSmith 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.
 
@Zirak if you don't hurry up I won't have a microphone to communicate as one of my cats just decided that it tastes good and should be eaten.
@majodev oh, you're still here.
 
@OctavianDamiean as promised ^^
 
So, are you a freelancer or are you employed somewhere?
 
7:47 PM
@OctavianDamiean nope, currently "writing" my master thesis and doing some prototypes in js with leap motion for ergo/physiotherapy
 
Oh, that sounds quite interesting.
 
@OctavianDamiean Freelancing or employed?
 
Employed.
 
@OctavianDamiean sounds better than it is. last 2 weeks was a hard fight though crockfords book and 3 other books on js. Quite a pain to switch from AS3 to there, but heck, the community around js is absolutely awesome
 
heh
In which area of Graz are you?
 
7:52 PM
@OctavianDamiean Can you give me a link where you work, if it's ok?
@OctavianDamiean near the "Stadthalle, 8010"
 
Ah, Liebenau-ish.
 
:9 right
 
Awww, I missed Paul Irish.
Stupid meetings.
 
@RyanKinal He doesn't lift though.
 
lol
 
7:53 PM
I knew everyone wanted to know
didn't want to disappoint
 
btw, I'd like to congratulate the room. The conversation with Mr. Irish was far less awkward than the conversation with John Resig.
 
lol yea
Paul seems pretty cool though
not that John doesnt
but more light hearted idk
 
He's one of the good guys.
John too.
 
yeah for sure
 
@majodev Done.
 
7:55 PM
JSON.org had a funny license conflict with PHP and they removed support in PHP 5.5
 
There are good people building the internet, and bad people complaining about stuff or vamping around.
 
after reading a lot of what Paul Irish has written though he seems to have a good sense of humor
 
Boy you read fast :P
Anyway, I'm off to sleep, gnight
 
@majodev also note that you'll probably not see any web development stuff on that website as that area grew out of me. I'm the only professional web developer there.
 
@OctavianDamiean nice. thanks. we'll keep an eye on that. never thought to meet austrians here :)
@OctavianDamiean oh, sounds hard doing everything alone
 
7:58 PM
@majodev It's not easy and sometimes you'll see me swear a lot in here. :D
 
@OctavianDamiean hehe, looking forward to it XD
 
wow, I managed to catch up on all my emails! I can't believe it.
 
@OctavianDamiean if you had iOS (which I suspect you don't :P) I would recommend Mailbox
 
I don't and as soon as there's Inky for Linux, I'd recommend Inky. :)
Oh there's Inky for Mac too. inky.com
 
Yeah I've seen it before, but I don't do many emails from my computer haha
 
8:09 PM
@OctavianDamiean I'm here I'm here
 
Good, you know the drill.
 
sigh fine... goes to find the pom-poms
 
Good boy.
 
ok so I now have a 'den' or a 'pod' or w/e you wanna call it
hired another dev and we are sharing an office due to space
I need a nice poster to hang above our desks
suggestions?
I want it to let people know we're serious, but lazy as shit all at the same time
 
8:16 PM
@rlemon you've got other problems man, you just missed out on Paul Irish ...
 
FUCK
wait
nvm, I don't fanboy over him
 
hi all, any advice with unobtrusive - cant figure out how to google it - i have and html tag, script, that does some stuff to the element when loaded. How do I let other ppl figure out which script file deals with this html tag in a special way?
 
I wanna be here when JR is here
holy fuck Paul Irish comes in and the stars are just about him / are him
you guys are the worst kinda fanboys
 
didn't star a single thing....
 
@Loktar yea, JR would have been a [i'm now drilling you about API design decisions] annoying banter - Paul Irish is a very talented programmer, but I put most of you guys on the same level as he is. Albeit maybe less publicly known.
honestly there are very few programmers I would fanboy over in the chat. meeting them in person might be different. but the chat is just the chat.
idk. i'm strange.
@PaulIrish it would be cool however to get some celebrity backing of our little corner of the JS community.
I think we deserve it
 
8:22 PM
I'm going to see Reggie Watts on saturday.
 
> Reginald Lucien Frank Roger "Reggie" Watts is a French-American comedian and musician. His shows are mostly improvised and consist of stream of consciousness stand-up in various shifting personae, mixed with loop pedal-based a cappella compositions
interesting description
 
he's fantastic
 
@rlemon there's that one page...
 
??
 
8:24 PM
I can't find the link
It's about good resources for web development, and it lists this room
Has something to do with paul and some others
 
one day I want to enter a room and have people say "Holy shit it is r lemon!" then I will lul and say "you silly nillies. I'm just as lost as you, but I found a map"
we are literally the last spot :P
 
That happens already
@rlemon But we're there!
 
@rlemon star struck every day. The talent in this room is impressive as well as the humour.
 
0
Q: Why won't the Comprehensive Google Map Plugin load?

SpencerDuball. I could use some help troubleshooting a plugin, since the plugin's author hasn't responding to support threads on the plugin page. I'm using the Comprehensive Google Map Plugin to display a map on a page. Or, at least, I'm trying to. When I put the shortcode in a page and publish it, the pa...

 
@mikedidthis exactly. The overwhelming talent in this room far surpasses anything I've seen from the "js stars"
well maybe not in all cases....
But the point being, a handful of people in here I could argue are talented enough to be "js stars"
 
8:33 PM
Who are the stars of this room?
 
posted on August 21, 2013

var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); try { var pageTracker = _gat._getTracker("UA-3727700-1"); pageTracker._trackPageview(); } catch(err) {} GLONK

 
@rlemon I feel the same way about the celebrity ism
 
@JanDvorak @Neal, @Connor, @bushdiver, @deep, uh....
 
how far am I?
 
from what?
 
8:37 PM
from becoming a star
 
never gonna happen.
 
posted on August 21, 2013 by Victor Rodriguez

The USAF’s ‘Space Fence’ Surveillance System: Another Victim of Sequestration Why Teleportation Could Be Far Slower Than Walking CIA’s Declassified Documents Reveals Secrets About Area 51 and UFOs Newly leaked NSA program sees 'nearly everything' you do java - Confusing output from infinite recursion within try-catch

 
@Loktar I mean, sure the work they do is impressive. but so it the work you do, and the work Abhishek does, and the work Benji does. Zirak is just crazy with his js.
the list could go on and on
 
You're not cool enough to copy/paste and give no fucks.
 
zirak is crazy man
in a good way. His code makes me smile
 
8:38 PM
I really hope in a few years to see some of the regulars we have now move into the celebrity spotlight.
 
@Shmiddty if that's the criterion for stardom :-)
 
Hey guys, stop liking Paul Irish. According to the stars, It seems he now has a very clean but on wich he will be able to seat for a loooong time.
 
I think the real issue is that none of us have been picked up by a 'cool' website
 
He knows where to go when he feels bad or dirty
 
seems you have to work for Twitter / Google / Apple or MS to be known
or have worked on anything Yahoo related....
 
8:40 PM
@rlemon I don't want to be in the spotlight
 
too bad, I went to the zoo a few weeks ago. you can't escape it
 
I just want to fly under the radar and get paid.
 
@rlemon y u on our TS3 server and not talking?
 
I want to implement a jamming technology and beat the radar, while flying over it.
 
@Shmiddty you and me both.
 
8:41 PM
@rlemon just make the cool site!
 
@OctavianDamiean TS3?
 
be the cool site
 
TeamSpeak 3.
 
@Loktar lemonmeme ;)
 
Easijilia, SimonSarris, Loktar, Abishek, Benjamin, Florian, Zieak, Rlemon, seriously you all have a very high level and would be hired by those company after a 1 hour talk
 
8:42 PM
@OctavianDamiean I don't have TS
 
@OctavianDamiean dude get mumble
@rlemon I need to give you our server infos
 
I know, that message was for @BadgerGirl.
 
so we can play mp
I got my son l4d2
 
I feel like I'm doing a good job at flying under the radar.
 
@Loktar agreed.
Burnout Paradise is mp
 
8:43 PM
@OctavianDamiean Huh?
 
;) ;)
or some BF3
I haven't played BF3 yet.
 
The Google Chrome team is fun also
when they do lives
 
@rlemon Get it, install it, get TS3 and join me and Zirak.
 
This is my view right now from Meh-i-co
you are all so jealous
 
@OctavianDamiean dude I cant believe you use teamspeak. I CANT BELIEVE IT
thats like so 2005
 
WTH ?
 
Im j/j I gotta head out
later all
 
posted on August 21, 2013 by Nicholas C. Zakas

I was preparing for my talk at Etsy’s Code as Craft series this past Tuesday. The room was starting to fill and we had about 10 minutes before I was to start. I took out my laptop and found, much to my dismay, that it wouldn’t work with the projector. For anyone who’s done any [...]

 
I'm gonna play with the Web MIDI API this weekend
 
@BadgerGirl anywhere I should visit? I have a day off the resort
 
8:49 PM
@Loktar TS3!
 
I don't know. What have you done so far?
 
I am correct in thinking you can't monitor an object property change and then do something. Example obj.someparent = false > obj.someparent = true = do something?
 
@BadgerGirl got propositioned by a minor and her pimp (not joking) and listened to some strange Christina Aguilar in spanish.
but it was her voice! she records in spanish as well?
@mikedidthis read getters and setters
 
@rlemon shall do, thanks :D
 
@rlemon Yeah
 
8:52 PM
@mikedidthis you could change the set function of the property
 
@rlemon a prostitute and her pimp tried to get you to pay for sex? NO WAI!
 
@Shmiddty some 14 year old looking guy came up to me and asked me "see that girl over there?" as he pointed at some 12-13 year old looking girl. maybe younger. "ten pesos... hour of sex on the beach"
 
@rlemon the deals! That's like a dollar, right?
!!convert 1peso to dollars
 
@Shmiddty Confuse converter with peso, receive error message
 
8:56 PM
like 80 cents actually
 
poor kid
 
@Alji_, Kénitra
26ans | ingénieur en #informatique de #Enseirb-Matmeca de Bordeaux | tweet in Fr.Ar.Eng | FollowBack les Geeks et peuple de #Kenitra
6k tweets, 387 followers, following 644 users
ok who the fuck is this dude and how did I end up following him
I swear Twitter just follows random people for you
@Loktar who is this: twitter.com/noahblon
I don't recognize the name and YOLO in the desc.
you follow him as well.
anyways, on my way home. bbl.
the flight shouldn't be more than a few hours.
;)
 
Hy, just one question, everything is described on the picture.
http://pokit.org/get/?c9f5a29401219c1a539dabc909b11430.jpg
it is component from jqueryUI
for sorting data in table by columns
 
@speci 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.
 
9:13 PM
I understand now.
We had a cewebrity join us briefly.
 
who wants to close a typo question? stackoverflow.com/questions/18367835/…
 
@rlemon Yes that happens, had this a number of times back when I was still using it. Just one of their many bugs they never get around to fix.
 
@PaulIrish hay bb wats ur sine?
 
9:33 PM
Object { Strategy={...}, abc={...}} How can I add on key value pair to each of strategy and abc objects which are present in an object themselves?
Ideas any one?
 
omg @Esailija I can't even understand mrale.ph/blog/2012/06/03/…
That's pretty disturbing.
 
what part
 
All. That's more a language difficulty than the rest I think
Too much specific English
I can't even find a proprer Schema representing the differents parts of a VM to "visualize" it
 
here's a more high level blog wingolog.org/tags/v8
 
9:50 PM
> For efficiency tables that are used like structured data should become more like C structs:
Like... I would have write "For efficiency, tables that are used like structured data should become more like C structs:"
Else I have to re-read the sentence 3 times to understand. And it just kill my concentration :s
 
yeah he is Russian :P
 
Like.. The dressing?
 
I can see how it could affect native speaker
 
Also, why would they name their country after a salad dressing.
 
like I notice the word "disclose" as "dis" and "close"
because in my language we just add suffix to words naturally
 
9:55 PM
English is the result of the bastardization of other languages over time.
 
but it was brought to my attention that it is a full word and not a combination of dis and close
 
Well it isn't horribly off.
Disclose: to make the secret or unknown known to a limited audience.
So it isn't closed.
 
yea that's how I think about it
but it seemed completely alien to Ryan
D
 
@Darkyen Who dares awake me!?
 
I like English because you can be horribly off and still be understood.
Seems other languages are less forgiving
 
9:58 PM
Why on earth would ES6 have String.prototype.repeat?
 
@rlemon that's what I hear
 
because String.prototype.more was confusing.
 
never looked into it if it was backed up by something serious
 

« first day (1040 days earlier)      last day (3923 days later) »