« first day (872 days earlier)      last day (4092 days later) » 

12:00 AM
The point is, instead of waiting for you to complete the last instruction and then tell you what to do
We tell you how to react
That's why callbacks and event driven design is awesome
 
Like a handler for a click event if you're familiar with UI work. That event object passed in the args isn't something you ever put in there. The thing that uses it does that.
 
Also, don't use labels, ever
 
Don't call cheesecake. The function you give it to will.
 
Was what I found on SO to break loops
 
@OliverSchöning What question and who answered it with labels?
If you need to break nested loops your logic is wrong
 
12:01 AM
Someone who got votes and best answer
 
If you feel you need a label, consider refactoring your code.
 
@OliverSchöning Show me the question
 
The loop iterates until it finds the first 0, why is it bad to break out of the loop?
@BenjaminGruenbaum I don't have it, it's somewhere in the debts on SO
 
I apologize if I seem unfriendly, it's not intentional. You're just doing a lot of things wrong\
@OliverSchöning If you've found the result you can return it
 
and return ends a nested loop?
 
12:03 AM
sure
return terminates the execution of the current function
 
alright. I have no problem using a function for my loops. return it is
 
I've never used a labeled break AFAIR
 
More than just terminate, in a 'return' you declare what the function's output is
I've used it several times to show students of mine why it's a horrible idea
It's akin to C goto statements
 
If you look at the code I linked I am using the functions output
 
@OliverSchöning You're optimizing in all the wrong places
Honestly, if you'd like there are several good books I recommend you read
This http://shop.oreilly.com/product/9780596000486.do http://shop.oreilly.com/product/9780596517748.do
http://shop.oreilly.com/product/0636920025245.do
 
12:07 AM
I think the recomended list of douglas crockford is just fine. I am not going to stop working on this project until I have read several books
 
Have you read his book?
 
Loop labeling as an alternative to recursive funcs was also a performance trick in O'Reilly's Faster Web Sites book that I suspect is now irrelevant owing to JITs.
 
I learn more from doing and doing read along the way
I am reading one of the reccomened
his*
 
His book "JavaScript : The Good Parts" gives several reasons on why loop labeling should be avoided
@ErikReppen How is it an alternative to recursive funcs?
 
Functions used to have a lot more overhead than they do now. Although I suspect they still do when a JIT can't cache. But @BenjaminGruenbaum we don't all take Crockford's opinion as holy writ. Some of his JS lint warning are absurd.
 
12:10 AM
breaking to labels isn't wrong because Crockford says so, it's wrong for a million other reasons
 
@BenjaminGruenbaum And I have removed it now. Cheers. How about giving me a hint for the reason instead of telling me its wrong because: read these books why
 
Having a problem with function constructors because people might forget to use the new keyword is a pretty dumb reason to have an issue with function constructors for instance.
 
@ErikReppen Function constructors go against prototypical inheritance, I'd argue they're stupid for that and not because one might omit the 'new' keyword
 
I fail to see how they do that.
 
Labeled break != goto
 
12:14 AM
@JanDvorak I disagree, I'm yet to see a case where it proved actual worth in the code
 
For me, a labeled break is nothing more than indicative of a larger design problem.
 
@JanDvorak as is a goto
@ErikReppen Do you honestly not see how constructors functions are like classical inheritance ?
 
noted
umm... gotos have a greater potential for shpagetti code than labeled breaks do.
 
Why? You goto labels to
 
So you do in plain loops, breaks and ifs
 
12:17 AM
I would definitely take heavy labeled breaks as a hint to go sniffing for design problems but I would never say never. It's a language feature and @BenjaminGruenbaum, no I don't really. Prototypes work under a completely different mechanism which function constructors in no way violate while giving you a way to encapsulate and a way to give your object an initiation procedure.
 
I never even knew labeled breaks existed... ha
 
JavaScript has a lot of horrible features
Do I really need to name them all?
Just because you can do something in JS doesn't mean you should
 
I believe labeled breaks aren't one of those
 
4 mins ago, by Jan Dvorak
For me, a labeled break is nothing more than indicative of a larger design problem.
??
 
You could argue that any breaks can be restructured
 
12:19 AM
No thx. I've read Crockford/seen his JSLint warnings. Been there, done that. I make my own decisions for reasons that make sense and that I can explain to other people. Half his reasons are complete BS.
 
