« first day (832 days earlier)      last day (4130 days later) » 

9:00 PM
That's the same for answers. Which is bad when an answer with nothing but a comment is heavily edited.
 
I have a few times picked the wrong 'dupe' or the wrong close or flag reason - sucks because you cannot undo those
or even 'edit' them
Holy shit guys I just realized how close to 7K I am
 
this article really made me think about data structures and how to structure an application chris-granger.com/2013/01/24/the-ide-as-data
 
lighttable.com looks horrible on my 24" wide 1080p
 
oh, there's already an alpha version
the guy building the IDE is the creator of Clojure
and his articles about data structures really make you think
 
but his website looks crappy on my display :(
I judge all books by their covers
 
9:05 PM
and about the articles? :)
 
articles are nice
but it's not as fun to praise as it is to bitch and complain.
 
As you're speaking about IDE, do you guys use Sublime ?
 
which languages does this lighttable thing support ?
 
@FlorianMargaine Did you test ligttable ?
 
9:10 PM
too lazy to look for myself :(
 
clojure ?
 
just that ?
 
idk - I dislike clojure
 
I had looked at Sublime when it was just starting, and there was only a free version, but now it's not free I really would know if it's real good before looking again.
 
(* (+ 3 3) 2) is just stupid if you ask me.
2
 
9:11 PM
@dystroy I currently am
 
And ? Your feeling ?
 
@dystroy It's still free
@dystroy The concept looks cool. Unfortunately, it only supports clojure atm. I'm getting some errors, I haven't been able to get past the homepage yet
 
It's still free ? Oh... maybe I should have a second look then... I had made what was maybe the first bug report... in fact a long list of bugs when the author announced it...
(I'm talking of Sublime, not lighttable)
 
Does anyone like Clojure?
 
@rlemon clojure doesn't have as many parens as CL; its arguments are between square brackets for example
@dystroy Yeah. It prompts you to buy it sometimes, but you can choose to never pay. Just like mirc if you've used it.
 
9:13 PM
I don't write much Java (ATM) so idk. Clojure might make that easier? I will have to give it another looksee once I start to need java.
 
@rlemon Yup. Tried it, it's nice
 
@rlemon Prefix is stupid? Why?
 
unrational compared to how we were taught to do math.
 
So it's stupid because you're used to something else?
 
I should have to stop and think about how Math works... it's math. it should work the same everywhere.
 
9:15 PM
It's ugly and humans are not used to it
 
Look who's back with noob problems!
 
I like (* (+ 3 3) 2)
 
for (var x=1;x<5;x++){
      var st='select[name="Score_'+x+'e"] option';
      $(st).each(function(){
        var chk=',0,1,2,3,4,5,,,,,,--,';
        var sn=','+$.trim(this.innerHTML)+',';
        if (chk.indexOf(sn)==-1){$(this).hide();}
      });
      st='#tableScoringInfoBox'+x+' strong';
      $(st).html('1-10 Ratings explained');
    }
}`
 
FORMAT YOUR MOTHERFUCKING CODE
 
But that may be because my calculator 25 years ago was a HP28S...
 
9:16 PM
It does work the same. It's laid out differently.
 
It's nothing to do with "not something i'm use to so it's stupid" it's stupid because it's not intuitive.
 
@phenomnomnominal +1
 
Why does that code not work in IE7?
 
Not intuitive? How is "the thing on the left works on the things on the right" not intuitive?
 
things lacking in intuitiveness are stupid.
 
9:17 PM
Random execution order (aka infix) is a lot less intuitive. You have to learn its secrets before getting it - prefix has it built-in.
 
codepen.io/darkyen/pen/emDfs @AmaanCheval @rlemon , @FlorianMargaine is this swift enough on a droid ?
 
@Zirak what benefits does this offer over traditional BEDMAS?
I realize it is evaluated the same
 
@rlemon Also, I have to disagree with that. vim/emacs/most-everything-difficult are hardly intuitive.
 
but readability compared to how we were taught is different.
 
@rlemon infix has a big problem: operator precedence.
 
9:18 PM
@rlemon: Why does that snippet I just posted not work in IE7?
 
@rlemon (B?) PEMDAS is weird. The things on the left may or may not be looked at first, the order of execution is all spaghettied. Prefix has a clear order of execution.
 
Parenthesis == Brackets in my Ontario education system
 
And it's not like I'm a prefix wiz, I still don't get it immediately, but that's because I'm not used to it, just like a 5th grader doesn't get 4 + 8 / 2 immediately
 
How can I configure php to work with nginx
 
ayways - i'm out bbl
 
9:20 PM
!!s/MOTHERFUCKING/UNICORN FARTING/ig
 
@Darkyen I don't really get your system ? Is it supposed to be an infinite scroll ? I can't scroll pas 1/3 the scrollbar
 
@Event_Horizon FORMAT YOUR UNICORN FARTING CODE (source)
 
@dystroy on Phone or PC ?
 
nexus7
 
bkhoyujk;l';
 
9:20 PM
hmm then thats an issue
 
@Zirak I still don't get the operator precedence on first sight when you show me 4 + 8 / 2 (I start 4 + 8, then see the / and thinks "fuck")
 
@dystroy i was testing if its performant enough to use blindly
sadly its not
 
@darkyen how do you make it full screen
 
probably will write a library to cover it up during tomorrow
 
That may, or may not, have been my cat.
 
9:21 PM
? I'm not used to codepen
 
@dystroy replace pen by full in the url
 
@FlorianMargaine no it has to be fullpage now
full will open it inside a iframe :P
 
with a nice lil browserstack add on the bottom , and ignoring all your meta tags \o/
 
9:22 PM
@FlorianMargaine Yeah, I get that. There's also some ambiguity when learning new operators - I remember learning derivatives, and thinking where they belong in execution-order.
 
@Darkyen scrolling is painful and doesn't feel like infinite : many lags
 
(Before I learned that f`(x) is really dy/dx f(x))
 
