« first day (2112 days earlier)      last day (2836 days later) » 

8:00 PM
I still don't understand how to use npm for front end modules
:shrugs:
 
I suppose, yeah, but as you say, you'd have to have that module actually loaded in from somewhere else
 
@ndugger and you can tell webpack to include everything from a directory, whether it's referenced or not
 
That I didn't know
 
what is weird I can run that but in another file, If you want to see I have all code here github.com/arkgast/react-firebase-boilerplate
 
I'm like 90% sure it's a thing
24
Q: How to load all files in a subdirectories using webpack without require statements

ChickenFurI have a large amount of javascript files split into 4 subdirectory in my app. In grunt I grab all of them and compile them into one file. These files do not have a module.exports function I want to use webpack and split it into 4 parts. I don't want to manually go in and require all my files. ...

yep, totes a thing
 
stupid fine bros
 
@ndugger short story, you can set up a require or System.import that hits the webpack module table/index/thing rather than really importing stuff, then tell webpack to include everything that matches a glob.
 
Fuck Fine Bros, ain't giving them another cent by watching their tripe.
 
Oh, settle down; they apologized and course corrected
 
Their apology wasn't an apology. It was them begging you to ignore their fuckery
 
8:11 PM
That wasn't an apol...what Lemon said. I know they're still filing claims against smaller youtubers too.
 
It's a business being a business
 
Just hunted down an ivysaur
But I didn't get it
 
@Meredith Does that makeyousaur?
 
@ndugger no, it's fuckery. Not all businesses are shady.
 
Capitalism #1
 
8:12 PM
@ndugger Other people can utilize that format, it's not like they can trademark it. Telling people Fuck you, you can't make a video is a similar format isn't cool.
 
I don't have a dog in this fight; I'm only telling you that I saw an apology video; their content is still good, sometimes.
 
and you don't give money to dicks (except for most of us)
 
using their imagry, music, etc. not cool. making a reaction video in itself is fair use.
@ndugger lol the video where he literally rolls his eyes while apologizing?
:D
 
linky
 
8:15 PM
@ndugger I watch good content because it's good content, not because it comes from good people.
 
I agree with that
 
yea I still watched it.
but I still stand by:
12 mins ago, by rlemon
stupid fine bros
you know how some of those reddit bots are quite impressive? github.com/dannyvai/reddit_crawlers/tree/master/…
 
Holy shit
That's amazing.
 
@ssube that answer works, thank you so much
 
hey is this chat also for es6?
 
8:27 PM
no we skipped es6
es5 and es7
 
haha cool
 
haha
 
> Seeing bugs and issues continue to roll in and being mentally unable to address them has led to feelings of failure and depression. When looking at the moment project, I could only see the negatives. The bugs and misnomers and mistakes I had made. It let to a cycle of being too depressed to contribute, which led to being depressed because I wasn’t contributing.
literally maintaining his own project drove him to depression
 
Damn, poor guy.
 
Tis the nature of software development
Fortunately for me, I've already been depressed for a decade
 
8:33 PM
Fortunately for me, I've never written anything of value.
 
Also that for me
 
well, not true - risky clicker is fire.
 
shit's fire, mang
 
There's a reason I don't like the idea of working on high visibility stuff like that as a single developer.
@rlemon I have internet again, gonna be playing the shit out of that tonight while reading up on stuff.
 
lol
read: I'm going to be browsing porn on your app in the most inefficient way possible :D
 
8:35 PM
Pffht
You still have a fork of it on JSfiddle?
I've thought of a few things I'd like to try to implement.
 
not recent
just grab the files on the client and comment out the websocket stuff?
 
Yea, could do that.
I was going to try and implement key mapping.
I'd never really done anything with that, thought it might be a fun little project.
 
already done
z and x
z is sfw, x is nsfw
 
Oh, I meant custom mapping.
Did you ever add a loading icon?
 
yup
and double clicking on the image opens it in a new tab
 
8:38 PM
Oh, well shit son.
You've gotten a lot done in the five days I haven't had internet, haha.
 
did all that in like one lunch hour :D
then did nothing
 
Hah!
 
also added two pages
/sfw and /nsfw
they describe themselves. and load everything
 
I should take the old code and just play with the seed, see if I can come up with something better.
 
so.. be warned. lots of images
 
8:40 PM
You didn't write a pager for it?
Or a gallery?
 
not yet
just dumped everything to the page from the db because @bitten wanted it
I need to solidify how the scores / weights are calculated. right now a nsfw vote is -1 and a sfw vote is +1 on the image
 
for research
 
I think nsfw votes should carry more than sfw votes.
but then I should also put in a throttle so a single user cannot just ham the x or z keys
 
Hi guys
 
@Shubham 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.
 
8:44 PM
i am stuck stuck at react js setup for android appl
here is my gist hope you share
https://gist.github.com/mwshubham/8e5c8d3d1db1c9315466c7af3f3ea965
 
what node version are you using?
 
i am not much aware of node and js i was following this tutorial developers.facebook.com/docs/react-native/…
@rlemon v0.10.25
 
it is bitching about computed property names
you need at minimum node 4.4.5
0.10 is crazy old
 
ok i will update it. I have installed today. I don't know how is it possible to install such a old version
yes the tut says >=4.X.X
ok thanks let me try installing new node 4.X+
 
they have node 7
(not LTS)
I'm using 6.3.1 atm
 
8:48 PM
do you use react js
 
no
but that problem is not related directly to react
 
BTW i am not aware of much about react js and other frameworks like node
 
node isn't a framework per-say
it is an environment / runtime
^ this gets debated tho
 
okay thanks for correcting me
JavaScript Go! Gotta try { ... } catch (em) { ... } all! Awesome group name
 
