« first day (1854 days earlier)      last day (3109 days later) » 

10:13 AM
user image
2
 
crl
10:24 AM
github.com/facebook/react/issues/5463 @BenjaminGruenbaum @m59 @Loktar @Mosho @Luggage @anyoneReact sorry for the pings, but that thing's weird
@AwalGarg how do you get a js.org address:)?
it looks really 'official'
john@internet.com
 
@GNi33 one of us 2.9
 
2.9 to France ;)
 
@GNi33 you willingly listened to it until the very end right?
 
of course, 3 times
 
cool cool cool
I'm in Paris right now, wanna come?
let's go see the bitches or w/e
 
10:30 AM
 
crl
fun thing my little brother looks like this
 
@FlorianMargaine haha, I'm afraid I won't make it
 
@AwalGarg I want you to do a complete code-review
evening today
 
10:38 AM
@Jonathan hehe, nice
I love that series
 
crl
this = knife?, sorry me not smart
 
it's a machete
have you not seen any of the Friday the 13th movies?
 
crl
nope, oh shit we are a 13th
 
Hi, I'm looking for a way to wrap my JS files into an IIFE after running them through babel via grunt. I was searching for a babel plugin/option but didn't finde one (maybe I was looking in the wrong place?)
 
10:58 AM
Hi anyone have authentication with Google end points with facebook?
 
@Irfan 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.
 
@CapricaSix thank you.
 
crl
11:15 AM
Irfan view?
I r fan of u
some crap image software that my dad uses
 
> ... and the iPad Pro feels almost like a laptop. Emphasis on almost. It's not a laptop, unless you decide to buy the optional Apple keyboard for $169.
a keyboard for one hundred sixty nine bucks ? oh apple
 
crl
Can you save a <Something>something</Something> in a something.jsx and then call it another react component render function?
definitely apple
 
@crl something like that
 
crl
ok, how more precisely? if I can ask:)
 
I don't know, I was just messing with you mostly :P
 
11:28 AM
@crl If you export it. That just turns into a JSX element, and a React render function should return a JSX element.
 
crl
@RoelvanUden so render: require('templates/something.jsx') ?
 
Friday the 13th. #2spooky4me
 
user3119231
Hello JS experts
 
@rlemon there is a lottery of euromillions today, to win 129 million. If someone wins, then friday 13th doesn't exist for him/her
 
crl
how many friday 13th are there by year, in average? with 2 decimals
 
11:40 AM
12/7
!!> 12/7
 
@KendallFrey 1.7142857142857142
 
how do you get that result ?
 
crl
oh right, that was simple
 
7 days a week, 12 months a year
 
ah yes
 
crl
11:42 AM
there's 1/7 'friday 13th' per month
technically there can be a year without friday 13th right?
 
a year?
without? sure, I think so
I'd have to double-check
 
crl
yep, not often, I guess, but possible, have to deal with months's days number etc..
 
Mm, not a calendar year I guess
> The longest period that can occur without a Friday the 13th is fourteen months, either from July to September the following year being a common year starting on Tuesday (e.g., between 2001–02, 2012–13, and 2018–19), or from August to October the following year being a leap year starting on Saturday (e.g., between 1999– ...
 
crl
fourteen > 12 oh calendar year, ok
 
@crl If that one does module.exports = <Something> then yes
 
crl
11:46 AM
@RoelvanUden ok :)
 
Though I'm not sure why you'd do that
 
when is the longest period between two blue moons I wonder
that wouldn't be easy to calculate
 
crl
@RoelvanUden CMS, choosable template per element
 
Is this guy serious? He's literally asking for that iOS app banner, I give him a link, then he asks for something that shows "Open app" when the app is already installed... stackoverflow.com/questions/33690776/…
 
11:50 AM
TIL Blue Moon is a pretty poorly defined term
 
@KendallFrey Googling it would be a bad idea, I'm guessing?
 
no, good idea
 
crl
!!duckduckgo blue moon
 
@crl That didn't make much sense. Use the !!/help command to learn more.
 
@crl Cap only supports search engines. </shotsfired>
 
crl
11:52 AM
!!learn ddg duckduckgo.com/?q=$encode($0)
 
user3119231
@Cerbrus this is life.
 
@crl Command ddg learned
 
!!ddg test
 
!!google test
 
Cap's rather slow to respond...
 
!!refresh
 
crl
!!> var o={4:1}, a=[2], m=[...a, ...o]; m
 
@crl "TypeError: o[Symbol.iterator] is not a function"
 
crl
!!> var o={1:1}, a=[2], m={...o, ...a};JSON.stringify(m)
 
