« first day (1797 days earlier)      last day (3376 days later) » 

00:02
@rlemon I'm gere
here*
@rlemon I was sick last week. Watched 6 seasons of friends.
Have you seen the IT Crowd. It's such a funny show. Not many episodes sadly.
@rlemon ping ping ping ping
@Luggage RxJS > Bacon
More features, more support
00:13
@SterlingArcher wutchuwant
I'm sold. bacon.js cares too much about dom events, anyway.
phone sex?
give me 30 mins?
00:14
late dinner
i haven't eaten yet, i might not be here in 30
but that's ok
aww, well, you can hang out with us, buddy.
life didn't give me lemons today :(
But it's prolly for the best. I need to do laundry and eat and shower
00:18
Probably all generated Go code
// all work and no play makes Jack a dull boy
// all work and no play makes Jack a dull boy
// all work and no play makes Jack a dull boy
2 billion lines.
Also, the comparison to operating systems is a bit silly
in terms of complexity, I don't think it's far off. You have widely-used base services, lots of shims/adapters to interop with 3rd parties (like drivers), etc.
Operating systems are complex (on a low level), but they don't actually do that much
Especially the Linux kernel
> all 2 billion lines sit in a single code repository available to all 25,000 Google engineers.
00:24
an operating system is more than the kernal, it's all the core apps/tools, ui, etc.
that must be one helluva contract you have to sign
all of the nda you would have to go through
I suspect it's still separated and it's not a single git repo. Android, itself is a pile of git repos.
> “Though I can’t prove it,” Potvin says, “I would guess this is the largest single repository in use anywhere in the world.”
more like one server-group with consistent access as opposed to lots of seprate repos, like an SVN repo for this dept, a Hg repo for that one
just quoting the article
00:26
then they forgot to say "except for the 200 android repos"
more like one gitlab instance for all of google
@Luggage It says that, just read the article
I read it.
I'm reading between the lines and offering what I think they mean.
they claim their own version control system, and that it is really one repository
they distribute in parts. that just makes sense
but to internal engineers, according to Potvin, it is one repo
Is it possible to specify a command to run after connecting in ~/.ssh/config ?
There's LocalCommand but that's on my box, not the remote one
hm.. should be a way to change your shell, at least.
00:31
no, in ssh config
I know how to do it from terminal
yea, the asker asks that but it's not in the answer.
ah, I just looked at the answer
@SomeKittens You could use the local command to do ssh <remote> command
and you don't want to change you shell on the server, i assume.
@copy haha, I suppose that works. Along the same lines as an alias
00:33
Assuming it doesn't lead to infinite recursion
although that would leave me with an open terminal in the remote box
which is nifty but not what I'm after now
@SomeKittens Does it?
lemme try
why have ssh someServer run a command that's not a shell? Do you have another entry in ~/.ssh/config for when you want a shell?
well, first of all, LocalCommand doesn't respect aliases set in .zshrc
@Luggage that was the plan
@copy Yep, runs the command and then I'm remote w/ homedir
00:38
@SomeKittens Not for me (probably version difference). I think you can turn that off with an option
what OS?
Linux
I think a script that just uses the ssh alias is more clear:
# doSomethingOnProduction.sh
ssh myClient-production 'psql or some other command'
how the frak do I check my ssh version?
@copy OSX, for what it's worth.
@Luggage Yeah, I've got an alias as well.
ssh -v works for me
osx, but it is openssh
00:40
@SomeKittens -f -N
Meh
oh, CAPITAL v
wait
that was all on the remote server
[rk:~/]$ ssh -V
OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011
welp, I'm behind.
ohh, lowercase -v shows the version AND the usage info
homebrew prolly has a better one.
@SomeKittens I meant, use -f -N to run ssh without the terminal
00:45
ooh
Mmm, I figured out what I needed with bacon and rxjs. I did have a question though. reading through the documentation it looks like both libraries use jquery like crazy. Can I actually use either of these without jquery, would anyone advise that?
What am i doing wrong with this clearInterval i have be trying to get this right for a few hours and still cant figure it out. I want to click the div id and stop the setInterval jsfiddle.net/Le8qx8ke
@AndrewMata RxJS doesn't use jQuery
I use it a lot in Node.js
@SomeKittens would you recommend Rx over Bacon? I'm making use of react and would like to use one of these libs for my project.
Just a single apge application that takes input and stores it all onClick and retrieves by means of local storage later
Rx is very good
TONS of helpers, etc
later on you, once you've improved your Observable-fu a bit, might find it more efficient to use a smaller lib.
but for now, nothing wrong with Rx
01:01
Are there any good ways to do pathfinding on a disconnected graph? A* will search an entire connected graph before giving up. I want a way to identify unreachable destinations quickly.
Thanks, going to read more documentation and do some research but seems like allot of people including netflix like Rx, it just looks allot more complicated then Bacon lol
Oh well, nothing good comes easy.
yeah, there's a LOT there
@Tsea jsfiddle.net/rlemon/Le8qx8ke/7 now, figure out how to do it without a global, and you have a winner.
I just wasted my entire morning on the DUMBEST thing.
I believe in you
you can do it
01:16
That stops the countDown but im trying to start the countDown every 4mins and user will have the option to reset the 4mins if they click before the countDown hits 0. @rlemon
neat
now adapt what I showed you to do that
lol ok thanks for the help. I think i could figure it out from what u showed me
fetch(`maps.googleapis.com/maps/api/directions/json?origin=${from}&destination=${to}&key=${key}`)
  .then(function (data) {
    return data.toJSON();
  })
  .then(function (json) {
    console.log(json);
  })
  .catch(function (err) {
    console.log(err.message);
  });
