« first day (1878 days earlier)      last day (3071 days later) » 

9:00 PM
meow
 
!!afk it's a badger
aka vape, brb
 
user1596138
@towc Hell no.
 
user1596138
Not that I have any idea lol
 
EFF YES M8 -- finally got FFMPEG to stream the output into a Buffer.
It only took half a work day
 
9:03 PM
is @BenjaminGruenbaum here?
 
@phenomnomnominal Depends on what you want from him
 
user1596138
Is it just me or does this pic look exactly like one of the other kids here? stackoverflow.com/users/1401133/andrucz I can't think of who tho
 
almost looks like towc
just a pissed off version
and the hair is the wrong colour
 
user1596138
It's Towc when his pen gets overlooked by codepen staff xD
 
:D
@Loktar
 
9:06 PM
HI all, anyone have experience with websockets ?
 
@rlemon tbf, a lot less is abnormal after 40
 
SPAAAAAAACE
 
i need something like this chrome.com/racer where users can get connected to eachother using a random generated code like krs5e4 by surfing to the domain/krs5e4
 
9:08 PM
This is gonna sound retarded, but I need to return something, but then continue to do a bunch of stuff within that same function/Promise... how do
 
is it hard to do with socket ?
 
@BadgerCat <3
 
@SomeKittens have you done anything with dynamic workflows in gustav? ie., test for a condition in the source and depending on what you find add a certain transformer function to the workflow depending on which condition is met.
 
@rlemon z-fighting. there's z-fighting.
 
@MadaraUchiha just a bluebird question
 
9:10 PM
@NathanJones Not code-wise, have a half-dozen post its on the topic
 
@phenomnomnominal Shoot
 
@rlemon no
 
@SomeKittens huh?
 
I've lots of plans about dynamic workflows (and updating running workflows) but have not written any code about it
 
user406009
@ndugger Use setTimeout to schedule your other computation before returning?
 
9:11 PM
@FlorianMargaine 6 against 1 so far
:D
 
are you thinking of doing something like that?
 
@rlemon I win
:P
 
you win the privilege of losing! congratulations \o/
 
In our tests we have lots of stuff like sinon.stub(something, 'func').returns(Promise.resolve)). Updated to Bluebird v3. They're karma tests so you don't return the promise, you call done. Getting warnings for each of them now. Is there a way to turn off the "A promise was created in a handler but was not returned from it" warnings?
 
@Lalaland yuck, but it would work
 
9:12 PM
or a more correct way to just return a resolved promise
 
@ndugger can you use a continuation but return the original promise?
i.e. p.then(...); return p;
 
@phenomnomnominal Hmm, can you give an example for such a test?
 
There is a problem I am facing while using async with express
 
@rlemon lol yeah saw that, its true for me even in my 30s
I go to the doctors for everything man
 
