« first day (120 days earlier)      last day (5053 days later) » 
02:00 - 16:0016:00 - 00:00

02:01
@Raynos nice thought out answer
in relation to Enclosure memory copies
Its quite nice
I got a chance to read a bit of the specification
Look at the last paragraph
The Lexical Environment is a linked list all the way upto the global Lexical Environment
Past the 1k barrier! your climbing up
I need to stop bounting to get upto 10k slowly.
02:16
Yeah hit 1k this morning
5k is my next goal
02:40
@Loktar you still here man?
02:56
@MylesGray what do you need?
 
2 hours later…
04:45
Im here now!
 
1 hour later…
06:04
@MylesGray 900 man, only 100 more to go, im going to bed
 
1 hour later…
07:11
@Loktar yeah man i know :D Todays the day...
Can someone tell me wtf this guy means:
1
A: variable height scrolling div, positioned relative to variable height sibling

Myles GrayUPDATE: Import JQuery: <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> New Demo: http://jsfiddle.net/Mutant_Tractor/N6muv/28/ Add this nice little JQuery script to your page: var contentColHeight = $('.content').heigh...

Discreet plugin breaking his JS >.>
I'm... not sure. The huge wall of text there certainly doesn't help
He really doesn't have to go through the entire history of the question, does he?
@YiJiang Read his last comment on the answer I made
Uh huh, some sort of fragile design
Anyway, I've added CSS support for small screen devices to bonsaiden.github.com/JavaScript-Garden - it should now hide the navigation and aside element as the width decreases
I dont see how any plugin can "break" the JS
Now I just need to add in the js to show the navigation for mobile devices when needed
07:17
@YiJiang Ill get you some screenshots on ipad/ipod and android if you need android?
 
3 hours later…
09:49
@YiJiang Could you make the CSS etc. changes on master and then merge them over to pages next time? :) gh-pages is just there for the web thing
user492203
Hi! :)
@Nyuszika7H Good morning
@IvoWetzel Erhm... sure. Actually, I've made the changes to master, I've just forgot to push
@YiJiang dun dun :D
@YiJiang any thoughts on that? I'd like the notes to stand out a bit more
@IvoWetzel Not particularly, though I thought asides where suppose to be less distracting that anything else
I'm more curious about what you want done about highlighting the ES5 notes
10:02
hmmm
well main idea is to add a class to those
user492203
aside {
	background-color: #FDFF47;
	color: black;
}
that's just a small change to the build script, concerning the style hm
Could you push your last changes to master? So I can work on the build script?
I'll add some automatic committing to gh-pages
@IvoWetzel Doing that right now
user492203
hi @ericflo
10:05
@Nyuszika7H Ewwww...
Hello @balpha
@balpha What brings you here?
user492203
@YiJiang Hmm?
Wow this chat is fancy
@YiJiang @ericflo is one of the convore.com guys
10:06
@Nyuszika7H The colors - not exactly compatible
user492203
@YiJiang yeah then maybe add a border?
we're checking out each other's competition :)
@Nyuszika7H Meh, a white background, maybe a little rgba would be fine
4 messages moved to Chat feedback
10:09
@balpha It happens when the messages arrive in the wrong order on the server side, at least that's when it happens for me (I think I've already reported that)
@balpha Surprisingly similar - they even have stars ;)
@ericflo I encourage you too look at this:
3
Q: Changing the window title when focussing the window doesn't work in Chrome

balphaI'm (ab)using the document title as some kind of a notification area. If the tab/window in question doesn't have focus at the time I want to notify the user of something, I change the window title to include some notification. When the window/tab comes back into focus, I want to remove the notif...

it's a pretty nasty chrome bug, and it affects convore too
the work-around doesn't always work, but most of the time
@balpha Hmm, good to know
@balpha "I'm (ab)using the document title as some kind of a notification area." Worse, I'm abusing the favicon for notifications ;)
user492203
@balpha commented on your answer
@Nyuszika7H Aye, too much jQuery there, definitely :P
user492203
10:15
Please don't blame me for the next line of codeā€¦
user492203
with (document.getElementById('myDiv').style) {
	backgroundColor = 'white';
	color = 'black';
}
user492203
vs.
user492203
$('#myDiv').css({
	'background-color': 'white',
	'color': 'black'
});
@YiJiang Yeah we're abusing the favicon too on Convore...pretty sad when it comes to that, but hey, it works!
user492203
@ericflo That's the futureā€¦ I always keep SO and MSO chat pinned (sometimes, others too: SU, Gaming), and I'm using the SECFN userscript to see if there's a new message.
10:20
@ericflo It's a userscript I've written, rchern.github.com/StackExchangeScripts/readme.html, see the SEChatFaviconNotifier section
Uses <canvas> to draw the bubble dynamically
I built it mainly because I don't like been notified by sound
user492203
0
Q: Confused about global variable not updating

