« first day (2012 days earlier)      last day (3158 days later) » 

14:00
"We have updated our Terms of Service" *Clicks on [Accept]*
@TechTreeDev check console ...
ReferenceError: showPosition is not defined
Ok, I never in my life fingerpainted and napped
wait...
!!urban finger paint
!!undo
> Biggest lie in the world: "I have read and I accept the EULA"
@SterlingArcher you've never lived then
14:01
In the end, the problem is the lack of a safe/proper/easy method to output data from snippets. A console.log expansion would go a long way in reducing the use of document.write. — Cerbrus 2 mins ago
@Cerbrus Agreed
@KarelG Oh, I was using the editors console, which was empty. Thanks
(can't add that as a comment, too short)
Damn random pointed mustache hairs
@rlemon Zero-width whitespaces were patched... :-(
I am ready for game of thrones season to start
14:04
@Cerbrus accented whitespace?
@ndugger you didn't respond to my picture I texted you :(
I only send you my dankest memes and you straight swerved me
rlemon already put it in chat a couple days before
I send the offensive memes over hangouts
you filthy reposter
You got swerved!
14:06
Should I post a beard-update? It's getting big
(shut up)
What does this mean? Don't forget to polyfill require if you want to use it in node. See webpack documentation.
I trimmed mine again
huh?
Every two weeks now
polyfill require?
@corvid polyfill probably isn't the proper word... overwrite maybe?
Downside of a beard: chugging a beer goes everywhere.
EVERYWHERE.
have you tried chugging better?
Hi
14:08
Hey I can chug a beer in under 3 seconds D:
@SterlingArcher I have more mustache-related problems with that.
@SterlingArcher your mustache slowly begins to smell like milk, or at least mine does
Does Javascript have a Python like defaultdict?
I can beer bong a beer under 2. Cup chug is under 3
@Neil I don't drink milk, but I wash my face everytime I eat or drink just in case
Last time I had a beard like this I found a peanut in it after a night of drinking
@Andy Not built in, but the Map API is dead simple, so it would be trivial to write.
14:10
I don't feel the need to chug my drinks. even when I was a young twenty
@SterlingArcher just in case you drink milk? ;)
Hi is it okay to put jquery document ready inside the function init() ?

function init(){
    some javascript codes here
	some variables initialize

	$(funcion(){

		//some jquery onclick handler

	});

}


<body onload="init()">
just enjoy your damn beer
@rlemon I feel that way about shots too.
@jemz that makes no sense
14:11
@Neoares can you please clarify
why ?
I have a better time and get more drunk with mixed drinks.
@jemz init is called when document is ready already
@jemz I can't imagine a scenario where that makes sense
@jemz $(function(){}) is shorthand for $(document).ready which already waits for onload
you're being tripple redundant
just tell me why would you do that
@Neoares, I really don't know the impact of that
@ssube I enjoy me some vodka+sprite
also, you don't need to wait for load, you can just place your script files in the end.
Lime is a must
14:11
@ssube Awesome. Thank you. I'll go look at that.
@rlemon, thank you
@SterlingArcher vodka+sprite, vodka+ginger, rum+coke, whiskey+coke, and occasionally fancy ones like manhattans and stuff.
@jemz Not needed
@rlemon, I want to show loading icon before it renders all the html
It would work, of course, but what you're doing is the equivalent of assigning a click handler and triggering it, then promptly removing the handler in order to call a function
14:13
I can only do whiskey when I'm trashed
I used to be really good at whiskey (as such things go)
@jemz that is going to be a different story all together then
Sometimes I order a vodka+diet coke so I can tell people I got a VD
2
@rlemon, Okay thak you for the advice
@MadaraUchiha , Thank you
@SomeGuy ffdp is good
Yep! So much fun
@SterlingArcher what's a VD?
My favorite trick at a Halloween party is to tape a bunch of cigarettes to me. When someone asks what I am supposed to be, I pull one off. A cigarette lighter
@GNi33 Venereal disease
14:16
@Andy jsfiddle.net/k2msw4x0 ought to do it
Or, alternatively, vodka+diet coke
@Neil Heh, nice
I love how confusing that is sometimes
Should have had a V8
@Neil I don't get it D:
@SomeGuy it is also cheap ^_~
@SterlingArcher Lighter, in terms of weight
14:17
Oh god dammit
Hi, can someone give me a good tutorial for javascript that uses DRY ?
I'm typically an animal for halloween
please
@SterlingArcher You're an animal year round, fam
@jemz what did google show you
14:20
@jemz you don't really teach DRY. Suffice to say that if you repeat the same code, you're not DRY
@jemz I'm not sure if this is the correct approach to the 'show loading while the page loads', but I have done this in the past jsfiddle.net/rlemon/t0kearoc
no one complained
@KendallFrey lol no I'm serious. I was a panda in DC one year... and literally every woman at the bar that was a panda wanted to dance. Then I was a dog... Don't be a domesticated animal. People get drunk and try to give you commands
However, they will feed you and pet you... so there's that
what about doggy style
@SterlingArcher they will never say no to a panda... you know ;)
0
Q: How does ES6 import / export play along with CommonJS exports / require

