« first day (1878 days earlier)      last day (3071 days later) » 

1:00 PM
just comment that first jquery input and place your fullcalendar on top, that it loads first. Ensure that moment.js ( ? ) is loaded before that full calendar
 
@MadaraUchiha Yeah, that's definitely below my expectations. For learning it fails on three important counts: it provides translations instead of definitions, it doesn't have phonetic transcriptions, and it doesn't have both ktiv male and niqqud.
 
0
Q: Adding event handler to non-existent class?

bst-for-lifeI've seen questions that relate to non-existent elements, but not non-existent classes. Here's what I want to do. When a button of class "see_answer" is clicked, I want to remove the class and replace it with "see_question". However, my click function for a button, once its class is "see_question...

this answer looks plausible
 
@R.MartinhoFernandes How good is your Hebrew? Would a Hebrew-Hebrew dictionary work for you?
 
Hey, can anyone pull that time when that user hit on @CapricaSix from the transcript?
cc @rlemon
 
1:02 PM
which one
 
@rlemon The really creepy one with the emails
 
@rlemon Seriously? xD
 
@MadaraUchiha lolwut
 
1:03 PM
hahahaha
 
My god...
Hahaha
 
@rlemon Page not found :/
 
Only 1 message
 
@SomeGuy I've undeleted the room just for you
 
@Abhishrek OMG. COLLEGE APPROVED ME AT 20% ATTENDANCE THANKS TO THE SOMETHING :O :O :O
2
 
1:04 PM
Although yeah, only one message
 
someone sent her a few emails as well
 
@rlemon Yeah, I remember those being posted here in some form
Those are what I'm looking for.
 
@AwalGarg Thanks to the what?
 
Not gonna admit in a google indexed chat.
 
@MadaraUchiha his name was jasper
if that helps :D
 
1:06 PM
@AwalGarg I've taken the liberty to wipe the comment history on that.
Stay safe :)
 
@MadaraUchiha <3 you brah
 
is this chat being indexed by google ?
 
yes
 
what a waste of their webcrawlers
 
they're trying to be festive XD
 
1:07 PM
@rlemon Is that @PraxisAshelin's house?
 
let me know if it works XD
 
!!afk
 
lemon, did ya have seen that guy which had to cover his whole face in peanut butter on imgur ?
 
I can see the kids wanting to do this, the parents understanding EXACTLY what it says, but allowing the kids to be happy oblivious with their decorations
 
1:10 PM
dafuq
i would love to see his face once someone tells him that cap is a bot
 
That's just some banter
 
Can't find the emails though
 
In my last project I used GWT for UI. Learning and trying to use Angularjs this time. How do I create reusable html components here? In GWT we use to decouple most of the widgets and reuse. Say a table widget was created and was used across different pages.
I hope this doesn't consumes much blood.
consume*
 