all this to say -- lisp is the best way to use maths.
 
@dystroy just tested it :P and yeap :-(
 
but it looks more like a scroll/touch computation problem
 
9:23 PM
on iOS it feels natural but on droid its kicked
 
Æ’'(x)
Does that come up as a fancy f?
 
Even if it is shown that somehow infix is inherently better than prefix (like, 200% more ponies or some shit), it's an interesting way of thought (and so is postfix)
 
@phenomnomnominal Yep.
 
Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(‌​Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(‌​Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(Æ’'(‌​Æ’'(x))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))));
 
@Darkyen there's a lot of code
 
9:24 PM
@phenomnomnominal That's Chi
 
^ That is recursion!
@FlorianMargaine Most code is to import iScroll.js though
which sucks!
 
@Darkyen What events do you handle ? I made a zoom+drag application for Android without problem using touch events
 
btw, if you're using dc as calculator, stack-based calculations become natural.
 
I had concluded after having looked at touch libraries that it was much simpler to go without a lib
 
@dystroy afaik iScroll.js uses touchevents like a whore
 
9:26 PM
@dystroy simple libs are good enough
like fastclick.js or something
it's really handy
 
:P
 
you don't need a lib, it's a few LOC to manage touch events
 
@noob1992 lmgtfy.com/?q=nginx%20php or ask in the PHP room (or maybe don't.)
 
and you have so much specific code anyway for a zoom/scroll app that it's easier to handle everything
 
@ThiefMaster $(you).off("Need Help","noob1992");
you are free now ! enjoy!
 
9:27 PM
hahaha
 
Admitidely, I had only one platform to target, compatibility problems might change the deal
 
I wouldn't really call a lmgtfy link or unleashing him on the PHP room "helping" ;)
 
-10 1 hour ago removed User was removed
what does that mean?
I lost rep they gave me?
 
@ThiefMaster we all share our concern with you
 
some guy who upvoted your answer was deleted
 
9:28 PM
@Loktar yeah
 
ah ok
lame
 
@dystroy Yeah. Compatibility is a bitch on mobiles.
 
@ThiefMaster take our bitching and block him :D
Everyone share your bitching against help vamps with thief \o/
 
whats up peepz
 
@Cygwinnian helping to create a "chat spirit bomb" against a vampire
 
9:33 PM
Hi...can someone help me edit/improve the jquery plugin I am discussing on the following question:

http://stackoverflow.com/questions/14530676/writing-a-jquery-plugin-to-implement-a-complex-content-aware-multi-column-multi
 
oh nice. who's the vamp?
 
yo guys
 
for (var x=1;x<5;x++){
      var st='select[name="Score_'+x+'e"] option';
      $(st).each(function(){
        var chk=',0,1,2,3,4,5,,,,,,--,';
        var sn=','+$.trim(this.innerHTML)+',';
        if (chk.indexOf(sn)==-1){$(this).hide();}
      });
      st='#tableScoringInfoBox'+x+' strong';
      $(st).html('1-10 Ratings explained');
    }
}
How can I rewrite this without using .trim to ensure compatibility with IE<9?
 
$.trim is compatible
that's the difference with str.trim
 
9:36 PM
@FlorianMargaine I am not sure what the tag cv-pls is.
 
@dystroy So why is it not working in IE7?
 
@dnbrv I don't know
 
