« first day (1634 days earlier)      last day (3300 days later) » 

crl
12:08 AM
@YourAdrenalineFix Isn't most of the stuff in files/script/bill-of-lading-js-combined.js?
 
codewars needs more speed
 
@YourAdrenalineFix Source code will only show you the markup returned from the server. Everything else has been added/changed dynamically on the client side.
 
12:39 AM
@Shmiddty I agree
 
1:00 AM
Can someone tell me why it would be a bad idea to put an entire document in a try statement and have it end with catch(e){alert("something went wrong")}
 
@metal.slime.angel Say you've got 200 lines (an incredibly simple app). You get the alert. What broke?
 
Ah. Well, can you have nested try statements, where it tells you what specifically, but have that last catch statement as a final failproof?
 
Why?
 
Just curious
 
As in, what advantage is gained by that massive try/catch (over having the stack trace in dev tools)?
I can't think of one.
I can think of several downsides (difficult to maintain, swallows errors, alert in general)
 
1:03 AM
Hm. Alright, that makes sense. Thanks.
And what's wrong with alert?
 
It blocks the entire page.
Also, I'm not sure if that will catch async errors.
 
Oh, cool.
Idk, I'm not making anything complex, so I'm good with alert for now
 
Great question by the way.
Correction: It doesn't catch async errors: jsfiddle.net/9ceyqwqg
 
1:17 AM
@SomeKittens
Thanks
I'm still new to OOP
 
Is there a way to copy text from the console? If I select it with my mouse, I get the annoying line numbers included.
 
@KendallFrey Use the editor's copying method
"+y in vim
 
what editor
 
Nevermind
 
1:34 AM
@metal.slime.angel no problem. Hope you stick around here
 
1:45 AM
Are there any gotcha's to using "use strict"; that I should be aware of?
 
@SomeKittens I have this vague recollection of chatting to you over the weekend in a somewhat unsober state
 
2:00 AM
I'm baffled at how to calculate the altitude to begin a landing burn. I thought it would be as simple as a polynomial equation, but it looks like it involves some fractional powers as well. So if anyone wants to do some slightly insane integration, I've got a puzzle for you.
 
What is a landing burn?
 
rocket science
aka a suicide burn
 
guys, Django is the best webframework I've ever used so far in my life
Django >>>>>>>>>>>>>>>>>>>>>>> Codeignite+ nodejs + spring + struts + .net + rails
 
it'll wear off
 
Codeignite = just suck, I mean, it requires as many configurations as in Spring
Spring = configuration, annotation, what's different than using just plain J2EE?
Struts = Sucks
.NET = Spring wannabe
Rails = Django wannabe but failed haha. Django owns
Node.js = IDK
 
2:13 AM
Interesting
 
Hi All
 
Whats up @HarshadNasit
 
"good" wouldn't be a correct response to "what's up"
 
what should be?
 
2:20 AM
Just say "ye"
your friend: "sup" "you: ye"
 
"what's up" is more like "what are you doing?"
 
ok
thanks
 
np
 
I am learning
 
always learning, it's a full time job
 
2:21 AM
Tell me about it. #ABL
(Always be learning)
 
learning new things
 
droppin knowledge bombs
 
Lmfao
 
knowledge bombin on 'em
 
Java technology
 
2:23 AM
I knew an african american kid, his name was Knowledge.
Not kidding.
 
I respect that name
did he live up to it?
 
my name is Harshad
 
IMHO, he was of average intelligence.
Awesome @HarshadNasit, nice to meet you. What brings you to Javascript room?
 
He's learning new things, we already went over that. Duh!
 
I know EXTJS
 
2:25 AM
You should unlearn extjs
 
pure javascript
I am web developer
 
I am iron man
 
@EnglishMaster I'd be willing to wager that this is staged.
I am Zeus Almighty
 
My feelings exactly
 
@ApathyBear I just got kicked out from Python chat
what happened?
According to a website that I'm working on, in order to avoid sexually transmitted disease, you should forbid sexual contact with any people except for your spouse who is not infected yet.
That sucks
 
2:37 AM
wat
 
