« first day (85 days earlier)      last day (4866 days later) » 
02:00 - 18:0018:00 - 00:00

6:00 PM
@RafidKAbdullah 3-4 weeks ago
 
@IvoWetzel Tosh, gedit isn't really good for serious work
 
Writing the garden is so much less repetitive
 
Still, it beats most editors you find on Windows ;_;
 
@IvoWetzel, that is great. How long did it take you to learn it?
 
@RafidKAbdullah Like two days for the 30 most basic commands
 
6:01 PM
it's a steep learning curve at first
but it levels out reasonably quick
 
Indeed
 
and once you're good at it, you'll run circles around other editors, namely since you can do everything straight from the keyboard...
 
The first two weeks you often have to look at the keyboard...
 
@IvoWetzel, yes, that's great but I believe it takes time until you get used to the commands, yeah?
@Ivo
 
so it all becomes just muscle memory after a while. Then you can concentrate on what you're writing rather than how you're writing it...
 
6:02 PM
@ircmaxell Indeed
 
@Rafid: You'll get the basic commands in a day. The moderate ones in a week. After that it's just adding icing on the cake...
 
@RafidKAbdullah As said, like 2 days for basic movement and editing, then using all the stuff takes some time to become a habit
like using w e b etc
I often hit backspace etc in the beginning
 
@IvoWetzel, yes, that's great but I believe it takes time until you get used to the commands, yeah?
@Ivo, @Irc, well, I am already a vimmer to be honest :-)
 
now I really love f and F
 
Ahhh, ok...
 
6:04 PM
I have been using it for some 8 months.
It is great!
 
It's freaking awesome
 
Yes, f and F are great.
 
It's a pita if you don't take the time to understand it. But if you do, man is it powerful and easy
 
But I like . very much, it is really useful!
Read this:
152
Q: What are your favorite Vim tricks?

Joe Van DykPost your favorite Vim tricks (or plug-ins or scripts). One trick per answer. Try to come up with something other than the basics, btw. :D

 
Also it took some remapping on a german layout to get more productive
 
@RafidKAbdullah Already searched SO also watched derekwyatt.org/vim/vim-tutorial-videos
The worst thing, I can't stand other editors anymore... at all
When I see people using there mouse... rage
 
:-) Yes, I usually close Chrome windows by mistakenly pressing ^W :-S
 
hahaha
Shift-ZZ is also quite useful
 
@RafidKAbdullah Oh yes... that's so bad
When writing answers...
I end up with random webkjl§ in there (mapped ESC to § (Shift+3))
the first time I took a look at VIM I was like "what is all that mode shit about? That's slow!"
 
lol
 
6:10 PM
The second time I was like "meh..."
 
Yeah, few years ago I didn't even know how to insert a text. Worse than that, I didn't even know how to quit it :D
 
But you know, third time's charm
 
The problem comes when you open VI
 
@RafidKAbdullah Oh yes, at first I couldn't figure out how to insert at all too... that was shortly after I switched to Linux
 
since it looks the same, but doesn't support 99% of the same commands/interface
 
6:11 PM
@ircmaxell Hm my ubuntu install maps vi to vim
 
Yes, but some systems don't ship with VIM (for example, the busybox shell on VMWare ESXI servers)
 
If I can't install stuff on my *nix... rage
First thing I did with that no.de smartmachine, put up my .vim and .vimrc
 
@RafidKAbdullah First problem I encountered too. I think I just ctrl+c'ed it
 
also really simple but fast :N
stacktrace... take number... end up at line...
no scrolling, no stupid goto dialog
 
@Yi, that wouldn't work!! This what made me creazy as far as I remember, because I entered Vim in command line, so even ^C won't work!!
 
6:14 PM
oh and of course
make sure you can open it with the keyboard
Mapped F1 to a shellscript :P
 
Why am i not getting any error when i made a error handler:
function(XMLHttpRequest, textStatus, errorThrown){ alert(textStatus); } And i just got "error" in the alert, when i alert errorthrown i get undefined and xmlhttprequest i get [object xmlhttprequest]
please anyone
 