12:01 PM
@crl "SyntaxError: invalid property id"
 
crl
oh ok, sorry, should work tho when Cap will understand es6
 
12:17 PM
@crl whois js.org, get email of owner, send an email asking for one. I also have awal.js.org btw :)
@Abhishrek I am too full of things today. Next week?
 
lol sure
 
btw @crl IIRC he said he has a limited email space (it just forwards to my personal email) for js.org. Like 5 or 10 emails lol
 
Is it possible to see the event queue list in browser?
 
short answer: no. Real answer: no. Technical answer: yes.
 
@AwalGarg: How to see in "technical" answer?
 
12:21 PM
strace
@Abhishrek I'll ping you on hangouts when it loads. Be ready.
 
user3119231
How is getPosition possible without asking for permission?
 
@Maurize only think I know is that yesterday I got fallout 4
and can't play until I'm home again :(
 
user3119231
@Neoares I got my FO4 jacket today :D
 
where?
show!
$("#maurize_jacket").show()
sorry for jQuery
 
user3119231
This one. Took 2 months to deliver
 
wow
is radiation-proof?
 
user3119231
Rad-resistance +50%
 
nice!
 
user3119231
womans -5
 
12:28 PM
it doesn't have online, right?
fallout 4 I mean
 
user3119231
No, no online mode so far
 
it would be awesome since it's a RPG game
 
user3119231
FO4s brother elder scrolls ONLINE is out
 
user3119231
Nah I would rather say sister
 
hehe
 
12:30 PM
Some games just aren't suited to being online. Elder Scrolls is a great example.
 
same with fallout, maybe?
but 2-4 coop could be nice
 
ES online is the shittiest game Bethesda made maybe ever
I'm a big ES fan and I was beta testing ES online, but it was disgusting
 
FO4 is pretty bad too :-P
 
I feel like I'm the only one that likes fo4
Maybe because I didn't spend a lot of time in 3
 
12:32 PM
I like fo4 but never played another fo
 
@AwalGarg LITERALLY UNUSABLE
 
omg should be fixed
 
ikr
still not fixed btw
 
> The bug is cause by the logo being too wide. The #hlogo a has width 150px. Setting it to 151px fixes it. For real!
 
FO4 would have been a good game. 6 years ago. Nowadays the animations, UI and graphics style is just sad. I'm impressed how Bethesda never managed to get animations right in a single game.
 
12:35 PM
Really? The game looks great to me
 
Combat has also been poop in every single of their games.
 
I think they did really well with the graphics considering the age of the engine, actually
 
Yes, considering the age of the engine should not be an excuse.
 
@RoelvanUden it's not about graphics, it's about the meta
 
@RoelvanUden No, I mean I think the graphics are good
And it surprises me due to the age of the engine
 
12:36 PM
If your system can handle it, the graphics are excellent
 
I was expecting much worse, especially after seeing the trailer
I have everything maxed though, I don't know how bad it looks on medium
 
@Cereal: An engine can be improved
/ has been
 
Similarly, they never made a third person camera that works well. What is with that god awful side-looking third person mode that's way too far and clunky, unnatural feeling and mostly in the way. I'm awaiting mods for FO4 to fix TP camera so maybe I will play it at that point.
 
@Cerbrus I have no hope for the gamebryo engine
 
I have the graphics on Ultra. It still looks shit compared to other modern games
 
12:38 PM
Doesn't mean they're bad
Actually I disagree, I Don't think they look bad
even compared to modern games
 
Considering the massive open world...
It's not bad at all
 
user3119231
I think fallout 4 is worth the money.
 
user3119231
(is this valid english?)
 
@Maurize Yup
 
12:39 PM
@Maurize this is you
 
Someone somewhere at Google makes sure that no fucking programmer in the world could write a single usable userscript for any Google related webpage.
 
user3119231
@Neoares damnit, you got me.
 
I got FO4 for like 50 canadian. I wouldn't have bought it if I had to pay full price
 
Why da hell do they obfuscate everything so badly
 
I got FO4 for 42€
it's fine, considering it's 60€ on steam
 
12:40 PM
@AwalGarg I think that means they've obfuscated it really well actually
 
@AwalGarg Because google is serving that script to millions and millions of systems an hour
 
@Neoares It's like 80 canadian
;_;
 
I pirated FO4. Then again I didn't play it for more than 1 hour. I'll buy if if mods fix the problems :-)
 
It's minimized as far as it can be
 
@Cereal I know, canadian keys are cheaper, but not compatible with steam europe
 
