« first day (1812 days earlier)      last day (3152 days later) » 

3:00 PM
@SterlingArcher Your mom does have a long neck.
 
I FUCKING WARNED YOU ZERK
 
@Loktar you use gulp-babel?
 
@SterlingArcher You were the one that said my name
 
@RoelvanUden the point is all of my code, outside of the gulpfile will be run through babel and land in the /dist folder
 
or /lib folder
 
3:01 PM
so do I copy the package.json file there as well? because that is the folder I will deploy from
 
especially if you are keeping separate files
 
@rlemon What are you stuck with?
 
no, leave package.json in root
 
@rlemon Ah, yeah, lemme get the code I use for that
 
@Luggage but then it never gets deployed and the sever has no way to install deps easily
 
3:02 PM
package.json can reference dist/ for it's main startup script
 
what makes webpack so much better than other bundlers?
 
you're all missing the point of what I'm trying to do
 
the npm package and your git repo root are usially the same. making them different is cplicated
and not really neede dunelss you ar closed soruce
 
@rlemon Are you intending to use npm to install modules in the distribution "package"?
 
@rlemon Is this for the extension?
 
3:04 PM
Or do you want to install modules before bundling the package up
 
I want /dist to contain everything I will need to upload to the server
including a package.json file so on the server I can install deps with npm install
 
minimongo is being a dumb
 
@rlemon use .npmignore to not include /src, and have npm only install your non-dev dependences on the server and use code form /dist
 
oh, ok
 
@rlemon that's why I webpack: single file in dist with all the deps, no npm install once you get to the server.
 
3:05 PM
I pre-install modules before distributing
 
@ssube I will get there eventually
 
It doesn't work for modules with native extensions, though.
 
took me two years to adopt gulp
@MadaraUchiha no
 
If you copy your package.json, all you need is npm install --production
 
Luggage how do you know so many things?
 
3:06 PM
that was what I was going to do @KendallFrey
but I figured I'd ask other people who may have done this
apparently asking was the wrong move
 
Experience, and a willingness to make shit up where experience is lacking.
 
@rlemon generate a debian package that you upload on your custom debian repo, this way upgrading will go through apt-get upgrade
 
how long have you been javascripting?
 
@FlorianMargaine on it
 
restarting the server will go through the postinst script
 
3:07 PM
you can npm install --production without copying the file.
one sec.
 
So I just got a pretty shitty email from my leasing company yesterday I forgot to tell y'all about
They're raising our rent $1500
 
I'm pretty sure @KendallFrey is the only person who actually gets what I am doing here
@SterlingArcher look into that
 
We did
 
or you can just set up an openstack cluster, puppetize a nexus server, create RPMs and upload them to nexus after your CI server finishes the build, then have puppet orchestration install the package on each server whose hiera data matches... it should only take half a rack and 15 servers to install your package
 
I cussed them out because all they rebuttled is "Well in New York.."
 
3:08 PM
here a landlord can only raise rent like 7% a year unless lease agreements are being re-signed or some shit
 
BITCH THIS ISNT NEW YORK
It's a legal move
 
move
like, out of the USA
 
@ssube half a rack for openstack? I thought 3 racks were the minimum
 
because that is some bullshit if it is legal
 
@rlemon My solution is just to abuse npm, idk if there are better tools for that
 
3:09 PM
But what really pissed me off is that they were touring some people, offering the old prices to them
 
@FlorianMargaine depends on how much you squish the hardware
 
@SterlingArcher shit on his lawn
 
you know, 3 for raid-like redundancy
 
We're so angry, we're moving. Which means I wont be in walking distance of my favorite bar
 
@SterlingArcher sue them for the cost of shoes
 
3:10 PM
But, the place we're touring today is walking distance to work.. so there's that
 
@KendallFrey I now have a gulp task which only copies over package.json :D
 
