« first day (1815 days earlier)      last day (3125 days later) » 

12:00 AM
brewed another batch tonight
added a cup of lime 'Italian soda' flavour to the mix
 
Nice. Now that I have my first brew done (and rather well, I might add), I'm excited to do more
 
so kinda a lemon-lime mead
gonna bottle my strawberry mead on tuesday, and my cider tonight or tomorrow
see how I feel after this beer
I'm upto 4 carboys, :P
 
@rlemon mulled mead?
 
mulled?
!!define mulled
 
@rlemon mulled simple past tense and past participle of mull
 
12:03 AM
!!define mull
 
@rlemon [mull](http://en.wiktionary.org/wiki?curid=60647) To work (over) mentally; to cogitate; to ruminate; usually with over.
to mull a thought or a problem
he paused to mull over his various options before making a decision
 
Star Tribune is a MN paper
so fuck yeah
 
nahh
 
is it possible to pass a function a var(a) and then in the function re-declare a and return the a that was declared in the function?
 
12:07 AM
my basic recipe is 1.5kg clover honey, 4 cups white sugar, yeast nutrient, 3 packs yeast, whatever fruit / fruit juice I wanna add for flavour, and top off to ~20L in a 23L carboy.
let sit 1 month. put in yeast stopper
let sit 4 days
bottle
let sit a week. (4 days upright, then 3 days on side, this is for the gasses to escape the first few days, then you need to saturate the cork)
 
shake vigorously for 24 hours
 
I've made one successful mead, and I'm 1 for 1, so I'm basically an expert on mead.
 
@Nick guess how you make vinegar.
 
very similar process
 
@Nick so you need to buy that bottle cleaner btw
once you get to the point where you have to fucking clean out bottles for the 2nd/3rd time you'll thank me
 
12:12 AM
Yeah; I accidentally tossed my first bottle. I wasn't thinking
 
I got it at the local shop for 21.99
just put it on my wash tub tap
works like a fucking dream.
even cleaned the carboy (5gal)
 
Have you made anything with cinnamon sticks?
 
nope
but it is a good idea
 
Alright; well it was a fucking nightmare trying to get them out when I was done...
Probably cut them up into small pieces
 
I may make an orange/apple cider with cinnamon sticks tho
yea I'd grind them up
max infuse
then I can use less sticks
 
12:15 AM
can you put them in a giant tea-bag so you can take it out easily?
 
yes, they are called muslin bags
 
I need to use less anyways. My cider tastes like a fucking holiday dinner
 
but you can't really use them in carboys
they are more for primary containers, if you use one
@Nick 12L store bought cider (no special shit, just cider) 2 cups brown sugar, 2 cups white, 3 packs yeast, yeast nutrient, top to 21L in 23L carboy.
2-3 weeks bottle.
2 weeks later enjoy
 
Yeah, I'm gonna do a mead next, then gonna do another cider after. I might get another carboy and do both at the same time
 
if you wanna get fancy add a can of orange juice from concentrate
seriously.
I've realize cans of frozen juice are like flavour gold for this stuff
sure it might be 'cheating' but fuck, for $1 I can get a can of juice. costs me like $5 and takes 2 hours to juice the fruit myself (for flavour adds, not main ingredients ofc)
 
12:20 AM
frozen orange juice... i remember that stuff from when i was younger.
 
sure you can use real stuff, but you have to juice it, pasteurize it, and filter it.
time and effort I don't care to spend.
 
i forgot that stuff existed. I should get some for the freezer
orange juice is a rare craving, and having some in the freezer wuld make it possible without running to the store
 
you can get decent stuff frozen
doesn't have to be sugar filled crap
normally the grocery store brand here has good stuff
 
i have a standalone freezer in the basement i've been meaning to use more
for things besides hookers
 
I need to hurry up and insulate my cold cellar for the winter
can't let it get too cold
anything < 3C is unacceptable
 
12:29 AM
your basement gets that cold?
 
lol
 
shouldn't..
er.. wait, what's a 'cold cellar'?
 
usually non-insulated part of the basement
in canada, in this case
 
@Luggage concrete room off the basement which has no insulation from the outside and normally has a vent directly to the outside
 
ahh, ok
 
12:32 AM
in the winter I need to block the vents to the outside
I also need to open the door every few days to control humidity
 
0
Q: My, code has an Unexpected Syntax Error

James SingewaldHey I need help my JavaScript is broken apparently! var orangeCost = function(price); { var price = * 5; console.log(price); }; orangeCost(5)

...
 
lol
Help, I added a semicolon in a random place, and now my code is broken; why?
I like how even his question title has an inappropriate comma
 
12:51 AM
can I somehow reload a script in dev tools?
systemjs can import the same script (with changes) over and over again
and the new code runs, but the script in the source in dev tools remains the same
 
What the fuck is this edit? stackoverflow.com/posts/32939853/revisions
 
@Nick nvm, i fixed it :d
 
Why? Its a terrible question; you're just fanning the shitflames
 
it's a common problemquestion
that should be starred and protected and locked
 
Putting a semicolon in the middle of a function declaration? No, I doubt that it's common
I think you're being delusional
 
1:04 AM
you think you think?
meh.
 
1:17 AM
@phenomnomnominal Thin it was you last week said you got a "weird" call from Rockmount, GA. Do you know who that was? I just got one too.
 
FBI; they discovered that you have connections with Jared from SubWay
 
(470) 2063518. I'm thinking probably Google Cloud Services / Microsoft Azure but cant call back.
 
@rism Similar number. But no I didn't work out who it was
 
@Nick had to google for reference, ugh, no, happily connect him with 50,000 volts tho.
 
 
1 hour later…
2:49 AM
@Nick ugh. that took longer than expected
bottled my latest cider
2 hours
 
 
2 hours later…
5:02 AM
Hi...anyone with knowledge of writing yeoman generators here?
I am trying to view the gruntfile generated by generator-angular on github...
 
5:49 AM
news.ycombinator.com/item?id=10329908 HAHA internetizens too funny today
 
user3119231
6:18 AM
Good morning ladies and gentleman.
 
Hi, i want to integrate angular directive into application which build using backbonejs, is it possible, will it create problem?
 
6:36 AM
@AnandGargate did you try?
 
not yet
 
Always good to try jumping off the cliff and see if you get hurt
 
ya, i think i need to use pure javascript or jquery events to make backbone and angularjs code communicate
 
6:52 AM
@AnandGargate then do it and see how it goes. What would it take you, 2 minutes?
 
no, currently i don't have the angular directive code
but i will come back after implementation
 
user3119231
@AwalGarg This is my daily work.
 
what
 
@Maurize pretty sure he wasn't talking to you ;)
 
user3119231
@towc I like your new logo.
 
7:06 AM
thanks
 
I am writing a CLI app which takes a flag --no-auto-reload for which I need a single letter switch. Suggest a letter.
 
s?
 
explain your reasoning
 
for switch
 
 
7:10 AM
I don't like your reasoning. Go stand in the corner
 
@AwalGarg ;_(
 
I know who to ping. @FlorianMargaine can see 7 messages back?
 
is 's' seriously not fine?
 
ofcourse not. s has no relation at all to --no-auto-reload
 
r?
 
7:14 AM
That's what I have for now
@towc ok fixed at r, thanks
 
I'm so clever, right?
Can I get away from the corner?
 
yes
 
:D
 
7:40 AM
@AwalGarg n
 
@FlorianMargaine but n is reserved for --project-name :(
 
user3119231
7:57 AM
0
Q: jquery addEventListener issue in IE

user1153484I am using jquery(V2.1.3) in my project. sometimes my page is getting broken and throws me an error in jquery framework file in IE(9 and above) browser alone. The error is from the below line, Object doesn't support property or method 'addEventListener' n.ready.promise = function(b) { retu...

 
user3119231
duplicate
 
@AwalGarg why isn't it p
 
@FlorianMargaine I'd prefer -n too for the name tbh
r is a good choice
 
for "no auto reload", sounds weird
@GNi33 how are you btw
 
8:14 AM
I'm fine, thanks. Somehow managed to screw up my left foot, so I'll have to pay a visit to the doc tomorrow, but other than that, it's all good. How are you?
 
Good good
Moving in a month
250km away from where I am, getting closer to family
... so much to do... so expensive...
Thankfully I don't have a job hunt to do since I'm remote
 
oh, stressful times ahead then
where do you move to?
 
Yeah... Packing up all the things
Near Avignon
1h north of Marseille
 
nice. I'm thinking about visiting France, probably next year for the Euros
But basically I just want to see Marseille :D
 
lol
don't go to the north of marseille... :-)
 
8:19 AM
but didn't you move about a year ago already?
haha, why's that?
 
yeah
since then, I got a kid
 
@FlorianMargaine because p is for --port
:P
 
and since we have no family around, it's hard to find someone to take care of the kid
@GNi33 err, "hot" zones
 
@FlorianMargaine okay, that changes a lot :D
like "corruption" and "good chance of getting mugged and stabbed" hot?
 
user3119231
stackoverflow.com/a/32943688/3119231 At least the last sentence makes sense.
 
8:21 AM
like "no cop is going there unless they're 150 and fully armed"
 
that sounds like a lovely place
 
well, if you want to be a customer, it is
 
good thing the stadium and the more interesting things in the city seem to be in the south, so I should be good
 
@FlorianMargaine hehe, nah, not really. Thanks for the tip :)
 
8:23 AM
it's like a supermarket over there
you enter with your car, drive like 30s, park somewhere, someone is coming to your car, you buy whatever you want, and you leave. You don't even get out of your car!
 
after "someone is coming to your car", I didn't think it would go in the "you leave with your car" direction :D
 
hey, you're a customer
a friend told me a story... he went somewhere to buy stuff, by foot, with a couple of friends. On the way back, they got robbed. They kept leaving, and before they could leave the block, the original seller came back to them and gave them back their stuff. Happy customers heh
 
haha, what the hell?
 
the robbers got a lesson by the original seller
"you don't steal customers"
 
sometimes it seems amazing how these "criminal parts" of a town have their inner workings going on
booked my flight to Guatemala in February a few days ago
 
8:28 AM
oh awesome
 
I'll spend 3 weeks in Guatemala, Belize, Honduras and Mexico
 
careful where you go ^^
 
should be an interesting trip
hehe, yeah
we're 7 guys and we'll stay away from the known bad places, so I'm not too worried
 
my girlfriend is planning to go from Mexico to Colombia / Venezuela on her own though
 
8:31 AM
... oh
 
she somehow has a big time window in 2016 and she wants to use it to travel through all those countries
I know she can look after herself, but there's always a chance of bad luck
 
user3119231
 
@Maurize Why do you always make so many globals?
 
user3119231
because fast writing. - I'm on work.
 
8:38 AM
@argentum47 4th repost in last 2 days? :-P
 
ah I see
 
crl
my laptop at work is so chill, max CPU: 38°C (100°F)
 
facebook.github.io/react/docs/forms.html#default-value inside the pink Note section, what does it mean, I have a name with a defaultValue={this.props.currentUser.name} and when I change it it changes in the input box .. so why use the controlled component approach
 
!! should I colorize i.stack.imgur.com/tlMHg.png or not?
 
@AwalGarg You should colorize i.stack.imgur.com/tlMHg.png
 
8:42 AM
@AwalGarg don't
 
I won't. I need to figure out how to package this thing so I don't have to care about setting it up on virtual machines manually.
 
@AwalGarg debian package?
err, a .deb
 
no idea what it should be. I just want to convert it into the lightest possible single executable file which I can put in /bin and have it run via nlm whatever
 
that's a bad idea to put anything in /bin/
you could put it on pip, this way you'll just have to run pip install nlm
 
and also there is a piece of code Tag.find({ text: { $regex: new RegExp(^${tag}, 'i') } }) now if I pass those (.+)+ thingy .. won't that regex crash? like CS crashed Caprica ?
 
8:45 AM
(a la npm)
 
@FlorianMargaine that assumes I have pip installed on all my VMs which is not ok
 
@AwalGarg it is, for a python project. apt-get install python-setuptools && easy_install pip is a common thing
 
@FlorianMargaine can't I compile it to a executable or something? python compiles to bytecode anyways
 
@AwalGarg that's not really a thing in the python world
 
:'(
 
user3119231
8:47 AM
Lol stackoverflow - downvote the solution
 
y python, i thought v ver friends :(
 
or ask @copy, he knows more than I do
 
> Read the python 3 manual ~ copy
 
!!summon @CS
 
@argentum47 I will appear in that room after 1 more invocation(s)
 
8:48 AM
puff
 
he'd probably see the context via the ping though. /me waits
@FlorianMargaine ftr, nlm is 100% pure python, no external deps. shouldn't that make things easier?
 
9:09 AM
@AwalGarg not really
 
Node v4 doesn’t support ES2015 module imports yet, right?
 
anyone had an issue with grunt-contrib-connect...
I am getting some weird results...
 
@poke It doesn't.
 
download, npm install, & then grunt serve
I am getting a result like this ^
 
9:26 AM
@deostroll Looks like your .html file is messed up
 
9:37 AM
But why...
 
crl
@deostroll which version of windows you have?
smells Vista, hmm 7 maybe
@deostroll could you display the html in an editor?
 
yes win 7
in the editor its looks fine...
 
crl
oh yes just saw your gist
never used grunt serve, I can't really help, could you try with another file server like http-server?
 
Make sure file is saved with UTF-8?
 
grunt serve is a custom task...
 
9:48 AM
why is there 2 chars before the doctype?
 
I've even fixed that...
 
crl
how does it look when you do show source on the page?
 
same...
how I created it first...
did something like this in powershell: echo "<!doctype html>" | out-file index.html
 
yeah, it's probably not saved as utf-8
 
10:03 AM
yes that encoding thing worked...
 
10:17 AM
Hi, I'm just curious.. I have bower.json file (https://pastee.org/bcthf) and when I run "bower list" in my console, I get:
```
edu#0.0.3 /var/www/edu-web
├── angular#1.4.7 (latest is 1.5.0-build.4300+sha.f02811f)
├─┬ angular-animate#1.4.7 (latest is 1.5.0-build.4300+sha.f02811f)
│ └── angular#1.4.7 (latest is 1.5.0-build.4300+sha.f02811f)
├─┬ angular-bootstrap#0.13.4
│ └── angular#1.4.7 (1.5.0-build.4300+sha.f02811f available)
├─┬ angular-cookies#1.4.7 (latest is 1.5.0-build.4300+sha.f02811f)
```
 
can we use bootstrap, angularjs, javascript all in one projest?
 
@GPU.. Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
@CapricaSix :) k
 
crl
it will be hard using angularjs without javascript
 
function(data){

var promises = [];

_.map(data,function(d,index){

_.map(d.models,function(n,index){

var def = new $.Deferred();
DZ.api(n.id, function(response) {

//some stuff..
def.resolve(data);
});
promises.push(def);
});
});

return $.when.apply(this, promises).promise();
}

I can't get this promise working, it always return before the call to the api is done :/
I'm definitely not feeling confident with promise ^^
 
10:33 AM
@lateek35 Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
Error 404 occured, I will call the maid (@Zirak)
Error 404 occured, I will call the maid (@Zirak)
@lateek35 Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq. For posting large code blocks, use a paste site like gist.github.com, hastebin.com or pastie.org
Error 404 occured, I will call the maid (@Zirak)
 
@lateek35 Can you format your code properly?
Paste, CTRL+K, Enter
 
Ok sorry, can't edit my post but here a link :)
http://hastebin.com/azasakivek.avrasm
 
So, if you understood it correctly, you have a data structure and you want to iterate over it, make API calls for some nodes in the structure, and return a promise which resolves when it's all done
 
Yes exactly ! :)
 
@lateek35 Promise does not stop your function from returning. Promise make a promise that it will keep later - usually after your function returns.
 
10:39 AM
@MartyIX That's just how it is
 
@OliverSalzburg Too bad. Thanks
 
function makeApiCall(id) {
    return new Promise((resolve, reject) =>
        DZ.api(id, resolve));
}
function(data) {
    var promises = data.map(d =>
        d.models.map(n => makeApiCall(n.id));
    return Promise.all(promises);
}
 
@MartyIX Bower relies on git tags and can't distinguish if a tag relates to a dev build or not. It just shows the latest one. I guess they could add some semver-based mechanism into it to make it distinguish more clearly, but it doesn't exist right now as far as I'm aware
Maybe try npmjs.com/package/bower-check-updates or something similar
 
Hey guys I'm trying to write a script that is submitting a form via AJAX. My problem is getting the part before the domain name (is "www." a subdomain..?) to prevent access-control-allow-origin errors.. Not sure why but I'm struggling to find any resources on this
As I have some forms hosted on www. and some on www2. (and some available via both)
 
@Billy Yes, www. is a subdomain
Why do you need to submit the form to a different (sub)domain?
You generally use a different subdomain for static assets or something you want to force the browser to open separate connections to so that it can download things faster
 
10:44 AM
The script is used by forms on multiple sub domains
 
It doesn't make a lot of sense to have this part of your website on this domain, and another on another domain
(Under some very specific exceptions)
 
@OliverSalzburg Yeah, semver parsing would be nice. I'll check it out. Thanks
 
@MadaraUchiha Thanks ! I'll try to implement this :)
 
I work for a large organisation, that's nothing to do with me
I just need to make the form work.
 
@Billy The server will need to send the appropriate headers
 
10:46 AM
..or I just submit to the same subdomain
I don't have any control over what the servers do
 
@Billy You either strictly submit to the same domain
Or you have the servers send the appropriate headers
There are other solutions, but they're hacks that get out of hand very quickly
 
As I said, I want to submit to the same domain..
I just need to parse the subdomain out of the url
 
@Billy If you only ever submit to the same domain, you won't have control-access errors.
 
form submission is allowed on cross origins.
(warning: context less answer)
 
Why is that? The browser does that freely for you
 
10:49 AM
@MadaraUchiha I know, that's what I want to do..
 
Just submit to a relative URL
@AwalGarg AJAX form submission
 
I'm sending stuff via AJAX
using a framework - I need to pass the full URL
 
@MadaraUchiha that's still allowed, but you can't access response
 
ergo I need to get the sub domain from the url.. can anyone please help me find out how to do that?
 
@Billy Have you tried Google?
That sounds like a relatively common problem
!!tell Billy google javascript find subdomain from url
 
10:50 AM
Yes; in my first message I said that I don't know why but I can't find any resources on it
 
Protip: use the new and shiny URL global constructor for all your url parsing needs
(new for some values for new)
 
@AwalGarg He's in a large corporate environment with an ugly-ass framework that requires full URLs for AJAX
I doubt he can use anything "shiny" or "new".
 
ah, sucks
 
Properly setting up a TypeScript environment is far too complicated… >_<
 
user3119231
10:52 AM
anyone can give me a hint why images are not moving? jsfiddle.net/c863bw84/5
 
@poke I wonder if we really do anything properly in JS land
 
:P
 
even the URL constructor doesn't have a subdomain property
What is the browser compatibility for it anyway? If it's quite new?
 
@Billy because subdomain is ambigous. What is the subdomain in foo://bar.zaf.as.as.ca.c.sf.es.s.vs.r.com?
 
bar.zaf.as.as.ca.c.sf.es.s.vs.r of the com top-level domain.
 
10:56 AM
I would have thought this is a common problem with a standard solution :( :(
 
Exactly. You determine a subdomain relative to a top level domain. If you see the top level as r.com, then bar.zaf.as.as.ca.c.sf.es.s.vs is the subdomain.
 
crl
I'd need 3 screens: consoles, editor, browser
 
@Maurize Inspecting the code with a breakpoint indicates that (e.pageY / limbs_setup[i][2]) is Infinity.
 
@MadaraUchiha snake-_-case
 
user3119231
@MadaraUchiha Means JS says nope?
 
10:57 AM
@AwalGarg not-_-my-_-code-_-
 
lol
 

« first day (1815 days earlier)      last day (3125 days later) »