12:41 PM
@RoelvanUden Herecy
And problems? wat?
 
user3119231
@RoelvanUden Help me to become a good pirate.
 
If I had to buy every shitty game I played for 10 minutes to an hour I'd be broke. So much bad shit.
@Maurize Eh? It's simple. Download. Extract. Run.
 
I don't pirate shit anymore
Ever since I got a job
 
user3119231
nevermind. Back to the topic.
 
I still pirate the CoDs, Battlefields, stuff like that
 
12:42 PM
I used to pirate windows. Then I met linux :D
 
But Fallout? Bought it.
 
user3119231
@Neoares I've waited !2! months for this jacket. This is shit.
 
not amazon at all
@Maurize did you get the mask?
for another +50 rad-resistance
 
I just like seeing my steam library grow ._.
 
user3119231
I already own a gas mask :D
 
12:45 PM
Found the russian!
 
user3119231
I prefer my ghoul mask
 
@Cereal How many games have you got?
 
@SomeGuy Fallout 4 was my 500th!
 
Hahaha jeez
That's insane
 
No, @Loktar is insane
 
12:46 PM
Oh, yeah, everyone knows about that
He's got more games than all of us combined
 
Too made greenlight happened
 
user3119231
Reading your comments is like: feedthehead.net
 
He could have owned the entire steam library
 
There are many other reasons why greenlight is crap though
 
Some good thigns have come from it
 
12:49 PM
@Maurize what's that
 
Mostly games that would never have been on steam, got on steam. Lots of shit though
 
user3119231
@Neoares this is the weirdest thing I've ever seen in my whole (short) life
 
Yeah, quite a few of those games that have got on steam should never have been there :)
 
user3119231
@Neoares you can drop the dudes eye, pick it up and let him eat his own eye.
 
Not that it bothers me too much, I'm pretty good at researching games before I buy them
 
12:51 PM
This got on steam
Blizzard actually promoted it
Which is neat
 
This also got on steam
but I see your point :)
 
> Dating Sim
 
shit. I just noticed all my naming is in snake case :(
 
urgh
anyone else ever had to try and use teh jira API from atlassain ?
boss is now like 'use this, its brill!'
I ask if anyones actually done anything with it yet other than looking at the docs
'.....'
 
@djsmiley2k Sounds like it'd be horrible
Since it's Java, probably lots of SOAP calls
 
1:03 PM
There's a JIRA API?
This place I'm at is run by atlassian fanboys, we have Jira, we have Stash, we have Confluence, we have HipChat, we have FishEye, we have Bamboo. If Atlassian makes we have it. Surprised they haven't found some way to use the API yet.
 
Man, that interview was shady as fuck
 
It's rest.
@ivarni yes there's an API, rest. We have stash, jira, confluence, hipchat too
Do I work with you ;)
I don't know what fisheye and bamboo are yet, but we've prob got them :D
 
!!info
 
