« first day (1494 days earlier)      last day (3470 days later) » 

6:00 PM
and you have a standardized way to run tasks. You're free to use bluebird in gulp afaik.
 
youtube.com/watch?v=FkPqcIJvEPk <- Friend of mine (also named Randall) at Nodevember (cc @rlemon )
 
@SomeKittens Why can't node and ember get along?
 
@FlorianMargaine right, so you use a task runner which enforces a lot on you instead of including a library that doesn't invert control?
 
@BenjaminGruenbaum gulp doesn't enforce anything except using gulp.task() afaik
 
You call it with the gulp cli tool - it inverts control
I see the merit in it, if you have a lot of projects the same few people have to maintain
!!afk
 
6:03 PM
@BenjaminGruenbaum in your version you end up mantaining your own build pipelines, what if i want to add web-font optimization ... afaik libs to do that tight it with gulp or grunt
 
In "my version" it's just JavaScript
 
@BenjaminGruenbaum I realize that
 
If you really want to add gulp in a month, you can still do it
 
I haven't got a rock falling on my head.
 
6:04 PM
@BenjaminGruenbaum i'd just use a yeoman generator :D
andd add what i need :P ..
 
6:25 PM
@BenjaminGruenbaum yup, it inverts control so that I can write this code quicker. It's not like the tool is hard to write on your own though, it'd be barely a hundred lines or so to mimick the API.
And build systems (at least in js) don't grow exponentially...
 
new tomska video
 
910
A: What is dependency injection?

Thiago ArraisThe best definition I found so far is one by James Shore: "Dependency Injection" is a 25-dollar term for a 5-cent concept. [...] Dependency injection means giving an object its instance variables. [...]. There is an article by Martin Fowler that may prove useful too. Dependency inje...

...and I was worrying for nothing :/
 
@FlorianMargaine My most recent dream project is to take grunt (or equivalent) and write a proper build server around it, with a nice REST API and JS interface.
 
why?
I mean, what's the point of building an http server around grunt?
 
Running into issues with TC at the office, so I'm curious about replacing it.
We're not going to, probably going to call up jetbrains and yell at them for a while and threaten to stop paying them, but writing a CI server would be interesting.
 
6:33 PM
tc?
 
Teamcity
Managing the agents, queuing and dispatching jobs, collecting results and metrics, all that would be interesting.
And pretty simple. And a potential money maker.
 
@FlorianMargaine he's talking about a build server and CI
 
ah
@ssube so... jenkins?
 
It touches on a lot of interesting concepts.
 
or travis?
 
6:35 PM
@FlorianMargaine Yes, but far less shitty vs jenkins.
Along the lines of travis or TC.
Taking a page out of amazon's new book and using node to back it would be nifty.
Your build is made up of steps, each step is a lambda (of sorts).
 
@towc hehehehe
 
The intriguing part is scheduling and dispatching builds. You get some graph optimization for dependencies, some IPC or RPC or something for managing the agents
 
@ssube Have you looked into Docker?
 
@SomeKittens Not yet.
 
@ssube It seems like it'd be an effective solution for your problems.
 
6:38 PM
Haven't had time to get bored and rebuild my network this month. :p
@SomeKittens How do you mean?
 
And I can say with good authority that building such a server is a good moneymaker.
 
What does docker have to do with a CI server?
 
Someone do the challenge already :P
 
I plan on it just deep into my current project at work :/
holy shit hey @Deep
 
@ssube Imagine having one server for every commit on every branch
 
6:41 PM
Hey!
 
long time no see
 
Yeah, school has a habit of doing that, how are ye?
 
long time no see
 
doing well, you?
 
@SomeKittens That would be terrifying and incredibly inefficient.
 
6:42 PM
I actually see the merit in one server for each commit.
 
@ssube It's entirely possible.
 
Not really. It would murder the CPU.
 
fine thanks
 
6:43 PM
sorry, did I say possible? I meant we have a product that does that right now.
@ssube Curious?
 
How does that work without each server having 99% of its time stolen?
more importantly, how is that necessary in most common applications?
 
This is my fiddle, kindly change the data-front value with insppect element or firebug to see the latest value you entered will not be alert: jsfiddle.net/t7paoxhp
Kindly let me know how to refreash dom?
 
@ssube One: We don't literally spin up a server for every commit. It's the theoretical limit.
Two: DOOOOCKERRRR!
 
We have 8 dual (or quad) core agents running > 1k builds/day and are at something like 20% capacity.
 
so basically, I was using DI already somewhere, just that I didn't know I am using it eh!
 
6:45 PM
Currently, each team member has their own suite of staging servers.
I've got about 4? I don't need as many because I'm on the frontend.
 
