« first day (984 days earlier)      last day (3971 days later) » 

2:00 PM
http://stackoverflow.com/questions/17321839/regexp-what-is-the-regexp-for-scpr-20130330-0012-church-view-bp-exact-match
 
@jAndy @FlorianMargaine creativejs.com/2013/02/…
 
And I thought the Rhino documentation is updated, haha
 
I cant test it on this machine
but its the 4k demo in JS using webgl
 
@BenjaminGruenbaum do you see my sentiment here stackoverflow.com/questions/17322196/…
 
2:03 PM
@Esailija yes
 
am I way off or
 
No no, what he is doing is incredibly wrong and beats the purpose of Angular
What you're doing sees fine, but the ng-click should trigger a function that sets it to false/true accordingly
 
yeah that's what thought.. the boolean is the isInEditMode
 
(Also, you have ng-hide)
 
@BenjaminGruenbaum It would be nice to add it. Because this is not happening only in the Chrome console.
 
2:06 PM
DOMA was just recognized as unconstitutional in Cali woot
 
@BenjaminGruenbaum ok, can you fill in the blanks
$scope.editMode = function(obj, id) {
    if( ???.isInEditMode ) {
        return;
    }
    ???.isInEditMode = true;
}
 
obj?
@Johnツ What's the output of {"a":1} in Rhino's shell?
 
ok, not this or $scope? :P
 
anyone know how to hide/show columns in google charts?
 
fucking deal extreme.
 
2:09 PM
@projeqht Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
@projeqht Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
Hmm, that if is pretty pointless though
 
they list the product as 110v/220v/240v input and THEY LIED!
 
@Esailija pass the object to the function
In the ng-repeat
And just the object
 
meh, can you answer it ..D
 
2:11 PM
why am i responding like a bot?
 
... because you're a bot?
 
@dievardump Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
beep
 
@eazimmerman Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
@Esailija some dude just put a bad answer
Really? Your solution is to do DOM manipulation for something that can be easily solved declaratively using ng-hide? This is bad Angular. More over - this looks like it's not very testable, what I'm conceptually doing is hiding the element, not some event's target when this function executes. — Benjamin Gruenbaum 1 min ago
 
:\
!!"To Bot" or "Not To Bot"
 
2:13 PM
@eazimmerman That didn't make much sense. Use the help command to learn more.
@eazimmerman "Not To Bot"
 
lol yeah I saw that
 
$scope.editMode = function(obj) {
    obj.isInEditMode = true;
}

<li ng-repeat="data in list">
        <span ng-click="editMode(data)" ng-hide='data.isInEditMode'>edit</span>
</li>
@Esailija ^ Should work, try in jsfiddle first
 
@BenjaminGruenbaum write an answer
 
@Esailija so upvote my comment :P
@JanDvorak naa, I want @Esailija to :P
 
ok I need to find a tutorial D
 
2:15 PM
anyone? trying to figure out hideColumns for google charts...
 
3
Q: how to hide column in google charts table

RelborgI've got a Google Charts Table that displays a couple of columns and rows. Say for instance we have 4 columns(A,B,C,D respectively). How would I be able to still load column C's values, but just hide the column so that it's not getting displayed? Thanks in advance!

!!dubstep or easy listening
 
@rlemon easy listening
@rlemon easy listening
 
@rlemon dubstep
 
@eazimmerman o_O
srsly dude
 
i'm not doing it :C
 
2:18 PM
at least change the invocation pattern
you have the bot running douche
 
oh.
lol
 
change the invocation pattern for yours
 
umm
hold on
 
@BenjaminGruenbaum I have some trouble :D jsfiddle.net/wYmVD
 
I didn't realize it did that
 
2:19 PM
lol
 
@Esailija protip: jsfiddle html indentation works if you /> all self closing tags
the parser goes ape shit otherwise
 
0
Q: Coffeescript : Uncaught RangeError: Maximum call stack size exceeded

Joey Salac HipolitoI am receiving this error in my console. I know this gives me an infinite loop, but I have no idea why. I just intended the check status to be run once the document has loaded and do it a couple of times every 5 seconds. Lets say an app the checks if the user is still logged in, applicable if I h...

 
fuck you I want to write html
 
lol
 
2:20 PM
@rlemon how would i change the invocation pattern? create a fork?
 
!!/mustache JoeySalacHipolito
 
hahahhahaha!! nice one!
!!/mustache rlemon
 
@eazimmerman open your console and type
 
2:21 PM
 
bot.invocationPattern = 'foobar';
then the bot is listening for foobar/
 
@loading... Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
@BenjaminGruenbaum way ahead of you jsfiddle.net/wYmVD/1 the change is not working and I don't know where to get the text from
 
