« first day (836 days earlier)      last day (4111 days later) » 

4:01 PM
@PurpleCoder wait... why did I just delete that? That was a valid question....
 
I have a function inside a function. Is it possibly to quit both functions at once? like return(2); or something
 
@Zim84 yes?
 
@neal: not constructive?
 
@PurpleCoder so close it as such. and no it is not not constructive. and even if it was, there is no reason to delete.
 
@Neal and how? :)
 
4:02 PM
I have no idea what u mean @Zim84 make an example...
 
@neal: i don't know but i've seen better questions get deleted just like that
 
@PurpleCoder ok then.... vote to undelete if you can...
 
$('#test').click(function() { /* stuff / $('#bla').each(function() { / other stuff */ return(2) // quits both functions }); });
 
@Zim84 yea... im am not responding till u format that
 
I can format in chat? ._0
 
4:04 PM
!!s/till u format that//
 
@Zim84 yes...
 
@copy @Zim84 yea... im am not responding (source)
 
@jAndy 125 -- you forgot the green tick
 
@neal: sorry, can't (and won't it it were possible)
 
Hey guys. Is there any Single Page Application framework with nice transitions and stuff that is not JQuery Mobile? It makes bootstrap look really bad
 
4:05 PM
@Machinarius i am sure there is.
 
$('#test').click(function() { $('#bla').each(function() { / other stuff */ return(2) // quits both functions }); });
 
A google search for that ius not really giving out proper results
 
how can I make newlines without sending?
 
@Zim84 CTRL + ENTER
duuuuh
 
$('#test').click(function() {/* stuff / $('#bla').each(function() { / other stuff */ return(2) // quits both functions }); });
 
4:06 PM
how long have you been using a computer?
 
doesnt work
test
 
$('#test').click(function () { /* stuff */
    $('#bla').each(function () { /* other stuff */
        return (2) /* quits both functions */
    });
});
That was hard...
 
how did you do that? ._0
 
booo hoo :-P
magik
 
can't even find it on the FAQ
 
test for code `test
 
@Zim84 rules.javascriptroom.com/#asking-3 <-- it is right there.
plain as day...
 
no chance to make a newline
 
ctrl + k formats a block of code
 
HELLO



THIS IS A NEWLINE


CTRL + ENTER!
 
4:09 PM
for multlines, use the "fixed font" button on the right of send/upload
 
Sorry for spamming, but what can I do if those simple things don't work.. this is code: return false; now I want a newline in that code: `return false;
 
That was soooo hard.
 
exit;
 
(that's what she said?)
 
test
newline just doesnt work...
 
4:10 PM
@WinterBash FLAGGED BY ME. do not ask for downvotes. you will be KICKED in the bum :-P
 
@Zim84 use a boolean value, if it's false when you get out of the each, then return from the event handler
 
@Neal sorry i wont again ..
 
@WinterBash the image is not irrelevant at all... you just do not understand it :-P
 
@FlorianMargaine so you can't exit two functions at once directly?
 
$('#test').click(function () { /* stuff */
    var good = true;
    $('#bla').each(function () { /* other stuff */
        good = false;
        return false; /* quits both functions */
    });
    if (!good) return false;
});
@Zim84 nope.
 
4:11 PM
@WinterBash wait a minute, you didn't write that code in the image into your css, did you?
 
@GNi33 LOL
 
hahaha
I bet he did
 
that would be too good
 
ok, thx, that's what I wanted to know. Your approach is well known to me, but I was looking for a quicker way. thank you
 
sorry but its not working ... — Winter Bash 1 hour ago
the comment makes it look like he really did :D
 
4:12 PM
@FlorianMargaine: "quits both functions" ?
 
5 mins ago, by Neal
$('#test').click(function () { /* stuff */
    $('#bla').each(function () { /* other stuff */
        return (2) /* quits both functions */
    });
});
 
@FlorianMargaine lol u silly. Y U NO JUST RETURN good?
 
I'm confused
 
@Neal thought about it. Then thought it might be confusing
 
if(!good) return false is silly...
lol
 
4:13 PM
neither nor can one return statement quit more than one function, so
 
@Neal what if he wants to do something else when good is true?
 
maybe a bad wording there
 
@FlorianMargaine baaah
 
yeah I know, too bad when I'm always right, heh?
 
4:14 PM
@FlorianMargaine but that doesn't quits both functions?
 
:7432638 okk... but you guys are not good .... that answer now got more upvote ....:( gonna leave all chat room
 
hmm nice way to get upvotes
 
@Feeds thanky ^_^ @FlorianMargaine
@WinterBash bye! It was a great answer ^_^ u just do not understand it lol
 
woo 7 flag ...
 
@WinterBash that's because it's the right answer, man
 
4:19 PM
how did you get 7 flags
 
I HATE WINDOWS.
 
Yeah they let you look outside
so retarded.
 
@NullPointer haha u saw the fun earlier?
 
@Loktar cough
 
esp the 8 paned ones!
 
4:20 PM
Yea ...
 
11 mins ago, by Winter Bash
down vote please http://stackoverflow.com/a/14462890/1914752 image in this answer makes me very tensed .... image is completely irrelevant
LOL
 
@Neal thank god ... god saved me from troll attack ...
 
@NullPointer ^_^ ha
 
lol that @WinterBash is crazy
 
@OctavianDamiean booooooooooooooo
 
4:21 PM
why would you name yourself winterbash...
 
I <3 Windows
 
^
wow really @SimonSarris
 
no totally
 
/me doesn't feel alone any longer
 
@OctavianDamiean ehhh yea. I like open air spaces better. I walk into too many windows
 
4:22 PM
...What does Windows do better, other than games?
 
linux is free if your time is worthless
 
I like windows - just not for web development
 
@SimonSarris That's just silly.
 
@SomeKittens windows has a pretty low initial learning curve
 
@SomeKittens know when the last time I had an issue getting audio/video/printers/the goddamn MIDDLE MOUSE BUTTON working was?
 
4:22 PM
but I hate macs.
 
@rlemon yea... i am stuck with it for web dev by me... :-\ so annoying
 
@SimonSarris Not really for web development workstations.
 
to be completely honest, you can do very good on any OS nowadays, regardless if its windows, osx, linux, whatnot
 
^ I agree
 
^So why not go with the free one
 
4:23 PM
@jAndy I think you're right generally
 
@rlemon he actually tried .
 
because I have money?
 
in PHP, 11 mins ago, by Winter Bash
i tried and searched ...even its not working in css3
 
Try installing xdebug/apc/memcached on windows to replicate your prod environment, and cry seeing your time be wasted
 
@SimonSarris That's a n=1 study.
 
4:23 PM
there is any software which you can possibly require available for pretty much any os
 
@SomeKittens no its a n=me study
 
I think you should use whatever you are most productive in. For me + WebDev it's linux - winforms is windows - nothing on a mac.
 
and when picking my operating system me is generally the preferred target audience
 
@jAndy That's just not true. I'm already wasting my second set of 60 minutes just because Windows is retarded when it comes to Android stuff.
Unlike Linux.
 
really? Ive done android stuff fine on Windows
install eclipse.. run the update packages, done
 
4:24 PM
@SimonSarris same - I use the OS the target will use - web dev is mostly linux.. screw IIS
 
yeah screw IIS for sure
 
@OctavianDamiean: I have to admit I don't have great experience with developign/debugging (remotely) for android
 
My favourite dev system is and will probably always be: Windows desktop combined with a headless linux server running samba and ssh
 
@rlemon true that, I don't use windows for server tech :3
 
@Loktar :-(
 
4:25 PM
yeah same here, I use windows for developing, and then push to my servers
 
@Loktar Yea, that's the simple things ... I'm talking about flashing system images and stuff like that.
Stuff that requires drivers to be installed and all sorts of crap like that.
 
And preferably that linux machine is a real one and not just virtualized
 
I prefer linux for developing because of the tools available to me and the CLI is moocho superbo
 
On Linux, I plug the device in and use it.
 
idk I think windows gets a lot of unneeded hate
2
because its not "cool"
 
4:26 PM
In my case it is completely justified.
 
but it's all preference. If you are smashing out killer code on your OS/360 I don't care.
 
I'm wasting lots of time on things that should work right away.
 
but in general, if I work on windows with ecplise/aptana+putty+winscp and work on remotely on some linux machine, or using codA/iterm2.. or doing the same directly on any linux distribution
makes no difference, thats what I was saying
 
That's not quite what I'd call being productive.
 
Windows hate stems from Windows not working as the user expected - same with my Mac OS hate. I hate the OS because I don't like how it works.
I don't see how this is up for debate :P
 
4:28 PM
its pretty much a sandboxed unix
you still can hack it if you wish
 
Leave all preference and crap aside, I'm not even talking about liking or disliking Windows. I'm talking about the amount of time one needs to invest in order to setup his development environment compared to other OSes.
If only the new Linux kernel wouldn't fuck up on this machine ...
It would be the perfect developer notebook for me.
 
@OctavianDamiean: on that perspective, windows wins pretty much all the time
and Linux would still, lose all the way
assuming an 'average person' with 'average knowledge' about the OS in general
 
@OctavianDamiean See but thats the thing
"If only linux didn't fuck up on this machine"
welcome to my experience with linux
 
@jAndy I don't quite get your point, do I make the impression of an average Joe to you? :D
 
4:32 PM
just don't forget to change your line-endings to UNIX style, all you windows lovers !!!
 
Windows is easier to plug and play shit - Linux with some prior knowledge is faster. If windows is busted (in my experience) the only viable solution is to clean start: Linux has more leeway here.
there is many differences for many different applications and many different user types.
 
@rlemon That statement is true. Only when it isn't.
This is brilliant, now I have to stand up, move my ass two meters to my desktop to fire up Ubuntu.
 
@OctavianDamiean: I made no point there, you just brought up the "time" and "effieciany" perspective and I burst out my 2 cents
 
I love Ubuntu
 
Good afternoon, I have created a script for duplicate a row and reset the values of it. I want to add an id attribute with a number. Like <div class="row" id="repeatable-'0'"></div>. After each click on the button, I want to add +1 to the number, as shown. How can I do this the best way? Codes can I post, just ask me!
 
4:35 PM
@Casper make a jsfiddle.net example and we'll fiddle with it
@RajeevK Why do you love Ubuntu? (I do too, just curious)
 
Hello. I have a div that I change its height from 0 to 160px. However, if I do it with jQuery it kind of overlaps the content I have above it. If I do it in CSS manually, it works without any problem. Any suggestions?
 
I don't know if I can deal with two Ivo's
 
Ubuntu is for hipsters :p
 
for a desktop computer, a real reason why I'd not use windows is simply because of the viruses. No matter your antivirus, you always get to this kind of stupidity.
 
Ahhah :p
 
4:36 PM
1 message moved to recycle bin
 
what can ubuntu do, what for instance osx can't do (maybe even nicer) (forgetting about money)
 
I was in mid edit jerkass
 
@IvoPereira well, don't use jQuery sounds like the solution
 
> Be Warned! Unformatted code will likely be binned.
:D
 
Just to make sure everyone understands this, I don't hate on Windows because its cool and everyone is used to do that but because of a valid failure situation which doesn't exist on Linux.
 
4:37 PM
@jAndy I prefer OSX to ubuntu :P
otherwise
 
me too
 
you could install another window manager ;)
 
Eheheh, but I need it too :P
 
as I said, ubuntu is just 'another nice linux osx clone' in my mind
hipster :p
 
I used to have stumpwm on my work pc
ditched it because my colleagues couldn't use it anymore
 
4:37 PM
@SimonSarris - It just make my life so easier to work with drupal
 
@FlorianMargaine tmux FTW!
 
function addRow(container, content) {
  var rows = container.getElementsByClassName('row'),
     new_row = document.createElement('div');
  new_row.className = 'row';
  new_row.id = 'repeatable-' + rows.length;
  new_row.textContent = content;
  container.appendChild(new_row);
}
 
even if I receive death threats for that
 
@Neal irrelevant
 
@Casper you'll need to create a variable that increments ++ after each click and then apply that to the element.
 
4:38 PM
tmux is a multiplexer, not a window manager
 
@FlorianMargaine ooo thought u were discussing windows in linux.
 
@SimonSarris - All permission, file download my module enable/disable and so many things I do very easily in here
 
it is "windowy" @FlorianMargaine
 
@Neal window manager = gnome, kde, fluxbox, stumpwm, awesome, etc
 
@FlorianMargaine That's because you visit filthy porn websites.
 
4:39 PM
tmux is a multiplexer, that I do use. :)
 
Can somebody suggest me anything about this question ? - stackoverflow.com/questions/14582920/…
 
@OctavianDamiean and I want to visit these kind of websites with peace in mind.
 
awesome is quite awesome, as the name already indicates
 
@Neal dude...
I use tmux everyday :P
 
4:40 PM
as do I @FlorianMargaine :-P when im not in windows
 
and emacs/vim have the concept of windows too
 
still getting used to it. (only have been using it for a week lol)
 
so do a lot of software, I guess.
@Neal haha
I usually have one window per project
 
^_^ I am learning
I like the split view
 
@FlorianMargaine I was just trying to tell you that what you're experiencing is a classic PEBCAK.
 
4:41 PM
each project has several servers (dev, stage, test), so I use panes for this
 
Where did that guy go
 
@FlorianMargaine mmmm interesting idea. I just have a bunch of files open via vim in each pane lol
 
@RajeevK What does the output from $("#edit-field-payment-emi-und option:selected").text(); look like?
 
@Neal you might like the last line
 
4:42 PM
@Neal I have a single vim instance... use :sp and :vsp :P
and buffers.
and tabs.
 
@FlorianMargaine hehe dunno what those do :-P ( I am still learning in linux )
 
try it in vim
 
@FlorianMargaine what does it do?
 
tmux prefix + /
 
@FlorianMargaine ahhh how do i get out of this sp mode?
 
4:43 PM
and it opens the manpage for this term in another pane
 
or switch panes?
 
hit the term you want
 
@ZachShallbetter - Those are just "6 EMI", "12 EMI" etc...which I am using in switch
 
@Neal Ctrl+w to switch pane
 
@FlorianMargaine i am talking abt the :sp thing
 
4:43 PM
:q to close a pane
 
@FlorianMargaine cool.
haha awesome ^_^
 
@Neal :vsp is vertical split, and you can use Ctrl + hjkl to move between panes
 
now I dont need multiple tmux panes to make my head hurt lol
 
also, learn about buffers.
they make your life easy
 
> AAAAW COME ON!
 
4:45 PM
@FlorianMargaine how so?
 
@RajeevK what happens when you console log ('works') in the third swiitch statment?
 
always nice to read stuff like that in commit - logs :)
 
0
Q: Comparisons of Javascript 'data grids'?

JoeI've found plenty of questions between here and StackExchange of people asking for the 'best' data grid / data table, or one that has a particular feature, and plenty of lists out there (of various ages) listing the various data grid implementations ... but is anyone aware of any matrix of what f...

 
@ZachShallbetter - It doesn't do anything...
 
@Neal "buffers" are files that you open with vim
and as long as you keep vim open, they stay in vim
 
4:46 PM
That means the data being passed in isn't formatted properly
 
and since you can open other files with :e, you can have many buffers
(also try out :E)
 
@FlorianMargaine yea ive had iddues with that when i cant remember if i had the file open or not
what does caps E do? @FlorianMargaine
 
try it out :P
 
whoa
 
Before your switch statement console.log(selected_emi_type);
 
4:47 PM
when you hit enter on a file, it opens it
 
@FlorianMargaine funky
 
I would also put a console.log('works ') within the 24 EMI case as well
 
@FlorianMargaine haha cool
 
@Neal you can do :vsp :E to open another file in the other pane
 
4:49 PM
@FlorianMargaine cool beans. hehe im am still getting used to using keyboard instead of mouse lol
 
also, when you'll grow to love vim, there are lot of plugins you'll want to install
 
VIM is like the jQuery of editors.
PLUGINS galore.
 
@FlorianMargaine like what?
@rlemon haha. I surely hope not
So VIM is like wordpress? @rlemon
 
@rlemon Heretic! Comparing VIM to the devil!
 
no
wordpress is a POS
 
4:50 PM
POS? wazzat?
 
POS === Piece of Shit
 
@Neal LycosaExplorer, NERDTree, TagList, psettings
 
not Point of Sale?
 
and lot of remaps in your vimrc
 
4:50 PM
lolz
 
@rlemon ahhh. well i am fine with it ^_^
@FlorianMargaine hmmmmmmm
 
(j/k, psettings is a plugin of mine.)
 
Complacency is bliss sometimes.
 
wth emacs conf file is cLISP? @FlorianMargaine github.com/Ralt/.dotfiles/blob/master/emacs
 
@rlemon, @ZachShallbetter Thank you for your response. I would like to share my code, so you can see how my code now looks like: snippi.com/s/batgw1a
 
4:52 PM
@Neal LISP is Emacs, without the editor
 
@IvoWetzel What do you mean?
 
@rlemon How can I best include your code in the mine?
 
@Neal (((((((((((((((((((((((((((()))))))))))))))))))))))))))))))((((((((()))))))))))(‌​))))))))))
 