Question: Apart from taking longer and not being 100% effective, are their any downsides to double entry? (Entering data twice and checking that they are the same)
 
@SomeKittens Yeah, scala really kills them.
 
@ssube four servers, I mean. Just for me. Other members of the team have more.
 
Takes its sweet time building, and the compiler thrashes memory worse than the runtime.
 
Any body can help regarding following?

This is my fiddle, kindly change the data-front value with insppect element or firebug to see the latest value you entered will not be alert: jsfiddle.net/t7paoxhp
Kindly let me know how to refreash dom?
 
6:47 PM
@SomeKittens Why do you need four yourself? How is that useful?
 
Protip: if you use the term 'kindly change' in your question you won't get a lot of help
 
@user3027531 hint: include http:// in the URL to make it clickable
 
Twitter is indexing every tweet since 2006
 
What are you trying to do @user3027531?
 
@user3027531 please re-phrase your question, it is very hard to understand your issue worded like it is. also please don't post the same question twice in short order.
 
6:48 PM
@ssube Why not? I spin one up whenever I need 'em.
 
And yes, it does sound like you're dumping your homework on us
 
I am changing my dom on runtine
and values are not alerting as per the changed value in the data attribute and I always get the previous loaded values
 
@JanDvorak Me?
 
6:49 PM
@SomeKittens Weird. I love my mostly-local workflow.
 
@user3027531 your fiddle doesn't outline that
 
@Deep Mr. 302 is
 
you have to change the value of data-front with inspect element or firebug and you'll notice the issue\
 
Oh. I am too, but continue anyway :P
 
actually you change the value but when you click on the link then it always alert the previous value
 
6:50 PM
And it's written in OCaml
 
@rlemon kindly let me know how to always alert that value which is really at that moment in the dom
 
Surely it does that anyway?
if you getElementById?
 
again, I have no idea what your issue is
 
@ssube My workflow is mostly local.
 
@rlemon its not just me then?
 
6:54 PM
@SomeKittens I'm confused on what the four servers are for, that a tab in your terminal can't do.
 
@rlemon See this: prntscr.com/57pcro
 
@user3027531 strange. works fine for me (because it should work. you've delegated the click event)
 
@user3027531 How/Why is data-front different in the resulting DOM than it is in the defined HTML?
 
@ssube One runs our API server that my local stuff connects to, one runs MongoDB. Another is my toy e2e runner, one's for scratch.
 
@rlemon exactly that's why I am surprised too...
 
6:57 PM
I've got bunch more personal ones for testing.
 
@Shmiddty he's editing in the inspector
 
I changed data-front value with Inpect Element and then I can see the changed value in dom but the alert always alerting the previous one
 
there is something funky you're doing
because the code is correct and my testing shows it works
 
user1596138
Oh hi @deep
 
Hey, how you doin' ?
 
user1596138
7:00 PM
Doing decent. Are you in school?
 
found the case
 
Not now, but yeah, Year 11
 
and I think I know what the problem is.
it appears jQuery caches the data values and only updates them if you change them via .data -- so if you click the link once then change it you'll always see the old one. but if you change it in the inspector before you click it is fine. @user3027531
 
@SomeKittens Interesting. Don't know how much that would translate to a CI server, tho.
You'd want to deploy agents with it, probably, but that's about it.
 
@ssube Current product is just staging, next step will be integrating CI stuff.
Do you use GitHub?
 
7:02 PM
realistically if you don't update this stuff in the inspector (which you shouldn't do in prod) you'll be fine.
 
user1596138
@Deep Cool.
 
Last year :)
 
@SomeKittens No, but we use git here and may switch to gitlab soon.
 
last year? we have k-12 here (think of K as grade 0)
 
user1596138
If life over there is anything like here... You're about to get really really bored :)
 
7:03 PM
@ssube Are you at least familiar with their PR system?
 
@rlemon thanks for clarifying this issue. Is there anyway to stop the caching?
 
@SomeKittens Yeah
 
user1596138
@rlemon I had to google "year eleven"
 
@ssube Imagine a link in every PR to a server running the code in that PR so you can verify it.
 
@user3027531 jQuery uses their own version of the dataset stuff. you can read the attributes directly if you want to be 100% sure
 
7:03 PM
You used to be able to leave at the end of year 11 (age 16), but starting with my year, you have to stay till eighteen in a college @rlemon
 
so elm.data('foo') turns into elm.attr('data-foo')
 
user1596138
I guess sometimes that's the last year
 
@rlemon thanks I'll look into it
 
