« first day (1644 days earlier)      last day (3309 days later) » 

youtube.com/watch?v=yC2D14fBtow it's amazing how these things snuck their way into kids shows back in the day
 
The BB-8 droid is awesome :O
@rlemon that's nothing
Bunch of racist Looney Tunes cartoons, not to mention the propoganda and patriotic "Buy War Bonds" pitches
 
12:23 AM
@rlemon I giggled
 
12:37 AM
> greatful thanks in advance plz send asap
even better
 
LOL wtf
 
12:56 AM
doesn't it just bring you back to 2001
 
Oh wow, despite my credit card debt I have shockingly good credit ._.
 
yea so do I
 
You need debt to have great credit
 
surprisingly, paying your bills on time grows your credit fast
 
~30% of your credit line, I think
 
1:03 AM
I've never missed a bill payment on anything
 
my credit was terrible
 
Would it be smart to get a personal loan to payoff my debt into a fixed monthly rate?
 
2 years ago I couldn't get a phone without a hassle
now my credit score is like 910 or something
 
It took me 8 years to repair my credit. It's good now
 
@taco I fucked mine when I was 18-20
took a long while to get to a point where I could get a CC and then use it and pay it off
 
1:05 AM
@SterlingArcher what kind of debt is it?
 
Credit card
 
transfer it to a 0% credit line, then pay it off
 
a line of credit to amalgamate your debt is probably a good idea if you need it
often there is a much lower cost to the line of credit
 
Good luck getting a personal loan. Banks don't give them out
 
line of credit is what you want
 
1:06 AM
@SterlingArcher move to NZ, you'll get credit no problem
 
get one for 5%, then pay of your cc and then pay off your line of credit
 
I actually have meh credit thanks to paying cash for everything
 
0% APR cards, jump up to like 20%, so you just need to pay it off before it does
@SomeKittens 0 credit?
 
I just got a line of credit with 5% interest. for a sizable amount. no fees unless I use it
much less interest than my cc
 
@taco Nah, but I only got a CC in my name last year
 
1:08 AM
@rlemon nice
 
I don't have debt right now, so I don't use it.
but still, it was fairly easy to get with good credit at my bank
 
@SomeKittens If you're gonna only have one CC, get one with something like skymile rewards, then use it like a debit card, and pay it off every month
 
yea I use my CC for everything
pay it off every two weeks
the points I've scored is close to buying me a flight
 
@rlemon its probably that 910 credit score... haven't heard of anybody having a line of credit unless they had a business
 
it's fairly common in Canada actually
 
1:10 AM
interesting
 
amalgamating debt, the banks suggest it
 
wish i didnt buy a house
 
they now get all of your interest, you pay less. win/win
 
bought my house a year too early
 
:( houses here are expensive for where it is
lets just say I could get a better house for less in places in the states which are not bad at all
 
1:11 AM
you don't want one anyways
 
already bought one ;)
closing is in june
 
o
The main benefit for me was not having shitty roommates
 
renting is throwing my money away
I can make money on a house
 
or lose money like i have
it's a flip of a coin
 
not in the economy i'm in right now
 
1:13 AM
yeah but your mortgage is 15 to 30 years
 
if I can finish the basement and backyard, hopefully that will add an easy 30K to the value
 
@taco That's what I did
 
my mortgage is hopefully paid in 5 years.
I put 20% down
 
wtf, man. are you made of money
 
saved
 