@ErikReppen They don't give you a way to encapsulate any more than you already get without using them, if you return an object from a function constructor it stops acting as such anyway. They don't give you anything other than looking 'Java'ish
@JanDvorak But I don't, I take a much narrower stand, I'm not against breaks and continues in general, I'm against unclear code structure. I've never seen code using labeled breaks that was simpler than a version of it that did not
 
I don't return anything from the constructor. Vars defined internally are persistent and can't be accessed by anything defined externally.
 
I don't believe labeled breaks imply unclear code structure
 
@JanDvorak I'd love to see one instance where it actually improves the code
@ErikReppen What advantage does it give you over other patterns like the module pattern?
 
@JanDvorak I can see how they could at times. But mostly they're really rare anyway so I'm not sure how it became an anti-pattern other than by virtue of Crockford saying it was.
 
12:21 AM
Or, heaven forbid, object literals
Encapsulation is not as important as people make it out to be -_-'
 
unless you're passing objects to untrusted code
 
@BenjaminGruenbaum It's concise, simple, direct and doesn't hide from the fact that JS is very much about its functions and the way they work.
 
@JanDvorak what does that even mean?
 
If you're passing data structures to untrusted code you don't want your internal structures visible.
 
@ErikReppen It's not more concise, simple or direct than using a module pattern or generator. It encourages explicit classes instead of letting the language do the work for you
@JanDvorak When was that ever a use case for anyone?
 
12:24 AM
It wasn't yet
 
We're all consenting adults, I see classes in JavaScript that look like:
function Point(x,y){
   this.x=x;
   this.y=y;
}
 
@BenjaminGruenbaum Without encapsulation, OOP is just a system for namespacing methods and properties that offers no real substantive advantages over just having a pile of functions that all call each other, IMO.
 
@ErikReppen -_-
 
@BenjaminGruenbaum now this class could well be anonymous
 
The advantage of OOP is conceptual
There is nothing you can do in OOP you can't do without. OOP makes our lives easier because it's easier for people to think of things as objects
 
12:25 AM
You can do OOP in assembler
 
Agreed and in JS you could just overwrite anything anyway with no problems. The advantage is clarity of intent which just making all properties public doesn't establish.
 
(admittably, function virtualisation is not exactly trivial)
 
@ErikReppen Who are you not trusting?
I give you a clear API, why would you look around for other variables or function names
 
m59
Hey @Florian
does ^ that work?
 
If you want to mess with my code you can do that, no form of encapsulation prevents that in any language anywayt
 
m59
12:27 AM
or @FlorianMargaine
 
I'm not distrusting anybody. I want the other guy to see how I'm thinking about what the problem domain of my object actually is.
 
Then use a bridge or an adapter
 
0
Q: Improving upon a simple registry

cadeThis is how I manage sub-globals ( global to an IIFE ). I believe it emulates the simplest version of the registry pattern. Instead of having multiple sub-globals I just set them here and get them as needed. So instead of having a function dependent upon sg1, sg2, it has a single dependency on...

0
Q: Improving upon a global variable manager

cadeI would like to explain how this works but I don't know how to best. Here is a try: I have 4 libraries all contained in an separate IIFEs (Immediately Invoked Function Expression). They all use a common global variable NS. Only one library out of the 4 assigns NS to a function. The rest just...

 
@BenjaminGruenbaum Why tf would I do that when I have function constructors? Classes are about inheritance mechanism, not what they "look like."
 
@BenjaminGruenbaum umm... proper encapsulation does imply security
 
12:28 AM
@JanDvorak How so?
 
I believe that's a maldefinition of encapsulation.
 
I'm all for SOLID (well except for liskov part, she rocks but that's another story)
 
there are some things the handee cannot do with the object
 
It's just a binding of data and methods to the same context.
 
the constructor pattern in JS hides intent, in fact you're just creating an empty object and passing it through the function
Why wouldn't you want to be clear about that? It's not any less abstract
function Point(x,y){
    return {x:x,y:y};
}
That's not less clear
It takes a while to get used to if you're coming from a Java/C# background
It ends up making a lot of sense
 
12:30 AM
somehow, people like the new keyword
 
Yeah, they do
They're used to it from Java
 
I'm not talking about a pattern. I'm talking about functions used with the new keyword.
 
Branden Eich said that's the only reason it's in the language, to make Java people use comfy
 
