« first day (47 days earlier)      last day (4903 days later) » 

4:00 PM
just got back, what did I break today?
 
@NickCraver the solution and the cause to all my problems
 
Ahhh
 
@NickCraver everything, all of it.
 
so, same as yesterday?
 
So the universal skapegoat? I've had a few of those over the years...
 
4:02 PM
Hi again!
 
Hello World
 
@David Frist program. You're doing it wrong.
 
@NickCraver breaks nothing. But he fixes everything, its just a joke going around that its always his fault
 
It seems jsFiddle is down… :/
`Oops! Google Chrome could not connect to jsfiddle.net`
 
same for me
 
@IvoWetzel thanks for your help the other day
 
@IvoWetzel it has really made a difference
 
@David no problem :)
 
@LucasJones you as well it was great
 
4:06 PM
@David: :)
I think.
 
Wish we could get [dfeojm].com oneboxed
 
At least I learned something about the Google Docs API.
 
good
@IvoWetzel by any chance do you have a minute to look at something @LucasJones and I were working on yesterday?
 
@David Sorry writing some tests atm
@David May be in an hour or so :)
 
@IvoWetzel No problem
 
4:09 PM
One thing that annoys me about the script editor thingy in Docs is that I can't find any decent debugging capability.
I couldn't even get the logs working.
@David heard all about that yesterday. :)
Probably just me though.
 
@LucasJones I had some help from someone else last night and he put some sort of debugging thing in it. I didn't really understand it though.
 
@LucasJones Yeah that editor su...
 
@LucasJones Maybe thats what you were looking for.. maybe not
 
@David: I wouldn't really know - that was my first experience with it. :)
But if it works, it's better than nothing.
Most of the time, anyway.
 
@LucasJones I thought you were amazing for the first time
 
4:12 PM
Tha.... no!
 
@David I'm flattered ;)
 
@IvoWetzel Do you mind if I email you later today with a link to the document?
 
@David No I don't, just send it
 
jsFiddle is up!!!
Nice! Chrome's latest canary build update fixed problems with <select> lists!
 
@Raynos jsfiddle.net/BonsaiDen/QYC64/16 static methods and tests
 
4:29 PM
Advice against use of eval goes ignored once again...
1
A: Figuring out Regex pattern

Andy EOne problem is the lack of a quantifier. As it stands, your regex is looking for a single \w or - character, denoted by your character class. You're probably looking for either of the following quantifiers: [\w-]* - match 0 or more \w or - characters [\w-]+ - match 1 or more \w or - characte...

 
<404/>
 
Sigh.
 
@AndyE :/ But then again his fault... don't blame the user blame the stupid developer
0
Q: Problem with headjs resizer