I rewrote my ad system in my video player in way less LoC, and in under 10 minutes this morning. I must've been tired last night, because the process I had was just shit
 
@rlemon I've got a bunch of those, it's not that weird and works pretty well.
 
@SterlingArcher seriously tho, I would be putting up such a stink and possibly leaving some fish in the walls
 
But I couldn't understand their fucking logic. They said a lot of leases end when ours does and they don't want people to leave at the same time
 
3:11 PM
@rlemon If you change your package.json to point to dist/main.js and set up an .npmignore, you can get rid of the copy.
 
So the solution is to raise rent $1500-2000 and force us out? I don't get it
 
@rlemon Well, hey, if you ever want to pre-install instead of distributing package.json, just ask.
 
I cleaned up a few projects like that, it's a little bit easier if it works for you.
 
Because I have some delightfully awful code that does that
 
@rlemon no
 
3:12 PM
@SterlingArcher that's an excuse. They want you to move out.
 
I use babel with webpack or browserify
 
is gulp named after the first sound you make when you see it?
 
@JanDvorak *Is
3
 
LOL
 
@SterlingArcher so your lease is actually up?
 
3:13 PM
@ssube yea, that's the solution I was pushing, too
 
@ssube It actually is allowed (at least in javadoc) to let the first letter uncapitalised and to leave out the trailing period (the latter only if there's only one sentence?)
 
@JanDvorak it isn't allowed in English though.
First letter of the sentence is capitalized.
 
Not even in chat?
 
Even. If. They. Aren't. Complete. Sentences.
 
Nope: this isn't the Java channel and we don't speak Javadoc.
 
3:15 PM
English, motherfucker; do you speak it?
 
idk you tell me if its allowed along with no other punctuation mr. grammar
 
@Loktar *mr grammar
 
@rlemon our lease ends December 22nd, but we have until October 25th to tell them if we want to sign a new lease (we could sign a 7 month lease for the same price but we're pretty angry at them) or we're moving
 
But point taken :-)
 
i hate you all
 
3:16 PM
@JanDvorak :p
 
@Loktar so, cause nazis apparently aren't cool but I still like classic military uniform styles, the lady friend and I are dressing up as soviets for halloween
 
and that period in the middle of a sentence. That aways bothered me.
 
2 hours ago, by rlemon
@SomeKittens Vader
don't be lame
 
it's like a random semicolon.
 
@ssube haha nice I wonder how many people will know what you are
classic WWII soviets?
@rlemon so you figure out your issue?
 
3:17 PM
yep. Blue jacket and hat, white shirt, black tie, navy skirt/slacks.
 
@Loktar yea, fuck everyone, write bad code.
 
hmm I thought they wore brown drab
 
Found a bunch of army pins and bars from a surplus store nearby
@Loktar They had a bunch
 
Solution: require('babel/register') and don't pre-transpile.
 
3:18 PM
^ its @KendallFrey
 
 
oooh dress uniforms
 
oh, yeah
 
nice man, should be a cool custome
I prefer the Ushanka ones personally
gives that authentic feel
 
I've got the hat, but couldn't find the right coat, so I got a blue canvas trench coat
 
3:19 PM
haha nice, has the hammer and sickle too?
 
@KendallFrey I need a regexp which will match "@<any single word> *<anything>"
 
I'm curious if anybody will get offended
 
@Loktar no, but I have a belt buckle somewhere with that. My dad picked it up while stationed in moscow.
 
@SterlingArcher you are like 3 hours behind my friend.
 
3:19 PM
nice
 
lol @JanDvorak
 
4 messages moved to Trash can
 
My dad has one of those shovels used in WW2
 
**Moscow.
 
3:20 PM
it's been 25 years, so it's not too soon for soviets anymore
 
it's all rusted, but it comes to a point.. I think it was supposed to be used as a weapon as well
 
plus I get to wander around with a bottle of vodka in one hand...
 
yeah pretty sure it was @Neil
 
@Neil for choppin off heads
 
@rlemon /@\w+ \*.*/
 
3:20 PM
so, are we cool with not capitalizing the first letter again?
 
I didn't know what it was, but I wanted to use it to build a sand castle when I was younger
 
@JanDvorak I think the only reason you were called out on it is because you call out so many mistakes with peoples sentences... but we are just a chat
 
@JanDvorak Your the only person who's grammar gets corrected
4
 
My dad took convincing but he let me.. I wouldn't have lent myself that shovel if I knew what it was
 
3:22 PM
@ssube *get's. If you want to be wrong, be wrong consistently.
 
@JanDvorak No.
 
Now let's all write grammatically correct sentences.
 
I can't :(
 
First person to write incorrect english, loses.
 
I am bad at the Engrish.
 
3:22 PM
I prefer to eschew any form of consistency in my life, in favour of a more haphazard approach to coordination.
 
@Neil Are you sure about that comma?
 
@JanDvorak It ends a clause.
 
English has it's own affect on people and they're perspective
 
@Nick Whoa. The last error actually made me backtrack while parsing that.
 
you're welcome
 
3:25 PM
 
@Nick effect*
 
@FlorianMargaine also *its and *their
 
const re = /^@\w+ \*.*/;
const antiNazi = node => {
    if (node.classList.contains('message') && !node.classList.contains('pending')) {
        let content = node.querySelector('content');
        if( re.test(content.textContent) ) {
            content.textContent = 'I am a big grammar nazi, you can probably ignore this message';
        }
    }
};
watcher.addParser(antiNazi, '.user-container');
added to dark theme
 
@JanDvorak these ones are on purpose
 
All three are, aren`t they?
 
3:26 PM
not sure about the (a|e)ffect one
@rlemon b-b-b-but
@rlemon function* () {}
 
You didn't mention that you don't need the .*
 
Affect = change the state of sth. Effect (v.) = cause sth to happen.
 
/^(@\w+ )?\*.*/
 
dat space doe
 
3:29 PM
!!urban doe
 
@JanDvorak doe A deer, a female deer.
 
!!urban dat
 
@JanDvorak dat that
 
So...
 
Don't try to apply logic to English slang
 
3:30 PM
@Nick *Ebonics
hehe, well my script works
 
you're an ebonic
 
@JanDvorak Astronaut deer.
 
I'm just trying to assess the cultural status of individual butcherisms.
 
Female space deer.
 
They usually send males to space.
 
3:31 PM
They usually send females too
sexist
 
I think the current crew of ISS is two males and one female?
 
your statistics are sexist
 
Almost 50% of my family living with me are females, measured by weight.
 
@JanDvorak nope, 6 dudes
space station has been mostly dudes: en.wikipedia.org/wiki/…
 
You measured your family weight?
 
3:36 PM
my house hold is occupied primarily by females.
but I'm making an assumption on one of the fish
 
fish are friends, not females
 
they are friends.
did you guys see Frank?
Frank the Frog
showed up in my pond yesterday
 
Does it speak french?
 
What's the ETA on those piranha
 
3:39 PM
@rlemon <3
 
@rlemon noice. Pond frogs are sweet.
 
I put ten gold fish in last night
pretty sure 5 are dead already
 
@Nick perfect for interviews
 
is anyone using webpack to create multiple builds with/without polyfills? I use the Promise and Fetch polyfills, but I don't want to include those polyfills if the browser natively supports it
 
3:41 PM
@rlemon that's normal. My mom has a pond at her place with fish and stuff, like 30% of the little ones survive being moved.
 
@rlemon lmao.. you're a murderer!
 
combine the aviator trapper cap with a darth maul mask, and you get perfection
 
Between temperature and chemicals and just normal fishy stuff, they don't do well.
Bigger ones seem to have a better chance.
 
@SterlingArcher What do you have for dinner today?
 
@SterlingArcher they are sold as feeders
half dead when you buy em
$0.30/fish
!!afk lunch
 
3:43 PM
@JanDvorak I see where you're going with this, but he didn't eat the fish :3
 
so it's not murder if it's food?
 
ofc not
 
starts munching on the neighbour girl
 
Don't give him the cannibalistic satisfaction...
 
You have to kill something in order to survive. Preferably not humans.
 
3:44 PM
implying vegetables aren't living things
 
Some vegetables can survive without killing.
2
Humans can't.
 
So we should all just develop photosynthesis (or however you spell it)
 
@JanDvorak You could if you wanted to badly enough
eating an apple doesn't kill the tree
 
True. But you do ruin the seed when you go to the bathroom.
 
3:47 PM
Oh hey, we could just keep sheep around and only eat their legs
they can live without those right?
 
@ivarni no
 
@JanDvorak so not having sex is a crime too, because you aren't reproducing?
 
I rest my case
 
@KendallFrey Not really but catholics did forbid condoms for that reason.
 
The catholic pull out game is strong
 
user1596138
3:48 PM
@rlemon what are you feeding with them lol or did you just want 1-day fish
 
@LanaKane rlemon is afk: lunch
 
@JanDvorak sudden spike in prepubescent teen male pregnancy
 
@ivarni tvtropes.com/videogameCrueltyPotential/realLife
 
user1596138
@JanDvorak I uhh yeah that's probably why lol
 
Guys, how would you avoid this pattern in your templates?
{{#if user.allowedA}} A {{#/if}}
{{#if user.allowedB}} B {{#/if}}
...
 
3:51 PM
Is that handlebars?
 
mutters "variable variables", then sprints away
 
{{for x in (A B C)}}
  {{#if user.allowed(x)}} x {{#/if}}
{{endfor}}
 
It's pseudo
@FlorianMargaine Hmmm, that might work
Cheers
Had a brain fart there
 
3:52 PM
cute :)
 
Not food, too smart
 
Handlebars has {{else if}} but the loop is nicer
@JanDvorak Also not vegetarian so not a good fit for food in the first place
 
Are you suggesting we should only eat herbivores?
 
Yeah
 
@ivarni it's also a different functionality :)
a user might be allowed to have both A and B, not with your else if
 
3:55 PM
@MadaraUchiha {{#each user.permissions}}{{#if this.allowed}}{{this.name}}{{#/if}}{{#/each}}
 
Chicken: Check. Pigs: Check. Cows? Check.
 
@JanDvorak how else are we going to save the planet? Herbivores account for nearly all the deforestation! Save the plants! Eat the vegans!
 
carnivores will have a higher concentration of pollution agents
 
So, let's start feeding on beavers
 
also carnivores are much higher input food to output food ratio.
 
3:58 PM
"have a much", no?
 
@Luggage and generally more muscle and less fat since they have to do the whole hunting thing
 
for every tiger you wan to eat you ahve to feed it many gazelle over it's life.
 
@JanDvorak idk about you, but I eat beaver regularly
nyuk nyuk
 
Does this look like a decent api:

new VideoPlayer('source/to/video', {
    skin: 'youtube',
    autoplay: true,
    muted: true,
    breakpoints: [
        { time: 0 }
    ]
});
 
yea, 'have a much' would be more correct.
stop showing off your english skills
 
3:58 PM
hey, I'm french
 
@KendallFrey dont lie
 
Why do you lie
 
@Nick no
 
Yeah. Let's stop froofreading afeter ourselfeves.
 
3:59 PM
b... but... your mother...
 
@FlorianMargaine 'what should change?
 
^ Adblock extension with 40 million users sells to mystery buyer, refuses to name new owner
 
my mother told me to tell you to stop crying
 
@Nick inject a VideoSkin, an VideoAutoplay, a VideoMuted and a VideoBreakpoints objects
 

« first day (1812 days earlier)      last day (3152 days later) »