1:13 AM
@taco How much did you lose (if you don't mind me asking)?
 
I didn't make shit until I was a developer
 
(and how does it compare to renting?)
 
@SomeKittens About $25,000 in lost equity.... should go up over time.
I'll probably get that $25K back.... in 10 years
 
I've been a developer for a while. last two years I've made good money and my cost of living isn't much where I am (like 19% of my income last year)
 
@taco Ouch. Yeah, bad timing
 
1:15 AM
Well I only paid $65,000, so I guess it could be much worse.
 
my house was 351k :(
and it isn't huge
 
One more question
 
1700sqrft
one car garage
 
$351,000 Canadian? That's like $50K in USD :p
 
:P
 
1:16 AM
Will getting personal loan to consolidate debt effect me getting say a loan for a new car when I can afford the payments?
 
@SterlingArcher it's a debt ratio thing
 
@SterlingArcher in Canada* a line of credit doesn't effect you unless you owe against it
 
No idea what that means
 
you gotta read up on debt ratios for credit checks
 
@taco wow, that's a pretty cheap house
 
1:17 AM
if you have an ok down payment, then you're probably gonna be ok
 
in Canada* a credit limit doesn't negatively effect you anymore from potential loans. we now look at actual debt.
this is recent.
 
I plan on having an awesome down payment
 
@SomeKittens 900 sq ft bachelor pad. 2 br 1 ba
 
I was shocked.
 
brick house, though. had to be brick. i hate wooden houses
 
1:18 AM
@taco unless you're on a fault line
 
@SterlingArcher debt/ratio... it's called DTI creditkarma.com/article/debt-to-income-ratio
It sounds like your debt shouldn't be more than 36% of your pay, basically
I think I'm gonna go try to get a MEAN stack working, bbl
Also can I get an afk thing with @CapricaSix some day
 
Oh this is a small amount compared to my pay
 
you're fine then I'd imagine
 
I just paid off the CC so my DTI is zero
 
Yeah, but that tanks your score
 
1:22 AM
gimme negative-interest loans!
 
It'll go down a few points a month
 
@taco I'll be buying a house soonish anyway
And my wife has great credit
 
Sign up for Credit Karma or something like that to monitor it
 
how "free" is Credit Karma?
 
Im applying for a loan then :) It's time I get my finances in order
 
1:23 AM
Your credit score is gonna affect the points on your loan then. Talk to your realtor about that
 
no more fucking up my credit card
 
not sure if Credit Karma is free. I paid for my score thing
ok, bbl
 
this is the house I just bought. obvy not my stuff in it and the pics were from a couple months ago
not shown, garage and basement
 
@taco Not actively house-hunting right now
 
So, does the interest rate vary by loan amount?
 
1:25 AM
@SterlingArcher the rate depends on how much risk they think you are. Apply for five or so loans within a few days. It won't hurt your credit score, unless you wait like a week between each
then compare the rates and loan agreement and pick one
bbl fo realz
 
So applying for a loan doesn't obligate you to take it?
 
@taco There's three different categories we're looking at, one of which is "buy with cash"
 
@SterlingArcher yeah, it's not an obligation to see the rate you'll get
 
solution: move to Canada - we're giving away jobs and ∎ money
 
I wouldn't move to Canada if they gave me a good job and free money
 
1:28 AM
afraid of real freedom eh?
 
can't blame you
 
> "eh"
 
ok bbl! :|||||||
 
;)
 
1:41 AM
If it's too hard Mia might I suggest a different career? — Mathemats 2 mins ago
flag pls. rude
 
gone
 
"dont tell me how to talk"
pfft. don't presume to tell others to change careers in our community -_-
 
and comments purged
 
Shog helped :)
 
@SterlingArcher seems to me if she can make a real question out of it, you could land some rep on an answer?
help you get past 10K
 
1:55 AM
Not worried about that. Was more just trying to give OP a chance to salvage the question
 
from my limited experience... they don't improve them :(
especially the 'Member for today's
 