SubniCHi guys, I have been playing around lately with headjs but i have found an estranger behavior that i think is not normal. When I'm using the screen size detector for resizing functionality the classes for the size doesn't change as it was expected to adapt to the new size (when you change the si...

 
Too many apostrophes hiding in there...
OK, I'm being really pedantic now but still.
Neat library, it seems - not sure I'd want to put that much in CSS, but its an interesting idea.
 
Loading JS with JS = Bad
 
4:43 PM
JavaScript checker made using JavaScript jsfiddle.net/Nyuszika7H/gsRUY
 
@Ivo: Is it really that bad?
It's not like there aren't any advantages.
@Nyuszika7H: Apparently, my browser does not support JavaScript. :/
 
@LucasJones Neither mine.
 
headjs looks like stolen code from modernizr, jQuery and few other libs packed together
 
@Nyuszika7H: Is that the point?
 
and loading doesn't even happen very elegant
 
4:44 PM
I think I am sense-of-humour impaired today.
 
@LucasJones Well you need to wait for head.js to load
 
Hello @MarcGRavell
 
nothing can be downloaded in parallel
 
@IvoWetzel: But I think the point is that it's smaller compared to other libraries.
 
@LucasJones If I'd want it small I'd write it myself
 
4:45 PM
amazing how many people wrote variations of the first incorrect answer here:
 
@jAndy: It might well be, but stolen code is jumping to conclusions a bit. Ideas, maybe.
 
1
Q: Need to fetch all span values in a div as an array or string?

Mohan RamI need to fetch all span values in a div into array or string var tag_text_arr=$("#div_id span").each(function(){ return $(this).text(); }); Actually i need to fetch all span values inside div and want to create a string like this span1_val|span2_val|span3_val|span4_val If this...

 
@AndyE Haha
 
@LucasJones Since JavaScript is not defined, one may guess that JavaScript is not supported.
 
So many people, nobody really read the question
 
4:47 PM
Which is the best HAML & SASS editor?
 
@IvoWetzel thats how requireJS works
@IvoWetzel tests look good. Ill do some myself later. 3am-ish probably
 
@IvoWetzel: for a second there, I thought I'd read the question wrong facepalm. I got the acceptance, so it looks like I was right. Updated just in case.
 
5:09 PM
What's the point of placing all HTML content into a <div id='container'>?
 
@Nyuszika7H styling the div rather then the body Its a way of nesting content so you can style and position them in "blocks". Its just a layout structuring "paradigm"
 
How is everyone doing?
 
@Chacha102: I don't know. I was separated from the collective.
But as an individual, I'm happy.
You?
 
@LucasJones Your not in the collective! We've got an escapee. Capture him
 
@Raynos: I am trying to find a way of fitting in a clever Trek reference, but am failing.
 
5:21 PM
@LucasJones Don't worry Janeway will come to the rescue any minute now
 
...
 
Just watch out that the Queen doesn't blow up your whole cube in the meantime
 
@Ivo: She'll never know. I'm on Unimatrix Zero.
Oh, wait. They blew that up already.
Meh. Should I hand in my Trekkie card when I leave?
 
@LucasJones Just pretend you're in an alternative timeline!
 
@IvoWetzel: Yes! That always works!
Damnit, @Ivo, I'm not a physicist! But neither was Janeway...
 
5:25 PM
@LucasJones stop this madness. The lies, They make me sad.
 
@Raynos: Probably a good idea.
@Raynos: The stopping part, that is. Not the making you sad.
 
I'm a doctor, not a programmer!
 
@IvoWetzel: I wanted to work that in, but I am neither a doctor nor a programmer in the professional sense.
 
lord...
 
@ircmaxell Rather off topic isnt it?
 
5:31 PM
@ircmaxell Church's over there.
 
@Raynos: Yes. Is there any way to relate Star Trek to JavaScript?
 
@LucasJones JavaScript doesn't have toilets...
 
The greatest obstacle to discovery is not ignorance, but the delusion of knowledge.
 
@IvoWetzel: Equally relevant? Or am I missing something?
 
@LucasJones Dunno, just a thing both don't have.
 
5:35 PM
Perhaps that particular thread of discussion should be stopped before it gets... unruly.
Although, JS doesn't have threads.
 
There we go! Now we're comparing toilets to threads!
jsFiddle POST API - work in progress - http://doc.jsfiddle.net/api/post.html
 
Isn't there a worker process for JS? Wouldn't that count as a thread?
 
@ircmaxell There are WebWorkers but meh
 
Too new to be useful.
 
I know it's not like threads in other languages, but it can be used to do something reasonably useful
 
5:39 PM
Limited, you pass objects in and get objects out, very functional
 
And no access to the DOM... But it could be useful for other things...
 
@ircmaxell Well I'm still trying to come up with something that it's useful for...
 
Finding pi?
 
I used it for processing server interaction for a dynamic whiteboard canvas application I prototyped
 
@IvoWetzel: haven't you seen the Mozilla docs? it's really useful for working out the Fibonacci sequence :-P
 
5:43 PM
@ircmaxell: OK. Fair point. :)
I don't know if IE9 supports it. If not, it'll be even longer before it has much practical use at all, unfortunately.
I'm fine with dumping IE6, but every IE version is a bit too large a slice of the internet to ignore.
 
Well, if you wrap the worker in an object, you could simulate the model with timeouts and events...
 
Preview versions of IE 9 don't support it. No word on whether or not it will make it into the final version.
@ircmaxell: not easily. timer callbacks still execute on the same thread, so it will still be "blocking".
 
Sure, it's not going to work exactly the same, but at least it'll work
 
@ircmaxell: Interesting thing to try.
@AndyE: Oh, well. Hopefully it will, but MS don't exactly have a good track record.
 
The problem is scoping - even if you break down all the code execution with timers
 
5:46 PM
It worked ok in Chrome. Everywhere else it was a little too laggy to be useful
but basically it was a drawing pad with multiple tools that would sync automatically with the server (and other people who were logged in to the same board)
 
Workers in Node.js will be waaaay more useful
 
@ircmaxell: Cool. I've used a few apps of that kind, but most of them were awkward and clunky and generally not very useful; the concept I like, though.
 
@LucasJones they have a lot of ground left to cover in terms of standards. Workers aren't finalized, but I'm hopeful that the level of support offered by all the other major browsers will pressure them into an implementation based on the current draft.
 
Well, I'm debating now getting a Kinect and hacking a real dynamic white board together...
 
wants WebSockets in IE9
 
5:49 PM
Less chance of that, I think, although they are probably more useful to the wider web than Workers.
 
@AndyE Now I'm crying ;_;
 
