« first day (2052 days earlier)      last day (2898 days later) » 

1:00 PM
hi anyone here know about node and angularjs?
 
@user125535 Welcome to the JavaScript chat! Please review the room 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.
 
@user125535 Nah, nobody does.
What are they?
 
-________-
 
@user125535 Node, yes. Angular, not so much. Ask away, anyways.
 
I was just wondering when using the routeProvider in angular, since the controller field takes the name of the controller function, then the directory of your controllers have to be in the same directory as your route?...
 
1:10 PM
@user125535 not really, controllers are not scoped based on script path. they are all in the same global scope (angular's bag of controllers)
 
@AwalGarg yeah, did that
 
cool. now publish it on npm and remove it the next day to claim your title of the guy who broke the internet
 
:D
 
ohhh i see thank you
 
sure thing
 
1:14 PM
morning
no extjs room :'(
 
Hi guys
do you see what I see?
 
I doubt the light from your computer screen in Jabalpur could reach my eyes here in Delhi. So no.
 
@AwalGarg did you never goto a school?
 
unfortunately I did :(
 
@AwalGarg and you forgot to learn basic conversational skills
anyway, what the fuck is wrong with the chair market in India
none of those chair (High/Low price) look comfortable
 
1:22 PM
@Abhishrek well you asked a bad question :P Can't answer without knowing what you are seeing
 
I linked you
 
I assumed you are talking about some glitch in the website. Anyways, yeah, those look bad. I don't really know much about furniture though.
 
I have 2 nested divs <div class="maindiv"><div class="icontop></div></div>
there are 2 separate click events one for maindiv and one for icontop like $('.mainDiv').click(function) and $('.iconTop').click(function)
becuase iconTop is included inside mainDiv so when I click on iconTop both the functions are called
is there any way to prohibit this?
 
!!mdn stoppropagation
 
I mean if iconTop is clicked then iconTop will only be called?
 
1:30 PM
@PeeHaa Something went on fire; status 403
 
mdn search is based on google search :)
 
Don't tell me mdn also uses google...
Gees
 
@PeeHaa will this work?
$('.icontopr').click(function(e){e.stopPropagation();
 
I am not a JS interpreter...
 
1:36 PM
I am and it won't. Missing closing parentheses.
 
@PeeHaa mdn search sucks
@Luggage and brackets.
 
yea, them too.
 
well, only one
but hey, I ain't no pedantic
 
ohh, i thought you were saying brackets plural, just like "pants"
 
"pants" is a weird word
 
1:38 PM
Indeed.
 
hey, I got a question for you
 
just ignore parentheses
 
the thing I'm working on is a bash wrapper, it will pass stdin to bash, conditionally
the "conditionally" is what I'm wondering about
you're supposed to use the wrapper as if you'd use bash, and when you're in an sshfs folder, it will pass them over ssh instead
however, I can't pass e.g. cd or you'll never be able to get out of it
 
This idea sounds full of those special cases and very difficult.
 
but I can't just exclude cd, because it won't take care of aliases
so I was thinking of a mode you enable with e.g. start
which is automatically disabled when you leave the folder
@Luggage yeah, that's what I was thinking
the mode thing looks better
 
1:42 PM
hey
 
alias cd='rm -rf'
 
this ng-init never works for me :/ All I want is to set first item selected in select input. Here is what I tried: hastebin.com/guwiyubeyu.django
 
if it's a mode, you are close to just sshing into your destination.
if I understand the goal..
 
Am I ? @@
angular JS is not piece of cake.... as it most of the time never works. XD
 
Man! There is always a blank value gets inserted at first option.
Not sure why!
Found this question: stackoverflow.com/q/12654631/1944896 , Exactly same as my issue.
But no answer worked for me.
So I was right about angular JS XD
 
that SO answer suggests that the ng-model is not in the list and that was my guess from your code, too
I don't know shit about angular, though
 
it looks like you access stores[0] and stores.selected which sounds fishy
ohh, forget that.
 
Thanks for helping me out :)
!!unsummon 19132
 
2:00 PM
@TheLittleNaruto I will leave this room after 1 more invocation(s)
 
@Luggage Can you post that above message ?
 
I have nothing to add.
 
And thereafter post this message: !!summon 19132
 
Summon a Kyuubi instead.
 
What's a cuby
 
2:02 PM
I wish I could :/
@Luggage The problem is Caprica will not talk if summoned by a normal user. That is why I want you if you can post those commands. ^^
 
!!unsummon 19132
 
Now Summon
 
!!summon 19132
 
!!summon 19132
 
@TheLittleNaruto I will appear in that room after 1 more invocation(s)
 
2:05 PM
Doesn't she listen to your command? D:
 
she re-entered the room
 
Hi. Anyone faced this issue? android.stackexchange.com/q/146039/78597
 
Man! Why is she not talking in there.
 
got me
 
I noticed that she is greyed out there.
 
2:07 PM
Is she ?
Why @CapricaSix Why ?
Talk there already, Will ya ?
 
anyone use passportjs
 
Hi Can anybody pls help me with this stackoverflow.com/questions/37510607/…
 
@Ashley You want the Java channel, not Javascript. They are unlrelated.
 
Sorry
My mistake
 
:)
 
2:20 PM
all need reason to get in here
 
You could talk to her in the sandbox.
 
@Luggage that's true :/
and just reinventing openssh-client since I have to handle the pty, winch, etc.
oh well.
it sounded like a good idea at first.
 
@cswl He wants her in his room.
 
Might be.. I have a habit of saying "can't you just use existing method x?"
 
@littlepootis teehee
@Luggage in this case you're right
 
2:33 PM
shit
 
you have to enter the mode and then exit it, just like an ssh session
it's just reinventing openssh-client
although you get to keep your prompt... that's about it.
you don't even keep all your bash niceties
 
I like a different prompt so I can keep track of what machine aI am executing commands on.
 
me starts bruteforcing dmull@pearwoodtech.com
 
no password, private key.
 
Haha, of course
Some misconfigurations are hilarious, though. People using private keys, but forgetting to disable password based logins when they've got weak passwords
 
2:43 PM
aye. I use --disabled-password when adding, but this is a google vm that does that for the initial user.
 
@Luggage How do you do that?
Oh, wait, nvm. I'm stupid.
 
@SomeGuy do you use an office chair ?
 
3:00 PM
solved that :)
bye people :)
 