@dystroy Great answer! :)
 
@alisamii this isn't really a question for SO
 
@alisamii close-vote please
@dystroy right now, lighttable is really what it is: an alpha.
 
9:39 PM
@FlorianMargaine Ok...
 
the project was started 2 or 3 months ago
 
I'll keep using geany
 
not enough features yet
@dystroy vim/emacs?
 
@dystroy well, this is a jQuery plugin that I need assistance in fixing up. How is that not a question for SO. Just trying to understand.
 
@FlorianMargaine too hard to me. I use vi when needed but I never made the effort to learn it, or emacs, well enough to be fast
 
9:41 PM
Light Table looks insanely awesome
 
posted on January 25, 2013 by Victor Rodriguez

Today On Mars: Opportunity Begins Its 10th Year Of Mars Roving Breakthrough Study That Found Consciousness In Vegetative Patients Was Flawed Brake drum and plumbing parts get you started with Blacksmithing Go, Go, IOIO-On-The-Go! How To Install Ubuntu 12.10 On Non-PAE CPU

 
@alisamii It's much too wide and more a request to study, debug, improve your code.
 
@Zirak: go and write an ecmascript version
don't come back until you finished !!!!
 
9:42 PM
Ok, I won't come back either until my wife release me
 
@Zirak in case you didn't see, I think you'd like these articles chris-granger.com/2012/12/11/anatomy-of-a-knockout and chris-granger.com/2013/01/24/the-ide-as-data
 
Good night/day/whatever all
 
byebye
 
@FlorianMargaine I'll take a look, thanks
@jAndy You just never want me back
187 closed issues, that's semi-good
 
9:46 PM
guys. I wanna learn how to do some api programming. WHere can i learn?
 
@Cygwinnian, Y U SO VAGUE
 
There's no such thing as api programming
 
ok fine. How can i learn the twitter api as a programmer with jquery
?
 
