« first day (1285 days earlier)      last day (3657 days later) » 

12:02 AM
thank you!
 
12:28 AM
gist.github.com/rlemon/11198858 // cc @RUJordan @RyanKinal
 
@rlemon Explanation?
 
refresh, I posted a readme
you know sublime snippets right?
 
Ooh, interesting
 
so for this: BROOOOOOOOOO!!!! I just typed bro<TAB>
 
I'm not sure I have enough common-use phrases for it to be useful, but I guess we'll find out.
 
12:32 AM
and there is a new little button for you to add / remove snippets
albeit it is ugly interface.
think of little things like BROOOOOOOOOO that you end up hitting a lot of chars for
or things like emoticons ಠ_ಠ you could just make o_o<tab>
 
Right
 
which i just did ಠ_ಠ
:)
 
!!kitteninterest
 
@SomeKittensUx2666 That didn't make much sense. Maybe you meant: kitteninterest
 
interface is pretty ugly for now
 
12:35 AM
So, my dad just texted me and basically said "Your whole immediate family thinks it's a fucking fabulous idea to move to North Carolina."
@rlemon Not bad, though
 
hover to see what your replacement is, click the x to remove it, click add to add a new one
 
!!s/Nor.*/San Francisco."/
 
@SomeKittensUx2666 @rlemon San Francisco." (source)
 
things are stored in localStorage, so one pc only :/
 
@rlemon Yeah, figured
 
12:36 AM
@SomeKittensUx2666 So, my dad just texted me and basically said "Your whole immediate family thinks it's a fucking fabulous idea to move to San Francisco." (source)
 
ohh i'm going to have fun with this
 
@CapricaSix Well, that would be more extended family than immediate...
I have cousins and such in the Bay Area.
 
I have grown to love being assigned the creation of a new system. I know all my ideas will be torn apart, so I can just wing it and goof off.
 
now instead of caprica I can just type bs<tab> and post this:
 
1 message moved to Trash can
oop
you already unonebox'd
 
12:37 AM
whats the difference between $('one two') and $('one > two') ?
gives the same results
 
@SomeKittensUx2666 yea I let it run a few times to make sure slower people get to see it
tired of people bitching I changed it before it finished
 
@Kiss All twos under one will be selected for the first, all immediate child twos under one will be selected for the second.
 
@KissKoppány Put a couple extra divs between one and two, and you'll see the difference.
 
if you put exactly 1,337 divs between the two, you'll unlock the secret Easter Egg
 
@bjb568 I see, thanks :)
 
12:40 AM
Also true
 
@RyanKinal tried it, now I can see whats the difference :P
 
hi
do some catching up
 
hello
https://www.youtube.com/watch?v=5bpmFb7sVO8
so lovely ^^
 
I must say, I am absolutely delighted with this script. I fear overflow issues once the list gets too long. we'll see
i'm going to watch netflix and drink beer now
 
@rlemon Entirely reasonable.
 
12:47 AM
@rlemon Don't forget to be in your boxers
 
@SomeKittensUx2666 canada, cold.
 
i am goint to play hearthstone after work
i am so anticipating
kkk
 
@rlemon fur-lined boxers.
 
lol
 
you guys know hearthstone?
 
12:48 AM
@SomeKittensUx2666 Hot
Errr, warm! I meant warm!
 
@happenask I'm aware of it
@happenask Aaand generally, those three letters are not something to put together.
 
hearthstone looks like very fun
 
looks boring to me
 
card game not familiar to me
 
I've heard good things
 
12:54 AM
so i wanna play it
 
I kinda got TCG'd out in college
 
Indeed
 
    $('#members_container > .member').click(function() {
        $('#members_container > .member').removeClass('member_selected');
        $(this).addClass('member_selected');
    });