user614954I have the following code: var clickCount = 1; var slideCount = $('div.slide').length; $('a#next-button').click(function() { if(clickCount < slideCount) { $('div.slide').animate({"left":"-=" + slideWidth}, 'slow'); clickCount = clickCount + 1; } }); $('p').text(click...

user492203
proposed an edit: improved formatting
user492203
11:05
@YiJiang Hooray! The auto build script is done...
(I hope so...)
I'm going to push it use it with care :D
Usage:
       make # just build
       make pages # just merge and commit to gh-pages
       make all # build, merge, commit to gh-pages
11:25
@IvoWetzel The tree navigation idea is good, and I think it should be implemented - the sections do need to be a little more organized, but I need you to update the build script to somehow be able to categorize the sections
@YiJiang I can do that
user492203
IE9 RC1 has addEventListenerā€¦ but only in IE9 standards mode!
What category are you thinking of?
@Nyuszika7H They aren't backporting feature now, aren't they?
hm
right now it's #arguments #objects
#objects.something?
then use sub list in the nav?
@IvoWetzel Sub-list, yes
I was thinking of Object, Array, Function, Core Language Features and Types as categories
user492203
11:29
HTML5 test (beta)
===============
IE9 RC1:    130+5
FF4 beta 1: 255+9
Chrome 10:  294+13
user492203
Note that this updated test has a maximum of 400 points, not 300!
@YiJiang Sound good let me see how I can get this to work
@YiJiang I'll do all the stuff on the next branch
user492203
Results of other browsers: beta.html5test.com/results.html
user492203
11:31
Hmm. I think some of these aren't really new features.
user492203
hidden attribute, contenteditable, scroll into view, outerHTML, input type=checkbox, onchange event, and text selection.
user492203
How come text selection is considered as a HTML5 feature?
@Nyuszika7H The JavaScript text selection API?
Ab
Ab
can some1 look into my code and advise if i'm doing it right?
user492203
@YiJiang Source?
user492203
11:35
Hmm, IE6 doesn't support the hidden attribute.
user492203
@YiJiang thanks
@YiJiang We should add a small "overview" section at the top of each categorie then
Ab
Ab
pl advise on my code at jsfiddle.net/abchanda/DdFE8/6
user492203
setSelectionRange is very nice! jsfiddle.net/Nyuszika7H/Q3HW4
Ab
Ab
11:39
fb console.log is returning the keyvalue but also 'undefined'
user492203
$('#sel').keyup(function() {
    this.setSelectionRange(-1, 0);
});
user492203
This way you can type reversed text, just like if you'd paste the Unicode RTL Override characterā€¦
user492203
Status: AFK
user492203
See you later! :)
12:01
@YiJiang I have screenshots for you if you want?
@MylesGray Sure
on the ipod there are a few problems with the code highlighting
@MylesGray Details please?
@YiJiang Hang on im uploading them, you'll see
this html generation will become a giant mess :D
12:10
@IvoWetzel Just... use a parser already -_-
@YiJiang I already use a markdown parser
but the index file needs manual parsing
@IvoWetzel A HTML parser. Using regex to do the reformatting is lame.
I hate beautiful soup
it's slow as hell
@YiJiang
And iPod:
2nd and 3rd screenshots show highlighting problems
Hmmm, yes, I'll need to verify that
Not sure how to fix that, but I'll think of something...
12:16
will someone buy me an ipad?
Also, what's the width of the iPhone screen? It's not triggering the smalles resolution mode, apparently.
The iPod 960x640
On a desktop browser at least, this is the minimum width that will trigger the second layout
@MylesGray So Mobile Safari resizes text? It seems to be the only explaination
Hmmm... the code is significantly larger than the surrounding text
What's the mono font on iOS?
@YiJiang I believe so but you can zoom with your fingers so you have to remember that too
Aside from technical problems, what's the experience of using the site on a mobile device? (ignoring the fact that navigation isn't implemented yet)
12:23
it seems very nice
very clear
even on the ipod screen is is simple to read
code highlighting is perfect
just the same as the desktop really
@YiJiang I'll get the new layout working in python and then rewrite the build script in JS
@YiJiang the asides could do with a little bigger text or higher contrast
@MylesGray Well yes, I'll take a look at that. But frankly, I found it weird that the iPod didn't trigger the single column mode. I suppose its the retina display and all, but if they have to resize text, then they might as well use a smaller width instead...
@YiJiang the ipod DOESNT have the retina display, only the iphone, apple are very good at hiding the details
12:28
that is single column mode?
did you push it to the live version?
@MylesGray Yup, it's meant for smartphones
@MylesGray Definitely, if I resize my desktop browser to smaller than 700px wide it automatically changes to that mode
(All CSS media query too, no JavaScript)
hm...
we need a better structure..
@YiJiang Wow - just resized in browser thats very cool
@YiJiang try this: @media screen and (max-device-width: 480px){
for iphone/ipod
@MylesGray Shouldn't @media screen and (max-width: 700px) already cover that?
@YiJiang It should but I have a feeling it has something to do with my iPod being a 4g and having a 960 width res in landscape mode
@YiJiang check this out: miniapps.co.uk/blog/post/…
It's all down to Mobile Safari utilising a 'device to pixel ratio' density of 2. There is actually a distinct difference between a device (screen) pixel and a pixel that we typically define in CSS. For example, when the iPhone 4 browser viewport is equal to the device width, 1 CSS pixel actually translates to 2x2 device pixels. For those interested, there is a quite old (but very relevant) Webkit article about high dpi websites. It makes for an interesting read.
12:37
@MylesGray Huh, well that explains why. I'll definitely take a look, thanks
@YiJiang no problem knew there was some trickery going on somewhere
ok, let's see how we can make that HTML cleaner...
@IvoWetzel Is there a reason why the header is inside the section tag?
@MylesGray Every section will have a small introduction
and you have a header section wrapping the article?
12:48
strange WIP mess
gimme a minute
Cool, what are you using to generate the code?
@MylesGray Markdown + Python
html
  head
    ...

  body
    nav
      ul
        li
          a(href='#intro') Intro

        li
          a(href='#object') Object

          li
            a(href='#object.general')
            a(href='#object.prototype')

    section(id='intro')
      header
        h1 Intro
        p JavaScript Garden is...

    section(id='object')
      header
        h1 Objects in JavaScript
        p An Overview

      article(id='object.general')
        h1 General
        p Everything in JavaScript acts like an object
But I'll switch to Node.js + Markdown + Jade
maybe even LESS if YiJiang likes it
Oh, there's a UL missing in the nav
@IvoWetzel Not verily, no, but maybe that's only because I've never used it before ;)
@YiJiang Just think of it as CSS.... better. Nesting and nice functions for color adjustments
and variables etc
what do you think of the HTML layout?
12:54
@IvoWetzel For nav, is that each li li a in their own li or all the a in one li
Seems okay, other than that
oh, that should be all in their own
will all be generated by the template engine in the en
@IvoWetzel I've seen SASS, but not that
Looks good, are you using asides for the notes?
@MylesGray Already are
You should be using h2 for the article titles and h1 for the section titles?
12:57
@IvoWetzel Is there any way of using SASS on the server-side other than using node.js? (I think we can just generate the CSS with the build script, can it do that?)
@MylesGray We should, indeed.
It would retain the current header structure too, so no need for me to shift the selectors around
@YiJiang There are both SASS and LESS compilers for Node.js, so we can use either
The new build script will just be Node.js one
it will compile everything at build time
@IvoWetzel So erhn... to use it I need node.js?
@YiJiang Yes
You're on Linux, aren't you?
Yup, but I've never touched it before, so ehrn... how would it work?
> > node build.js
done
well, you'll have to compile Node.js and install npm, but that's really easy
(npm to get the jade etc. packages)
13:03
Installing it through apt-get, is the one in the main repo good enough?
uh don't do that
grab the one from github and ./configure --prefix=~/.local
otherwise you'll run into big trouble with npm
where you have to sudo it...
Okay
and npm packages can have build scripts...
which would run as root :P
@YiJiang what font do you use for the Intro word? It looks like an @font-face font?
@MylesGray Plain old Georgia, why?
Unless you don't have Georgia and it fallbacks to your default serif font
13:07
Oh, I just thought it looked very different
maybe it is the shadow
another plus... we can write the navigation index as json
oh and I'm going to grab the nav titles from the markdown files
making now - I'm always slightly nervous about compiling your own binaries
@IvoWetzel this is going to sound stupid, but how is your code generated, I'm looking through github.com/BonsaiDen/JavaScript-Garden but can't really see anything that looks like It generates a HTML layout
unless im being thick and you are generating on your machine
@MylesGray It does indeed - currently it's using python with markdown to do the job
@MylesGray the "make" file
13:16
He's rewriting it to use node.js instead, not entirely sure how that would work
will work a trillion times better :D
Oh wow that looks impressive, reading through It looks like it relies on github. no?
I'm still very unsure as to how github actually works
> 'build' finished successfully (3m48.981s)
\o/
takes 10 minutes here... I need a new PC -.-
@IvoWetzel I've been recommended a few books on Js, namely JavaScript: A definitive Guide (David Flanagan) and JavaScript: The Good Parts (Crockford) Do you have any thoughts on these before i lump out for them? Or do you have any recommendations of your own?
13:23
@MylesGray I haven't read the first one, the second one is must buy
Everything that has JS and Crockford printed on it. Buy.
But beware, Crockford is very opinionated
haha okay thanks, do you have any other recommendations?
by opinionated do you mean by how things should be done or about the different technologies and frameworks based on JS?
@MylesGray How things should be done - he wants things done his way and his way only
jslint is a reflection of that, of course
I have no problem with that as long as it works efficiently
it works... whether it's the best choice for every situation...
what's the best IDE for autocomple javascript with jquery?
13:30
VIM. The best IDE for everything. :P
npm ok
It worked
Hehe
why does everyone recommend VIM :P
Oh dear jesus.. a vi clone
vi is horrid, can't use it gotta use nano
@MylesGray I don't, but then again I'm not entirely satisfied with what I have either, so...
VIM is... fast, configurable etc. etc. etc.
I've used Dreamweaver, Aptana, Netbeans and now Komodo as my primary editor, in that order
I've also gotten my hands dirty with vim, Expression Web, Textmate and Notepad++ before
So yeah, not entirely happy with all of them, hrump...
13:40
does VIM have autocomplete?
I thought JS was too dynamic to have autocomplete?
Visual Studio has autocomplete for JS
I think, if I can get my hands on one of the school's iMac again I'll give Coda a spin
i'm mostly addicted to autocomplete for new rapid dev on APIs i don't really know
@YiJiang I've been through Notepad, Notepad ++, Visual Studio, Dreamweaver (While it was with Macromedia and then again with CS5), TextMate and now I'm semi-thinking of moving to Coda
@YiJiang i have a coda demo it is very polished, but I just haven't fully given it a work through yet
oh I have also tried espresso
it is dismal
@MylesGray Spent 3 hours with TextMate in school the other day, annoyed with the lack of JavaScript bundles and hugely annoyed with FTP support
13:44
@YiJiang Tell me about it! I tried to set up upon save upload - but on no
@MylesGray Not a lot to it, I basically set up Filezilla to do FTP instead. Worked well enough for that 3 hour coding session, but definitely not something I'd want to use in the long term
The thing is, TextMate would only do tabs for files in the same project, and I don't exactly want to setup my project in the temporary folder...
@YiJiang I don't have much choice, I paid 80-something dollars for it... I use transmit from panic as FTP, thats why I am looking at moving to Coda as they tie in perfectly
14:09
hooray!
It's generating the navigation :)
@YiJiang Could we create a shared dropbox folder?
@IvoWetzel Sure, but what would you want to share?
@YiJiang The WIP stuff of that the Node.js script outputs
Don't want to push every little change to next
Should I use your email on found in the Garden?
yep
you need to install jade, markdown and neko via npm
Hmmm... jade is a templating tool I assume
Strange syntax, looks like yaml
14:20
indeed, it is
was influenced by haml
ok there are some differences between the markdown parsers
I can see that inline code blocks aren't working, and that extra p tags are inserted into the navigation list items
I see... wow, 3 markdown npm packages when I search for them
2-3 lines of replace() should handle that
Maybe you're not using the best version
I have [email protected] installed
there's another one... but irrc, it's broken since it depends on C++ stuff
showdown.js could handle those well enough, why shouldn't the npm package?
14:31
let me see
@YiJiang Where did you find the npm package?
search.npmjs.org - search for markdown
can't see anything that reads showdown there
There is markdown, markdown-js and node-markdown
@IvoWetzel Showdown is the browser based version, but it is JavaScript, so I think it shouldn't have been difficult for someone to have ported over
I'll check out the other two
I haven't got a clue how to use vim
14:37
ah
node-markdown is showdown
and apparently it works
Why does npm keep warning:
npm WARN shasum crypto binding not found. Cannot verify shasum.
oh
I guess you haven't installed the openssl headers
so node was built without crypto
Erhm... uh huh
./configure you have stated the missing openssl stuff
First step now: Fix the inline links
we also need to move general stuff into the overview section (the header elements)
and now I'm glad that I decided to use markdown in the beginning
15:01
I'm still slightly confused about why the code is generating p tags in a
where does it do that?
Is there a way to specify "OR" operators in the SO URL?
Like you can do this:
Which is an and operator
or would be great for seeing all new questions in a number of categories
Some people... CSS instead of just reformatting the text
1
A: Is it possible to un-capitalize text with CSS, and then re-capitalize it?