@SomeKittens Right, definitely want that.
TC gets us awfully close but is a little too heavy and Java-oriented and supports a bunch of MS stuff that's pretty worthless to me (at work).
 
user1596138
I was homeshcooled what grade I was in wasn't such a big deal :P
 
7:05 PM
@rlemon I just came to this conclusion as well
 
It's also buggy as hell when it comes to the FS, and the CI server should hardly ever see the FS.
They did something really dumb there.
 
I'm probably going to go to some form of university after that though, so my forseeable education is in education. But hey, no more uniforms :)
 
@ssube TC?
 
user1596138
Yeah I didn't have a uniform
 
You didn't?
 
7:05 PM
I really just want to use node to build a distributed CI tool.
By far the best CI server you can install locally, but still not great.
 
@Deep here (Ontario Canada) you are in Kindergarten for a year (possibly two if you start earlier) and then 1-6 in primary school (sometimes 1-8) some schools are setup as jrHigh's and just do 7-8 and then highschool which is 9-12 here. after that you can choose to goto college or uni. we used to have a grade 13 call the Ontario Academic Credit but they dropped that while I was in HS
 
user1596138
@Deep School uniforms are odd here unless maybe it's a private school :P
 
Ah, I thought for a moment you meant "TestComplete" and I had bad flashbacks.
 
@ssube We're quite literally trying to hire someone to do that.
 
user1596138
@rlemon Jr. high here is 6-8...
 
7:07 PM
@SomeKittens Problem is, I know nothing about node on the backend, just Java and stuff.
 
@rlemon Cool, which did you do college or uni?
 
neither. after Highschool I started working for a rather reputable elearning company
 
Doing that in Java, it'd be a few weeks, then a month or so for a decent UI.
 
@Jhawins nice :)
 
Um, I'm rather scared about my mac
 
7:07 PM
(removed)
 
@Deep at the time I didn't see the need
 
user1596138
@SterlingArcher turn the fans all the way up for a second and it will make a mushroom could
 
cool
 
@Jhawins Generally speaking Jr. High is 7-8, Middle School is 6-8: that's the distinction I've always heard.
 
user1596138
It's hilarious
 
7:07 PM
My password wouldn't work like 15 times in a row, and then suddenly it worked (didn't retype it, spam frustrated hit enter)
 
@SomeKittens I'm also curious about using a peer model, rather than TC's server/agent setup.
 
user1596138
@Retsam See.... Jr. high === middle school // Indiana rules?
 
user1596138
What's the difference lol
 
Have a node that schedules builds, puts them in a message queue, and the build bots pull from that.
 
user1596138
I was homeschooled I'll just stfu I shouldn't even know haha
 
7:09 PM
@ssube Mind if I email you?
 
@Jhawins I grew up in Illinois; and my school switched from being a Jr. High to a Middle school; so that's why I'm familiar with the distinction, but that might just be Illinois' definition.
 
@SomeKittens go for it
 
user1596138
@Retsam oh yeah you are in Indiana for some reason I thought you were DrogoNevets in UK
 
user1596138
Somehow the avatars confuse me
 
simple things confuse simple minds ;)
#burn
 
