« first day (1749 days earlier)      last day (3199 days later) » 

4:00 PM
it's awkard that you use a separate orphan branch, but nice, at the same time, that you can use one repo for multiple pusposes
and therefor use git as a protocol to publish websites
And one short shell script (or grunt/gulp/whatever task) can automate all that.
 
@Zirak only flag would be --yes
(i.e. don't ask, just install)
pacman -S does ask for confirmation, right?
 
@FlorianMargaine Of course
 
then we have the same behavior on most package managers
 
ggrr, I really wanted it to be more than that...
 
I can't think of any other useful flag
@Zirak like?
 
4:05 PM
I wanted to standardise input/output.
 
@Zirak I'd say... write some spec in pkgfs' doc, but imho it should stay simple
@Zirak input is standardized
output can't be standardized
 
@Nick I'm making myself use it for a month, just to see
Currently want to stab myself in the eye due to ads
 
@Zirak tbh, my point is: get something simple done for now.
 
I might just create a symlink to the dist folder in the seperate clone
 
@FlorianMargaine Kill me plz
 
4:11 PM
@Zirak why? you don't like simple things?
 
@FlorianMargaine Because I'll keep overthinking this to oblivion
 
@Zirak write a spec then
 
@FlorianMargaine But I don't know what I want yet
I know that you're right and from implementation I can infer solutions. I just want to complain.
 
@idmean I agree...for a small lib like this what test should we think of...
 
@Luggage you got a sh script that would do that?
 
4:14 PM
no
 
@Zirak remember what St-Exupery said
> Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
 
I know, I know. grr
 
I could think of some lame ones...
Enter key should add a tag...
 
@deostroll Looking at your code it could be pretty hard writing unit tests to test it... sorry, I’m not a real unit test expert
 
I wonder what you think is "easy" :). Seriously...
I mean what is a good example...
 
4:22 PM
@deostroll I mean you are doing a lot of UI work and testing UI changes in the browser is not easy. Or am I wrong?
@deostroll You mean a test example in general?
 
If you were trying to teach by example... What would you teach...reg unit testing JS of course...
 
@deostroll Well, you are definitely asking the wrong person. The last time I have written JavaScript unit tests was a year ago or so. I was using qunitjs.com and it worked well for me.
 
@deostroll funny enough, I've got an example of that
Using Mocha, Chai, and optionally Karma (to run tests in real browsers), you can simply write tests like these
 
Mocha, chai, karma
JavaScript is quickly becoming a starbucks customer
4
 
hoi gois
 
4:45 PM
@ssube what does {expect} in that code...not so much into es6...
 
I like how you can flag starred message
 
@JoshLeBlanc Why wouldn't you be able to. You could have a bot star every message and you're invincible :P
 
hm does this make sense? return this._messages.connected && this._commands.connected ? "connected" : "disconnected";
 
No, I mean from the starred column
 
5:00 PM
@corvid Yeah, looks like it does
Are they both bools?
 
oh I found the problem... dumb mistake though. I set this.connected instead of this._connected (there are setters and getters)
 
!!> if("this is" && "a test"){"say this"}
Oh, much rip Cap
 
I have to drive to Wisconsin tomorrow just to deposit a check... so stupid.
 
how far is that
 
Like maybe a 2 hour drive there
Let's see...
 
5:13 PM
nice
don't you have an acct with a national bank? like chase?
 
3 hours
there
and then another 3 hours back
Chase has no banks in MN
 
@ʞɔᴉN the N in your name didn't get inverted? :)
@BenjaminGruenbaum wait, what
 
@AwalGarg no idea, looks the same either way though lol
 
@BenjaminGruenbaum umm, the following emails state that cloudship is offering stewardship and stuff... so not exactly "dead" right?
 
5:23 PM
@AwalGarg Do you know how big Mike's involvement was?
 
Nope. Never followed LuaJIT's internals. Only used it.
 
Mike practically wrote LuaJIT himself, it contains lots of things only he understands, you can probably publish at least a dozen research papers off it.
No one understands LuaJIT's source except him
Not even close, at best it'll be at "maintenance mode"
 
Isn't LuaJIT's source code well documented though? Atleast that's what I heard.
 
not really
 