and you can kill the listener to
 
@Esailija Y u complicate things? My fiddle is what OP asked for :P
 
2:22 PM
bot.listeners[]
 
I dunno it's first time I write angular and got kinda excited
 
@eazimmerman have you never opened the console and checked out the bot before?
 
nope
 
she is sexy undressed
 
@Esailija lol, my fiddle is what he asked for, it's like 6 lines of code including the list :P
@Esailija Yours has an IIFE and a prototype
 
2:23 PM
how about my question,
 
@JoeySalacHipolito ?
 
@BenjaminGruenbaum and half working editing too :D
 
foobar test
 
0
Q: Coffeescript : Uncaught RangeError: Maximum call stack size exceeded

Joey Salac HipolitoI am receiving this error in my console. I know this gives me an infinite loop, but I have no idea why. I just intended the check status to be run once the document has loaded and do it a couple of times every 5 seconds. Lets say an app the checks if the user is still logged in, applicable if I h...

@BenjaminGruenbaum
 
@rlemon is Caprica just a user running on a vm?
 
2:25 PM
@JoeySalacHipolito new Foo or new Foo()
 
!!help
 
@JoeySalacHipolito What's ` #do this` and ` # do that` ?
 
2:25 PM
so it must be Foo();
 
yea nvm
it doesn't matter.
 
@JoeySalacHipolito no...
 
nothing in that code looks like it would bust to me
 
me too, but it throws a range error..
 
2:26 PM
return in the document.ready function is strange.
but I don't think that should bust it
and it works here
 
is it possible to create a element with jQuery but don't wrap it?
 
@JoeySalacHipolito What's in # do this ?
@rlemon You can use coffeescript in jsfiddle
 
lets say its a console.log
 
yea but I prefer to see the generated output
 
@Esailija answer
 
2:28 PM
@Dracony Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
@Connor umm, yes?
 
@BenjaminGruenbaum how...
 
@Connor var element = $("<div>")
 
var element = $('<div>');
element.attr('id', 'hello');
@BenjaminGruenbaum ?
try that
@BenjaminGruenbaum i mean don't unnecessarily wrap with jQuery methods
 
s/methods/object/
 
2:31 PM
wew, works fine in fiddle... there is something wrong in my code then
 
@BenjaminGruenbaum I did.. now is there built-in directive ath fires on blur/change event
so that I can hide the input again
 
@Dan Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
Dan
I'm trying to get some help with this, and I think jQuery may be the solution:
0
Q: What CSS to use to avoid website cutting off for users with low screen resolution?

DanHere is the code for my existing site: http://jsfiddle.net/syQgH/1/, the relevant CSS is shown below: body { background-color: #e1ddd9; font-size: 12px; font-family: Verdana, Arial, Helvetica, SunSans-Regular, Sans-Serif; color:#564b47; margin: 20px 200px 20px 200px; } #conte...

 
and how do I focus the input when I start edit mode
 
it's fun when I see colleagues copy pasting my code from SO :D
 
2:36 PM
yay
1
A: AngularJS / jQuery: Get object in controler

EsailijaLike I said in my comment, you should have a backing data model and have the reactions declared in your angular html. Here's example fiddle: http://jsfiddle.net/mVCkY/ <li ng-repeat="data in list"> <span ng-click="editMode(data)" ng-hide="data.isInEditMode">edit</span> </li> function Dat...

 
Does document.write('<script>...') preserve script execution order?
 
@ŠimeVidas yes.
 
The hell is ng-something?
 
Hi Guys,
 
@linguini You've offended women everywhere.
 
2:37 PM
@OctavianDamiean Angular
 
@BenjaminGruenbaum I don't like that.
I haz spoken.
 
@linguini Hi.
 
Sorry. Hi Guys & Girls. Can anybody what is wrong with this simple batch script to copy the folder contents to another folder.
xcopy /s /q plain*.* C:\DNP\HotFolderPrint\Borders\4x6\plain white\ /y
@BadgerGirl Salut
 
windows, probably
 
!!> "JavaScript" === "batch";
 
2:39 PM
@rlemon false
 
I thought so, but had to be sure.
 
@linguini We have a special guy here handling all scripts relating to copying stuff. His name is copy.
 
@BenjaminGruenbaum Cool
 
