« first day (2445 days earlier)      last day (2725 days later) » 

00:00
lol friends
@BenFortune you're basically my brother
I thought we were more than friends
agreed remove friends insert brother
@Luggage fine, you can be my sister
00:00
or my thumb
is the syntax for code blocks in here the same as on SO?
indent by 4 spaces
and the whole message but be indented by 4+ spaces, even blank lines
Person.Name.First = Kriz
@PatrickRoberts i think there's a syntax error in your document.querySelector: example
00:05
@derp Looks fine to me
remove "" replace '
ah, I see it
@derp nope, it's correct
@PatrickRoberts You have both function and =>
using both function keyword and arrow function
00:06
OH, thank you, didn't see that.
@derp Good eye
thanks!
but the rest of that is correct
@PatrickRoberts when would someone use this library?
00:09
@derp a = "1=1"; b = "1 == 1";
its probably my lack of understanding but i don't get when i would use this
It's basically syntactic sugar for dependency injection, and it's pretty performant too because after the first get trap for a DI, it becomes just a property reference
okay i think i sort of get it
i dunno why, but i love the term syntactic sugar
it's very onomatopoeic in a way
I just really like how it uses object destructuring as the method for injection
const inject = createInjector(require)
inject(({ http, express, 'socket-io': sio }) => {
  const app = express()
  const server = http.Server(app)
  const io = sio(server)
  // ...
})()
00:15
remove @PatrickRoberts
@PatrickRoberts that module reminds me a bit of AMD modules
@derp I feel like if people were to notice it, it could have the potential to be incorporated into the AMD module structure since createInjector() accepts any synchronous dependency function as an argument.
dude that's straight ripped off of @MadaraUchiha's work
00:22
huh?
@RexAdrivan not @PatrickRoberts
let it work
though i dunno, won't most people be using es6 modules nowadays though?
hmm...thinking about this more, i've realised how little i know about module loading
I wasn't aware you could import http, express, and socket-io in one line using import
although.. crap now I found another typo
socket-io => socket.io
brb going on a magical adventure to learn more about js module loading
00:29
@PatrickRoberts const [foo, bar] = [require('foo'), require('bar')];
:P
@BenFortune I said using import since derp said "everyone's using ES6"
I started using ES6 because of that too
I'm not really fond of the import / export syntax personally
Well, you should have spoken up in 2014. Too late. :)
its in the language now though
00:35
Cons of import / export compared to require(): They are required to be top-level, and the sources for them must be string literals.
That is also a benefit
It's in the language specs but by no means implemented in node
its in the latest node without the need for transpilation
Wait really? what version is that?
8.1.2?
require won't be removed.
00:38
Yeah, but it mentions nothing about import / export
hold on, i'm trying to google when it was included in node
but i know for certain that i've been using it for 6 months without transpilation in my own project
maybe longer
behind a flag, i assume.
Wow, I had no idea. Everything I've read, even current, says that node hasn't fully implemented it yet
it's not even in v8 yet is it?
I'm on 7.5.0 and it doesn't work
00:44
@PatrickRoberts do not touch it it's already dead
@derp you sure you haven't been including require('babel-register') at the top of your entry point? ;)
now i'm not too sure
:S
I mean, I'm not saying you're wrong, I'd just be really surprised
fuck....it was transpiling
my bad
i'm wrong
well, now I feel better. I was thinking somehow I'd missed a major update to node xD
00:49
remove I and replace it with a person
Just curious, has anyone found a coverage utility compatible with mocha and ES6 import / export? I tried a few configurations that claim to support ES6, including isparta, and they all throw at "unexpected token export"
oh uhhh i just ran the coverage post transpilation
although i guess it wouldn't give a very accurate represntation
since it'll include a whole bunch of fluff code that doens't need to be tested
bleh. I was hoping to show coverage in the original ES6. I ended up just resorting to module.exports = ... because I preferred people to be able to use const createInjector = require('di-proxy') rather than something like const { default: createInjector } = require('di-proxy')
I want to have an object whose keys are array values, and whose values are always, say, 1. Is there a better way to do it than this? [ 'a', 'b', 'c' ].reduce( ( acc, x ) => { acc[ x ] = 1; return acc }, {} )?
by better I mean elegant/functional
or even just practical
reducers are almost never nice to look at tbf
@BenFortune add a function to BenFortune "play"
00:54
@towc Object.assign({}, ...[ 'a', 'b', 'c' ].map( x => ({ [x]: 1 })))?
tbf, I think the reducer is more memory efficient than the above, but I think the above is easier to follow(?) (in my opinion at least)
console.log(@BenFortune)
ok, I think the new de-facto standard for sails/vue is here :)
I've probably handled it very poorly
Sails is worse than meteor
but I honestly think it's already so much better than everything else out there
./create.sh pshh, not even cross-platform, gtfo
01:01
@BenFortune what's up with that dude?
I don't know, he's annoying as fuck
rebase
Just sits in the chat spamming random shit, he's been doing it a while
are you talking about me?
oh, rex?
LMAO not you @towc
01:02
@towc You should honestly add an npm hook for postinstall so it won't be dependent on a unix bash script, and telling people to run npm install is more "official" than telling them to run some random bash script in your project directory :P
could apply to you too
hyu hyu hyu
@BenFortune I like how it's actually not that much more stuff added to express. It just adds somewhat of a method. If you like rails, you'll probably like sails
@towc Yet they made it slower
I hated sails the two times I had to work with it
identify BenFortune
01:03
I have to admit I don't understand how does it take so much time to boot up
@PatrickRoberts I should 😒 it works for me, and after it being built, all I'd have to send to heroku is /backend, so it won't actually matter. I like the idea of this standard, and that's probably as far as I'll get
Gotta admit, I kinda liked waterline, but the rest is crap
what do you use when doing something from scratch?
just write really good express code?
I'm really open to suggestions
but I do need something that makes me really really productive
sails is easy to understand and use, imo. Or I just haven't found anything better
if BenFortune helps plants to grow then he is "unkown"
@BenFortune tbh, waterline is what killed it for me. I had to migrate a sails app to express for the company I worked for, for the sole reason being that waterline was poorly documented and had terrible performance, and forced you to do things "their way"â„¢
Express is my to-go-to, unless it's something really basic then I just use my own router with http.createServer
01:08
@RexAdrivan stop targeting @BenFortune with random messages.
I use express, put some gulp tasks in and use require-dir from gulpfile.js, set up with socket.io or whatever I need, mongo, etc. Takes me a few hours but it's worth the effort honestly.
i just ignored him, i refuse to pay his sanity tax
@derp Can't really do that as an RO, since we need to be able to see their messages if they step out of line
@PatrickRoberts that sounds like what sails does for you :P
yeah except waterline is shit
01:09
brings those hours into mostly a couple of commands
and sails uses grunt, not gulp
I hate grunt
@PatrickRoberts migrating might not be easy, but once you've migrated to waterline, you may never need to migrate ever again
I used to use grunt, when I switched to gulp my life got so much easier
oh wow, I just realized gulp and grunt are not the same thing
01:10
Knex/sequelize are bae
I haven't heard of gulp in a while
Or is it bookshelf
@towc and this is why you're stuck on sails... :P
I only heard of it when I was just getting started with the backend. I remember refusing to use express because it wasn't "pure js"
01:11
I also used rollup until webpack supported tree shaking
I personally use browserify instead of webpack. When I need to target node instead of the browser though, I just use straight-up babel, concat, and min.
ok, just to be sure after my react fiasco, sails is a framework, right?
yes towc
wanna see a shitty framework I published a while back? xD
no
I was using grunt back then
01:13
yes
I still don't know how to grunt
but sails knows for me so it's ok :)
hmm you kinda dont need to know grunt nowadays
unless you happen to be given a grunt codebase
01:14
@BenFortune and a lot of imagination I see
@Loktar lmao
I mean if they want to participate in discussions fine, but the random words here and there are distracting and add nothing to the chat. And have continued after multiple warnings as well, so meh.
blackbeard kinda feels like sails with react philosophy, it's nice :)
oh wow, @ndugger actually writes nice stuff :D
next thing you know, he's secretely a nice person
@Loktar He's done it for a few weeks, dunno why it's ticked me off so much today
Apparently I never noticed until today lol
01:18
conspiracy maybe Rex is a bot
nah
if he is, it's very often curated
By the way, anyone else tried using npm install --save-dev standard? I used it for di-proxy and I actually really like it.
I like prettier
Mixed with eslint
I'm looking at it... what they do is actually just rewrite your code for you, is that correct?
It's just a formatter, your code shouldn't change
01:26
"Prettier bans all custom styling by parsing it away and re-printing the parsed AST with its own rules that take the maximum line width into account, wrapping code when necessary."
I mean the syntax won't change, just the styling
Oh I get what you're saying now haha
I meant rewriting the styling, yes. I'd hate letting a tool do that. Much rather it tell me what it doesn't like, and I'll decide for myself how I want to fix it.
The one thing I don't like about standard (and yes I know this is extremely minor) is the fact it makes you put a space between a function name and the open paren on a named function.
I've always done unnamed functions like function () {... and named functions like function name() {...
I swear this room always dies like an hour after I join it
haha, people gotta sleep
speaking of, it's 2:30am, gotta be up in 4 hours
whoa, okay. completely different timezone. night then
night 😀
01:41
Lick my boots
um no
sharing != true unless it is a sun
02:20
sometimes I don't know if I'm depressed or simply numb from too many quality memes
probs
I needs a robot that can plant for food which get's energy from the sun = solar power
me I'm talking about drones
> An English teacher in the UK asked over 60 teenage students to draft a suicide note for homework
02:35
alright now use google map for allocation
02:52
I like his idea a lot, but achieving that with React-Router (or any reputable router library is almost impossible)
I dont like him. Ilike food first then I like him
What? You high or permanently low?
I can fly
You're really high.
or permanently low
/muted
02:57
akila vs drones planting
@Shrek I do it with react-router
@Mosho how?
autorun for watching state change in location to trigger one in app?
I don't use mobx for it, but sure, that should be fine
instead of using the component hooks, create your own
listen to history and update your state
with RR you may need just 1 top component with lifecycle hooks to update that state
that's how I did it, but that's with RR 2
@Shrek I'm sorry what did you say?
@Shrek I like how I wrote the routing here with @BenjaminGruenbaum's help: github.com/mobxjs/react-mobx-boilerplate
I used it for an app recently and it works well
I think it's a good showcase for no frills routing and not counting on components for your route change hooks
which is probably the oldest, most common anti pattern in react and other MVC's
03:13
I see the towers but I can't see akila
@RexAdrivan ffs, quit spamming
I show up, have to read through a dozen kicks, and you're still at it :(
03:33
fuck my life...more manual testing
yes yes automation and all that
build a little rig to automate your hand movements
lol
at my last job they refused to do automated testing. every 6 months all developers would down tool and be issued with a word document with tests to perform
click this. click that.
my god
replace word document with microsoft test manager and you've got my life
That's what QA is for
> every 6 months
03:38
the amount of money wasted on that. we could have all spent 2 weeks writing automated tests and been done with it
there are so many problems there
I didn't spent 4 years at uni to manually test software
you say that....but after creating an automation test suite
nobody uses it
or really cares about it
We do
awww thanks
03:39
same
still...i guess i shouldn't complain about it too much
it gives me time to read up on stuff like the devicemotion event to see if i can make some sort of game based on dropping your phone
It's a bit of a pain in the ass sometimes, but it's saved me more than I'd prefer to admit
hell, I have problems talking people out of nightly builds, because we don't even need them anymore
the tests run all the time
@ssube nice
Our tests run on every branch pushed to remote
03:40
@derp there's one based on throwing it as high as you can, but it got banned
brave enough for CD yet?
no way!
If something ain't green, you can't merge
user2620028
@MadaraUchiha i have now hit a point in shippuden where every episode is an abridged version of previous episodes
what's the name of it?
user2620028
with absolutely no current plot thrown in
03:40
@HatterisMad Sounds like you're in a filler season
user2620028
an entire season?
@ssube, ahh but they can't ban it if its not in the app store
Yaaaarp
user2620028
jesus kill me now
and just runs in the browser
03:41
why are you watching naruto
@derp CD is kind of bogus. there's little value to uncontrolled deploys, and even if you let the deploy run automatically, a human still hit the merge button.
That's how Naruto do. Ya get a real season then a filler season
user2620028
@Mosho i just watched simpsons from start to finish, figured it was time for naruto
there are way better options
naruto is fun but way too long
user2620028
well that is why i am skipping episodes right now
user2620028
03:42
seems like i might be back to a plotline now
user2620028
just skipped 3 whole episodes that didn't cut to plot a single time
im trying to 'deploy' a site built with create-react-app on my ec2 instance and i'm getting all type of errors. is it enough to put the react-app on GH and pull it onto my ec2 instance and than run npm build?
I'm considering starting one piece though
@AlexBollbach does the site use node or is it just frontend react stuff?
Have you watched One Punch Man?
03:43
well create-react-app uses npm to pull in tons of node modules
@monners ofc
season 2 on the way
but functionally its just UI that makes some ajax requests
Can't wait
mob psycho was lame :(
@AlexBollbach right, but after the build, do you have a webpack bundle or a node script?
user2620028
03:44
@AlexBollbach are all of the configs the same?
Assassination Classroom?
if it lives in the browser, you probably don't need ec2, cloudfront can serve it
i'm not sure how create-react-app works, the main reason for it is so i don't have to know those details
user2620028
i accidentally updated node on my dev and it broke my babel config earlier :(
@monners no
I try to avoid shows with a school
user2620028
03:45
@AlexBollbach have you tried to rebuild it yet or just asking about the possibility?
what about the zombie high school one?
i also wrote an express app than i'm running on the ec2, so i want to serve up the distribution output of npm build
unless they're super high rated like code geass
hahahahaha, @ssube i think the game was called "send me to heaven"
brilliant!
@Mosho Why? It's great
03:45
/home/ec2-user/ab-site-2017-summer/node_modules/react-scripts/scripts/build.js:60
({ stats, previousFileSizes, warnings }) => {
^

SyntaxError: Unexpected token {
but it wasn't really in a school like the shows I try to avoid are
@derp that sounds right. It didn't last long, but broke tons of phones. People were building catapults, it was awesome.
What do you have against anime set in schools?
@monners they annoy me
03:46
Don't drop the soap
in the comments, someone joked that they should make one based on how hard you can throw it on the floor
and call it "send me to hell"
and I also don't watch many shounen either
hmm....
I guess you didn't watch Death Note then
user2620028
death note was awful
03:47
i was originally going to make one based on how many times you could flip it in the air
user2620028
predictable at every turn
@ssube that's stupid
I must admit, I wasn't much of a fan
and I hate zombies
@derp I don't know if you can accurately measure that
03:48
....but detecting the accelerometer force would be good too
I loved death note
@Mosho You're dead to me.
@Mosho they... all are
hey man, i just want my phone to die so i can get a new one
@monners oh the irony
03:48
;)
building an app for it seems like the most straight forward excuse
Vampire Hunter D
best anime (and show in general) of all time is still legend of galactic heroes
maybe tied with breaking bad
Incorrect
Battlestar Galactica
bullshit
03:49
Bullshit was a close second
what about Space Dandy
BSG had lots of potential
but it got so tedious and boring
I had to force myself to watch it
full metal alchemist
user2620028
full metal was good to watch as a kid
DBZ is probably the best as a kid still
03:50
FMA was good
user2620028
i never watched dbz
user2620028
even as a kid i couldn't stand the yelling
i never got into dbz
yeah the yelling where nothing happens got to me
My fondest anime memory from childhood is probably Neon Genesis or Ninja Scroll
mine would probably be pokemon the first season
user2620028
03:51
neon genesis was good until the ending
NGE tries too hard to be "psychological" for me
user2620028
from my childhood inuyasha was fantastic
just show me big fights plz
user2620028
wouldn't enjoy watching it again i bet though
user2620028
inuyasha was just a good feel good anime as a kid
03:52
that would be like watching ninja tutrles or chip and dale again
conceal and construct
user2620028
where nothing ever happened and that was perfectly fine
Oh snap, AoT is my current favourite
episodes are frustratingly short
the second season as a whole too
@monners AoT?
03:53
Attack on Titan
ah
Hellsing Ultimate was pleasing to watch
user2620028
wait did attack on titan get a second season?
@HatterisMad just ended last week
Halfway through second season
Shit's goin' DOWN!
03:54
@monners ?
user2620028
no shit...
user2620028
i didn't think it was ever actually going to get any second season
A K
A K
have you heard of hellsing abridged?
nope
user2620028
i think my favorite recent anime would have to be Re:Zero
A K
A K
03:55
its hillarious;
@Mosho Oh, it's ended? I've fallen behind then
A K
A K
too bad he only uploads video every halloween
@monners only 12 eps
user2620028
oh wait abridged.... yugioh abridged was the funniest shit ever
like I said, frustratingly short
03:55
I think I'm up to episode 9 or 10
and each episode has less than 20 mins of content
Still a good show, though
That's why I prefer to fall behind then binge watch a whole bunch
yeah, no doubt
@monners title?

« first day (2445 days earlier)      last day (2725 days later) »