7:10 PM
@ssube (I'll need an email address)
 
@SomeKittens Oh, just use the one from my SO profile: seansube@gmail.com
 
user1596138
Your mom // abhishek joke // the only thing NickDugger says that is hilarious
 
your email isn't publicly listen in your profile FYI
no ones is
 
@ssube Your email isn't public
 
orly
huh
 
user1596138
7:11 PM
You're not getting the job now
 
So no one cares about Flow :/
 
@BenjaminGruenbaum ?
 
Yeah...No.
 
I can care if you need me too
 
Oh yeah, there's a little label that says private. I assumed SO used the facebook model and everything was ultrapublic and the property of the soviets.
 
user1596138
 
reading comprehension: not a strong after-lunch skill
 
I like the logo!
it's pretty
 
I'm also discussing it here: news.ycombinator.com/item?id=8625222
It is
Raynos already put issues on GH :P
 
ofc he did -- he's everywhere
 
user1596138
7:13 PM
@Retsam any cool local events coming up? :P I never see anything around here
 
@Jhawins Not that I know of; I still go to monthly Node.JS meetups, and GenCon in summer, but that's about the extent of my knowledge of "Indiana events"
 
user1596138
@Retsam Oh there are monthly Node.js meets?
 
user1596138
I remember you saying that now
 
@BenjaminGruenbaum I'll check it out
 
Hey @copy !
 
7:15 PM
Hi kid
 
How's your game going?
 
Yeah; they're organized by a company called Modulus and hosted at my company every month or so. Free pizza and beer, too.
 
@Deep Hie Lie
 
bah no windows support for flow..
 
@Deep It's hard
 
7:16 PM
deep has evolved from an adjective to a noun :O
@Mosho happy birthday buddy!
 
@JanDvorak What?

@copy did you finish it?
 
No
 
How come?
 
@Deep Haven't you heard, "the cake is a lie"?
 
Yeah, obviously
 
7:18 PM
@rlemon why with data the data attr is not updating? On this fiddle: jsfiddle.net/t7paoxhp/1
 
Still don't get it
 
@rlemon dude this rogue ski was out for blood ._. youtu.be/Kw_EEo9LLgM?t=4m5s
 
@Deep Found cooler things to do
 
@user3027531 because you're still using .data
 
ah
 
7:19 PM
So I figured it must be referring to you
 
@user3027531 when .data see's something it stores it internally. if you don't update with .data then you will see old values.
 
It took me that long... (sobs)
 
my suggestion was to not use .data all together. instead use .attr for now until you get a better handle on what is happening
 
@rlemon yes you should. We can be merry.
@Loktar cough. I assure you it's better the way it is. You guys have enough control over us as it is
 
I think its sort of bug then
 
7:22 PM
@phenomnomnominal :P
 
in browsers or something
 
I would love to live there though such an awesome place
 
It has it's ups and downs, like anywhere. But it is a very safe, pretty, nice place to live
And I can get you all jobs if you want them
 
What platform will the Nov JS room meeting be on?
 
7:23 PM
@rlemon with attr its working like a charm. I guess using data is a nightmare if dealing with dynamic content. I wasted alot of time on figuring this out. Thanks for helping me out regarding this. I am really greaful to you for that
 
@darkyen00 dafuq did I just read?
 
check out the comments and the console logs (open dev tools)
and read up a bit more on what a dataset is and how jQuery makes them stupid :P
 
@rlemon LOL!! Thanks, Will do...
 
will it (the room meeting) be on Hangouts or here?
 
@rlemon s/stupid/better/
 
7:29 PM
@phenomnomnominal I would like 5 jobs please
@FlorianMargaine the fact that it shuffles the values off to a cache bothers me
 
blow or...
 
the DOM is slow
 
if you're all in with them, sure.
 
I think I might be doing my monthly challenge with flow, should be fun.
 
7:29 PM
flow?
 
The thng that FB released like half an hour ago
 
linkie?
 
It'd be a good chance to learn a new technology
 
> Flow is implemented mostly in OCaml.
woa
 
.gnitseretnI
 
7:31 PM
@FlorianMargaine Yeah, that was my reaction, too.
 
@FlorianMargaine yeah, it's quite readable, it doesn't run on Windows yet though (not a huge deal)
It's strange they didn't write it in JS
 
ah it's a static type checker, I thought it was something like typescript
just another tool like jshint to run
 
@FlorianMargaine In before Bartek has an orgasm
 
@FlorianMargaine It does talk about "compile-time", wouldn't that imply that it is like TypeScript?
 
@FlorianMargaine it's like TypeScript, look at the syntax at GH, they're just hiding that fact well
 
7:33 PM
@Retsam It looks more focused around inferring the types, at least from their example.
 
@BenjaminGruenbaum only saw examples with normal js syntax
 
from NY this morning
suckers.
 
I thought the most interesting bit was:
> Underlying the design of Flow is the assumption that most JavaScript code is implicitly statically typed ... different than existing JavaScript type systems (such as TypeScript), which make the weaker assumption that most JavaScript code is dynamically typed
 
wow
 
ah, didn't look far enough
 
7:34 PM
it does look very TSy, in their annotations example.
I wonder if it handles minimal type reqs as well as TS.
 
It could be promising; OpenSource + backed by a major company is generally a nice combination.
 
Seriously? It's a ZIP file!?
 
7:37 PM
> Flow is packaged as a zip file. To install, simply unzip it:
 
@rlemon 1. Well aware of the problem. 2. Never leave debris in a stable Kerbin orbit.
 
@phenomnomnominal how would you want to package it?
 
user1596138
// keeps going till current
<script language="Javascript" >
var js = "0.0";
</script><script language="Javascript1.0" >
js = "1.0";
</script><script language="Javascript1.1">
js = "1.1";
</script><script language="Javascript1.2" >
js = "1.2";
</script>
 
user1596138
Can someone explain this?
 
7:38 PM
@phenomnomnominal *sigh* unzips
 
@Retsam opens mouth
@FlorianMargaine umm? Maybe npm?
 
@Jhawins It tries to detect the javascript version. Not sure why.
 
user1596138
Some shitty version detection? lol
 
@phenomnomnominal it's written in OCaml
 
user1596138
Stupid local news
 
7:39 PM
@KendallFrey What mode do you play on?
 
@FlorianMargaine yep? But it's a tool for JS
 
@Jhawins they're making sure they are backwards compatible
 
@Retsam Depends
 
I've tried them all; so far, I like science mode, but I'm not so sure how I feel about science+money mode.
 
My sandbox was 9 years old, last I checked
@Retsam Did you play KSP before the money was introduced?
 
7:42 PM
@KendallFrey Yeah; though I've never played it extensively. I probably put 10-20 hours in before science was introduced, and about about the same after science was introduced.
 
Science mode is just the old version of career
I think the money makes it less monotonous
and with Economic Boom, easier
 
@KendallFrey I struggled last time I tried with money; but then I'm also trying to play the game without looking up tutorials
Which, given I'm not a rocket scientist, might be a losing proposition.
 
I guess if you're the type of guy that starts gravity turns at 10km, maybe the additional complexity isn't a good thing
 
pastebin.com/PvAEBwt6 How can I improve this? What else could happen?
 
I must say, kudos to Orbiter for teaching me efficient orbital maneuvering
 
7:44 PM
@KendallFrey I'm the type of guy whose having trouble parsing that sentence...
 
@Retsam If you're the type of guy that doesn't use a gravity turn, you could really use some tutorials :)
 