whats wrong with this? :(
 
What is it supposed to do?
 
$('#members_container > .member') has results
 
12:57 AM
@So
 
A needle pulling thread!
 
add a class to the clicked div
 
@SomeKittensUx2666 TCG'd??
 
Trading Card Game
 
WOW
is it able to put '>' into jQuery selector?
 
12:59 AM
@Kiss It looks fine...
 
@happenask I've just asked about that :D
it was new for me too
@bjb568 yeah but doesnt do anything
HM
could be a problem if the target div already has an onclick event?
when generating those divs I make an onclick event for them
 
remove onclick event and try out
 
tried, didnt help
 
and put alert method into click function and check out whether function executing or not
 
alert doesnt fire
 
1:06 AM
@bjb568 look who is still here
 
@KissKoppány make a JSFiddle
 
even if the generated onclick event is removed, it doesnt work lol
 
@PseudoNym01 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.
 
0
Q: Scala: NoSuchElementException in for comprehension

denodaeusI have a future result of a web request that I need to count the size of. If the current response has items, I need to make another request to get the next set, etc. If the current response is empty, I'm done. The code I have now: def list(prefix: String, lastItem: Option[String] = None, last...

 
more code plz k
 
1:16 AM
@SomeKittensUx2666 somewhy JS doesnt run, cant make it work in JSFiddle xd but atleast you can see the code jsfiddle.net/jXt6g/2
 
that's what I sent
 
oops. Anyway, you've got a syntax error and you're trying to add listeners to elements that don't exist.
 
oh yeah, because of the document load
remove it
it works here hm
maybe I put the code in a wrong place?
I think it doesnt matter since it hasnt changed anything xD
 
maybe you put script wrong place
 
1:29 AM
tried to put somewhere else but didnt work :/
 
doesnt work for me
 
Works for me...
 
not for me
sry
I made a css class on my solution and missed it on yours so I thought it was not working
works fine
 
Yay
 
1:35 AM
I use the same code in my project and it doesnt work why :(
 
0
Q: Does Type Script support some cool way to do promises

VaccanoI have been watching training today on Single Page Applications. In that training there are a lot of JavaScript Promises that are passed around. It reminds me of all the background worker callbacks my C# code had before I got to use Async/Await. This got me to wondering if TypeScript has a bet...

 
same code, same tags in html
 
Works for me ...
 
on fiddle works for me as well
but here it doesnt
you can fine the code in content.js
find*
 
Link timeouts.
 
1:42 AM
works for me
 
Huh
 
give me project file
i need to take a look at
 
2:26 AM
@IanBytchek 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.
 
$('#members_container').children('.member').click(function() {
    $('#members_container').children('.member').removeClass('member_selected');
    $(this).addClass('member_selected');
});
 
@Se0ng11 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.
 
@phenomnomnominal How will that change anything?
 
@bjb568 maybe the selector was fucking shit up?
 
I doubt it.
I bet he doesn't know how to include scripts / domready / onload properly.
 
2:38 AM
Times so far in this meeting I was unable to keep a straight face: 3
 
: 3
 
3:00 AM
!!kimapproves
 
@SomeKittensUx2666 Marketing meeting?
 
(almost) all hands
all non-remote hands
 
And no feet to stand on...
 
meetings are nice, because I get to sit
 
3:10 AM
as opposed to when you're working on code?
 
standing desk
 
you hipster you
I say while sitting here on my gym ball :P
 
@debbie 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.
 
Thanks :smile:
 
3:29 AM
!!let me out of your mind jail
 
:'(
 
Ah
 
!!please let me out of your mind jail?
 
What's the problom, engineers
 
3:32 AM
@debbie What's a problom, engineer?
 
:)
 
:)
 
fucking lazy designers
 
@monners Is that what your boyfriend does?
 
Is it really so hard to standardize your padding?!?
@SomeKittensUx2666 What, fuck lazy designers?
 
3:37 AM
yesh.
 
Well, I wouldn't consider myself a lazy designer...
 
We weren't talking about you.
(well, there was only one person, not we)
 
@bjb568 Errr, what?
 
Oh, whatever.
 
@SomeKittensUx2666 My partner's a network architect
 
3:40 AM
@bjb568 lol you got banned again? you're on your own this time :P
 
@Mosho I have no idea why I get banned?
 
@bjb568 did you annoy the lemon again
you need to learn you a politics
 
@Mosho Lemon wasn't even on the last time I was on before getting banned.
 
Hold up, if he's banned then why can we see his messages?
 
3:48 AM
in mindjail, not muted
 
He can't use Caprica
 
Does that just remove bot privileges?
 
@CapricaSix don't worry baby, I'd never use you
 
Ah, right
 
!!:'(
 