note that your Point can be called as a constructor
 
@JanDvorak Right, but we're not discussing the creation of objects, we're discussing the new keyword
99% of times classes like Point can be refactored to simply {x:x,y:y} it'll be just as fast
That's one of the most amazing things about V8, it does all the classing for you, it takes object literals and extracts classes from them
 
12:32 AM
new does a lot of things. Sets the prototype, runs the constructor...
 
That's two things :P
 
Or I can just use a function with the new keyword because as much as I hate Java, I couldn't care less what the Java people hate.
 
You can use Object.create it's usually a lot more useful thatn new
 
You can't create prototype chains in ES3 without new
 
In ES5 you can
Also, there's that weird beget method :P
 
12:33 AM
Since when Object.create exists?
 
Object.create is convenient when you don't need a constructor but it does not offer more options AFAIK.
 
It offers prototypical inheritance -_-
It creates an object with a given prototype
 
So do function constructors. And you get the added bonus of the enclosure layer.
 
Hi, doesnt work button actions, when i append table rows with buttons
 
I'd like to have this conversation with you in a year, after you used JS more
 
12:36 AM
Eich might have not seen the point in authoring them but I personally find func constructors an excellent and useful fit for the language.
 
Hopefully, I'll be present too
@ErikReppen umm... the function constructor, or constructor functions?
The former is quite evil.
 
@BenjaminGruenbaum Talk to me when you have opinions that actually diverge from Crockford before trying to talk down to somebody whose formed his own on the basis of experience you know nothing about.
 
@ErikReppen I have plenty of experience and plenty of disagreements with Crockford
I don't use JSLint (I use JSHint), I disagree with him on many subjects
I also agree with him on many subjects
I did not mean to offend or patronize you in that last message, I just thought it would be nice to know if you would still think that a year from now
 
Yeah, well the loop-labeling thing sounded like a carbon copy of his opinion which is kind of a weird one given that it's not a frequently used language feature regardless.
 
I don't think I can find one programmer who likes loop labeling
 
12:39 AM
I started thinking that about two years ago, I think.
 
I disagree labeled breaks are flat-out wrong
 
People don't seem to understand the importance of maintainability
Flow control that isn't straight forward is harder to maintain
 
labeled breaks don't imply unstraightforward flow IMO
 
@JanDvorak I'm sure one could find some really odd edge case where they are arguably not horrible. As a rule of thumb they are bad
 
I definitely agree with the first half :-)
 
12:41 AM
@JanDvorak Find one
 
Depends on how much of a Rube Goldberg machine you've turned it into. A couple layers of looping might make sense in the given context. But again, it's such a rare phenomenon I don't get this thing where a lot of devs would have strong opinions about it beyond the obvious, that yes, it would be easy to use that badly.
 
A lot of developers who've used languages like C in the past have strong opinions about it because they've seen it abused a lot of times before
 
But we are not Java devs. Easy to use badly is not a reason to declare something completely off-limits, IMO. JS as a general rule is easy to use badly.
 
jQuery is easy to misuse
table tags are easy to misuse
labeled breaks are easy to misuse
 
not the same
 
12:45 AM
And you can take a C dev's paranoia to the bank but I wouldn't let their opinions form absolute rules about what is and isn't acceptable in JS. It's a different paradigm. The typical reasons to want to use loop-labeling wouldn't typically be the same in JS as they typically would in C.
 
It encourages bad design
 
So do table tags
 
No
Table tags are important for tabular data
If I have something that is logically a table, table tags are the right tool to use
 
and yet they encourage their non-semantic use for layouting
 
Until people had a better alternative, like CSS
No-one uses table tags for layouting anymore because there are better and more semantic alternative
 
12:47 AM
Semantics towards the browser is no nearly as important as you think and maintainability is much more important than you think
 
^ thank you
 
Unquestioning loyalty to highly specific rules encourages bad design too, IMO. Adherence to general best practices and making judgment calls based on those, IMO are how you keep a piece of an app legible, maintainable and easy to re-use in a different context.
 
It's not unquestioning loyalty, it's loyalty gained in blood and tears of thousands of developers who spent hours debugging unmaintainable code
 
@copy does that even apply if you want to target screen readers as well?
 
@JanDvorak Do screen readers fail on tables in practice?
 