anything stupid there?
getting "Failed to fetch"
Is the request succeeding?
I think it's something to do with JSBin's anti-spam tech
in that it's coming from a different origin
200, empty response...
01:32
Well, that's no valid JSON
well, nevermind
I have to pay to get current driving times.
 
1 hour later…
user406009
Eh, callbacks aren't too bad.
user406009
In some cases, they can be simpler than promises.
@Lalaland but that's not a particularly maintainable approach
when the use becomes more complex, people will just continue adding callbacks
user406009
Yes, yes, yes, promises compose much better.
user406009
However, they are much more theoretically complicated.
02:45
But it's a simpler mental model
And we have now entered the discussion of callbackhell.com
To me personally, one of the biggest flaws of JavaScript is that it promotes nested callbacks. It's just easier to think about.
I love promises, but I really need to get into the habit of using them
@Lalaland Sounds like programming. Every single function we write can be written as mathematical formula. It has been proven. Yet we don't think them like that.
You can use Idris and prove everything you want
user406009
But then the question becomes whether or not you are proving the right thing.
user406009
And thus the cycle continues.
02:58
Then it's a bug in the specification
What I want to say is I don't really care how theoretically complicated a feature is. If it is reliable and conceptually simple, it is almost always good for me.
Or a feature
user406009
Lol, of course there exists a "considered harmful" essay about correctness proofs.
user406009
I wonder what things don't have a "considered harmful" essay written about them nowadays.
Obviously
"Considered Harmful" Essays Considered Harmful
And so the circle closes
03:03
Physics: Theoretically complicated, but day to day, it works just fine.
user406009
04:16
Darn, TCP really starts performing poorly when you start losing packets.
user406009
This 20% packet loss is killing me.
04:29
In case anyone cares, here's a generator that yields Pokemon according to the Fibonacci sequence: jsfiddle.net/stg615wu/3
@SomeKittens That is literally the most useful thing I've ever seen. Literally
morning
04:45
Great backtrace
No recursion involved
@rlemon I'm sorry dude, but this beats Pizzas fillmurray.com
05:29
I just find out that CSS has wavy underlines. And Firefox seems to support it, alone, for over four years: stackoverflow.com/questions/6821365/…
Doesn't seem to work in Chrome 44 though
which reminds me.. I should update to 45
why am I on 44?
No. Chrome is working on it. Ticket opened in Dec 2012. Fortunately, it is only assigned two months ago, so there is hope.
didn't work for me in any browser
Link is in the answer. It is not on Edge's radar yet, but if we vote for it it will change.
Edge is a terrible browser. you can't run 3rd party scripts in it at all. I understand there are a lot of malicious scripts out there, but damn man, I can't even run my adblock?
I still use IE11 on Win 10
05:35
Well, we can't hope for IE 12. So Edge will be our next best vote after Chrome's bug tracker. Can we vote for Safari?
@Abhishrek Hahaha. Why are they asking about India's independence anyway?
@Ṣhmiddty Thanks a lot, man :D
At least Microsoft is working on the votes. They even put Ogg on high priority, meaning they are working on it. Didn't expect that from MS, even 4200 votes is indeed a high vote.
@rlemon That channel looks pretty great!
05:54
Mornin'
Hm, day 83 of my 100-day badge.
Don't fuck this up now :P
hehe
I had a close call with mine :)
Yea, I've been on 70-ish before
mine reset at like 94 because we had a 3 day power outage and it didn't count my login on my phone for some reason
Then I went on vacation. No internet at all, there
@Claies: app? or site?
I thought I had went to the site, but I never really did figure it out
doesn't matter, I did eventually get the badge :)
06:00
Yeah, I believe it only counts if you visit main
visited 772 days, 150 consecutive
I think my count never go pass 20...
I should write a robot.
I sat at 9,991 rep for like two days, and then got near 100 rep in the last 24 hours lol
I've pretty much given up 10k now
course I have that funky ratio, since I have 0 questions asked
At some point I might fix that, maybe...
06:04
> visited 1256 days, 7 consecutive
I've been at 9k rep for ages
Can't be bothered to deal with main anymore
well you still have a question with 199 up votes
or an answer to a question, at any rate
my highest is like 15
pretty sad actually
I honestly don't know how that answer took off
People just love GIFs, I guess
I once quoted the official angular docs and got 120 upvotes for it. It basically comes down to wether you get lucky with the google ranking. If you do, that's a positive feedback loop and it'll keep bringing in visitors
My answer got featured on Sime Vidas' thingamajig, which brought in a lot more upvotes
Turns out the OP wasn't really being clear so my answer didn't even answer the question and isn't checked
06:10
Web Platform Daily. That's what it was called!
I still get upvotes, got like 2 yesterday, so I guess it helps people
Hahaha
I think I try to hard to cherrypick questions I know I can solve
When I was active on main, I'd look for questions that I found interesting
If I didn't already know how to solve it, that was great, because I could learn
Yeah, my ideal "question" is one that is interesting and that I can't just answer off the top of my head
those are hard to come by, most questions fit the "easy to answer" bid but it's hard to find interesting ones
06:15
I'm confused, I was looking through the close queue, there is a question a guy asked in 2012, got an answer to, and he just came back today to add some sample code to the question? lol
and it doesn't even look like something I would spend two years trying to decide on, either
My top answers have 16 votes each.
well, I think it's time to go blow some cars up in the desert
or, at least, play Mad Max :P
@Claies google indexes this chat. You're now on a list somewhere.
Wow. There are 4mil users with 1-200 rep.
I'm sure I am; good thing there aren't any deserts near my house.
This whole politically correct paranoia nonsense is just tiresome anyway
06:31
Political correctness and political paranoia are rather separate things.
06:45
@Doorknob yes, there was a crash due to urbandictionary not responding and my code assuming that even in case of error res would be defined when provided in
request(url, function(error, res, body){
As often, the error was in the error handling code ^^
console.log("Error in box fetching", url, error, res.statusCode);
guys i may be asking a silly question
07:05
The most silly question is a question not asked.
in his defense he said "may"
@RoelvanUden challenge accepted.
Has anyone really been far even as decided to use even go want to do look more like?
@JanDvorak Nor did he ask an actual question :-D
i have a json array like this
[
{
"YEAR": 2015,
"MONTH": 2,
"CHANNEL_CODE": "MB426",
"POLICY_NO": "11JLA5QVN000544",
"ASSU_CODE": "JLA",
"VEHICLE_TYPE": "VAN",
"VEHICLE_USAGE": "Hiring",
"VEHICLE_CLASS": "DP-VEH",
"VOUCHER_NO": "2015/MC/03588",
"CLAIM_NO": "2015JLACQVN02863",
"CLAIM_COST": 7500,
"PLACE_OF_ACCIDENT": "PAMUNUGAMA"
},
{
"YEAR": 2015,
"MONTH": 2,
"CHANNEL_CODE": "B015",
"POLICY_NO": "14HDO5KCA021237",
"ASSU_CODE": "HDO",
"VEHICLE_TYPE": "MOTOR CAR",
"VEHICLE_USAGE": "Private",
"VEHICLE_CLASS": "MOTOR-CAR",
"VOUCHER_NO": "2015/MC/03589",
when i do this
for(var k in $rootScope.json_string) keys.push(k);
i am getting keys as 1,2,3
why is that?
Because a for..in loops through the keys of the prototype chain.
07:11
how to get the keys
Do you have JSON, or an array?
json
like above
Then you have to parse it first
i did
k = "8", keys = ["0", "1", "2", "3", "4", "5", "6", "7", "8"]
@JanDvorak any idea?
How did you?
07:26
Jsoobj = JSON.parse($rootScope.json_string);
for(var k in Jsoobj) keys.push(k);
Jsoobj = JSON.parse($rootScope.json_string);
for(var k in Jsoobj) keys.push(k);
can babelify be used without browserify ?
Use babel directly
08:16
I just ordered coloring for my beard. This might be a new low point in my life.
And I've worked with Adobe Flex.
08:29
So, you're gonna dye your masculinity?
You realize this basically makes the beard, and therefor, your masculinity "fake"? ;-)
Beats having a half-grey face
But yes, as I said, a new low point in life
1 message moved to Trash can
@user2248441 Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq. For posting large code blocks, use a paste site like gist.github.com, hastebin.com or pastie.org
I'm trying to play an audio clip each time an element is added to my SVG using d3.js, however it only plays once. Can anyone help?

imgs.transition()
		.delay(function(d, i) {
			return i * 750;
		})
		.each(function(){
			audio.play();

			audio.currentTime = 0;
			if(audio.ended) {
				console.log('ended');
			}
			else {
				console.log('not ended');
			}
		})
		.duration(1000)
		.attr('opacity', 1);
08:44
what sort of calls can set the charet position to the end of the input string?
@SuperUberDuper I'd try setting the input value to itself
I need the api surface that would do a charet move as we have mixture of jquery and vanilla
so I can do a search on this large codebase
Someone familiar with Kendo UI ???
@NoughT 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.
08:59
Here is the Q ..
http://stackoverflow.com/questions/32623574/bind-kendovalidator-object-to-custom-grid-update-popup
09:36
hi, anyone using AD with there development
Morning guysss
Anyone knows how to find 'n' in this formula ?
p = (n*n + n + 2) / 2;
That's a math question
I only have access to p, for example p = 7, n should be 3
Well, yeah..
Hint: quadratic formula
shouldnt there be some math wizards here
09:39
Why should?
Nah, only pinball wizards.
Aw :(
for some reason when someone says pinball wizard I immediately begin to hear the who playing in my mind
@Neil That's exactly why I said it :P
ah, you were thinking that too
maybe that's where the term comes from :P
09:45
Term?
Is that a song?
var quadratic = function (a, b, c) {
    root = Math.pow(b, 2) - 4 * a * c;
    root1 = (-b + Math.sqrt(root))/(2 * a);
    root2 = (-b - Math.sqrt(root))/(2 * a);
    return [root1, root2];
};
function solve (p) {
    return quadratic(1/2, 1/2, 1 - p);
}
@choz Yep
@phenomnomnominal Wow, let me learn that code atm
09:46
@JanDvorak See.. there's always math wizards around
2 upvotes in 30 seconds on a question like that, nope.
@choz not a math wizard, just not in the mood for teaching.
Oh btw, does anyone knows what '±' letter called in english? or in javascript?
It means plus/minus
Which is why the quadratic function above returns two values.
ic.. i'll need to start from wiki this quadatric thing first then..
coz im totally lost
09:49
@choz how old are you?
@choz youngin'!
grabs popcorn
"this quadratic thing" - yeah, you do.
25 :(
stupid, aint i
or indian
09:50
@choz did you go to high school?
english is not my native.. im kinda blind on math in english
yeah but i failed :p
rofl
± is "plus or minus"
maybe there's a better term, but that's how I've always called it
that's the actual term afaik
flip it and it's minus-plus
-2
Q: payubiz payment gateway integration to html application

RavuWe are creating a application for college ,here we are using html and javascript only.now we want to integrate payubiz paymentgateway to our application.pls help me someone .how can i pass the url.please provide a sampleurl with full mentioned.

09:56
Shadow DOM v1 status Chrome: http://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/Ez2cuT0KmQo Saf: https://bugs.webkit.org/show_bug.cgi?id=148695 FF: https://bugzilla.mozilla.org/show_bug.cgi?id=1205323 Edge: http://dev.modern.ie/platform/status/shadowdom
Ayyyyyyy
@phenomnomnominal I've figured the solution in javascript to be like this
Math.floor(Math.sqrt((8*p-7)) / 2)
do you think its invalid?
Try a different value of p other than 7 and see what happens
do all the jquery methods like parents,next,find all return jquery elements?
Yeah, solidifying the fact that JQuery works much like a virus
so its better to prefix vars assigned to these with $
@SuperUberDuper Personal preference really
@phenomnomnominal ure right, need to fix this
10:08
@choz *you're
@JanDvorak TQ
!!urban tq
@JanDvorak tq short version for thank you.
what's everyone listening to?
@Cauterite The Smith Street Band: Sunshine and Technology
10:13
@Cauterite BMTH - True Friends
Currently: Lisa Loeb Youtube mix
@Cauterite Immortals
@BenFortune sounds like their style has really changed since I last heard any of their songs
@Cauterite It really has, their new album is really melodic
I'm really liking it
!!youtube bmth true friends
A bit like when ADTR released Common Courtesy
dat font
I'm listening to Diverge & Proton Kid – Nightvision
The Who - Baba O'Riley
Moved onto some Megadeth :>
10:22
Nick Cave - Red Right Hand
IE11 console not there is a opportunity for see CSS generated via script
51
A: How to inspect elements on dynamically created DOM by using IE developers tools

jdlnThere is a reload button in the toolbar to the right of the floppy disc icon. Hitting this also works.

This not help me...
anyone know how to see full CSS generated on console in IE?
IE11 not help anyone...
There is a good tool that I can emulate IE11 to older version...
10:25
@MirkoCianfarani Edge
@Neil who invited me to this room

4newbie75

Trying to help someone with his PHP+Javascript, need more resp...
Everyone should listen to this: youtube.com/watch?v=_KQT54sn-Kg
@BenFortune oh yes edge
admin wanna look in above room ?
someone is spamming invites and asking for fake upvotes
@PleaseTeach There are no admins here.
10:34
any moderator here, or maybe we can't do anything
Just flag the question with a link to the comment
does react use promises
@SuperUberDuper No.
10:43
Exactly.
How one would unit test cron job(mocha, node, node-cron lib)?
@Srle What do you mean?
You wouldn't unit test the cron job itself, you'd unit test the application/code that cron runs

« first day (1797 days earlier)      last day (3376 days later) »