3:49 AM
@CapricaSix Your days are numbered. Zoe's gonna be the new Belle of the ball.
 
Zoe?
 
Zoe Graystone
!!wiki zoe graystone
 
Zoe Graystone is a fictional character portrayed by Alessandra Torresani in the Caprica television series. The character becomes the first Cylon created by Daniel Graystone. She is one of the primary characters in the series. It was later stated by showrunner Kevin Murphy that Zoe eventually became the basis for the Number Sixes. Development An interviewer asked Alessandra Torresani, "Alessandra, do you see all these different versions of Zoe as different facets of the same character, or do you see them all as separate people?" The actress replied, "No, I see them as the same blank pal...
 
that show was pretty horrible
 
@Mosho YOU TAKE THAT BACK!!!!
 
3:51 AM
Never heard of it.
 
@monners okay, I take that back
and replace it with
that show was pretty fucking horrible
 
!!s/horrible/awesome/
 
@monners that show was pretty fucking awesome (source)
 
I bet you didn't even watch it all
Took a while to warm up. then it got good. Damn good.
 
I watched it, and I wanted for it to get good
but it never did
 
3:54 AM
BSG good?
 
BSG was good for the most part
 
I mean, does Caprica eventually get to that level
 
that season about gaius was a drag though
 
because I was in the same boat of giving up on Caprica pretty quickly
 
@JamesManning never, it's several notches below BSG in storyline, production, everything
Fargo looks promising
a bit sensationalist, but understandable for a pilot
@monners what exactly did you like about caprica? was it the kid who wanted to put his penis in a toaster?
 
3:59 AM
@Mosho Maybe I'm just a bigger geek than you. I loved the backstory and the characters. BSG is to this day one of my favourite series.
I even rode the BSG dualing roller coasters in Singapore.
!!google bsg roller coasters singapore
 
idk, I'm a huge nerd, which is why I didn't like the drama-ridden caprica and a couple seasons of BSG
 
Check out those coasters. they're fuckin' badass. Launched lift hill side by side. Ones a traditional car coaster, the other's a free-hanging corkscrew coaster (aptly called Human and Cylon)
 
sounds awesome
I love me some rollercoasters, but no one to go with
I'll check it out
 
that first result's a POV video. Pretty decent
 
4:19 AM
@AjeeshM 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.
 
@monners pretty epic if you see the other train pass overhead and shit
but I expected more of a theme
 
@Mosho Yeah, it definitely feels faster than it looks, and that launch-start up hill is epic.
The theme comes from the queue. There are a whole lot of videos from the cast giving you a mission breifing
the two coasters have different lines.
Oh, and they both have a scale model fighter
 
lol awesome
next time I'm in singapore then :P
 
The rest of the park's pretty tame
 
4:37 AM
@Harri 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.
 
Huh?
 
@bjb568: oh oops, linked to the original
 
Link to dup?
 
0
Q: is there a way to execute a function when I have its name in a string

MotaBOSConsider I have a name of a function which does not require any argument in a var - var fn = "foo"; Can I execute it in some or similar like this - eval(fn); It does not work. Please suggest. My definition of function will look like this - function foo() { ....do something.... }

1
Q: Defining custom objects and functions in JavaScript (Part 2)

series0neBased on a question I asked prior to this, how would I qualify this string... "MyCustomObject.prototype.foo.bar" to this: window['MyCustomObject']['prototype']['foo']['bar'] in object form? (it must not qualify to... "window['MyCustomObject']['prototype']['foo']['bar']" ...as a string!)....

 
4:47 AM
Didn't review and already used up 10 close votes today. Siiiiigh...
 
just robo-review (i.e leave open) and win!
 
STOP! Look and listen...
 
Easy, just use hack to find audits for you
 
Well, that'd work.
 
10
Q: Why on the client side there is a field called "isAudit" when reviewing?

Ionică BizăuWhen reviewing anything on any site from the platform (Stack Exchange) there are ajax POST requests to http://[site-name]/review/next-task. The interesting part is that in the JSON response there is a field called isAudit that can be true or false. This made me curious and I verified when it is...

 
5:16 AM
Are these duplicates?
15
Q: Angular JS - Render value without data-binding