Right
 
If the mistake you're about to make is really filthy looking, you can even use like 5 condoms for extra protection
 
Condom or ejaculate outside of her vjj
 
condom
 
2:40 AM
Condom.
 
safety
 
tube sock
 
full of quarters?
Is that how you meet women?
you monster.
 
you monster frisbee
 
squirrel!
 
2:41 AM
!!youtube dragonzball p
 
Condom.
 
You should probably put condoms on your fingers when you're surfing the web
 
At any point in time, I'm wearing as many as 60 condoms.
You can never be too careful.
 
2:45 AM
good practice
 
To be honest, I've had numerous sex in my life but wearing a condom was always bad experience
 
Yeah well, get better condoms
 
I probably had more sex than you 2 combined. The room was too polite to tell him that being kicked from a chatroom doesn't count as sex
 
Hey good for you.
 
better condoms
 
2:46 AM
I know
 
safe life
 
@Shmiddty Pretty sick, huh?
 
zzz
 
Condom is costly
 
So is AIDS
 
2:47 AM
My first time was without a condom, and there was a pregnancy scare (late period)... trust me... it's not worth it.
2
 
K.O.
 
later on, that same girl got pregnant by some other dude after she broke up with me. (Yes, it was long enough after we split... it's not my kid, lol)
 
I kick-muted @EnglishMaster
 
thank you
3 messages moved to Trash
 
2:56 AM
Oh that's interesting
The starred message stays starred, even though it was moved.
Ahhoy @BoltClock
!!afk nicotine
 
w..t.fff
that dude is weird lol
 
aren't we all?
 
Yeah, but I told him to cool his jets and he didn't, so either he's trolling or looking for an ego stroke
 
@Shmiddty He's here most nights doing that
 
3:07 AM
^this
 
/permaban
 
@KendallFrey Building a space carrier FOR SCIENCE
 
I am surprised you guys haven't "Ignore All" 'd him earlier
 
@ApathyBear as a room owner, I need to be aware when someone's being inappropriate.
 
Someone ping me the next time EnglishMaster comes around. I'll try talking with him.
 
3:09 AM
ooh, that'll be fun
 
doubtful, but maybe I can talk some sense into the guy
 
He just recently got kicked from Python Chat, too.
 
bye for now
have to go office
 
3:23 AM
Do you guys even "reactive program"?
 
Hi @EnglishMaster. It sounds like you've been a bit trolly lately. How are you doing?
Things at home ok?
 
Doing good mate
yeah, nothing abnormal
 
So would you care to explain your behavior?
 
yeah, I was actually pointed by some people that I'm virgin
but I'm not virgin, so I wanted to prove it
 
So what these other people said upset you?
 
3:29 AM
They didn't upset me, they made me "laugh" by calling me virgin
 
Why do you feel like you had to prove them wrong?
 
IDK, it's necessary for men
 
It really isn't.
Regardless, this isn't an appropriate venue for discussing the intimate details of your sex life.
@EnglishMaster comprende? Can I count on you to not be a douche in my absence?
 
I'll kick him again if he is
 
aye aye cap'n
Night!
 
3:49 AM
hey
how to get the content of the textbox and display it to another textbox when checkbox is checked
 
Simple, when the checkbox is checked, you get the content of the textbox and display it in the other textbox
 
yep
how to do it without submitting the forM?
 
Do it when the checkbox is checked?
1
Q: How to find parent's child with querySelector instead of jQuery?

Stan SmithRequirements dictate that I cannot use jQuery and I'm trying to solve the following problem w/out it. Layout has has identical multiple inputs like this <div class="item"> <input type="text" /> <input type="file" /> </div> <div class="item"> <input type="text" /> <input type="file" />

you are using jquery ? — Mritunjay 41 mins ago
That has got to be a troll comment
 
right now I am using php
but I think it cant be done in php
 
@winresh24 No it can't be done with PHP. PHP is not a frontend language
Also if you're doing this in PHP, why are you asking here?
 
3:59 AM
@BoltClock cause javascript can do it :)
 
(But you really should do it in JS, so stay)
 