12:49 AM
They are supposed to read the headers for every row
also note that the table tags cause bloated markup when used for layouting
 
I'm not trying to defend using tables for layouting - it's a hack
 
I do like display:table (until flexbox becomes available)
 
Tables for layout is IMO a maintenance problem. Even with modern browsers nested table schemes can make it hard to track down root causes of layout issues and throw DOM manipulation. They also murder performance.
 
All @copy is saying is that it's not nearly as important as making maintainable JavaScript code
 
@ErikReppen noted. Nested tables are hell to maintain.
BUT if you avoid table-related CSS altogether, you may end up having created something that's much worse to maintain.
For example, I hate floats for layout.
 
12:57 AM
It can impact DOM tasks. Especially when the only browser not hiding a busted table is IE.
 
@ErikReppen Unquestioning loyalty to highly specific rules encourages bad design too. Tables can be awesome for design.
:P
 
@BenjaminGruenbaum I hope you mean table-CSS, not table-HTML
 
@JanDvorak Don't rule out table HTML. You don't have to agree with everything they tell you. Adherence to general best practices and making judgment calls based on those, IMO are how you keep a piece of an app legible, maintainable and easy to re-use in a different context.
 
I'd rather stick to semantic markup where possible
 
Imma do a Zirak
 
12:59 AM
I'd rather stick to semantic markup where possible than to use <table> just to get display:table
 
How is that different from the loop label argument :S
 
Because tables immediately eliminate options for no good reason other than that you don't want to learn CSS. Using a labeled loop might be bad. Using them a certain way is always bad. Using tables isn't always bad. Using them for layout is.
 
I never said I don't prefer not using labeled breaks. In fact, I do avoid them.
 
@ErikReppen Why is using them for layout bad? That's just the opinion of some known designer ...
 
eh since learning CSS proper I've never had to use a table for design
 
1:02 AM
@Loktar you're out of context :P
 
@BenjaminGruenbaum its like using Access for a high scalable web application. Is it possible sure.. was it made for that, no.
 
The difference is specific application of a thing clearly violating core principle. Not the thing itself by its very existence.
 
faux-columns. Easy to do with display:table-cell
 
@Loktar Exactly, you missed the context :P
 
We waited ten freaking years for that. Every browser but IE (shakes fist at MS)
 
1:03 AM
@ErikReppen How so? It might be awesome in a specific context
 
I read
4 mins ago, by Benjamin Gruenbaum
@JanDvorak Don't rule out table HTML. You don't have to agree with everything they tell you. Adherence to general best practices and making judgment calls based on those, IMO are how you keep a piece of an app legible, maintainable and easy to re-use in a different context.
 
@Loktar Start reading about 50 lines above
 
so was responding to that :P
 
Jumps in high level programming languages instead of doing flow control based on clear and concise logic is violating core principles.
 
I would be surprised to encounter a situation where non-semantic usage of table HTML is beneficial.
 
1:05 AM
Exactly like labeled breaks
 
Once again, I don't consider labeled breaks "jumps"
 
Not exactly like labeled breaks. Declaring a ban on tables for any use is exactly like the labeled breaks argument.
 
but you still had no problem arguing that labeled breaks might be beneficial in some cases, like I'm saying that usage of non semantic table HTML might be beneficial
 
I did use labeled breaks in the past. I can't find that code, though.
 
No, it's not the same thing -_-
 
1:06 AM
Yes so name a specific case where you use tables for something other than the content they represent or as a layout device.
 
I get a feeling you're not getting my sarcasm :/
 
Sarcasm doesn't mean what you think it means.
 
Using tables for representing non-table data is a bad idea, just like labeled loops. I made the analogy as clear as possible
Any argument you used in your case for labeled loops I can use in an argument for tables representing non-tabular data
 
And you're not getting mine. I'm not banning tables, but you've decided labeled loops must never be used.
 
My interpretation of that analogy is that neither is really bad, just extremely rarely good.
 
1:09 AM
Right, would you say eval is ok to use?
 
Tables are good for one thing. I don't know what labeled loops are good for. I'd be wary of code that used them. But I wouldn't declare them off-limits arbitrarily.
 
Probably not, are there really exotic use cases for eval? Yeah, of course
 
If you're playing the devil's advocate, you're playing it wrong (or too well?)
Eval is acceptable when you trust the source
but still slow as hell
 