BlowsieIn angularjs how can I render a value without 2-way data binding? One may want to do this for performance reasons, or even rendering a value at a given point in time. The following exmaples both use data binding: <div>{{value}}</div> <div data-ng-bind="value"></div> How do I render value with...

8
Q: Genuinely stop a element from binding - unbind an element - AngularJS

ConnorI'm trying to find out how I can stop a DOM element from binding data from the scope in angular. I know that you could do this with if statements and all, but is there a genuine & permanent way to stop binding a element in angular but keep the content that was added? So say i have this <div ...

 
morning god
 
Hello Creature
 
would it be a good idea to start using ES6
how long does it take a version to sink in
 
5:31 AM
 
5:48 AM
@abacus 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.
@wavemode 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.
 
6:04 AM
Good morning
 
morning
 
morning
 
6:17 AM
morning
 
evening
 
morning
 
notacow
 
Hmm
 
 _________
< im a cow >
 ---------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||
 
6:31 AM
!!cowsay moo
 
 ____
< moo >
 ----
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||
 
!!cowsay Meat is Murder (and murder is delicious!)
 
 _______________________________
/ Meat is Murder (and murder is  \
\ delicious!)                    /
 -------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||
2
 
Yum yum.
 
can anyone shorten this?
# get prev non-whitespace token
getPrev = (index) ->
    index--
    while /\s|^$/.test tokens[index]
        index--
    return tokens[index]
 
6:37 AM
Is that coffeescript?
 
yeah
 
It kinda looks like Ruby
 
Gah. It looks like a mess…
 
Haters gonna hate
 
you can still use parentheses
 
6:42 AM
Parentheses... Pffft. If I wanted those I wouldn't have murdered my parents.
 
lolwut
 
Is there anything wrong with my answer?
-1
A: Pattern match check

bjb568if ('test1|completed'.indexOf('completed') !== -1) alert('found') indexOf will return -1 when the string is not found. It's faster and easier than regex, but if you want: if ('test1|completed'.match(/completed/)) alert('found') See also: How can I check if one string contains another substri...

 
I didn't downvote, but I left you a tip
 
Ok.
 
using alerts would awaken the emergency team
 
@Connor you can't close vote an answer?
 
he probably meant to scroll up and close the question.
 
@Connor Too lazy to bother changing the link? :P
 
@RUJordan Oh, it was the question, I must of accidental copied the link he posted, I'm always posting links to the answers when it should be the question
It's done now anyway
 
6:48 AM
Oh
Yeah it closed a couple minutes ago
Damn, the Hunger Games is kinda sad.
And violent
Finally watching it sober
 
when being hungry ?
 
@RUJordan Yeah a minute after i posted that
 
@RUJordan I think it's stupid.
 
@Connor I assume that's a string
 
@Mosho yeah
0
Q: Javascript animate CSS float property

user2019420I have a class added via JavaScript which makes a section float right and for this section class I want to animate the floating into it's position, however I have not found anyway to make this work. Is there a way to use css3 to animate floating?

 
6:53 AM
!!> var index = 3; "123 45".match(/[^\s]/g)[--index]
 
@Mosho "ReferenceError: index is not defined"
@Mosho "3"
 
you can also save the result of match in a closure
 
@bjb568 good to know?
Nice, when my tag score updates I'll have the PHP bronze.
 
@RUJordan Yes… I didn't know when it was ok to use alert(), then you told me, so it is good to know the new information, as I needed it.
 
just reading from a newspaper article that in USA, the government are deciding to allow alcohol powder or not. With that powder, you can mix it with water or spray it on your food...
 
6:57 AM
I can't stand alerts
every time I see an alert box when I open an example I get this little twitch in my left eye
 
@Mosho : did you not forgot the ' twice in the regex ?
 
It's good for pausing code execution, but other than that it's abused and quite annoying
 
Oi python guys
github.com/bbangert/beaker/blob/master/beaker/ext/sqla.py#LL131 <- isn't that line prone to huge errors ?
 
a python ? WHERE
 
@RUJordan but who was breakpoints
 
6:59 AM
*gets baseball stick *
 
@Mosho say what now?
 
@OctavianDamiean @SomeKittensUx2666 ^
 
@RUJordan to pause code execution
 
@AbhishekHingnikar BadgerGirl is a pythoner
 

« first day (1285 days earlier)      last day (3657 days later) »