aye :(
 
who is excited for friday
 
I took tomorrow off
so me
 
fuck you :(
 
2:04 AM
:D
 
boooo
 
oh shit tomorrows friday
 
Today is Friday
 
basically the traffic is already bad here due to construction. they're taking down a major bridge over the next two days and cutting one main artery from one side of the city to the next. including the highway. so I told the boss no way I was dealing with that. he understood.
 
@phenomnomnominal fuck you too :(
@rlemon what is traffic and how does it affect work? ;)
 
2:06 AM
I finish work in an hour :)
 
@KendallFrey hour each way is not enjoyable
not when it is 14km
 
@phenomnomnominal fuck it, I'm moving to Christmas Island
 
@KendallFrey Didn't Fairly Odd Parents already cover the hazards of Christmas every day?
 
I loved that show
Cosmo <3
I love how I can't pay my gas bill because their site is fucking up
 
I love how other people have bills
 
2:13 AM
hack the gibson
 
Thar she blows
I sql injected my payment into their DB :D
'; AND 1+1=2; INSERT INTO payments ...
xD
 
did you inject a little extra while you were at it
 
just a tip
 
gf: I had spaghetti tonight and now my stomach is a balloon
me: so it was prego
gf: what, no?!
me: <sigh> why does no one get my puns
gf: you are such a nerd
 
I lol'd
 
2:17 AM
she was less amused
 
 
1 hour later…
3:34 AM
 
4:02 AM
I honestly didn't think you could even USE emoji in variable names. Or that there were so many different crying ones.
4
 
@Feeds lol
 
4:42 AM
        <!-- There's a bug in scopes.js
        where we break one-time bindings

        Without one-time bindings, the following code
        leads to a rather large number of watchers rather quickly
        <table>
          <tr ng-repeat="watcher in ::digest.events">
            <td>{{::watcher.watch }}</td>
            <td>{{::watcher.time }}</td>
          </tr>
        </table> -->
for all you angular folks
 
4:54 AM
can someone help me debug this:
results.innerHTML +=" <!-- Button trigger modal -->
<br>
<button type='button' class='btn btn-primary btn-lg' data-toggle='modal' data-target='#myModal' id='btn'>"+
data[obj].user
+"</button>

<!-- Modal -->
<div class='modal fade' id='myModal' tabindex='-1' role='dialog' aria-labelledby='myModalLabel' aria-hidden='true'>
<div class='modal-dialog'>
<div class='modal-content'>
<div class='modal-header'>
<button type='button' class='close' data-dismiss='modal' aria-label='Close'><span aria-hidden='true'>&times;</span></button>
the json works, but not the innerhtml
 
innerHTML should be avoided.
Use a templating system instead
What you have leads the door wide open for XSS
 
it's just for presentation reasons only
 
"presentation"?
 
client side
 
That's where XSS happens
 
5:01 AM
i'm following the develop php tutorial
what should i change the innterhtml to then?
 
@phpPluginMaster Your best bet is a templating system like Mustache
 
mustache?
 
is it essentially jquery?
 
It has nothing to do with jQuery
 
5:07 AM
how do you do multiline innerhtml comments?
 
@phpPluginMaster Don't use innerHTML, like I said
 
i'm looking for quick, and easy
show me what to wrap it in
 
3 mins ago, by SomeKittens
https://github.com/janl/mustache.js/
 
how do i use it now?
 
If you can't read documentation, then I can't help you
 
5:11 AM
if you can't write quick, and easy references, i don't have time to put up with bad documentation
{} didn't work
 
@ApathyBear How are things in your corner of the bay?
 
aww, mustache looks easy, but how do i wrap the output i already have?
wrap the var in {}
what if i need to do for loops though?
no one is on :(
 
5:30 AM
@phpPluginMaster ideally templates should be logic less, I mean, most of the Template engines support loops, but in my personal opinion, I try to do not apply logic in templates, in my case I run loops in JavaScript and inject a single templates/dom on parent template
Not sure if you checked out this stackoverflow.com/questions/13399816/…
 
5:52 AM
hey guys !
hi my name is Alexander .
i have a small question about s very small script i have , in Jquery
 
@AlexanderSolonik 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.
 
Thnks !
in that script notice this perticular line
var classes = buttons.filter('.active').map(function() {
return this.id;
}).get()
now does get() execute after all the this.id's have been stored in classes
or does get() execute on every this.id as its being stored in classes .
?
 
!!tell Alexander jquery get
 
Basically if you call it with no arguments it will return an array
 
5:58 AM
yeah Qantas i get that part :)
.map() returns a Jquery object and get() converts it into a normal JS array !
 
Uhuh, so what don't you get
 
suppose i say
var classes = buttons.filter('.active').map(function() {
return this.id;
}).get()
and suppose there are two .active classes .. that means there will be 2 iterations !
now will get() wait for the two iterations to finish and then execute
or will it execute as and when each return this.id; is returns .
 
Well filter will return a jQuery object with two elements in it
if there are two elements with the "active" class
then map will go over every element to get the ID
 
Am I allowed to ask questions in here
 
!!welcome Matthew
 
6:03 AM
@Matthew 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.
 
I'm not 100% sure if this is the right room, but the code is writtin in javascript. I need help with making datatables responsive. This is my code <link rel="stylesheet" type="text/css" href="//cdn.datatables.net/responsive/1.0.5/css/dataTables.responsive.css">

<script>
$(document).ready(function() {
$('#example').dataTable( {
"paging": false,
responsive: true
} );
} );
</script>
 
yeah Qantas that right
but will get() execute only after map has executed on both the .active elements ?
 
Yes
map returns first, then get acts on what map returns
 
so u mean get() executes only after .map() has been completely executed ?
 
6:18 AM
@royhowie it's a bit long-winded IMO
 
@Qantas94Heavy but this person has asked numerous questions and not marked a single answer as accepted
and he's gotten good answers on all of them
nvm he just did it
 
10
Q: How to deal with new users that don't accept answers for their questions?

TannerHere's the subject of my question. This is a newish user that I answered a question for a little while ago. His response was "thanks it works for me now", to which I advised him that he could mark the answer if it was helpful. After some while had passed and I was reviewing activity, I noticed ...

 
Thanks Quantas !
 
7:05 AM
hiii
 
@Abbie 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.
 
mm help me to learn javascript
 
thanks
will it teach the basic ones??
 
It takes you from zero to hero.
 
7:07 AM
good
 
tbh the key to being good (at any language) is to just write a lot of programs
so the syntax becomes second nature and you can just focus on concepts (not "how do I write this actual method")
 
@Abbie It might take you a little bit of re-reading to really grasp what the author wrote, so don't get discouraged! After a few chapters it will become more natural. Read again, write little programs, ask questions, and continue learning. ;-)
 
@RoelvanUden I had actually never seen this book b5. This is pretty good. I like this better than all the other JS guides I've seen.
 
@royhowie Yeah, it's written by Marijn Haverbeke (tern, acorn, code mirror), so good author at least :P
 
@BenjaminGruenbaum stackoverflow.com/questions/29692486/… do you think promises are more difficult to learn than callbacks (initially)?
 
7:17 AM
Callbacks are really straightforward. It will take quite a bit more effort to really grasp promises, at least, that is what I think.
 
@RoelvanUden same thoughts here
 
7:36 AM
good afternoon..
 
@YatishRaj 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.
 
Hello, can I ask what is the nice plugin for toast message ?
 
Hi all
 
@Hiran 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.
 
am unsuccessfully trying to create a blob from an base64 string.

The variable base64 has an image(encoded in base64).

var blob = new Blob([window.atob(base64)], {type : 'image/png'});
var url = URL.createObjectURL(blob);
I have created the following jsfiddle as well

http://jsfiddle.net/83PQs/6/
 
7:53 AM
@royhowie Context?
 
anyone here using firefox developer edition ?
I need a volunteer
 
@Hiran You're doing it fine, the image just seems to be broken
@tereĆĄko Gimme 4 minutes and I can volunteer
@StevensHaen The javascript engine
@tereĆĄko Hit me
 
well, I need a verification that mans.lmt.lv/lv is not working
 
> The connection to mans.lmt.lv was interrupted while the page was loading.

> The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
 
got it
looks like i will have to report a bug
 
8:01 AM
@Zirak context on what?
 
meh, nvm
 
the promises/callback thing?
click the link; was referring to his comment
 
8:17 AM
Mornin'
 
Morning
Can someone explain to me in which scenario would using prmNames be convenient ?
i am talking jqgrid server side paging
 
@SomeKittens I was up in San Carlos, and if you are asking what it's like to live there, well... it was kind of boring lol. Although now I am in Los Angeles. Planning to move again though. Do you live in the bay?
 
8:49 AM
Dumb question, @BartekBanachewicz are you a relative of the Banachewicz from Cholesky–Banachiewicz?
 
@BenjaminGruenbaum unfortunately, I don't think so
neither am I a relative of Stefan Banach
 
altough my uni math teacher used to mock me a bit for the name
as if I wasn't good enough for it :D
 
also
in Lounge<C++>, 18 mins ago, by Bartek Banachewicz
I PASSED THE DRIVING TEST!!!111
 
8:56 AM
Nice, congrats
Didn't you get a bike recently?
 
@BenjaminGruenbaum I did
@BenjaminGruenbaum thanks :)
 