when did they add this chat?
 
8:51 PM
@SahandTheGreat 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.
 
Many moons ago
In a galaxy close by to New Jersey
 
o rly? first time seeing it haha
 
@SahandTheGreat 6 years ago
maybe 7
 
hahah
 
Did you just steal top comment?
 
Bitch I stole the title
 
Damn dude
edgy
 
I've got a jQuery .confirm dialog in some JS code I'm modifying it. It used to display the dialog, get either confirm or cancel, and return true/false accordingly. It used to have a call to another function within the "continue" button action; I moved that to another routine and call it from elsewhere; I'm returning a true/false from the confirm dialog to indicate to the caller whether things went all right.
My problem is that the dialog doesn't appear until after a number of other lines have executed; then it appears and disappears immediately.
 
9:00 PM
@rlemon thanks man updating to min req works !!
 
Should have mentioned -- the call to confirm is inside a synchronous ajax call.
 
<3 custom media queries cssnext.io/features/#custom-media-queries; beat the spec Sass!
 
what could cause it to start acting differently in this way, anyone have any ideas?
 
@FilipDupanović Yea, I had to use custom media queries when I made our website a little more mobile friendly.
 
well, confirm dialogs are asynchronous in nature
unless you're using the one that comes with the browser
 
9:01 PM
@Kevin B seems odd, one wants to know what option is chosen.
 
the fact that you're using synchronous ajax tells me that you probably don't know how to handle asynchronous actions properly
 
@Trasiva I'm done with Sass, the specs are awesome ^^
 
2189
Q: How do I return the response from an asynchronous call?

Felix KlingI have a function foo which makes an Ajax request. How can I return the response from foo? I tried to return the value from the success callback as well as assigning the response to a local variable inside the function and return that one, but none of those ways actually return the response. fu...

 
I haven't used Sass, but it looks neat.
 
(sigh) Am trying to modify working code to do something slightly different. Would rather avoid reworking all the logic flow.
So if I implement a callback for the Ajax call, do I then just let the routine that calls Ajax run to completion? logic flow then picks back up at the callback?
I am tolerably familiar with real-time programming, but am a JS novice.
 
9:11 PM
@Loktar Rub it in :(
 
@BenFortune ?
you got a Rift didn't you?
@KendallFrey that video was great
 
Nah haha, I talked about getting one.
 
oh.. someone here I swear did
besides Kendall
they asked me what games they should install...
 
@Loktar Ben Craig did.
 
ooooh wrong Ben :P
 
9:14 PM
Booooo
 
@BenCraig steam VR sale if you haven't seen it yet store.steampowered.com/sale/vr_weekend
 
I'll probably get one with my next bonus
 
I saw Vives at Microcenter
 
@Loktar One's abandoning the UK, the other one ditched 240ish years ago.
 
that was pretty neat
they had like 6 boxes, was weird seeing sets in the real world/not in my house lol
 
9:16 PM
My boss said he much prefers the vive to the rift
 
yeah I do as well right now
 
Especially with the controllers
 
because of the motion controls
but Oculus Touch comes later this year
and looks fucking great
The Rift headset imo is so much better overall
 
He has the rift dev kit, I'm hoping he'll lend me it
 
really wish they had damn motion controllers out already
 
9:28 PM
I really wish people read changelogs for commits.
 
I really wish people read documentation
 
@BenFortune The day people RTFM automatically, is the day the developer world implosed.
 
@Trasiva this, right? keepachangelog.com
 
the day people rtfm is the day stackoverflow dies
 
9:30 PM
combined with github.com/bumped/bumped to add an unreleased entry
 
@FilipDupanović Our changelog isn't that expansive, because I make progressive commits. Regardless, if they read the part where fixes for certain issues were on the experimental branch of MS's api and not the release version, I wouldn't have this headache.
 
@Loktar yet, why is everyone bashing newcomers with RTFD on SO
 
@FilipDupanović Because the majority need to RTFM? :D
 
yeah, but RTFD someone with 2k+; I feel sometimes new users don't even know where relevant docs live
 
I can't do this, instead of trying to figure it out for myself I'll just get someone on SO to write it for me
Then someone does, and the trend follows
Ironically that's how I started out
 
9:38 PM
I run into a lot of people that want to drop their job and switch to development and try to help them out... you really need to sit down and talk to them, pointing them to the docs at that stage is just like saying GTFO
 
I understand that, but when people are asking things like how can I do this in jQuery, when it's right there in the documentation
 
@KendallFrey @SterlingArcher uhhh nsfw? gfycat.com/AlienatedAfraidDikdik
 
LOL
 
jquery might be a bad example though... you could instead point them to the tutorial, which basically walks through the docs in tutorial form.
 
Jquery docs are a tutorial
 
9:40 PM
@BenFortune sure, you're right, but lots of times I run into OPs that are genuinely confused
 
@rlemon Sort of reminds me of this
 
and they get CVed in a flash without as much as a comment or an attempt to edit/salvage the question
 
@rlemon It wasn't bad until the big eye bulge when she gets it from both sides.
 
Whey, my smok's coming tomorrow
 
9:51 PM
nice
 
10:20 PM
!!afk In two seconds, you will have 'Tubthumping' stuck in your head.
 
10:35 PM
Well, today was a good day. I was in an iRacing practice session with Rubens Barrichello, and set a faster lap time than him.
(I know that doesn't mean anything)
 
11:33 PM
@ssube every time I watch the summer of frontliner videos I get this overwhelming feeling I missed the concert/weekend of the century
that looks like it would have been such a fucking awesome time
 
He showed up for the race too :D I hit him off :(
 

« first day (2112 days earlier)      last day (2836 days later) »