/cc @littlepootis
 
@Abhishrek Yes
 
where did you buy it?
 
Local store
 
Uh
can you find out .xD if they will export :3 ?
 
3:02 PM
Haha, I'd have to go in physically to check
Export where?
 
The local store here give me stuff that will give me slip disk for sure
(Its okay for 2-3 hour of sitting but not much for else)
 
Ah. My chair isn't super fancy either, but it's better than the shit chair I had earlier
It's the cheapest office chair I could find :P
 
The cheapest chair I could find in USA Amazon
was actually good!
and only 2K Inr converted
 
!!convert 2000 inr to eur
 
@JanDvorak Unit inr not recognized. Did you mean:
* length: in, inch, ang
* time: min, mins, yr, hr
* pressure: inHg, bar
* counting: nt
* volume: pint
* speed: kn
* mass: dr, tn
* solid_angle: sr
* prefix_only: gr
 
3:09 PM
Command Executed: ~26 Euro
 
@Abhishrek Hahaha shows the standards Indian offices have, I guess?
 
3:57 PM
@SomeGuy lol
 
hi
 
@BimalDas Welcome to the JavaScript chat! Please review the room 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.
 
@Luggage there is type foo in bash/zsh which lets you know if a command is an alias
 
Ok..
 
4:02 PM
wow
I saw 4 year old code of mine,
It was awful
 
That's a good sign.
You should never be happy with 4 year old code (unless you don't use that language/tools anymore)
 
... but if it's a function, you can't do anything with it...
I'm trying to think of a way using strace, but can't see anything...
the only way is changing bash code, really
 
or just make your own shell and decide when to passthrough
 
... or providing another execve to the linked libc...
 
or giving up and watching some tv
 
4:07 PM
@Luggage that's the reason I did gitlab.com/ralt/avesh
 
@Awal ping
 
@Luggage patching libc sounds fun.
 
@BenjaminGruenbaum Thanks.
That was inspiring.
@Awal Ignore ping
 
4:30 PM
I want to play with small scale (2-5 server) deployments in google cloud while learning a tool like puppet, ansible, chef, etc and I can't decide which to use.
 
that looks good.
 
$65 in materials, 6 hours construction
 
but you've already hit your star quota, so...
 
Could any kind soul help me with my problem creating custom controls in OpenLayers 3?
 
4:36 PM
Not me
 
oh
no one here with OL3 knowledge?
 
it's a sunday and there are only a handful of us that are lame enough to be here, so your chances are not good.
 
lol
 
Actually, I pay more attention to these chats during the weekend than during the week (at least in theory). I'm employed, you know.
 
Hi all
Tomorrow monday
 
4:47 PM
@SomeGuy why chair when you can sit on the bed like a true lazy person ^_^
@littlepootis Ignore pong
@Luggage you can do that on the remote machine - detect if session is SSH one and prepend something to prompt. I have the same fish config on my local and remote machine that way
 
I think you meant that for @FlorianMargaine.
 
yeah sorry, misclicked
 
grumbles and walks away :)
 
so the tmux guy closed systemd dev's issue. I wonder if they are astonished at this or expected it anyways.
 
5:03 PM
is there a way for Array.prototype.map() to produce a larger array?
['1', '2', '5-9'] -> ['1', '2', '5', '9']
 
no
 
Nope, but a reduce can.
 
oh
/me keeps confusing them both
 
can also return an array from the callback and flatten the result of map
 
map is input[n] -> output[n], reduce is input[n] -> output[1] (but that one could be an array)
yea, or that.
 
5:05 PM
infact in some languages you have .mapReduce which lets you do exactly that :)
 
@tereško no, and generally the point of a factor is working on elements on a one by one basis without being aware of the underlying structure. It's kind of like the OOP visitor pattern.
 
!!> ['1', '2', '5-9'].map(x => x.split('-')).reduce((prev, next) => prev.concat(next))
 
@Luggage ["1","2","5","9"]
 
/me prefers to have a reference to the underlying structure sometimes
 
@Luggage tnank you
 
5:17 PM
aww google only has managed mysql, not postgres
 
5:31 PM
if you have both default and named exports in a module.. can the said module detect whether it is being default imported or named imported?
 
You can never know how you are imported, no.
I mean without the importer calling a method or accessing a property that you only export one way or the other.
 
@AwalGarg flatMap
 
@AwalGarg It's not like the first time they've done shit like this. Remember the Kernel patch?
LOL my ex supports RCB
 
Your ex supports Radtreff Campus Bonn?
 
5:47 PM
Royal Challengers Bangalore
 
Stop siding with these spam holes
 
If I google what that is, will I be put on a list?
 
you can't export from unless you actually import it first... huh
 
If SRH wins this, she pays for the tickets
 

« first day (2052 days earlier)      last day (2898 days later) »