Grats on that too, didn't you need to pass the test first to ride it?
Or did you pass the car test?
 
@BenjaminGruenbaum that one was a car test
 
@Mosho has a bike too, well, more of a pink scooter. Lots of swag
 
@BenjaminGruenbaum no, it's a very small one. about that size ^
 
8:58 AM
@BartekBanachewicz nice :)
 
mine looks like this
 
Much better than @Mosho's, which is a little girls' bike.
 
is his really pink?
 
Yes, it's also a scooter and not a real bike.
 
I didn't want a scooter because of the way you sit on them
also mine has a manual gearbox and clutch, so it's more like a "real" motorcycle
 
9:00 AM
He thinks real bikes are dangerous so he rides scooters instead. He wears a too too skirt while riding it too.
true story :D
Right @Mosho?
 
I dunno, the small wheels on scooters are pretty scary too. Especially on roads like you can find in GdaƄsk, cobblestone and the like.
 
He mostly uses it to drive to a vegan place he really likes.
 
@BartekBanachewicz Danger is his second middle name. The other is "Kimberley"
 
lel
also, Superstition is a cool song
 
@BenFortune 3D dom again?
 
Wait what??? There's no String#reverse in Javascript?
 
why should be
reverse should be a free function
reverse :: Traversable t => t a -> t a
but of course old prelude defines it as reverse :: [a] -> [a]
 