@Loktar I just got a new doctor. She is like 25 and easily a 8/10
:(
I liked my old indian doctor.
 
9:15 PM
I blame the internet though, every time i look something up it recommends I go see my Dr. and symptoms for cancer, ect. ect.
@rlemon haha
 
> fuck, my ankle hurts a little bit. Lets see what webmd says.... aaaand I have aids.
@Loktar basically
 
when the page loads my angular controller makes a get request to the node server - which fetches data from two collections and to retrieve data I am using async to parallely execute both of them together.
at times I don't get any data on the front end
 
lol @rlemon
 
after I refresh the page everything is fetched properly like it should
there must be some logical mistake from my side
any suggestions?
 
Amazon Holiday Sales: 14ga Speaker Wire! Just what everyone wants for christmas!
 
9:17 PM
@MadaraUchiha something like:
    it('should do some api thing', (done: any) => {
        // Given
        let spy = sinon.stub(service, 'method').returns(Promise.resolve());
        let data: string = 'data';

        let expectedValue: tmApiRequest = { data };

        // When:
        let promise = thing.callService(data);

        // Then:
        promise.then(() => {
            let result = spy.args[0][0];
            expect(result).toEqual(expectedValue);
        }).catch(done.fail).finally(done);
    });
 
user406009
@RanganathanSwamy Add console.logs everywhere.
 
I have done that
but I have not reached to any conclusion using them
shall I make a thread and post all codes?
 
@RanganathanSwamy tried using the debugger thingie?
 
@phenomnomnominal Well, you could just return promise.then(() => { ....
 
!!mdn debugger
 
9:19 PM
no
 
@towc No I haven't used it yet
 
@MadaraUchiha pretty sure that fucks with jasmine
 
@phenomnomnominal I don't think the return value is used
 
then try that ;)
 
9:20 PM
github.com/node-inspector/node-inspector this is what you are suggesting right? @towc
 
@MadaraUchiha Yeah I guess I can try. We're changing to mocha and chai anyways, so that will work then
 
@RanganathanSwamy could be, could not be. No idea what it is
 
okay
in short you are suggesting me to make sequential execution and check i/o
like in C++ we do using break points - amateur level
 
0
Q: Return after loop using JS Promises

iggy2012I have the following function which parses an API request: parse(response) { let TreeObj= { 'Trees' : [] }; response.ClassificationIds.forEach(classificationObj => { $.get('myAPI/' + classificationObj) .then((classification) => { TreeObj.Trees.push(cl...

Shouldn't this work as it or do you have to chain another then to return a promise filled object?
 
Eh, I got it to work; I just had to ditch async/await in favour of traditional promise syntax. Sucks, but it does exactly what I wanted
 
9:28 PM
nice! it is finally on sale!
soon gonna control my heat from my cell
:D
 
My supervisor won one of those from our Christmas party on Saturday
 
Its ok Sterling, Dan's been wanting to use "octothorp" in a sentence all week! :) — Mark A Kruger 32 secs ago
 
He has a new kid, too, so it comes in real handy during the Wisconsin winters.
 
@rlemon are you installing it yourself?
 
@rlemon I had one of those, I now have a $250 hockey puck after I ripped it off the wall
 
@bluefeet yes, but I also have a team of engineers to help me
@bluefeet reviews are good.. and I'm about at that stage with the one I have now
the "instructions" lied. it doesn't ever wanna remember my settings
 
@rlemon Is that one of those that needs wiring straight into the boiler?
 
@BenFortune no clue, we will find out :D I bought it because it looks pretty :)
 
@rlemon We had multiple problems with it. Eventually we just gave up
 
9:37 PM
@rlemon Oh haha. Good luck, I've heard they're awful to install
 
like I said, if it gives me crap I'll just buy a case of beer and get one of the engineers at my work to pop over and install it
 
haha
 
they expect it by now :D
 
I have Hive which came free with my gas contract
 
anything beyond my abilities I just call one of them. Like installing my gas range, I didn't trust myself so a guy at work is also a gas fitter, he did and showed me how.
 
9:38 PM
@bluefeet my grandmother has one and she loves it
 
@SterlingArcher what should I eat?
 
@SterlingArcher we replaced ours with this
 
@BadgerCat Pizza
 
well shoot! that looks slick as well.
 
@BadgerCat Sushi!
 
9:40 PM
and it is only $40 more
 
@BadgerCat what have you eaten in the last 3 days?
 
can still control it via a cell phone
 
@BadgerCat Kale chips!
 
@SterlingArcher she is what she eats... so a Badger and some Cats.
 
9:40 PM
@bluefeet I really was just looking for a new one, 'regular' old ones are like $100 in Rona, so $50 more for a 'smart' one seemed like a great idea.
 
!!youtube sworn in snake eyes
 
hopefully I didn't get a lemon.
 
I already ate pizza today and I'm on a diet.
 
HE SAID LEMON
@BadgerCat tuna!
 
9:41 PM
@SterlingArcher That intro gave me wood
 
Tuna is healthy, mix it with green peppers, onions and cucumbers
 
Tuna with basil and cumin. Do it!
 
@BenFortune wait till 2:30
 
My new favourite XKCD I think
 
That sounds delicious
 
9:41 PM
@BadgerCat Do you want me to eat it back out of you?
 
jesus christ fucking what
 
I love pizza
 
r u ok
 
@rlemon I get that. We had issues with the "smart" portion of it. Example, when we go out of town we have house-sitters and they were extremely confused why the temp in the house kept changing even after they set it. Also in AZ the +/-5 degree temperature difference on the Nest was far too much. It always felt too darn hot
 
@SterlingArcher I'm dying with laughter
 
9:42 PM
Kendall sometimes the things you say really catch me off guard
 
@SterlingArcher This reaction is why I always show you the best videos
 
yeah
 
You're a wizard Badger
 
use karma-sinon-chai
 
@bluefeet well, Canadian (Ontario) temp swings a lot. in the day I'll keep it at .. <converts> 66, and when I'm home at 71.
 
9:43 PM
@BenFortune have you hit 2:30 yet? :O
 
@SterlingArcher I'm a WHAT!?
 
@SterlingArcher I'm a cat
 
@SterlingArcher just about to
 
omg im so excited
 
3 pings in a row
 
9:43 PM
@rlemon hope it works for you :)
 
so do I
I'm sick of waking up to a cold toilet
 
Aaaand I'm full sail.
 
haha
 
Sail away my man
 
but I can't be convinced to heat the house while I'm sleeping
makes no sense
 
9:44 PM
@BenFortune if you like that you'll love this
 
My favourite song will forever be
 
!!youtube cane hill sunday school
 
@SterlingArcher enjoyable
 
9:45 PM
:D
 
pizza is enjoyable
and aggressive
 
Mexican food is aggressive, sir.
 
I remember when rlemon bought me pizza
 
touche senor
 
that was the best day ever
 
9:46 PM
that's adorable
 
@SterlingArcher Why the hell doesn't spotify find songs like this for me :(
 
I remember when out of the blue Zirak sms'd me and said "don't eat! or go anywhere" (paraphrased) and few minutes later a pizza showed up
 
crl
!!multer or not?
 
was a good pizza as well
 
@crl not
 
9:47 PM
@BenFortune it's hard man, I spend a lot of time trolling rise records, victory records, etc and suggested songs on youtube to find these guys
 
The hardest part of my personal project is going to be figuring out how to swap video sources that are different qualities if the user changes the quality setting on the player. Do I save each quality version on the server, and serve up the correct on, depending on the request? Or do I get FFMPEG to convert it on the fly?
 
@SterlingArcher last.fm used to be really good
 
Shall I cc you in my new song pings I send to Loktar and GNi?
 
My god yes
 
You got it brah
 
9:48 PM
@rlemon I think I found your pizza preferences in the transcript
 
I'm always on the lookout for new music
 
@BadgerCat was completely unlike any pizza I would order
 
I'm always the one who has to find information, I wonder why
 
crl
@ndugger ffmpeg is for changing qualities? like 480px to hd? (the opposite ratt=her)
 
@rlemon yeah?
 
9:49 PM
 
normally if I'm ordering and not making them, mushrooms green olives and pepperoni
 
@BenFortune here's a chunk of my spotify llist ^
 
@rlemon I prefer none pizza with left beef
 
user1596138
@rlemon Who has green olives
 
Have you listened to what I'm listening to now? (The Wolfpack)?
 
user1596138
9:50 PM
I wish chains had green olives lol
 
@Jhawins as a topping? everyone
 
dude, I could go for a pizza, lol
 
user1596138
@rlemon Not Papa Johns, Pizza Hut, Dominoes etc
 
I've never ordered from a pizza shop and they didn't have green olives
 
user1596138
They have black olives
 
9:51 PM
@SterlingArcher Share it!
 
user1596138
Because Black oLives matter
4
 
@Jhawins Pizza Hut and Dominoes here have green
 
Toppers' Old School Pepperoni and Sausage is my favorite
 
@Jhawins god dammit take my star
 
9:51 PM
Jun 18 '14 at 15:34, by rlemon
double cheese, sausage, green olives, mushrooms. <- the only pizza worth eating
 
@SterlingArcher Add them all to a playlist and share the link :P
 
those sundried garlic tomatoes, though
 
I don't like olives or mushrooms :(
 
@crl ffmpeg is for everything, you can have it change the quality, change the bitrate, change the padding around the video, change the format, etc
 
crl
kendall {
  pizza: none;
  left: beef;
}
 
user1596138
9:51 PM
@rlemon I will check dominoes I know pizza hut here doesn't because the lady acted like I was a idiot when I asked for it last week
 
@BadgerCat but that isn't what they ordered for me. sometimes I switch my meat :D
 
guys I feel like I'm tipping over backwards
 
crl
ok ^
 
@rlemon ooh baby
 
9:52 PM
@Jhawins strange. They are a common topping over here
 
If you don't like olives on your pizza, you're dead to me
 
user1596138
@SterlingArcher Haha I did a good one
 
@Jhawins but when ordering @BadgerCat's pizza I realized Tuna and Corn are both common toppings in Mexico
 
@ndugger I like olives
@rlemon corn isn't
 
corn pizza?
I, uh... would try
 
9:52 PM
@BadgerCat it's on the menu on multiple sites I visited.
 
I've never been much of an olive fan; I had a pimiento-stuffed olive as a little kid once and didn't know what to expect, and I've been turned off by green olives ever since
 
user1596138
@rlemon Yeah only black are common here. I found a place that has Kalamata olives the other day tho!
 
@rlemon on menu != common
 
When I came to germany, everyone kept offering me corn pizza because I'm mexican
 
user1596138
I also found a sub place that has kalamatas!
 
9:53 PM
Black olives I like just fine, but I can't stand green or Kalamata
 
I had a peanut butter burger
 
Corn on pizza sounds disgusting
and I like corn
 
@KendallFrey common enough to be on the fokin menu m8
 
I've had corn on pizza, it only works when paired with a good sauce
 
9:53 PM
@rlemon again, peanut. butter. burger.
 
meh
 
@SterlingArcher Yes :>
 
There are a few places here that serve PB burgers
 
Sweet, enjoy dude!
 
mostly AJ Bomber's, and that one made it on Food Network
 
9:54 PM
@ShotgunNinja Surely not "common"
 
Add to it if you find anything, I'll do the same ^^
 
Sounds like a plan stan
 
Also, maple syrup on nachos, I recommend
 
user1596138
Man Kalamatas are dangerous tho.
 
@KendallFrey wat
 
9:54 PM
My gf eats her pizza with maple syrup
 
ETF, holy shit haven't listen to those in years
 
user1596138
I buy the pitted ones and every once in awhile get a pit... Bout break my tooth
 
Their new album is good
 
maple syrup improves almost anything
especially breakfast
 
There's a few oldies on there
 
9:55 PM
@KendallFrey eh
 
user1596138
Maple Syrup and Kalamata Olives....
 
eggs, bacon, sausage, french toast, swimming in maple syrup
 
@SterlingArcher stop making me feel old :/
 
yass pls
 
I dislike all olives but green.
well, dislike is a strong term - I'll eat them
 
user1596138
9:55 PM
@rlemon Have you had the purples?
 
but I wouldn't ask for them
@Jhawins yea
 
@Jhawins those are grapes
 
user1596138
They taste a lot like green to me
 
we have 'olive bars' in our grocery store.
 
@Loktar D: just.. just take this bro never forget!
 
9:55 PM
!!youtube red jumpsuit apparatus misery
 
I've tried a crapload of olives
 
omg throwback time
 
lol old bands I think of in that genre are Senses Fail, Silverstien and Thrice
 
There's a brewery around here that makes a root beer with maple syrup instead of molasses, and it's crazy - golden amber in color, and no foam, but tastes just like root beer
 
9:56 PM
!!youtube escape the fate the guillotine
 
@BenFortune throwback
 
user1596138
@SterlingArcher Getting timeouts on your links bruh
 
user1596138
@rlemon There are more than the big 3?!
 
9:56 PM
@Jhawins >.<
 
yeah I love Senses Fail
 
@Jhawins not my grocery store in the pic, but they have a 'olive bar' like this
 
user1596138
Wtf
 
9:57 PM
@Jhawins both grocery stores I goto have this
 
user1596138
Are those just Green/Black/Kalamata soaked in different stuff or are there actually more kinds
 
!!youtube enter shikari sorry
 
I assumed it was also common :P
 
While I'm on maple syrup, has anyone ever had egg cheese?
 
9:57 PM
@Jhawins some are different kinds, some are just infused / stuffed with new shit
 
user1596138
@rlemon lol that is about the most uncommon thing anyone has posted from a grocery store... to me
 
user1596138
Do Canadians love olives or something
 
I listened to country music until I got a radio, then while playing with the stations, I discovered 98 rock. The first metal song I ever heard, 10 years old, was Master of Puppets by Metallica. From there, I discovered KoRn, Tool, Static-X, and then I found screamo with Asking Alexandria
 
@Jhawins come to Canada bro. no booze in your grocery store, but there is a wicked olive selection :D
 
There's not enough metalcore/post-hardcore on XM radio
 
9:58 PM
@SterlingArcher yeah I started with "emo" Blink 182 was my jam haha
 
@SterlingArcher Country music is ... awful
 
B182 wasn't really emo though
 
user1596138
@rlemon In NE there is booze in every gas station even lol. Lots of em even have a hard liquor section
 
but the bands surrounding them were, like NFG
 
Punk rock?
 
9:59 PM
99% of music on the radio is awful
 
yea @SterlingArcher
 
user1596138
Which was weird to me because in Indiana liquor licenses were scarce
 
!!youtube hard slammin the blackout
 
AFI was the first emo band I found
 
9:59 PM
@Jhawins in Ontario you can get booze from three places. LCBO stores (gov), Beer Stores (gov sanctioned private seller, only one) and 'wine racks' (in grocery stores... off to the side, their own store, run by the government, only sells ontario wines)
 

« first day (1878 days earlier)      last day (3071 days later) »