@AndyE: Agreed. I'd rather IE just crashed and burned, but we can't have everything...
 
@LucasJones: IE picking up the slack is the next best thing. If IE 9 turns out to be a decent browser for everyone then one day we might be able to forget how we've been screwed over for the past 10 years.
 
@AndyE: I'm not sure my emotional scars can be healed that easily. I'm hopeful, though.
 
I had the pleasure of talking with an IE engineer at MS. He said flat out that standards don't matter to them since the real world isn't built on standards but on what they really need...
And tried to defend himself by saying that most of what's in CSS3 and the ATOM tests was useless garbage...
 
5:52 PM
@AndyE Don't worry, they'll just wait 10 more years before they release IEX sou you've got more than enough time to swear about IE9
 
@ircmaxell: It's a vicious circle. The real world didn't use standards as much as they could've because IE didn't support them.
 
(this was in a PHP summit ran by MS to a room full of active open source developers including a representative of Mozilla)
 
@ircmaxell "They real world needs MS! (and only MS)"
 
All I could hear is That's right. Come over to the dark side. We'll tell you everything you need to know (and we decide what you need to know)...
 
Anyone doing something interesting?
 
5:55 PM
@Chacha102 Flaming IE isn't interesting enough for you? Those kids these days...
 
Can someone give me feedback on 102content.com/triton
 
@Chacha102 Well doesn't do much besides for the fact that it wants to store offline data
 
It is a note taking app
 
@Chacha102: Interesting - so it's for storing notes?
 
@Chacha102: many <script> tags in your head section, bad! put them to the bottom and use github.com/jAndreas/Supply
 
5:57 PM
Oops.
 
:)
 
Works in Chrome, but not in FX4
 
@Chacha102: Simple, but effective.
 
Designed in Chrome
only guaranteed to work in Chrome
I'll add cross-browser compatibility to my list of things to do
 
It works fine in Chrome here.
 
5:59 PM
Security error" code: "1000
[Break On This Error] index = $t.ThreadIndex(window.localStorage);
 
BTW, the project repo and app are accessible through 102content.com
it is my list of currently active projects
@IvoWetzel What is the security error?
nvm, I googled and found it
Now to find out why that affects .. anything..
 
hehe, comment of the day for me:
> @kremuwa i can't believe you are still considering this design mistake after Andy's post
 
@AndyE: Lol.
 
@Chacha102: I remember triton from the last time you showed it to me. It's coming along nicely.
 
@AndyE Thanks
I think the UI is getting there. I need to add some more edit features so it is easier to actually take notes and then I'll work on a syncing system
 
6:09 PM
@Chacha102: Yes; perhaps some basic text formatting (bold, italic, etc.) would be useful.
 
@jAndy I don't think the multiple scripts is a problem considering they are all prepped for offline use
 
@Chacha102: Can you delete posts?
 
Yes, remove all the contents and click off it
 
Ah, right.
Is there any way to 'unfocus' it without the mouse? :)
Ctrl+Enter makes a new post, but no other Enter combo I can think of 'clicks off' it.
 
No, but I'm making a note to make it Esc
 
6:11 PM
@Chacha102: Esc would make sense. :) I've grown Escape-phobic recently.
Except in Vim.
 
What do you think it should be?
 
Escape's a good one - I just wouldn't have thought of it myself.
 
ah
 
I think it does make the most sense, though. :)
 
What I really need to do is document all the functionality and then see what is missing/not intuitive
Like delete should have a button
If you aren't focused on anything, N will create a new post
 
6:13 PM
Ahh...
 
But there should probably be a hotkey to open the nav, create a new thread, go to the next thread, go to the previous thread,
Oh ... press the logo
That is probably the one feature that I really need to fix
 
Document list! :)
Maybe that should be a bit more obvious.
 
It is completely unintuitive to get to the document list..
I just don't know how I should make it more obvious
How should you open the list?
 
Wait - one of my posts turned bold and now appears in an Overview bit. How did I manage that? :)
 
That is a title
 
6:15 PM
@IvoWetzel Did you get the email i sent you?
 
A title is determined as the first line of a multi-line note.
 
Ah... sensible
 
Maybe I should increase the size a little, just to make it more obvious that it is a title
However, it is smart about what is and what isn't a title
If the first line is over 120 characters, it is not a title, it is a sentence.
 
Clever.
 
Also, if there are no newlines, like if you posted a paragraph, there is no title.
A lot of this functionality is just based on what I thought would work nice for an app
 
6:18 PM
I see.
It does work quite nicely - it's not overpowered or crowded.
 
I plan on implementing keyword/definitions, but probably should get things like bold and italic working correctly
 
