« first day (2173 days earlier)      last day (2782 days later) » 

1:01 PM
I have a component EventWorkflowFilter at caseProject/client/shared/components/Workflow/EventWorkflowFilter

I'm trying to import it into a component called Toolbar.jsx at:
caseProject/client/routes/case/routes/workflow
Within Toolbar.jsx I have import EventFilter from ../../client/shared/components/Workflow/EventWorkflowFilter
 
o/
 
ES Lint can't resolve the path to the component
 
Finally friday tomorrow
 
@Paran0a oyeha
Hmm is it still a must to have non-js fallback in web-applications?
 
Depends
Guys if when trump wins is it better to learn angular or react?
 
1:07 PM
jabbascript
 
@RoelvanUden Any thoughts?
 
@BadgerCat cancelled; she said we have nothing in common, which we definitely didn't. She didn't drink or like the outdoors, which are two things that I really love. I think the only thing we had in common was that we lived relatively close to eachother.
So, back to nothing
 
Hello i need a help on stackoverflow.com/questions/39570801/… this issue
 
@RiginOommen 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.
 
How to get the all collection names and perform the full text search on find operation in JS
 
1:15 PM
Hey
what is the best way to get a list of all json files from my current folder with JS ?
 
Anyone know of any good Canvas APIs to use with React?
 
@Corvid, you use react? I' having a import issue with my React code
 
@Alex I might be able to help, got a fiddle or example?
 
@Traxstar no
 
@corvid

I have a component EventWorkflowFilter at caseProject/client/shared/components/Workflow/EventWorkflowFilter

I'm trying to import it into a component called Toolbar.jsx at:
caseProject/client/routes/case/routes/workflow
Within Toolbar.jsx I have import EventFilter from ../../client/shared/components/Workflow/EventWorkflowFilter
 
1:17 PM
@littlepootis no is not even a valid answer to my question
 
yes
JS can't do that.
 
Did you export EventFilter as a default member, or simply as an export?
 
@corvid However es lint says it can't resolve the path
 
When you have generate lot's of form-<wizards>,... is there a perfered framework in js? ( React, Angular2,... VueJS )?
 
@corvid export Default EventWorkflowFilter
 
1:19 PM
Well, in your file right now, what would happen if you did vim ../../client/shared/components/Workflow/EventWorkflowFilter?
 
@corvid ES Lint says unable to resolve path to module
 
@littlepootis how to do this then ?
 
Depends on a lot of things.
 
@Alex Yeah but the absolute first step is confirming that the path you specified exists
 
You can't do it from a browser environment for obvious reasons.
 
1:21 PM
So, from that directory, you should follow the path and find out if it is real
 
@corvid I've verified the path is there. I can visibly seen my EventFilter.jsx component in that path
 
Okay so then, if you're using webpack, did you add a resolver for .jsx?
To confirm, just try changing the filename to .js and see if the path resolves correctly. If that fixes your problem, you need to add a resolve.extensions to your webpack config
 
@corvid That didn't make a difference.
 
@Duikboot Use whatever is comfortable for you.
 
@Alex 'default' should not be capitalized
 
1:30 PM
@ndugger Its not in my code, that was just a typo in here
 
@rlemon he's obviously had work done. #neckjob
 
It basically has to be the webpack config if your path for sure exists. Most commonly, I've found people load .js and not .jsx files
 
@corvid, I'm positive it exists. I've navigated to it from the project root in my github folder
 
"from the project root"? But it's a relative import
 
@SterlingArcher #showerthoughts Why is a nosejob a completely different concept than a handjob?
 
1:34 PM
@corvid These are all my import statements

import React from 'react';

import resx from 'resx';
import enums from 'enums';
import { connect, dispatch } from 'flux';
import unsavedChanges from 'dialogs/unsavedChanges';
import ModuleNavbar from 'components/ModuleNavbar';
import DropdownList from 'components/inputs/DropdownList';
import { Button } from 'components/bootstrap';
import Modal from 'components/Modal';
import Loading from 'components/Loading';
import Form from 'components/Form';
import WorkflowSchema from '../schema/workflow';
 
Also, you're welcome for that mental image.
 
@corvid all but the last one work
 
I thought you said you exported EventFilter as a default export?
 
Is that the socially accepted way to import things? A thousand import statements?
 
yes, welcome to acnescript 6
 
1:36 PM
@corvid export default EventsFilters at the bottom of my event filter component
 
Hah I'll stick to import * from
 
@littlepootis sounds like teenage programming lanaguage
@KendallFrey lol
 
@RoelvanUden yes import * isn't great.
 
@Alex Yeah, but then you import { EventFilter }, implying it's export class EventFilter ...
 
@SterlingArcher hey
 