@KendallFrey Yeah; so far my greatest accomplishment is crashing a Kerbal onto Mun (he survived), so I'm not quite even to that point.
 
my greatest accomplishment is putting one in stable orbit
 
But yeah, I'm sure I'll have to give in and look up tutorials; but it's just not how I like to approach video games; I like figuring things out myself.
 
but he didn't have a lander and I ran out of fuel.
he was abandoned in space
 
7:47 PM
Yesterday I finished a mission to Tylo
 
My Munar mission would have gone better if I had remembered landing gear on the lander...
 
I haven't played KSP in probably a year
 
user1596138
PastFutureStateControl.prototype.canHasFuture = function () {
 
user1596138
lol
 
Jeb was going to Tylo, but someone forgot to send a ship to shuttle Bill back to Kerbin after he flew up and docked the return ship to the main ship
 
user1596138
7:48 PM
This is awful. I was gonna fix their shit because nice person but they have a function called 6 times for every 1 it is supposed to. It's joke.js
 
long story short, there wasn't room in the return ship to bring Bill home, but luckily there was enough fuel to bring the whole ship back and park it around KSP
 
user1596138
If you just repeat everything multiple times "just in case" I hate you
 
I think Tylo is the biggest thing I've returned from to date
 
@Jhawins what about wiping?
 
I still haven't designed a proper Eve shuttle
 
7:52 PM
@KendallFrey is your internet fast enough to stream?
 
@Jhawins I had someone generating UUIDs and then checking that the generated UUID wasn't already in an existing list "just in case".
 
What do you call functions/methods that modify a string?
 
functions
 
user1596138
@Retsam Do you do that 3 times?
 
@Deep Whatever you like?
 
7:53 PM
I need a fancy-sounding name
 
augment
 
@rlemon You mean Twitch? I can stream at low quality (<2Kbps)
 
@rlemon sirAugment
 
@KendallFrey :( you could be making $$ from streaming
 
Don't answer Deep's questions. You're doing his homework.
 
7:53 PM
@Jhawins Nah
 
@rlemon I'm lazy
Also, there are a lot of mechjeb haters out there
If you wanna see me stream though, ping me with ideas on Saturday
 
haters gon hate
and I find the more controversial a subject, the more lurkers
 
Play FNWF2
 
aint'ers gonna ain't
 
design a probe/lander to mirror the Rosetta mission and have the lander mimic the record breaking jump
 
7:56 PM
Meh. Too obvious
 
ohh, and wear a riskee shirt while doing it
 
I've already seen that on YouTube
 
@rlemon Knew that was coming.
 
@Retsam That's reasonable, but if find dupes, the person should get an error message telling them to call their OS vendor and demand the million-dollar reward that's been posted.
 
(It's risqué btw)
 
7:58 PM
I should visit more planets
 
I don't have that key on my keyboard, so you get riskee
or the Canadian risk-eh
 
I've only been to like half of Jools moons
 
@rlemon The "hold down key to get accents" is one of my favorite OSX features.
It enables my internet pedantry.
 
I could get out the ol french Canadian keyboard
but it sucks for day to day use
 
Touché
 
7:59 PM
AltGr + e = é
 

« first day (1494 days earlier)      last day (3470 days later) »