but you have to first beat his game
none of us have got help yet :(
 
@linguini congratulations! you have reached 100 questions!
 
^ rage will ensue
 
@FlorianMargaine ??
 
@BadgerGirl how do you get past the 1st level?!
 
the rage-quits I experience from copys game take me back to my SNES days.... minus hurling remotes at the television.
@FlorianMargaine best i've got is getting to the last platform.. but then I ran off.
 
@FlorianMargaine Jump over the apple, keep jumping in the same place avoiding the spikes. Jump on the suns multiple times. Don't jump too high.
 
2:42 PM
@BenjaminGruenbaum like I found this but it does .focus and blur in controller jsfiddle.net/joshdmiller/NDFHg
 
can't get past the middle spike
 
and hides the input in controller too
 
Dan
!!/info
 
fuu
 
@Dan I awoke on Wed, 26 Jun 2013 02:09:48 GMT (that's about 15 hours ago), got invoked 41 times, learned 104 commands
 
Dan
2:43 PM
@rlemon yup ^^^
 
the more I see angular, the less I like it
 
@FlorianMargaine Which means proportionally, you liked angular infinitely prior to knowing it existed
 
@Neil yeah, it kind of attracted me
 
This attracted me
 
@FlorianMargaine What do you think of Backbone.js out of curiosity?
 
2:47 PM
sexy logo + nice font + backed by Google === nerdgasm
 
@Neil I guess it can be compared to vapor.js?
 
@rlemon I think google could put their logo on a piece of crap and I would consider buying it
 
fun little read
 
I've answered a duplicate. This Q+A is totally useless (as it's a duplicate). How can it be deleted ? Do I have to delete my answer first ?
 
@FlorianMargaine How so?
 
2:49 PM
I don't really get what backbone.js brings to the table tbh
 
@BenjaminGruenbaum ok this was ridiculously hard jsfiddle.net/wYmVD/2
I would have expected those to be core directives
 
user1125394
hmm how would you shrink a date 2013-06-20 19:52:29 this is already alwost minimal but in tables it's large
 
@rlemon next will be "G+"
:3
 
@FlorianMargaine It's got kind of a neat thing going for it with the #events
 
@cx convert to number
optionally, offset by 30 years
 
2:52 PM
@Loktar have you got Age of Empires 3 ?
 
@Esailija I'd probably use an ng-switch to switch the elements bound to the same model but yeah, I always wondered why there was no ng-blur
 
user1125394
yeah just the 20
 
@ThiefMaster A question about closing/deleting : I've answered a duplicate. This Q+A is totally useless (as it's a duplicate). How can it be deleted ? Do I have to delete my answer first ? Is there a clean process ?
 
Yay, I may become the new C# guru at my office
 
@Darkyen yeah
 
2:54 PM
@dystroy delete vote it, then post delv-pls in the php room
 
@Loktar i am torrent - downloading it now ... is it fun to play ?
 
user1125394
hmm .toLocaleString()
 
// torrenting since quitting jobs i am poor again
 
@BenjaminGruenbaum I can't vote to delete this question. I don't know what are the rules for deleting but I frequently can't vote to delete.
 
@Darkyen I dont know if I've ever played it
 
user1125394
2:55 PM
!!> new Date().toLocaleString()
 
@cx "Wed 26 Jun 2013 05:55:35 PM UTC"
 
last one I remember playing a lot was Age of Mythology
 
@dystroy Post in the php room with a delv-pls
 
@Loktar daym
 
That'd totally work
 
2:55 PM
age of mythology was epic
 
yeah that game was fun
AoE II was really good as well
 
age of empires 2 forever!
 
U NOW MAKING ME GO THROUGH 400 DVD /c CD :-(
 
thanks @ThiefMaster but what's the clean process when you don't want to bother a mod ?
 
to find it :-(
 
2:56 PM
toLocalString is awesome
 
user1125394
@CapricaSix what's that 'PM GMT' shit miss
 
don't answer, just VTC
 
toTimeString as well.
 
that way the question will be auto-deleted after some time (closed, no answers, likely negative score)
 
@Loktar what do you say you vs me + my gf AOM / AOE 3 :3
some day :D
 
2:56 PM
!!> new Date().getTime()
 
user1125394
new Date().toLocaleString()
"26/6/2013 16:55:33"
 
@Neil 1372269415770
 
user1125394
no PM GMT for me
 
!!wiki ascii 85
 
@JanDvorak That didn't make much sense. Use the help command to learn more.
 
user1125394
2:57 PM
I guess that's the locale adjustment
 
oh dear lord, so much misinformation stackoverflow.com/q/17323292/995876
 
@Darkyen maybe some day lol I have requests from my son I still need to honor :P
 
@JanDvorak The Wikipedia contains no knowledge of such a thing
 
he wants to play against me in War of Roses currently
 
@Loktar What is war of roses ?
 
2:58 PM
its a midieval combat game
 
yeah I love his pens
 

« first day (984 days earlier)      last day (3971 days later) »