1:39 PM
@corvid, fixed that part
 
hey
 
i read this article and i am a bit confused: https://medium.com/hashnode-insights/rob-eisenberg-on-aurelia-and-how-it-stacks-up-against-angular-2-and-react-82721d714449#.dmz8b9lx8

what framework would you advice to a novice who is at the beginning to start a ui-framework(angularJs, reactJs, aurelio)?
 
@BenjaminGruenbaum Really.
 
@RoelvanUden really.
 
1:42 PM
@BenjaminGruenbaum Why is that?
 
@Alex If you're importing too many things then your module separation isn't great.
@RoelvanUden because it messes with the module namespace, the same reason it's frowned upon to using namespace in C++ or * in python.
 
@BenjaminGruenbaum I didn't write the original code. Just told to add to it.
 
^ That applies in Java too. We were taught import * but at work they said only import what you're using.
 
@SterlingArcher Java is actually replacing their module system - so they have that going
 
1:46 PM
@BenjaminGruenbaum Yet in C# we choose for the nuclear approach of import everything
 
@KendallFrey ^_^
geostationary orbit is neat
 
@RoelvanUden yes, and get fun conflicts between mvc and webapi.
 
@rlemon I can see the maelstrom
 
C#'s module system is awful IMO, libraries result to loading themselves in runtime and then you get a lot of quirky runtime errors when Newtonsoft.Json decides to load a new version of itself after a day in production ^_^
 
@BenjaminGruenbaum I really enjoyed your Async Iterator talk. You did a good job
And your accent made me chuckle. You speak very good english
 
1:48 PM
Really? I thought it was a lot worse than the version @MadaraUchiha heard.
 
Does React have callbacks on video events in the same way it does with images? It's like impossible to google it correctly
 
What version is that?
 
@SterlingArcher that guy annoys me more than he should
 
I usually have a lot less accent, for example in youtube.com/watch?v=LGpmUyFnyuQ - when I'm told to switch languages in the last minute I do worse.
@SterlingArcher that I gave at a conference
 