That sets up a nice xterm with no menu etc.
@Karem What site are you requesting?
 
status.php
 
did you try opening up the page in the browser directly?
 
Yes
 
6:17 PM
What's the result?
 
it works
when i access it
directly
or i cant access it directly, as i have a if($_POST.. but i made a quick form with the values and it works fine
 
Can you show the code of the XMLHttpRequest?
 
$.ajax({
url: "status.php",
type: "POST",
data: { mode: 'use', name: savedPhoto },
success: function(){
$.fancybox.close();
$('#status_upContent').hide();
}
});
 
Hm should work by looking at it
What are the conditions under which the page gives our "error"
 
What do you mean by that?
how status look like?
 
6:22 PM
Well there needs to be a reason why textStatus is "error"
 
yes true
the request executes so i dont understand why it is error
I get "error" when i added the error handler,
error: function(XMLHttpRequest, textStatus, errorThrown){
alert(textStatus);
}
its ok if you give up
0
Q: jQuery ajax call wont work

KaremI have this: $('.photoSaved').click(function () { var savedPhoto = $(this).attr('id'); $.ajax({ url: "status.php", type: "POST", data: { mode: 'use', name: savedPhoto }, success: function(){ $.fancybox.close(); $('#status_upContent').hide(); $("#image").appe...

anyone appreciate you can answer in the qeuestion made
 
6:38 PM
Dude, someone removed the code-bowling tag...
 
yay for...
 
re-added it
And it has a close vote now as too-localized...
 
hello everyone
Is this chat made with javascript?
 
Gosh, we get strict mode and now people want to use the old broken stuff once again and ask for work arounds
2
Q: Retrieve "self" function in the strict-mode JavaScript

tilldaI often need in a function f to retrieve a name of the method that points to f. For example. Let's say we have a getMethodName(obj, methodFunction) function that uses foreach on obj to find a property that is a link to methodFunction: obj = { foo : function() { var myName = getMetho...

@LordTydus Yes, it is
 
There was a thread on es-discuss about exactly that a few days ago
 
6:50 PM
@gsnedders Hi there :)
@gsnedders What was the conclusion of that?
 
Dunno, I haven't read the thread myself yet, only seen the subject line in my mailbox ;P
 
Hm, I never had the need for using arguments.callee
Python hides away that magic in the inspect module
so you know that you're opening up pandoras box when you use it
 
I think I've once had use for it, but I can't remember the reason why.
 
it breaks encpsulation
since the called should not care who called it
 
yep
just like setInterval does in my eyes
 
6:54 PM
The fact setTimeout/setInterval are part of the DOM and not part of ES is fun
 
lol
 
yes it is, all that async is basically only put on top
Node.js had a ton of bugs with its implementation of setTimeout
 
Then you have the fun that ImageData (an interface defined in HTML5 for canvas pixel data) is implemented in the ES engine for all browsers, and not in DOM as you might expect.
 
and it's not even consistently implemented iirc
 
IIRC there's differences about non-integral properties
/me waves at @dstorey
 
7:05 PM
Opera invasion!
Ah Dragonfly, finally someone to blame for it being so slow :P
 
At least I'm not in the same city as him any more :P
 
holy hell
1
A: Make an application that displays text at random that conforms to the specified regex

Alex MeiburgI think this set some records in WTF-iness. It's one function that compiles a human-readable assembly into BrainF***, and then another function that interprets it. Of course, the human-readable assembly is missing some features, so there's some hack-ish insertion of BF code manually. And the cod...

 
Beauty is pain.
 
> continueLoopingWhileNotEqualToZeroLocations
and the next variable st
 
I've been meaning to write a Brainfuck interpreter in JS. Just because.
 
7:52 PM
hi this is my first time using chat. would anyone be able to help me with my javascript issue with my accordion stackoverflow.com/questions/4640786/…
 
Sorry, I was eating dinner. Dragonfly slowā€¦which part specifically?
 
startup
I takes up to 20 seconds here on my Ubuntu box
 
Using Opera 11 I guess?
 
Yes
 
Weā€™re using AppCache, so it should load quickly (it often loads instantly) but we've seen some issues from some users. I'm thinking the AppCache might not be working correctly.
 
8:06 PM
btw: is there a quick way of disabling ipv6?
Ubuntu 10.04 has some problems with that...
 
@gsnedders do you know of any Opera issues with AppCache?
 
@dstorey Couldn't think of any off-hand; I was just looking through BTS for any, can't find any.
 
it might be just with the special window we use for DFL as we seem to have strange amount of server requests than we should do using it
 
@IvoWetzel No, AFAIK.
 
@gsnedders To bad, Opera seems to have the same issues as FX
That is, it takes 15 seconds to resolve the IP
But in FX you can just disable it
Chrome works fine though...
 
8:29 PM
try { inspect; } catch(e) { return false; } // make sure the inspect function exists
var inspectTarget = (function(e) {
  inspect(e.target);
});
  document.body.addEventListener('click', inspectTarget, false);

  /* use this later to stop that
      document.body.removeEventListener('click', inspectTarget);
  */
 
Hm when the garden is finished, I'll most likely will make a man version
 
8:45 PM
And another easy answer because someone didn't get how constructors and this work :D
-1
Q: How to break closures in JavaScript

Not a NameIs there any way to break a closure easily in JavaScript? The closest I have gotten is this: var src = 3; function foo () { return function () { return src; } } function bar (func) { var src = 9; return eval('('+func.toString()+')')(); // Line breaks closure } alert(bar(...

;_;
@CodingKitten Scratch him
 
It took me a surprisingly long time to understand "this", primarily because I never got a decent explanation of where it comes from in all cases.
 
@IvoWetzel can I write it
 
All the cases
@CodingKitten Sure leave him a Comment!
 
@IvoWetzel But it's the only 2 more +1's to UT my fubar code bowling?
 
@IvoWetzel Ah, that's a nice explanation. If only I'd seen such a thing when I was actually trying to learn the languageā€¦
 
8:51 PM
@gsnedders Trust me I'd have liked that too... but now I'm writing it... all from the top of my head
It's only have way done, tons of stuff to add and refactor the whole thing, but it's making progress each day
 
@IvoWetzel Heh. I eventually got a decent explanation, but only after starting working on Carakan, from another guy on the team.
 
Crockford also has a 3 case explanation in one of his older Vids
But I couldn't find anything in Textform so I started writing this thing
Also primarily that I could copy / paste / link it in SO questions
All the things there come up so often
 
9:13 PM
BS day?
0
A: node.js running alongside Apache PHP?

Colum Node.js is a http server, which would not be suited for what you are trying to do. Chat and "Currently Logged in users" is a database functionality. See #2 You could use node.js to handle the ajax for chat and interaction between the database and the browser, but node.js can not do chat all by i...

 
he deleted his answer
 
Indeed, I'm currently writing a useful one
 
I think the guy was trying the same as me
 
9:28 PM
hello all.
 
@Daryl hi there
 
@IvoWetzel whats up
 
@Daryl Not much
 
Tek
10:24 PM
hi everyone, anyone around?
 
yeap
what's up?
 
Tek
nevermind, I just remembered something xD
might have just answered my own question
 
ahah
 
Tek
either way, how's it going around the chat? I haven't visited in a few
 
it's quiet :( lots of people on, but not very talkative
 
Tek
10:26 PM
ah, you guys need me to do more javascript so I can noob it up and be told how to do things right huh?
I'll think about it. ;)
 
yeah, make us something pretty to play with and poke holes in
and then we will argue amongst ourselves for a while
 
Tek
haha
yes, indeed
@david any chance you're running linux?
 
not right now... i have it installed in a few virtual machines at home
 
Tek
ah, oh well
 
what's the issue?
 
Tek
10:30 PM
Trying to get grep to search for a word in all text .cpp files and subdirectories
 
11:23 PM
@gsnedders Do it, but not in Node.JS. Make sure it runs in the browser so that if a user enters a non-terminating BF program, it's them that gets screwed... :-D
 
02:00 - 18:0018:00 - 00:00

« first day (85 days earlier)      last day (4866 days later) »