(psst, you don't need jquery. I was never here.)
 
@dystroy OK. So how should I rewrite the question to begin to get help on fixing this plugin. The basic functionality is there, but it isn't working efficiently, and needs fixing up.
 
9:49 PM
Who wants to go in with me on jqueryisntalangauge.com
 
lol
 
Read that first as jquery-insta-language.
Shame what (didn't) happen with cowbelljs
 
@phenomnomnominal Oh, I know it's not a language. It's just well written javascript
 
3...
2...
1...
 
NO
 
9:53 PM
Yay, it worked
 
If this is good code, I will eat my keyboard and upload the video
Because I've obviously been doing it wrong all this time
 
I heard Your a Lemon one
 
@Zirak ?
 
Nope rLemon
 
@Zirak what can be sure is that it's battle-tested code.
 
9:55 PM
Fuck yeah it is haha
 
It can be as stable as COBOL, but that doesn't change the fact that it's crappy code
 
Wonder how many copies of jQuery are in the wild
 
7
 
I'd say 9.
 
9:58 PM
looks like rlemons
 
no
@Neal s
 
@Cygwinnian You'd think that because his name is mentioned all over the place
 
I don;t think neal's in room
I never seen sucha cool blog before
 
yeah I do like the theme he used
 
It's a community blog, stewarded by some room regulars who like to blog but aren't brave enough to have their own.
@neal has only written one article. I think @RyanKinal is the most prolific writer on there
 
10:00 PM
So yeah, if anyone has any comments (usually rants) about the Markov one, hit me.
 
@Zirak No it's actually because the posts are signed off by "Ryan", and I thought his name was Ryan Lemon
 
well I like blogs too, and ended up with this mess

http://sharepointbulletin.blogspot.co.uk/2013/01/a-control-with-id-topsitemap-could-not.html
 
it's Robert Lemon, for instance.
 
@Zirak - I really enjoyed it
 
Not too stale or elitist?
 
10:01 PM
It's for a certain audience, but it flows well and is very readable/understandable
 
yayz!
 
Oh, I thought you were kidding about SharePoint.
@TimeToShine You should also check out my blog at recoding.blogspot.com
 
I would share my blog but currently its down
 
FBI widgets anyone ? fbi.gov/news/Widgets
 
yeah sure
 
10:12 PM
I like the Sex Offender Registry one
 
i mean
totally
take down megaupload
and applanet
and i'll completely put your widget on my site
 
@copy yay, flash crap
 
codepen.io/darkyen/fullpage/emDfs @dystroy thats a forever scroller :D
which will cause your phone to crash in a lil while
 
Easy 25 points:
0
Q: How to make this code compatible with IE7?

dnbrvThis code works in all browsers except for older IE versions. It'll be accessed by users, some of whom are still using IE7. I'm not a coder and the author isn't available until next week so I'm at loss how to refactor it. for (var x=1;x<5;x++){ var st='select[name="Score_'+x+'e"] op...

 
guys, i kinda think i'm a vampire when it comes to web development
im always saying "just use jquery"
 
10:27 PM
You should attend a JA meeting
 
I have a creepy question, is it possible (in a built in way) to do some sort of template reflection in mustache? Getting all the attributes back from the template
first google result for mustache reverse lookup is "reverse hitler" :(
 
How do you get the length of an array?
 
@lawm .length
 
@BenjaminGruenbaum GET the length?
arrlen = arr.length;
It would be like that>
 
@lawm [1,2,3,4].length , yes
 
10:31 PM
?
@BenjaminGruenbaum A preexisting arrays length?
 
@lawm open a console and try it out
 
Okay I got it
But then when I get the last item in an array named vars it returns undefined: vars[vars.length]
 
@lawm javascript arrays are 0 indexed, they go from 0 to length-1
 
@BenjaminGruenbaum K thanks
 
Ok, I guess I'll write my own mustache, with blackjack and hookers :(
 
10:40 PM
What's the easiest way to do a time delay (aka pause the program for an amount of time)
 
@lawm, have you ever heard of this incredible new thing called Google?
 
@phenomnomnominal err
I found something, but it only runs a function after a few secs.
I want it to pause inline with the current function.
 
You don't pause execution in js.
 
@lawm I guess the easiest way to pause is to do alert("pause") and then click the "ok" button after the specified amount of time
 
@BenjaminGruenbaum What about silently?
 
10:43 PM
You can do it, but it's fucking awful
 
@lawm you don't have to make a noise when closing the alert prompt
 
@BenjaminGruenbaum Silent as in in the background.
 
@phenomnomnominal It'll get a lot easier in ES.next with generators :) It looks really promising
@lawm you can use prompt or confirm as well, they'll work
Or, you can actually structure your code, or read an API yourself, in jQuery for example you have .delay
 
@BenjaminGruenbaum IN TEH BACKGROUND MEANS NO ALERT BOXES
 
@lawm YOU DON'T DO THAT
YOU SIMPLY DON'T
 
10:46 PM
@BenjaminGruenbaum I'll look up the jquery way.
 
@lawm thefreedictionary defines background as " The ground or scenery located behind something." I don't see what ground there is
 
THERE IS NO JQUERY WAY
 
sigh afk, counting porn sites
 
Jeez in java, you just say sleep(1000).
 
@lawm no, in java you say Thread.sleep , in javascript you have no concept of threads as it is single threaded. You can use web workers or green threads but that would be a horrible idea
 
10:48 PM
@lawn here is an appalling function that i forbid you to use.
function pause (milliseconds) {
    var endDate = new Date().getTime() + milliseconds;
    while (new Date().getTime() < endDate) {
      // DO NOTHING
    }
    console.log("Paused for " + milliseconds + " milliseconds.");
}
 
@BenjaminGruenbaum: green threads?
 
And it all comes out so clean, when you put your entire program in a coma.
 
Never mind then.
 
Use fuckin callbacks
Don't ever stop the funk
 
@lawm embrace the power and robustness of single threaded non-blocking IO, it removes so much concerns, you can just set a timeout or an interval
 
10:50 PM
@lawm, whatever you're doing, you're doing it wrong.
 
Okay, unrelated, but is there a way to replace a word that starts with $ and is within a bigger string?
 
Yep there is. What did you try?
 
I don't know regexes :(
 
What an excellent opportunity to learn.
 
/(?<!\w)#\w+/ <- found this.
 
10:54 PM
Do you even know what that does?
 
Do you know HOW it does it?
 
No :(
 
Why don't you go learn how...
 
I'm looking for a clever way to do data-binding in an MVC framework I'm building for learning purposes, I'd like to bind the template to an object, making the HTML update when the object changes is pretty easy, the problem is getting the object to change when the html changes (for example, value property of "input" tag)
Now, my template is in mustache format, I can use mustache/handlerbars and also I don't mind writing my own mustache syntax parser. I'd like to change the object property when the HTML changes, I'd like this binding to be implicit , I don't want to have to set the attribute myself. I would love some suggestions. The only thing I came up with is stuff similar to {{%varName}} to create an input field for var name (something like editorFor in asp.net mvc)
 
10:59 PM
Okay I tried this -> val = val.replace(/(?<!\w)$\w+/, 'test');
Replaces "Hello this is a $foo"
with "Hello this is a test"
 
What do you want it to replace it with
 

« first day (832 days earlier)      last day (4130 days later) »