:((
RIP LuaJIT.
 
5:37 PM
Said, "shut up" to Cortana, she comes back with sass. Bitch.
 
@AwalGarg :-(
@Nick lol
 
@Abhishrek ?
 
@BenjaminGruenbaum you said the same thing about Babel, but I bet if there is enough motivation, someone will learn ti.
 
I still think the same about babel.
If Seb dies, Babel dies.
 
Unlike a company deciding not to maintina p roject, the source is there for all with little/no restrictions
 
5:41 PM
Secret Service should guard Seb :P
 
(I don't know the license of LuaJIT)
Like, I can't get MS to patch Visual SourceSafe for me anymore.. :(
Just kidding, there is no way i'd use source safe :)
 
@BenjaminGruenbaum but there are 4 of them.
 
Your "friend".... riiiight — Abe Miessler yesterday
 
@BenjaminGruenbaum I love how he blew traceur out of the water
 
A huge hit the the project? Undeniable. The absolute end? Not necessarily.
 
5:43 PM
just noticed a recent jspm update changed the default transpiler from traceur to babel
 
Is google still using traceur themselves ?
 
Is there any way I can be sure that my package.json lists all the dependences, and my project does not use some package installed globally?
 
good question. I don't know of a simple way off the top of my head, but I'd start with making sure I only have the bare minumam installed globally at all.
I see various tools online to 'audit' a package.json but I can't speak for how useful they are or what they do since I never used them
 
not sure, always kind of wondered though
 
@user3445165 you can build the trace and see
or maybe just change the global modules path and try to run it
 
5:55 PM
might need globals for the build process. like grunt-cli (or gulp)
maybe build, then temporarily rename the global node_modules.
try to run
but even then you may not detect all errors if not all requires() actually execute
 
I'd just do a grep for the requires and diff that with the deps in package.json
 
@Luggage not if you run tests with a good coverage. You have tests right?
 
Sure..
I follow all* best practices.
 
;D
 
grep -P "require('[a-zA-Z0-9-_]')"
 
5:58 PM
Hm, I just checked manually my globally installed modules, but there are many nice automatic solutions I guess, thanks
 
@uselesschien ^ this could be an issue with dungeon actually. We need to provide a hook for dumping a require report
 
Huh... this test is weird... how can you test writing to one socket and see if another socket is written to?
 
6:25 PM
hey guys, I'm having a really weird problem. The css styles and classes are not applied to my inputs inside my partial view.
and I get no errors in console
 
While it does feel like I'm getting a better hang of JavaScript, the mongodb documentation is so confusing Q_Q
 
!!s/y//
:(
 
@Mosho totally, mad props for Seb
Awesome dude
 
Greetings
 
6:36 PM
@JohnSnow that's because mongo's docs are confusing
our DBAs have mostly stopped reading them at this point
 
Well, doesn't help that I'm unused to reading bad docs :/
Java has very easy to understand docs and examples
It mentions how to puzzle things together while mongo docs have me.. nothing but puzzled...
It's hard to be stupid :(
 
Java has good docs, Mongo has bad docs
 
Even ElasticSearch is easy compared to mongo :P
Well, when you don't know how at least
 
Does anyone know how to turn this in a valid mongodb shell Query { 'cars.owner.$ref' : 'users' } cars.owner is a DBRef here, but $ref is invalid
 
That's because Mongo is poorly designed and barely works
 
6:41 PM
test
 
probably :P
 
sweeeet, lodash has each method as an npm package
 
@SterlingArcher youtu.be/lgs7Po9bJlA?t=4m50s ... he ded?
 
user2076675
Perhaps someone can help me, Google was rather unhelpful, I'm working on an application which I want to offer for free, supported by video ads, but finding services that serve video ads isn't as straightforward as I thought
 
Inbox by google is awesome
 
6:44 PM
@rlemon he has returned to the earth, but his shoes remained
 
it is sad that I remember like 1/3rd of these from when they were original
 
user2076675
The only things Ive found have been corporate level stuff where you already need to be huge before you can advertise. i'm looking for a service that allows new applications to advertise, something well establish with an API for streaming ads to generate revenue without jumping through corporate hoops first
 
@rlemon holy shet at the last one
 
Do you guys know a module for interacting with google sheets?
 
I almost just set my pants on fire
 
6:54 PM
now I want Indian for lunch
 
I forgot there was a 9V battery in my pocket, and i guess the ends touched my knife blade, and I was like.. why the fuck it my pocket heating up
And I think I burned my leg lol
 
@Mosho scoped packages though, iirc
@ssube hmmm Indian. I'll have that next week. Good idea.
 
0
Q: mongodb query on DBRef type

Willem D'haeseleerHow do I turn this query in a valid mongodb Query in mongodb shell. { 'cars.owner.$ref' : 'users' } cars.owner is a DBRef here, but $ref is invalid I get this error: "$err" : "Positional operator does not match the query specifier." My objective here is to figure out if there are any cars...

 
doesn't look scoped to me
 
7:07 PM
casually sneak vaping at my desk
 
you people
 
racist
 
Mac
Hello. So, nodejs, and express. If I get (for example) a 'ReferenceError' I understand its best to allow the app to crash (and then restart with pm2 or similar) however currently if I receive 'ReferenceError' within express it just returns a 500 and continues!
 
@Mac that's fine
 
I'm a you person myself
 
Mac
7:17 PM
@ssube Do I not need to 'crash' and restart at this point? I'm confused because this article joyent.com/developers/node/design/errors specifically mentions
"A typical example is a REST server (e.g., using restify) where one of the request handlers throws a ReferenceError (e.g., used a mistyped variable name). There are a lot of ways this that continuing on can lead to serious bugs that are extremely difficult to track down ..... The best way to recover from programmer errors is to crash immediately."
 
#triggered
 
wooo. Finally figured out how to use EventEmitter correctly
 
hello i have a copied text how can i know which line brakes it contain? n or nr ?
 
107
Q: Difference between CR LF, LF and CR line break types?

3zzy Possible Duplicate: What is the difference between \r and \n? I'd like to know the difference (with examples if possible) between CR LF (Windows), LF (Unix) and CR (Macintosh) line break types.

where did it come from?
 
@Mosho indeed, my bad
 
7:26 PM
// can this work?
this._messages.on('connect', () => {
  this._commands.on('connect', () => {
    this.emit('connect', {
      messages: this._messages,
      commands: this._commands
    });
  });
});
 
@SterlingArcher i created a firefox addon which set some text to clip board.when i paste copied content to notepad it shows all in a oneline .but brakes work in outer word viewers.so i want to see which line break contain in copied content
 
that feel when you cant figure out why this is undefined then you realize you messed up your constructor
after 10 mins
 
*can't
 
Mac
7:39 PM
Hmm, so does anyone have experience with error handling in nodejs? Should I process.exit(1) on, for example, a 'ReferenceError' or just return a 500 and continue?
 
I need a long game/rpg that's on steam. Just something that I can immerse myself with. Not many games like that these days
 
causes a reference error in Mac's server a minute after Mac leaves work
 
@Nick ADOM
idk if it's quite on steam yet tho
 
Mac
Ha
 
7:46 PM
Maybe I should just get D3... I've been putting it off for so long
 
can I wrap a class method using decorators?
 
No, decorators are only for classes
not their methods, specifically
@eatPoop
class foo {}
 
@Mosho Sure
fml
 
lel
set descriptor value and return it I guess?
 
7:49 PM
Huh, I thought I had read it somewhere
 
@Mosho look at the WeakMap example, note that decorators are not very stable yet.
 
pretty widely used already though
 
Well, every place using them will likely change syntax soon :D
 
bah, nvm
import memoize from 'lodash.memoize';

export default function memoizeDecorator(target, key, descriptor) {
	return Object.assign(descriptor, {value: memoize(descriptor.value)});
}
yay
 
What are you making?
 
8:01 PM
D3 looks lame. I need a better game.
I wish Halo was coming out sooner
 
@Nick duuuuude
ADOM
 
Not my cup of tea
 
8:12 PM
counter strike
 
i'ma use decorators anyway. They seem like a good way to use mixins or AOP
Come play Arma 3 with me. I have a strong desire to shoot you.
 
never heard of it
 
A buggy military sim game / platform. People script scenarios both military and non.
 
I might get arma 3, no idea what its like
 
Buggy but awesome.
 
8:15 PM
my great grandfather was Sun Tzu so I'd shut you down quick
 
Twitch-style gaming like counter strike will help you, but not in every aspect.
 
can someone compare CS:GO with Arma 3 for me? in like 1 sentence
 
I've only played the original CS, so I can't.
 
there's a bit of strategy involved in CS but meh
 
@ʞɔᴉN cs:go is way better
 
8:16 PM
But Arma goes for realism over game balance in all weapon handling (though scenario creators bay choose to try to balance)
 
hm
so LMG every time?
 
often, yes. unless you have to run a round a lot, then the added weight may be harmful
like running fomr cover to coover.
 
good to know
 
But depending on the scenario, you may not have acces, but instead be given the ralistic choice of gear you would be assigned. In other sceanaios you get to choose whatever you want
damnit, edited by accident
 
lol I get it
 
8:19 PM
Also trucks, tanks, planes and helicopters
 
i'll fly the apache every time in that case
 
and an optional simulation flight model (vs a more arcade-style) for helicopters that I love.
 
I have Risen 1 & 2 sitting on my steam games list since forever; gonna play through them
 
those twitch reflexes should help me dodge RPG's
 
rpgs aren't a concern when you can shoot things from 3km out
again, realism over balance.
 
I kinda wanna play a star wars game
 
battlefront II
 
I just lost my job
 
what? why?
 
We lost our grant and they can't afford me anymore
 
8:29 PM
Man, that sucks so bad
 
damn
have you thought about doing independent contracting?
 
I could have some work for you. Seriously. Some short-time JS work.
 
I'm about 4 weeks away from having my first batch of hard apple cider
:)
 
Ohh, nice.
 
I hope it turns out.
I'm making 23L of it
 
8:40 PM
Where did you get the apples?
 
gf's parents have some trees
 
you go to a press or do that yourself?
 
myself.
 
@rlemon bro
bro
 
orb
 
8:41 PM
there is a cider farm near here that'll let you use thier big presses
 
@Nick I hate you so much right now
 
I love a good dry cider.
 
@OctavianDamiean bro
 
That's exactly what popped into my head
 
k
 
8:41 PM
bro
 
cider mill*
 
well I just pasturized the first batch, only have so many pots. waiting for it to cool so I can put it in the carboy
 
then juice another 20lbs
 
like with steroids?
 
8:42 PM
huh
 
!!urban juicing
oh well...
 
rip cap
 
We're waiting for her to resurrect
 
Did some dick blow up the resurrection ship again?
 
@SterlingArcher What did you do? all CF or what?
 
8:48 PM
babel has a plugin for extensible destructuring now github.com/vacuumlabs/es-proposals/blob/master/…
 
cool, but I don't want to stray too far from spec...
I want the option to maybe change transpiler if i have to.
 
@rlemon Wanna watch a movie?
 
making cider
maybe later
if you are up
 
Wanna watch a movie while making cider?
@BenjaminGruenbaum Bummed out by the meeting?
 
8:54 PM
I can't sorry, I have to do about an hour's work in 20 minutes
 
@Zirak not really, just disillusioned. The rationale is the disappointing part I expected 2-3 meetings before it makes any progress.
 
@FlorianMargaine Noice!
 
So this is not taking longer than I expected, I just thought the bikeshedding would be about real issues.
 
@BenjaminGruenbaum It was rather quick to dismiss, and while I do think RegExp.tag (or RegExp.escaped) is more powerful, escape shouldn't have been dismissed so readily
 
missing: sync/install/uninstall, size, files, search
 
8:56 PM
@Zirak I don't really feel strongly about RegExp.escape in all honesty. It was more work than I expected and it sounded like it was put on hold for a rather silly reason.
 
So can you use some file sync tool to make one machine install the the same packages that another machine has?
 
@Luggage who are you talking to?
 
You.
 
oh :-)
hmmm
that's an interesting thought
 
@Zirak it's just odd that the problematic case they came up with is unreal. There is a something else in play here, and if you ping me on hangouts I can tell you why.
 
8:58 PM
but no, definitely not right now
 

« first day (1749 days earlier)      last day (3199 days later) »