Yes, there are. There's no other way to reset closure context with an existing function definition for instance.
 
@ErikReppen with(window){...}
not that with is exactly fast either :-)
 
1:11 AM
@ErikReppen So, there's a concept that exists for tens of years and you heard of no one who ever used them for a good reason. However, you wouldn't declare them off limits?
 
@BenjaminGruenbaum right
just like the 100yo bottle of wine in the basement
 
@ErikReppen Why would you reset closure context with an existing function definition?
 
@JanDvorak Hmm? I thought that was about firing methods without referencing the object.
 
Why would you even have a function definition in a closure context in the first place -_-
 
What isn't a closure context?
 
1:12 AM
@JanDvorak Global context, also, with and catch statements are contexts I guess although rarely used
 
What's wrong with catch?
 
@BenjaminGruenbaum I honestly don't recall why I thought it might be. I think it was for the challenge of sorting out a private inheritance scheme which isn't something I actually WOULD find useful in the first place.
 
@JanDvorak Using it for context
 
Empty catches used to bury errors? Plenty. Catch the construct? Nothing.
 
how would you use catch for context?
 
1:13 AM
Like this:
try{throw 5;}catch(e){
   //e is now a variable bound to this block context
}
 
with({e:e}){...}
 
Yeah, like I said, try and with
 
however, catch is likely much faster :-)
 
@JanDvorak neither versions should be used
 
Yeah I was talking about the closure stuff locked inside a previously defined function.
 
1:15 AM
I haven't used either either :-)
 
@ErikReppen Avoid eval when possible, it's hell to debug and has many other problems
 
speed...
 
@JanDvorak what about speed?
 
@BenjaminGruenbaum I completely agree. But I wouldn't say never use Eval.
 
eval is slow as hell
 
1:16 AM
7 mins ago, by Benjamin Gruenbaum
Probably not, are there really exotic use cases for eval? Yeah, of course
 
Not sure how slow it is post-JIT.
 
Slower than with. I've tested.
Like, 100x slower than anything normal
 
The problem with eval is less speed, it's debugging
 
also security
 
You keep using that word...
 
1:18 AM
Have I done this asynchronous?
http://jsfiddle.net/Schoening/96F5X/

I think so... But could some one tell me why it does not write a single line of *zeros* like it would if it was synchronous ?
 
@OliverSchöning The problem isn't with having 3 for loops, it's with having 3 for loops with IO calls in them
 
IMO, debug/maintainability are the key issues. Security is already at full fail when eval implementation gets used to jack somebody. Doesn't hurt to consider fail-fallbacks I guess but it's less of an issue if eval-actionable data got through from one user to another.
 
@BenjaminGruenbaum which is what I want to resolve.
if you don't want to give me an answer, dont.
 
@OliverSchöning The code on jsfiddle is asynchronous but it doesn't address your previous issues
 
well obviously it doesnt. But I have to learn callbacks first, jesus.
 
1:27 AM
Simplicity is prerequisite for reliability. [Edsger W. Dijkstra]
 
@BenjaminGruenbaum it is fine if you don't want to help me. Would prefer if you just didn't reply in that case though.
 
@OliverSchöning I'd have to see your synchronous version to know why but your async version outputs the entire 2D array plus '<br />' on the last firing.
 
@BenjaminGruenbaum No, I am saying don't reply. Not more frequently. I don't know what I should do with "You are wrong!" comment if its not followed up with a why.
 
Good luck.
 
@OliverSchöning aren't you willing to know what to do to get an answer?
 
1:30 AM
@OliverSchöning document.write overwrites the entire doc every time it fires.
 
@JanDvorak I am willing to learn. I don't learn much from "no" unless you want me to find every false until I hit right
 
If your sync version rewrote one row at a time that's why it didn't keep building on itself. In this case you could probably fire the doc write after the loop and it would work the same, although I would would do a join on the outer array to inject <br /> between all the tags since I'm not 100% you'd get consistent behavior across browsers without.
lol, actually on second glance I have no idea why that works the way it does.
 
I don't like <br/>. They're never semantic.
I better goto sleep.
 
Font-handling is a gray area, IMO. Things like bold, italic and breaks can imply semantic meaning for things there are no tags for.
 
<strong>, <em>, <p>
 
1:36 AM
b and i were never deprecated in favor of strong and em. They don't have the same semantic intent.
 