1:27 PM
$(document).on('click', '.upload', function(e) {
  e.preventDefault();
  var formStuff =
 
@MadaraUchiha probably morfix (cc @R.MartinhoFernandes )
 
@BenjaminGruenbaum That's some solid pinging action right there.
 
how to get the form data for formStuff :D
I was using elementByID, but... I don't have the ID anymore
var formStuff = this.form;
?
 
@djsmiley2k maybe you should try adding an ID.
 
1:30 PM
@GeoPhoenix ...
@djsmiley2k What's .upload?
 
57
Q: How to get the form parent of an input?

Ropstahi need to get a reference to the FORM parent of an INPUT when I only have a reference to that INPUT. Is this possible with javascript (or else jQuery) ? function doSomething(element) { //element is input object //how to get reference to form? } This doesn't work: var form = $(element)...

 
@Forkmohit a component is a directive. I warmly recommend react in favor of Angular though.
 
@MadaraUchiha it's a class on the form
 
@GeoPhoenix Adding an ID is not a magical solution that one should sprinkle over anything.
@djsmiley2k On the form element?
<form class="upload">?
 
1:31 PM
@MadaraUchiha yup
 
@djsmiley2k In that case, this will be the form element that triggered the event.
 
@MadaraUchiha yes it is, it saves lines of useless selectors
 
@MadaraUchiha ah ok awesome :)
 
@GeoPhoenix No, it isn't. IDs have semantic meaning.
Improve your selection logic instead of dirtying the markup with IDs and class names
 
errrr ok wtf
now it's just submitting before I even select a file, weird
 
1:34 PM
@djsmiley2k I smell XY
 
@MadaraUchiha yup very likely
 
So what it is that you're trying to do?
 
this whole thing needs someone who actually knows javascript, rather than me, trying to figure out just enough to make the whole thing work
@MadaraUchiha I generate a number of forms dependant on some prior inputs.
 
I am smelling incense sticks here right now and I hate 'em. What kind of "Lord" likes to live in smoke.
 
Each form should submit seperately
 
1:36 PM
@BenjaminGruenbaum should I throw Angular and grab React?
 
@AwalGarg Don't you love the smell of incest?
 
@AwalGarg a "Lord" made up by smokers.
 
incest?
 
@djsmiley2k Why not ajax?
 
@KendallFrey would you define it as "wincest" ?
 
1:36 PM
@Forkmohit :D
 
@Forkmohit family get-together
 
:D
 
fuck. This chat is very dangerous. I have a meeting, but forgot that D: D: D/
 
Sounds like a win
 
@Forkmohit in most likelihood - yes.
@MadaraUchiha Sure they do. IDs are what the # section of the page links to.
 
1:38 PM
tell that to kittens plx
 
@BenjaminGruenbaum That was my point.
 
@MadaraUchiha I am using ajax
 
IDs have more meaning than just being used as the selector equivalent of a goto
@djsmiley2k So then, why do you need forms?
 
crl
Am I alone to hate modals? my boss want modals everywere, I prefer dropdowns
 
1:39 PM
Oh. Yeah, more like a superglobal.
 
@MadaraUchiha erm IU'm lost?
 
IDs are page global variables.
 
@djsmiley2k You don't need a form to use AJAX
 
@crl I only use supermodals
 
@MadaraUchiha oh right
because easier I guess? It's how I was told to do it :D
 
1:40 PM
@djsmiley2k It's not necessarily easier, and definitely not faster.
 
send ur boss models
 
What is not faster? AJAX? Faster from what?
 
@AwalGarg Using DOM forms to send over AJAX
 
@BenjaminGruenbaum Then, time to check react as well.
 
oh, well only the serialization part is easier thanks to the FormData constructor.
 
@AwalGarg This is what I'm doing. I think
 
@Forkmohit react is just a view engine, it gives you components (and just that). If you want an architecture - check out Redux for flux. It's a bit functional so if you're not into that it's probably not a good idea.
 
select the form via this, make FormData object, submit it
 
Never read "vs" tutorials.
They give both sides legitimacy.
 
YES it works \o/ \o/
 
1:42 PM
They're clickbait.
 
Is this the standard approach to create inheritance relation in ES 5.1? Using extend like function
 
Hello javascript gurus.. nice to see you @KendallFrey ;)

I am making a little documentation website that will be run locally on the machine.. I load a documentation page which can be edited using summernote (rich text editor).. When saving, I want to overwrite the html file that's been edited.. Is that possible to do with javascript?
 
@AwalGarg Meh, creating a form, filling it with values, then instantiating FormData is not easier than instantiating FormData and then using fd.append().
It's admittedly easier when you have existing forms
But not when you have to create them from in-memory data.
 
@BenjaminGruenbaum Thanks for your suggestions.
 
@MadaraUchiha That's what I meant. And wow, creating a form just to use FormData is super silly indeed.
 
1:43 PM
Case in point.
 
@Forkmohit sure.
 
@JakobMillah Yes.
 
Anyways, day 2 of using Phabricator. Phabricator's issue tracker has really done a great job at recording what actually happened, and showing that in an easy to interpret fashion to the user. This is enough for me to totally ditch Gitlab for it.
 
@KendallFrey You don't have a link how to by any chance? ;o All I seem to get links to is that it's not due to security risks and what not
 
@AwalGarg Hmm, I need to start using it, at least for a few projects.
 
1:46 PM
No you really don't.
It's just an issue tracker. It doesn't actually have that important of a job.
 
@JakobMillah You want to bum work from someone else?
 
It needs priority, assignee, component, version, title, description and attachments. That's about it.
 
@KendallFrey Yes
 
Yes, you can do it with JS. You have to write JS. Lots of it.
 
I see
Any simple way? It's not like I am going to spend endless of hours writing it :)
 
1:48 PM
Let's see, is there a simple way to do a complex task? hmm....
 
hmm jquery filter not available for 1.11
 
Not really "complex" using server-sided languages :)
 
@JakobMillah depends on your threshold
But writing a wiki isn't trivial
Have you considered using an existing one?
 
@BenjaminGruenbaum Not really, it is a collection of tools. The issue tracker is just the Maniphest app. The selling point for me Differential. It actually lets me just take a patch and tear it apart. I can generate any number of arbitrary patches straight from git and have them in differential. Github/Gitlab's PRs require us to create a new branch for each PR and simply don't fall as well with git's model. Also, one word: arcanist.
 
Well, if there's an existing one that can be run locally, I could use it. I would think not though. Havn't searched
 
1:51 PM
If it can be run anywhere, it can be run locally. (probably)
 