@IvoWetzel huh? I know what LISP is...
 
@Neal nope, it's elisp
but yeah, that's what makes emacs pretty awesome
you can control emacs anytime
 
4:54 PM
@FlorianMargaine lisp makes it awesome? (I never used emacs, so can you 'splain?)
 
> Emacs Lisp (sometimes called elisp) is a variant of MacLisp that much of Emacs is written in, as well as being the extension language customizations and extensions are written in.
 
@Neal Lisp (or elisp in this case) is the "scripting" language for Emacs. Like VIM has "vimscript"
 
the thing is, emacs itself is written using elisp
 
funky
 
and when using elisp (or more generally, lisp environments), you have access to everything
 
4:55 PM
Also, one of those two is a horrible abomoniation of a language, and the other one uses a lot of paranthesis
 
so you can change pretty much everything
 
I was never any good at lisp
 
seriously, vimscript is horrible.. >_>
 
@IvoWetzel the parentheses go away after a while
you just have to get used to it
@IvoWetzel yeah, I know.
 
@rlemon nooooo I <3 wordpress
 
4:56 PM
@ZachShallbetter - I saw consol...nothing is in there
 
Alright, I quite. Screw Windows for Android system development.
 
Is it correct to use - emi_amount = emi_total_amount x rate_24 x Math.pow((1 + rate_24),24)/(Math.pow((1+rate_24),24) -1);
 

« first day (836 days earlier)      last day (4111 days later) »