[].reverse.call doesn't quite work on strings either
 
@JanDvorak what
 
9:24 AM
I said "in javascript"
 
@JanDvorak Because reverse mutates like a bitch
 
so... split/reverse/join it is?
@BartekBanachewicz dude, I love Haskell as well, but denying the existence of any other programming language is a bit over the top, don't you think?
 
@JanDvorak nah, I just wonder why does it work like that
I mean pure reverse could theoretically be turned into mutable reverse
if you have pure, lazy reverse, you can use it in, say:
x = [1,2,3,4]
x = reverse(x)
so that the actual mutation happens optimally
I'm not sure if I can think of any scenario where I'd want a strict reverse
 
does Haskell have non-recursive let, BTW? As in, define a new variable and hide the old one for the code below
 
9:35 AM
@JanDvorak "hide the old one" ?
ah you mean with the same name?
not sure
I think it's not possible. Shadowing can occur iirc in function params
 
Do assignments behave that way, but entering the list monad just to do x<-[sth] is kinda ugly
 
list monad is weird
 
List monad is my favorite monad
 
@BartekBanachewicz because a pure lazy reverse makes no sense.
It can't be lazy
At least not for lists
Because well, getting the last element already requires enumerating the list.
 
Javascript has native "arrays", not lists
 
9:38 AM
what if you want the first last element
 
You already paid for enumerating the list, reversing it as you go isn't more expensive.
@JanDvorak [].reverse.call works?
!!> [].reverse.call("Hello")
 
@BenjaminGruenbaum "TypeError: [].reverse.call(...) is read-only"
 
wa
In Chrome it fails worse, because mutable.
I wonder if this is specified somewhere.
 
It silently returs the original string boxed in my tests
stems from that assignment to string indices is blackholed
(which is a fail)
 
THE
10:41 AM
!!google using jquery to reset width and height of a div changes it's display property to inblock from none why
 
THE
google doesn't helps, or maybe I need to sharp my search skills, any help ?
I couldn't replicate the behavior on jsfiddle, going to recheck my code
where my div is getting "display:block" from ?
!!google when can a div get automatically display:block
 
10:58 AM
hello
@CapricaSix hello
 

« first day (1644 days earlier)      last day (3309 days later) »