but dont know how :(
 
Hi @BoltClock :)
 
@Shmiddty Ok, u can count on me mate
I won't be douchey anymore
 
help :(
 
4:07 AM
What do you need :(
 
when the checkbox is checked, you get the content of the textbox and display it in the other textbox
@EnglishMaster
 
that's easy :(
 
The checkbox has a change event
Bind to that event
 
sorry newbie in javascript :(
 
newbies can do it too :(
 
4:08 AM
@EnglishMaster #rekt
 
:(
 
sorry noob here :(
 
right :(
 
This place is too depressing
 
4:12 AM
@winresh24 firstly you gotta check if the checkbox is checked. Grab the element, and check if the "checked" (read this). Then, pending true, (checked), grab the value of the textbox, and set it to the other
 
@BoltClock Yeah, it's bad at night
 
I like night and darkness, it's so calm and peaceful
am I emo?
 
hey
whats wrong with this
 
@winresh24 You're loading jQuery wrong (and you don't need it at all)
 
what you mean?
@SomeKittens
 
4:27 AM
@winresh24 Read about event handling
 
@winresh24 jsfiddle.net/15L2vq3k/24 check this out
Without that click event, javascript doesn't know to run that if statement when you click on the checkbox
 
nice I see
thanks bro
let me play on it :)
 
If statements are run once
unless called again
 
Take some time like BoltClock said and read up on how event handling is done
 
via event listener
 
4:35 AM
cheers good people around here in chat room :)
 
Take note on how you assign the event handler being compatible in each browser
 
noted bro :) cheers
 
If I wanted to create a fully working database in pure javascript how would I start?
 
@ahitt6345 you'd start by seeing if anyone had already done it
 
4:42 AM
Right. Ive seen some people read XML databases, but I havent seen anyone write into the database and save it into a server.
Oh, I forgot to mention that this database will be server-side
 
javascript can't hit a server unless you send an ajax request or websocket request to server sided languages like node.js, php, java etc
 
5:03 AM
Go
 
Some what related: What is socket.io used for
 
FRAKKING ROCKETS AND THEIR ILL-BORN CHILDREN OF ILL REPUTE
 
@SomeKittens +1
@ApathyBear You should read their homepage.. has a bunch of info on it :|
 
@SomeKittens You sound like me, 15 years ago, trying to beat quake 3 on hard.
 
@ApathyBear tl;dr websockets allow the server to notify the client of new data
Socket.io is a library that makes them easy
@KendallFrey this is all your fault
 
5:10 AM
Thanks that was easier to digest than "real-time bidirectional event-based communication."
 
@ApathyBear The client can also alert the server of something
thus 'bidirectional'
this 'alerting' takes the form of events. The client can emit the "login" event, for instance
@monners I've never played Q3
 
Ah I see
 
@SomeKittens what's the most socket connections you've had to deal with?
 
@phenomnomnominal Including stress testing?
 
5:17 AM
X,000
 
hmm. We're looking at up to 200,000.
 
For what?
 
notifications
that's our max concurrent users
 
How do I adjust number of coulmns depending on window width with angular? Any reference for that, please? Should I pass the window width in the js function or use ng conditions ?
 
huh?
 
5:33 AM
@SomeKittens I kinda suspected you had no childhood
 
YEAH
WHO NEEDS PARACHUTES NOW, @KendallFrey?!
(Context: I forgot parachutes [was a test mission with drones] and managed to get a water landing safely with remaining fuel)
 
5:51 AM
hi
 
It's not a competition
 
person, or account?
 
@EnglishMaster Not even close
 
For persons, I can think of a likely contender and it's not you
 
@JanDvorak @monners do you guys ever workout?
 
5:59 AM
I think you want to get kicked?
 
Yeah, I think you want to get kicked
 
And how many hours is it?
 
@EnglishMaster dude seriously. We're all pretty busy people here. We spend our time here trying to help people, just like people have done for us in the past. All you do is antagonize and spout absolute bullshit. It's so very uncool, and I'm getting sick of kicking you. Please sort your shit out.
over it.
 
Ok, I'm sorry
 
6:08 AM
I really don't think you are. And I don't want an apology from you, just please stop being such a child.
 
I'm pretty busy too
I'm currently at work, working my buttoff. I'm trying to make some major contribution here
 
I haven't ever seen you ask a decent question, or answer one. So you're making zero contributions except a bunch of noise.
 
reaches for noise reduction button
 
There's always one in the room
 
THE
6:26 AM
can we run Github code as we run it on jsfiddle ?
for example this one
how can I run and see the outcome
or do i must need to download it ?
.
 
good question
 
THE
thanks
 
You need to work on your Googling skills.
cdn.rawgit.com/artzub/minfin/master/index.html - for the GitHub link that you gave
It wouldn't work for private repos though.
 
THE
6:51 AM
oh
 
7:15 AM
For getting a textbox value, is .value more intuitive or .contentDocument / .contentWindow.document ?
 
I'm searching for something like React.js for google closure with better brower support than React.js... any recommendations? I would love to rebuild a page based on json data from somewhere and in code complete templates and for that I want to do dom diffing like React.js does.
 
What's wrong with React.js and browser support? I was not aware of any problems with that?
 
jsfiddle.net/aw65gtaw why isn't the base_url showing up in the p tags and why in the console, ` console.log($scope.movies.image)` this outputs twice .. plus I need to form the image url in src tag like base_url + backdrop_size + backdrop_path . how to do that ?
 
I want to support ie6 and 7 too. Furthermore I want to use the optimizations provided by google closure
 
wat
 
7:19 AM
Ah..
Well, you might find supporting those browsers requires you to give up on some of the shinies the rest of us gets to use
 
including a proper debugger
back to alerting values
 
I also doubt you'll find anything that does DOM diffing on ie6+7
 
@RahulDesai Why .contentDocument / .contentWindow.document ? I thought those are only useful if you want to get a document element of a frame or iframe.
 
user3949359
What are the implications of JS's inheritance being based on prototypes, as opposed to classes? I know how they both work, I just can't see the way they work in the big picture.
 
@mash Yep. But in this question they have promoted it, even while not using an iframe.
0
Q: How to get elements from nested <html> document?

Eplzong<html><head> <title>Welcome</title> <style type="text/css"></style></head> <frameset border="false" frameborder="O" framespacing="0" rows="0,*" cols="*"> <frame marginwidth="0" marginheight="0" name="frame_rsafp" src="rsa_flash_cookie.html" noresize="true" scrolling="no"> <fra...

I believe my answer is more correct and simpler. stackoverflow.com/a/29485534/586051
 
7:28 AM
@RahulDesai #angular_help ?
 
@argentum47 Your fiddle isnt complete, dude. No HTML.
 
ohbad, I put the html inside JS :P
 
@argentum47 Still cant reproduce your problem.
 
THE
jsfiddle.net/nhe613kt/14 - D3.js guru-s, I am after making this svg zoomable
 
jsfiddle.net/aw65gtaw/2 updated @RahulDesai
 
THE
7:33 AM
:)
 
@RahulDesai Well they're using a frame. That has nothing to do with .value The guy in the question just got the javascript on the wrong level.
 
@mash true and I misread the question too
 
@AjayPandya 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.
 
@argentum47 no idea, dude
 
7:42 AM
wtf, why is it working all of a sudden.
 
lol
@argentum47 Well, I just came across this: rawgit.com. It runs your GitHub code online. :)
 
ah cool, like 5minutefork
 
user3949359
"encapsulation of data along with associated operations on the data, variously known as data members and member functions, or as data and methods, among other things." What does "associated operations on the data" mean in OOP context?
 
@argentum47 5minfork.com is giving me a blank page.
 
hey guys Is there a way to reject media queries after dom is loaded..!
 
7:46 AM
o.O
 
I know why.. because my index.html is firstly inside app, plus it needs node to serve the files, I mean I install angular and other components with bower. not cdn
 
I want fixed width so that doesn't get change after
 
but I still don't understand why the requests are sent twice
 

« first day (1634 days earlier)      last day (3300 days later) »