Myles GrayDon't use CSS just use this: http://www.convertcase.net/ Much cleaner and a lot of processing taken off the browser.

@YiJiang I can't find anything, maybe showdown doesn't do this
oh and links are all fixed :)
we had quite a few dead links in there all the time...
Maybe... jade?
I can't tell, there's nothing in there that should do this
Where does it actually do this? (in the source)
ah ok there
15:12
nav ul li ul li a p
that's markdown then
I markdown the titles
hm...
gonna remove that
yep it's markdown...
fixed
well, the HTML part is mainly done
we need some introductory stuff in for the sections but that's just another markdown file
Hmm, can you add links to the css file, to see which parts need updating?
I'll add the generation of the LESS css stuff so that you can work on that
@IvoWetzel Truthfully speaking, I'd rather not work with LESS
15:24
Because of the amount of rewriting that might be required
well valid CSS is valid LESS
But it's not exactly efficient LESS
The CSS for garden is pretty lightweight already, actually
I've written userstyles longer than that!
CSS added
Funky, hrm... will need to move some of the selectors around
0
Q: Add OR operator to SO URL's so multiple categories can be broswed at once

Myles GrayI would like to see an operator implemented in the SO questions URL much like the + operator already is: http://stackoverflow.com/questions/tagged/css+html The reason I would like to request this feature is so that I may browse all/a combination of my tags at the same time for the newest asked ...

15:31
most of the JS seems to work
why does the last part of a project always become the toughest to complete?
@YiJiang Oh, I'll need to replace the blockquotes with asides
fixed
@Greg Because that is the point you realise why you have done before doesn't come to a nice simple conclusion like you had hoped
:/
oh we're missing the top links etc
@YiJiang Hm, using the section titles is a bit long in some cases
see function declarations and expressions
the anchors hardly fit in there
@YiJiang I guess we could place them underneath the article titles, but we'll need to make them fixed height so the hover doesn't shift the whole document
15:55
Huh? Why do you have p in h2?
just for testing
Just tell me the HTML you want there, or, how you'd like thelinks to be represented
You want a set of links to each of the individual article elements?
Hm, we had the top link
anyone else know you could search OR for newest questions with the +or+ operator in the URL, pretty damn cool
we could also add links to the categories
15:57
'Noon
but we don't need to
@MylesGray nope but I just saw the answer to your question
@Loktar 35pts!
nice
@IvoWetzel It could be, but I'll reduce the font size
15:59
@YiJiang Hm, what about links to the category on each article and a top link on each catergory?
15 more
02:00 - 16:0016:00 - 00:00

« first day (120 days earlier)      last day (5053 days later) »