Perhaps integrating a subset (or not?) of Markdown?
 
Some of the magic is correct. For instance, if you put a url of an image in there somewhere: 102content.com/images/Muffin-cat.jpg, it will display the image
 
'Eve
 
@Raynos Evening
 
6:20 PM
@jAndy EW your code is UGLY
 
@LucasJones I imagine it will be a subset of Markdown, mainly because that is what I'm used to
 
@Chacha102: Does that image have some kind of hotlink protection on it?
 
It makes my eyes bleed I wont bother to peer review it :P
 
I get the broken picture frame in Triton, but if I right-click and open in new tab, it displays fine.
@Chacha102: Lists would be a nice thing to have.
 
@LucasJones Hmmm .. I don't think so
 
6:22 PM
It is in the middle of another post, though.
 
@Chacha102 I would recommend supporting both FF & Chrome (always) Dropping IE8 is one thing. ignoring opera & safari because there small guys is another. Dropping FF3.6 completely is just a pain in the ass.
 
@Raynos Yep, I've added that to the list of things I'm going to do, probably tonight
 
The only excuse you have for Chrome only JS is to demonstrate nodeJS functionality in jsfiddle or jsperf
@Chacha102 good luck. Im pending a new PC to continue development :( I broke both linux & win7 partition
 
@LucasJones What is in the middle?
 
@Chacha102 The image URL.
@Raynos: How badly? Do you need a new PC?
@Chacha102: Well, actually, the URL is at the end.
 
6:24 PM
@LucasJones Anyway you can give me a SS?
 
SS?
 
Screenshot
 
It seems to generate the right HTML, too.
 
Oh wait..
No, the image doesn't need to be its own post
 
@LucasJones waiting for a harddrive so I can back it up. Currently running on USB boot linux. Ill fresh reinstall linux (and maybe reinstall win7 at some point)
 
6:25 PM
it should be able to be in the middle of a post
it seems that the only problem is the specific image we are using
 
@Raynos: Ah, right.
@Chacha102: Yeah, the HTML is right as well - I checked in the developer tools bit.
<img src="http://102content.com/images/Muffin-cat.jpg">
Very HTML5 and semantic, BTW. :)
 
yeah, it is all correct...
what is wrong!!!
 
I have no idea. :S
 
I think it has something to do with the fact that this app is cached offline
I'll have to investigate it later
 
@Chacha102: I've never done anything like that before, so I couldn't really help there.
What exactly does it do?
Store the *.js in localStorage?
 
6:33 PM
yes
and the images and the CSS and the HTML
basically you can access the entire application offline
 
wow
Quite neat. Who needs AIR when you have HTML5? :)
 
Yeah, I have very spotty internet at my school, so it was a complete must to get it to be completely offline
another reason why I have added syncing yet
BTW, you can see all the code on 102content.com, if I haven't mentioned that
Just click on the Code Repo for Triton
 
Aha, got it. :)
May have to fork it and have a play around ;)
 
Have fun
the biggest problem you might have is the fact that it is cached
but if you access it locally using File://some/direc/tory you will be fine
because the manifest file wont work and thus nothing will be cached
@oraclecertifiedprofessional Are you really certified?
 
@Chacha102: OK. :)
Hardcore Forking Action. Gotta love Github.
 
6:42 PM
lol. Thats the best part of starting a project
 
:O Vim doesn't think <nav> and <section> are tags!
Stupid syntax highlighting.
 
Neither does Netbeans
But, there is only 1 HTML file
so it doesn't matter too much
 
@LucasJones Neither does Notepad++. Also, Notepad++ doesn't think any HTML5 tags are tags.
 
@LucasJones you use Vim? get out. Your competance annoys me :(
 
If you see any problems, you can either fix em or if all else fails, I watch the issues tab on my repo github.com/chacha/Triton/issues
 
6:46 PM
You'd think they'd have caught on by now.
 
I will probably have a script in Triton.js load all of the other scripts instead of defining them all in the header
mainly because I want it to fail more gracefully
 
how many of you are redditors
 
@Chacha102 automated script loading is a pain to do right.
 
I used to Reddit
I now mainly use Hacker News to get my fill of stuff
 
I just visit Slashdot every day, then the blogs I read regularly. I don't follow many.
 
6:52 PM
@Raynos Have any tips and/or suggestions and/or examples and/or advice?
 
The best solution is <script> tags
The second best would be something like yabbler
Then theres YUI or requireJS
and finally you can write your own XHR / eval strategy or XHR append script tag
 
@Raynos So dynamically creating <script> tags?
 
@Chacha102 yes but I would personally advice something similar to the the require module from commonJS like nodeJS does
 

« first day (47 days earlier)      last day (4903 days later) »