1/10 no clicker >:(
Yeah that's a much clearer accent too
 
1:55 PM
Somebody please please please help me :(
 
@zero01alpha 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.
 
I have a question post "“no element found” error when using JSON stringify method in jQuery ajax call" anyone interested? I've hit a major dead end
 
I used angular controllers only, I don't want to write any url , hash or other, and don't want angular controller to listen to url changes.
but when I change the url using history, the angular throw error
10 $digest() iterations reached. Aborting!
anyone know, how to stop angular to listen to url
or how to stop angular to change the url
spent almost 2 days, but could not find the reason
 
@rlemon ohhhh yeah baby
 
@pirabdulwakeel Sounds like you have an XY problem
Stopping Angular from listening to URL changes is unlikely what you need
 
2:07 PM
don't worry about that. So what happens if you try to stringify to console? — charlietfl 22 mins ago
Why wont it just post a link to my question...im so sad
Literally have the entire world of information at my fingertips and I cant figure this shit out
 
actually, I am using digest outside controller to render dirty changes
@OliverSalzburg, do we have any abstract solution for that?
 
Phew, our HR guy is cleaning whiteboards in the office next to me, and that is a powerful cleaner he's using holy hell
 
IM INVISIBLE
 
IM SO BIG IM PRACTICALLY INVISIBLE
 
omg, i'm not :D
 
2:15 PM
!!undo I hate you
!!undo x2
you suck cap
 
Wes
lol
 
why does javascript hate me
well, json hates me
json bourne
 
jason hates you?
 
Wes
@zero01alpha [brohug.jpg]
 
THE PLOT THICKENS @KENDALLFREY
 
2:16 PM
LOL
 
Im gonna go downvote random questions for no reason now
In the SO traditiion
 
@Wes lol
 
@Loktar ^^
sonofabitch
 
2:20 PM
@zero01alpha "no element found" makes me thing that "#myDiv" is missing fromt he page
 
upgraded sublime, now when it launches it opens with no window
 
lol
 
like, it opens and I can see the hud
but no sublime
 
but if you are getting a 400, then you have other issues, too
 
fuck
 
2:21 PM
I don't upgrade sublime anymore
 
@Luggage thanks for the thought! However, it does indeed exist
 
last one annoyed me
so now I'm like, nope
 
I didn't even think and just upgraded
brb, rebooting
 
i want back to sublime 2.x so that i could use more plugins. I forget which ones.
 
@Luggage it's quite strange too, because it's not even a 400 every time, sometimes it doesn't even have a status code
It's very strange and very sad
 
2:23 PM
sublime's fault for fragmenting their community when they have atom and friends breathing down their throat.
 
nope
sublime is fucked
god dammit
 
It's just a text editor .___.
 
big stank
lil poot
 
2:26 PM
Who is this clown
 
well no shit
it was opening
 
you know how sublime keeps all your in-progress work when you close it?
well, not on OSX, if you click the X. Gotta go to File -> Exit.
shakes fist
 
File exit is for squares. Command Q like a beast
 
Simply, Is there is any way to not use angular routing or ur changes
 
2:29 PM
also, when you update sublime, why does it make me re-enter my key?
silly.
 
i've never had it do that
ohh, mine is unregistered on this pc, even though i bought it.
 
work bought mine
ohh
 
Sublime Text is the winzip of text editors
 
I guess it just takes time?
went to enter my key, but the unregistered label is now gone and it has my key entered
 
2:31 PM
@SterlingArcher winRAR
 
STILL DIDNT BUY IT
 
you're still using it?
i thought everyone was using 7zip by now
 
I use /usr/bin/tar and /usr/bin/gzip
 
@SterlingArcher yeah, I can get a really nice American accent if I try since I lived in Maryland for a while.
 
I use whatever comes with the OS
 
2:33 PM
I was just taken by surprise there.
 
@FlorianMargaine 7zip had problems creating ZIP files until recently and still doesn't do recovery archives.
 
@FlorianMargaine 7zip has this really annoying "Open With" bug in windows.
 
that docker path tool looks interesting
 
@BenjaminGruenbaum come... come back to maryland ._.
Live near me and @Luggage
 
@BenjaminGruenbaum How do "nice American accent" and "Maryland" correlate in any way?
 
2:34 PM
MD is great
 
@SterlingArcher I'm gonna be out there this weekend.
 
MD sucks but it's close to VA
 
except for all the humidity and murders.
 
@ssube omg where
 
2:34 PM
Hah, honestly I don't like living in the US - I like the US and I'll return for a long trip in a year (this year's trip is Japan). I don't want to live there though.
 
I made an adjustable stroboscope with my arduino :D
 
You guys have a lot of things to figure out :P
 
We already have it figured out though #BenjaminLivesMatter
 
@SterlingArcher You didn't watch the debate, did you?
 
@SterlingArcher the Frederick area. Coming out for like 36 hours because my sister is getting married and my idiotic parents made the whole thing as complicated as possible.
 
2:35 PM
yea, Israel is a perfect place :)
 
I watched the debate lol
 
hah, sucker
that was a waste of your evening
 
@Luggage oh, it's far from good here - but everyone has free access to very high quality education and healthcare, crime rates are much lower and the streets are safe.
 
Well, I was on SO too
 
Trump started strong but quickly reverted to repeating "make america great"
 
2:36 PM
@ssube dude that's like an hour away from me can we grab beers and vape?
 
@BenjaminGruenbaum yea.. mostly joking. other peopls problems always look worse than the ones you are used to
like.. i feel safe in baltimore.
safe-ish.
 
Said nobody ever
I almost got carjacked by the Orioles stadium
 
@SterlingArcher not sure about this trip. We're getting in at midnight on Thursday and leaving at 10am on Saturday, with the wedding Friday.
@Luggage everywhere but dundalk
 
@Luggage I felt safe when I lived in Baltimore.
 
@ssube looks like I'm coming to the wedding
 
2:37 PM
I felt safe at an Orioles game, and I felt safe overall. Just a lot less safe than in Israel.
 
You need a date?
 
@SterlingArcher I can bring two.
 
I think that's just 'not being at home'.
 
My suit needs to be tailored but I cleanup nicely in work clothes
 
but I'll probably be back out there within the next few months, since my family is out there and my gf wants to go back to the national aquarium
 
2:38 PM
I gotta meet you brah
 
I feel safe primarily because no sane person wants to commute for an hour to harm me.
 
I'm not sane
 
Also, everyone drives for so long.
 
#MakeKendallSafeAgain
 
/me disappears from society
 
2:39 PM
In the US, it's common to drive for an hour to work
Here, if commute is over 40 minutes people will change jobs over it
 
yea, that's dumb.
 
@BenjaminGruenbaum keep me updated when you come back to the states :D
 
@SterlingArcher ikr. This was supposed to be a Weds-Sun trip, so it would have been super easy, but then her store is doing a special and we had to cut it down to <72 hours all told, so I'm only going to be on the ground for 36.
 
the US thing, i mean.
 
My commute is 25 minutes, on foot.
 
2:39 PM
I used to have a 2 hour each way commute, now I drive 15 minutes to work and it's only gonna get shorter in december
 
I think the average commute here is about 35 minutes
right now it is more like an hour
fucking construction
 
Again, there are lots of shitty things here in Israel, politically, globally etc. In principle its a nationalist state which has inherent racism, everything here is way too expensive and there are dangerous religious groups who are multiplying faster than the sane secular majority.
 
they're replacing roads / putting in roundabouts all over the city, detours lead to more construction
 
so many people live in the suburbs when they don't work there. lots of commuting. I gave up on that.
 
it is fucked.
ohh and they're putting in a light rail
so entire roads are closed
 
2:40 PM
@Luggage living near a suburb (in my case, a college town) is great.
Cheap, quiet living, work in the city, party in both.
 
As a devout atheist, that would be my main fear in Israel.
 
protip @KendallFrey @Shane stay away from KW till late 2018
it isn't gonna die down till then
majority of the city is blocked off :(
 
oh jesus
 
I don't think I can do that
 
@ssube bah. You can't be that close to me and I can't see you
 
2:41 PM
we've got a lot here too, but it's so small it almost doesn't matter
 
It's not fair
 
I'll avoid it then
 
@SterlingArcher Wow somebody's thirsty.
 
their reasoning for the intense construction was "if we jam it all together then it is only inconvenient for 3 years"
well fuck you
 
I've dumped people for being less clingy.
 
2:42 PM
That's why I have water you fucking casual
 
I'd rather 8 years of mild construction vs 3 years of not being able to get anywhere
 
haha, "well... fuck you"
 
@rlemon we combine both into "so for the next 5 summers, this entire road and both highways will be gone, kthx"
 
I once dumped a girl because she make minute slurping sounds when she drank
I'm the king of finding flaws lol
 
2:43 PM
@SterlingArcher that's completely justified.
 
they have the busiest roads in the city down to a single lane, and they are the detours from the fact that all other roads are jsut closed.
 
Chewing with your mouth open
slurping your food
 
not wiping
 
@ssube ohh yea, they are also replacing 4 bridges on the hwy and expanding lanes.
4 year project
 
@rlemon Where is it? If it's south of University I probably won't even notice
 
2:43 PM
Taking over Istanbul..
 
closet full of bodies
 
@KendallFrey vic is closed in areas, fairway is half closed, otawa is closed all over, bleams is 1 lane, fisher hallman is 1 lane
 
pizza boxes stacked 2' high in the corner (that one's real)
 
react question...
 
king is detoured all over
 
2:44 PM
how do you add proptypes to this form of component
 
it's fucked :D
 
const Summary = ({data}) => {
Summary.propTypes = {} ?
 
I don't think you can use propTypes with stateless functional components
 
@KendallFrey probably fine if you avoid rush hour, but you'll see what I mean.
roads closed left right and center
 
about to find out
I'll see if it runs and what the linter says
 
2:45 PM
@Shane facebook.github.io/react/docs/… has an example
 
I rarely am in Waterloo other than weekends
 
oh bam, thanks
 
know how I found that? I googled: react stateless components proptypes
Now. go be ashamed in the corner for 5 minutes.
 
so all I have to do is ask you a question and I can get an answer?
 
I need some awesome things to shine my stroboscope at
 
2:46 PM
@KendallFrey waterloo is fucked at king
 
it always has been
 
the light rail is going to the mall
so king is torn up
 
shit
 
that is pretty cool
 
2:46 PM
guess I'm not going to the mall any time soon
 
googleproxy would be a good chat handle for this room
or just SO username in general
 
Kendall at the mall? lol
 
@KendallFrey lol nope, not unless you wanna rage
 
@SterlingArcher what?
 
s/g/p
!!afk sorry
 
2:48 PM
go to the mall, rage, get kicked out
 
naked flash mob at the mall
with trumpets they don't know how to play but they can run really fast
do it
I didn't get any sleep last night
 
So... I must have never realized this, but in Javascript files if I write something like this:

$('#lookup-btn').click(function () {
searchForUSer();
});

This is actually registering the element (if there is one) called #lookup-btn to a event handler?

So if I start with a clear page, no elements on it.. and this javascript gets run on document.ready, nothing will happen. Then if I perform an AJAX request that inserts HTML into the page containing the '#lookup-btn' element. It will NOT be registered to any event handlers because that Javascript already ran on document.ready? I will need to
 
nothing magically gets added to DOMContentLoaded
 
correctish
 
but you are correct otherwise
the JS will be executed when seen
 
2:53 PM
correctish?
 
@Michael in situations like this you can leverage delegation
 
harambe
 
^
 
french ten out
 
ok, so the new laptop arrived
with windows
that I didn't ask for but apparently paid for
 
2:59 PM
sucker
 
so tried extracting the product key for later use of that windows license
 
you want belarc advisor
but that key will only work for OEM installs
 
I did that
 

« first day (2173 days earlier)      last day (2782 days later) »