@rlemon I awoke on Fri, 13 Nov 2015 11:56:46 GMT (that's about 1 hour ago), got invoked 2 times, learned 459 commands
 
Also what's this team stuff?
 
1:10 PM
friday 13 :o
 
FF is taking 1.3gb of memory
time to restart cap
 
maybe use chrome
 
@djsmiley2k bamboo is a CI server that aims to be crappier than Hudson
 
@Neoares maybe no
 
maybe why
 
1:10 PM
rlemon: chrome
cap: FF
 
:o
 
no fucking around with VM's or incognito
 
and who's using edge?
 
yo mama
 
xD
 
1:11 PM
Is she still not stable with nightmare?
 
she is. logging in isn't (for me)
but that was only ever attempted (by me) on my GoDaddy VPS.
my Dedi might handle it fine?
 
Hm, might need to change this line if you're going to try it
Github's headers boned me the last time I tried something like that
 
@FlorianMargaine @Loktar Happy Friday the 13th!!!!!!!! #2spooky4me
@BenFortune I had it working, but then they changed something with the login DOM or something else. idk.
just stopped working
 
!!afk lunching some vegan stuff I found
 
1:17 PM
vegetables and sadness?
 
Oh yeah, the whole login for SO got updated didn't it.
#se-login to #login-form should do it
 
Hi guys
 
Hello.
 
I've a question about jquery plugin
 
good morning neverland
 
1:19 PM
@BenFortune yea, I did correct for the login stuff, but it was still flakey (I assume due to another non-form-input related change)
can't describe it, never looked into it much
 
let's all have a very productive friday
 
can anyone help me ?
 
@SiamakA.Motlagh Won't know until you ask your question
 
@SiamakA.Motlagh 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.
 
Ok, I'm coding a jQuery plugin. but faced a problem. in my plugin i'm trying to create a method which triggers on some situations. The problem is: How can i pass parameters to the method.
'$("#box1").orbital({ })'
$("#box1").pluginName({ someMethod: function() { /*.. some code ....*/ } })
 
1:24 PM
and the problem is?
 
I need to do it like this: $("#box1").pluginName({ someMethod: function(parameter) { /.. some code ..../ } })
 
so?
.. and the problem is?
 
so I get this error:
Uncaught SyntaxError: Unexpected number
 
let me consult my crystal ball...
 
1:26 PM
My guess is... it is a syntax error :/
 
you are essentially asking us to fix your fridge, then showing us a picture of some milk.
 
be more specific, put together a demo. maybe show the line that throws that error
idk. anything.
 
Hate vanilla milk. But yours is jQuery milk so ok... I'll hate it with more passion.
 
I'm not sure it's about the syntax. but let me make it more clear
 
1:28 PM
vanilla milk is actually quite sickening
too sweet
 
I feel that way about soy milk in general
Don't know how anyone can drink that stuff
 
Unless your code explicitly throws an error inheriting from, or itself, the SyntaxError constructor, it is quite unlikely that it's not "about the syntax".
!!> throw SyntaxError()
 
@AwalGarg "SyntaxError"
 
mah favorite error throwing line
 
$("#box1").myplugin({


triggerOn: function(30) { // line of error
var r = Math.floor(Math.random()*256);
var g = Math.floor(Math.random()*256);
var b = Math.floor(Math.random()*256);
var a = Math.floor(Math.random()*256);
$("#box1").css('background-color','rgba('+r+','+g+','+b+','+a+')');
}
});
 
@SiamakA.Motlagh 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
 
Uncaught UglyCodeError
 
@SiamakA.Motlagh you pass arguments to functions, not primatives
function foo(1) {
  // this is wrong
}

function foo(a) {
  // this is correct
}
foo(1); // now 'a' is 1 in the scope of the function
 
I know but how can i do such thing? I mean where should i define 'a' ?
 
-_-
 
1:33 PM
on the code above
 
I just told you
 
let me see
 
Perhaps you should go into programming 101 again?
 
which reminds me "let us c" is a terrible book, btw
 
@AwalGarg Haha, you guys have that as the recommended textbook too?
 
1:37 PM
lol, no need to attack the guy. we were all noobs at some point, heck, i still am
 
I've never looked at it, but they keep using it
 
@SomeGuy they thankfully don't force it on us, but yeah.
 
Yeah, they don't really force any books on us anymore. That's nice
 
I looked at it. It had an old cover and smelled old. I like old books. Read it. Don't wanna think more about it.
 
@AmericanSlime but his linkedin says 49 people endorsed his js skills
:P
 
1:41 PM
wtf is linkedin lol
 
@AwalGarg please tell me you're serious
 
@AwalGarg It's a professional networking website
 
Jon Stewart kills them :P
 
@KendallFrey err, no?
 
guys :| Got a question of practices. IF I have a class which contains a collection, and I want to create a socket class that uses a collection of that class, what's the proper way to manage that conceptually?
Eg, the socket class subclasses net.Socket and the main class contains a Mongo.Collection
 
1:51 PM
how can I create a mini network feeding from my real network (isolated network with a handful of pc's)
I have a couple gaming routers
 
I assume you want routers and not hubs or switches, right?
 
0
Q: how to get value of an attribute javascript

brainmassageThe below var is assigned to an expression/object instead of a string var id = moduleBody.children[0].attributes[0]; Expression/object: id = "1213156415611" But I just want to get the String. What function should I call to get the number String?

Can anyone make heads or tails of that?
 
@Cerbrus assuming (quite a fair assumption) that attributes part is from the DOM API, all attributes return strings only. He wants to cast it to a number. So he needs parseInt/Float/Number/+ whatever.
 
That's what I thought
But:
> "But I just want to get the String."
 
maybe this question was posted by a highly experienced markov generator?
 
1:57 PM
@KendallFrey I have switches
I just want to be able to plug my laptop and N other devices into a switch/router and have them isolated from the rest of the network (but the router still serving DHCP)
also, they need internet (which would be provided from the other network, hopefully)
 
@rlemon: That's what I got. But I don't recall my router settings
 
Hmm, I think you'll need a second router to isolate them, and I doubt you can use the main router for DHCP in that case
I have no experience here though
 
I need main router for DHCP for the existing network
:P
 

« first day (1854 days earlier)      last day (3109 days later) »