Tomas KulichSometimes you want to combine these syntaxes, most often when importing something that uses the commonjs syntax. Some cases were already discussed for example here: How to correctly use ES6 "export default" with CommonJS "require"? but there surely are more situations that can occur!

cv? there's no question there
@rlemon, thank you I will try this..
@KendallFrey did I ever tell you about the single most greatest block in the history of mankind?
was it a lego block?
> most greatest
I know what I said
14:23
An adblock?
Ken Block?
Bloccoli?
So I was a dog last year for halloween. Went to Pittsburgh to see my buddy, and we all went out. Me, my brother, Mr. T, his buddy Adam, and Phil. Fucking unemployed, alcoholic Phil.
Is there some kind of weird behavior with instances ?
14:24
Also, yes
sometimes Maybe
We go out, we get sloshed. This woman in a very skimpy army costume comes and sits on my lap, "I'm a slutty army girl!" (Yes, yes you are) and wants to take pictures with me.
I create two different instances of the same function
You can't create instances of functions
Damn terminologies...
14:24
you either have the same function, or different functions
Fucking Phil.... god damn Phil thinks it's a smart idea to throw the entire table contents onto us, call her a whore, and shove her off my lap.
* puts down axe * posted my answer on that meta question
@KendallFrey orly?
To this day I curse the name Phil.
var LdmGrid = function (myGrid) {

    LdmGrid.prototype.jsonGrid = "";
    LdmGrid.prototype.id = myGrid.id;
var gridEnd = new LdmGrid(document.getElementById("gridEndereco"));
var gridTel = new LdmGrid(document.getElementById("gridTelefone"));
14:25
you're setting the prototype inside of the constructor?
@KendallFrey what if I have two functions coming from the same literal?
@SterlingArcher them's fightin words
I've never seen that
@JanDvorak two references?
gridEnd.id returns "gridTelefone"
14:26
Oh I cocked back but my brother stopped me
@AndréSilva show the entire constructor
your brother stopped you from cocking a back?
While Phil's closest friends laughed at my brother and said "You shoulda let Jordan punch him"
@rlemon Are you sure? I mean.. you might die in disgust..
@AndréSilva that's because both instances share a prototype
14:26
@SterlingArcher s/stopped me/added himself to the list/
@AndréSilva can't debug code we can't see
http://codepen.io/TechTreeDev/pen/VadjBR
Does the location match now?
lol nah, I was drunk and I'm glad I didn't punch him
I suspect you're not adding to the actual prototype
@rlemon I'm pretty sure the problem is there
14:27
I don't like hitting people
@KendallFrey so am I
but it could be two snippets merged for us
I don't make assumptions anymore
I'm putting in jsfiddle, one sec
Then why...
that's why I'm asking for further clarification
i.e. the entire snippet
Set the prototype outside the function, use this.id inside the function
I think
14:29
bingo
but if those prototype stuff are in other places and he just screwed up the paste.. then not bingo
but unlikely
YouTube comments are literally cancer
> We used to have nine planets. Now we have eight and there's a giant red spot on Jupiter.
:( Don't hate me.
yea listen to kendall
you're setting the prototypes wrong
14:30
@SterlingArcher figuratively
literally
l i t e r a l l y
:/ I'm trying to learn by actually trying
I will literally place my foot in your ass
@AndréSilva You're already in the top 10%
I'm going to read about prototypes then... I was trying to do something similar to C# :X
Just don't even try
@AndréSilva the two links above (in order) should clear things up ( I hope )
Thanks :) I'm going to read it and fix it asap
14:32
@KendallFrey you'd have to find me first
I have long legs
I know where-ish you are
@AndréSilva javascript isn't c#. It would be beneficial to your learning to accept that it isn't going to be exactly like something that you've already done
who am I kidding, my longest leg is the middle one
How do I add jquery to a jsfiddle now? It seem slike they changed their UI
14:33
@KendallFrey apparently you're kidding yourself
@JanDvorak that's so ... atypical comment between others
@KendallFrey paraplegic? Sad sad
I use C# as base because I know a bit of concept about it, while javascript I know almost nothing...
does kidding mean giving birth to a kid
@Neil paraplegic still have legs, you're looking for amputee
@Neil I don't think that means what you think it means
@Tuvia go to jsdiffle > external resources > add jquery
And what he said
> jsdiffle
wat?!
@KendallFrey omg found it... welcome Cancer youtube.com/watch?v=KZn4MuXwNhA
14:34
@littlepootis There used to be a dropdown for it. I now have to add it manually?
found this while watching a bunch of DIY stuff
@Tuvia yeah
couldn't watch more than 1 minute
@littlepootis :-(
@Neil You're still implying he has normal legs, but they don't work... so you're saying he still has a big d- but he can't move his legs
14:34
@TechTreeDev yes. it works fine now. :-)
remember to use console the next time. It's an useful tool
@AndréSilva I do believe you're right
@rlemon Don't watch DIY videos from women
@KarelG I will. Thank you
@KendallFrey I watch DIY playlists while gaming
it came up
:/
14:36
Ok then...
> our literal, literal..
!! Urban literally hitler
@JanDvorak literally hitler The act of being Hitlery.
4
!!undo
@JanDvorak You do not have permission to use the command undo
sick burns from the Iceman
There is no coming back @JanDvorak
Did someone say "post youtube videos with awesome music?"
How do I parse links for each <a> tag? $("a").each(function() { ... url.parse(link).hostname }
14:42
wat
so, after I finished what I had to do (and a bit more. I got paid more, not complaining), I asked my boss what's next. His response basically translates to: "Find something that looks fun/too-horrible-to-ignore and do something about it"
I love this :D
the time spent thinking about what to do is also accounted for
@towc *builds death ray*
That's awesome
morning :/
Wait, is that slash an and or an or?
14:44
@towc are there any internal tools you could make?
problem is that sometimes I prefer to know exactly what needs to be done. Ever heard of "fear of freedom"?
maintaining them becomes a task
job stability
@towc write a backdoor
@towc aren't you too young to be employed?
@ssube I have one last question before I dig into this a bit more. Javascript is not my skillset, so please forgive the potential noobness here. In the constructor, it's expecting an iterable (I assume this should be an array?) and a factory. What is the factory? I'm attempting to make a dictionary like object where each key has a list of values so it'd look like this (stole from a python sample)
14:46
btw, this is the last thing I made for him: towc.eu/prototype/eoxplore/inundo I really need to rethink a lot of things. Haven't shared it with anyone yet, wanted to see how good of a design job could I do. Answer is "not very much"
{
	'a': [1, 2, 3, 6],
	'c': [7],
	'b': [4, 5]
}
Like, it could use serious improvements
@SterlingArcher part-time
Do nothing and clock it as "reviewing existing code base"
If the explaination is to long, I'm happy to post a question too.
@towc At least you're being paid to improve on the job!
14:47
@JanDvorak lol. "remove the 0s from the for loop"
did you research what a factory is in javascript? because if that's your question it's thoroughly documented.
in any case, what do you think of it?
> Not the best start to a marriage! The tyre-fitter and his bride at the wheel of the £240,000 Ferrari they rented for their wedding day then CRASHED - after his foot slipped on the accelerator sauce
not good for the wallet
"slipped on the accelerator" what does that mean
@Andy you wanted it to match Python's defaultdict, right? That uses a factory function (/callback) to produce missing values.
14:50
@towc wait, is this why you were asking for that obfuscated url thingy? :P
@AwalGarg no, that's another project, not for him
and btw, did you just rotate the bits of the text or smth?
I don't know what I'm saying
but it could be an idea
@towc now you're talking sense
which text are you talking about?
14:51
@KevinB he used the accelerator unintentionally. Probably he want to use the brake pedal. Not sure. It can be that he want to show off but that it went wrong
nvm, I forgot the deobfuscation algorithm is also included :P
good morning everyone
@towc you can just hijack function.prototype with a userscript running @documet-start or something, but ok :P
@KarelG "let me start this wonderful marriage by doing something potentially dangerous and would cost us thousands of debt should anything go wrong. What's the worst thing that could happen? "
14:57
@AwalGarg the console is unusable when I am on that site... I guess chrome really doesn't handle monospace non-ascii well
getting hit by a train in a way you cannot finish the sentence you started and the workd to collapse because the thing was damn important.
I'd let you figure out the rest yourself, else it won't be much fun :P
@AwalGarg I remember managing to see the real source with all of the characters before chrome crashed... if that's enough
@Neil it's a part of their culture to show "richness" when you want to ask someone to marry

« first day (2012 days earlier)      last day (3158 days later) »