@AwalGarg Well, I like pull requests, branches are cheap.
 
@crl I'm only using the onprogress event, nothing intermediary
 
Hmm, definitely subjective, then :)
 
crl
@ndugger ok it seems I just need to set the Content-Length header, and the ajax onprogress will work
 
oh, strange, I don't have to do that and mine works
oh wait... I'm sending a File object, which might already set the headers
 
crl
2:04 PM
hmm no, content-length is already set by default, and browsers refuse to set it
^ why the onprogress doesn't fire here? (drop a picture or whatever in the droparea)
I should try in localhost though, no httpbin
the preview is immediately shown but it takes a few seconds to httpbin to reply
 
<div id=div
well done
 
crl
:), sorry if it's confusing
 
nothing wrong with that
you see <canvas id=canvas> all the time
 
crl
body id=body is the worse, totally useless
 
gives specificity
 
2:11 PM
@crl It is ok in a fiddle, but gosh, quote your attributes! XD
 
crl
yes sorry
 
Also, JSFiddle removed mah dear shortcut to hide the sidebar >:(
 
crl
I'll test xhr onprogress locally, may finally work
their sidebar is so big and useless (except ressources)
 
Sec lemme spin up a userscript to enable hiding it.
 
crl
also be careful with jsfiddle, if you make a fork, and the owner deletes the fiddle it deletes your fork
 
2:18 PM
@crl wut, really?
That sounds completely idiotic
 
crl
seems so, yes totally
forks have the same hashes
 
@crl No, that's update
 
crl
hmm
 
check history
 
crl
@MadaraUchiha oh I did update on someone's fiddle then, my bad
@AwalGarg ok
 
2:20 PM
hmm, I always forget the userscript header format :(
 
crl
how do you trigger it?
 
ctrl+shift+up
 
crl
great
 
Just got my schedule for space day :D
 
howdy folks
 
2:24 PM
~08:30 AM Sign-In and Final Preparations

09:00 AM Start of Morning Session

09:00 AM Navigating FreeFlyer

09:15 AM Spacecraft Propagation

10:45 AM Morning Break

11:00 AM FreeForm Scripting

12:30 PM Lunch Break

01:30 PM Start of Afternoon Session

01:30 PM Generating Output

03:00 PM Afternoon Break

03:15 PM Coverage and Contact Analysis

04:45 PM User Preferences

05:00 PM Training Closeout And Questions
 
@SterlingArcher No Vomit Comet? boooo
 
It's being taught by one of the engineers that helped build my company's demo spaceship :O
Im so excited!!!
 
@SterlingArcher What company?
 
The company
 
2:27 PM
His profile gives it away
SNCorp?
 
@ShotgunNinja yes, aka SNC
 
packing up my office. found an unopened box of business cards...
 
I wish google would exclude jquery form search results
 
which now all have the wrong address
@SuperUberDuper <search term> -jquery.com
 
woo wooo wooo
I think finally, it's done
 
2:30 PM
!!google how to javascript -jquery
 
@rlemon my wife once jokingly got me some 'Geek computer fixer guy' business cards
cept she put our home address on them :/
 
If it was just phone number and email I would use them, but sigh
 
I wonder...
!!google how to javascript
 
ok thx
 
We should add facebook stickers to the so chat theme
 
0
Q: why do we need jquery in spring mvc?

sachin srivastavaI am new to web development and am doing a project using Spring MVC for learning the basics. I am working on a project on spring mvc to connect to a database and display results. My controller is below @RequestMapping(value={"", "/", "/home"}, method = RequestMethod.GET) public String home(Loc...

 
^ lol
 
answer: client!=server
don't mix stuff
 
2:34 PM
Is there any "more right" way to do this?
return new Promise((resolve, reject) => {
  return this._commands.write(`${command}\r`, resolve);
}).then(() => {
  return this._awaitMessage(this._commands, /^\:$/);
});
 
crl
in isomorphic apps, the diff client/server gets confusing tho
 
Hi guys a bit of help would be really helpfull on this one
1
Q: Google Tag Manager display blank page

BaldrániI was trying to implement a Google Tag Manager into my website but strangely when I had it and refresh my page it goes all Blank. (No specific error). I tried the only upvoted solution from this thread that has no accepted answer yet : Same question 1year ago. Still, this is not working for me. ...

 
@crl What is meant by "isomorphic"?
 
universal
 
crl
iso = same, morphic = shape (client and server behaves the same)
 
2:37 PM
So, when the client runs "simulations" that are really running on the server, but appear as though they are on the client (in source)?
 
So, which libraries do you guys use for type-checking?
 
@corvid C#
 
converting nodelists to arrays is one of those things that is not cool about the dom
 
@corvid Like to check the object type?
 
2:41 PM
Pretty much just to check if the arguments given to a command are the right type. Eg:
saySomething(String statement) {
  /** ... */
}
 
Oh in C#?
 
no
He means something like Flow
 
!!afk coffee
 
console.assert(typeof statement === "string") // if I really really really need it. And this gets stripped away by the builder.
 
Oh fuck... I fought 10 minutes trying to understand the bug here
      path(...token){
            let q = this.clone();
            q._path += token.map(t -> '/'+t);
            return q;
      }
 
2:43 PM
@corvid I usually just don't care about types.
 
If only java had choose the same syntax as js ^^
 
If I need to, I'll document it in JSDoc
If you really want type checking, TypeScript is your friend.
 
Agree with Madara. Just learn and put up with no type checking.
 
@DenysSéguret q._path += token.map(t -> '/'+t); Are you concatenating an array to a string there?
 
it's not incredibly necessary, but isn't it considered good practice?
 
2:44 PM
@Cerbrus yeah, but I was speaking about the syntax error (but yes, there was this bug too)
 
@corvid vOv The bugs I usually encounter are not type bugs
 
-> ?
 
If you write your functions properly, then consistent return type is implicit.
@Cerbrus Java
 
@Cerbrus yes, because in java it's ->...
 
And in JS =>, right?
(Yea, I should really get into ES6)
 
2:46 PM
@Cerbrus well... you're not new to JS are you ?
 
@ShotgunNinja sorry I had a phone call.
Yeah I work for Sierra Nevada Corporation
 
Isn't @ShotgunNinja afk?
 
@DenysSéguret Not new, just never used ES6
 
you probably should have at least one project in ES6, just for learning
the building toolset is good enough to make that easy now
 
@Cerbrus to learn ES6 I just started answering all main vanilla answers with it
 
2:49 PM
@SterlingArcher I started doing that too, but not (just) for learning
 
@DenysSéguret No opportunity to do so at work
 
More for promoting it as much as possible
 
Also that
 
@SterlingArcher Just got back from getting coffee
 
@MadaraUchiha Does it really need promoting ? It looks like almost everybody's doing some ES6 now...
 
2:50 PM
the Sodexo fucks finally did their job and replaced the milk and hazelnut flavoring in the coffee drink machine
the flavor's been out for a while, and I got a rancid cup of milk foam on Friday
 
@ShotgunNinja Remembering the quality of their other food, I'm not sure I would drink it anyway
 
@DenysSéguret If it doesn't need promoting, than using ES6 in answers is only appropriate :)
 
Ew that's gross
 
@Cereal their catering upstairs isn't terrible, but I mostly get the salad bar anyway
 
I really do wonder how much effect posts (lets say, well enough upvoted ones) on Stack Overflow have on specific programming language communities as a whole.
 
2:51 PM
Why did you link to SO ? You think we don't know that site ?
 
maybe a patty melt on cheat days
 
@ShotgunNinja They make crazy good sandwiches in the cafes around school. But the actual cafeteria's dog shit
 
@DenysSéguret [so] -> Stack Overflow
 
@DenysSéguret: [so] -> Stack Overflow
 
2:52 PM
mind = blown
 
that looks so useless...
 
It's a standard across all of SO/SE chat
 
Huh
Stack Overflow
 
there's shortcuts for every SO/SE site
 
2:52 PM
I mean... that's the one we need the less
 
[goat.se]
 
@AwalGarg I'm afraid it's very high. Did you ever google something programming related and failed to see a SO link ?
 
2:53 PM
as unfortunate as that is, we're the curators of a wealth of programming knowledge.
 
@ShotgunNinja *Evil laughter*
 
and half of it starts with "just use jQuery"
 
@DenysSéguret That just effects us poor souls who write code for hobby/living. There are pro-er-programmers like Eric Elliot, Miller, etc. who shape the language, but I don't think they refer to community generated content on Stack Overflow.
 
or Jon Skeet
 
@DenysSéguret my exact reaction to Madara doing that last week.
 
2:55 PM
And our effect on the language is pretty much nothing...
 
People like Bergi and Ben are very present in the ES discussions
So there's some exchange
 
I'm back
!!youtube I'm back - Dope
 
@Neoares Hello, Back
 
I'll be back
 
2:58 PM
(but now I'm wite)
 
badum tsh
 
@SomeGuy haha, classic!
 
nevermind
 
this kills the (already sick) joke
 
@Cerbrus it's a joke... back -> black, wite -> white
 
2:59 PM
Inappropriate! BAN
 
(it's a sound idea to be white now in France... and it might be more and more advisable...)
 

« first day (1878 days earlier)      last day (3071 days later) »