They render the same but they are semantic rather than presentational
B and I were deprecated AFAIK
 
Nope. Common misconception.
 
@ErikReppen it's a closure
 
Which amusingly enough had people using aural browsers getting yelled at by bibliographies.
 
It's writing the last line 10 times
write is in the timeout's closure
It's not even writing the array, it's just writing the last line
 
1:37 AM
Yeah, but I thought document.write overwrote the old content. I suspect it's the async factor.
 
What do you mean overwrote?
It just executes document.write 10 times, but all of those are bound to the same write variable, and thus to its last state which is the last line
 
document.write something on a page after it's loaded and it wipes the slate clean.
 
That's true although I don't see how it's relevant
 
better avoid document.write entirely
 
@JanDvorak lol, I'm going to miss on that opportunity (But it has so many interesting exotic use cases, I wouldn't rule it out lol)
 
1:39 AM
It didn't occur to me the closure would impact that. since with the timeouts you're scheduling things to happen in separate function calls.
 
:-)
 
@ErikReppen That's exactly what closures do :)
 
Sure, but how often do you want to wipe the entire document clean?
 
@JanDvorak It was never intended for use after a page loaded.
 
for(var i=0;i<10;i++){
    setTimeout(function(){
        console.log(i);
    },10);
}
 
1:40 AM
Or at least it didn't occur to me it could be used that way.
 
^ run this :)
 
That I understand. Firing off the setTimeout seems different.
 
@ErikReppen and yet document.write has well-defined non-no-op semantics after the initial load. More exactly, read about document.open and document.close
 
That's generally what closures are used for. To keep context
 
But the closure var is always the same row. Document.writes are fired independently. They should overwrite the previous writes.
 
1:44 AM
@ErikReppen document.writes accumulate until you call document.close.
 
I think because you're scheduling a bunch of doc writes to happen before they start happening they behave the way doc write works on a loading page.
 
@ErikReppen All of those document.writes are in timeouts
The value that they write is the global 'write' variable
When it changes, what they write changes, it's pretty easy to solve, you can close on 'write in that function context, for example you can change this:
for(var i=0;i<10;i++){
    setTimeout(function(){
        console.log(i);
    },10);
}
Into this:
for(var i=0;i<10;i++){
    setTimeout((function(i){
        console.log(i);
    }).bind(null,i),10);
}
 
Not the same issue I suspect but let's give it shot.
 
Wow. I like the bind version.
 
@JanDvorak It's pretty much the same as wrapping it in a function and using return function
jsfiddle.net/96F5X/2 <- this is with closures
 
1:48 AM
@BenjaminGruenbaum my favourite style is
 
for(var i=0;i<10;i++){
  (function(i){
    setTimeout(function(){
        console.log(i);
    },10);
  })(i)
}
 
Whoa, I'll be damned. Did not work like that way back.
I tried with a document.write in a 2 second timeout after the loop. .write doesn't work like I thought it did.
 
@JanDvorak That doesn't compile though, setTimeout gets a function parameter (or a string, but let's avoid that)
 
@BenjaminGruenbaum see my edit
 
1:50 AM
@JanDvorak My favorite version would probably be:
 
Oh, it's something about fiddle I think. Went to another page and doc.write nuked the whole thing.
Run that func in a console on a random web page.
 
for(var i=0;i<10;i++){
    try{throw i;}catch(i){
        setTimeout(function(){
            console.log(i);
        },10);
    }
}
lol
 
o-O
 
Oh, okay, the first one nukes all previous writes from page load. NM.
 
(don't use it, that's just illustrating try/catch scope :P)
 
1:53 AM
I mean ONLY the first one does that. document.write anything on a page and it kills the existing HTML. Then concats after that.
 
The semantics for document.write is: If the document is closed, it's nuked and open; then it writes. When the document finishes loading, it gets closed by the browser. You can close and nuke open at anytime.
 
So it's actually handled like typical file I/O then.
 
"0123456789".split("").forEach(function(elem,i){
   setTimeout(console.log.bind(console,i),10);
});
lol
 
@ErikReppen except you can't open for appending
 
Sweet. I didn't even know there was a close method.
 
1:57 AM
Hint for golfers: .split("").forEach() -- 20 characters; [].forEach.call(,) -- 18 characters
document.write is an ancient API.
 

« first day (872 days earlier)      last day (4092 days later) »