« first day (1635 days earlier)      last day (3317 days later) » 

6:00 PM
thats my simplest webpack config
from my hackathon entry
 
    new webpack.ProvidePlugin({
        jQuery: "jquery",
        $: "jquery",
        'window.jQuery': 'jquery',
        jquery: 'jquery'
    })
ewww :P
haha I'm fortunate enough to not have JQ in this project at all
but if we did use it, we would use the cjs vs
 
yea.. a few controls I use depend on it
like select2
 
@rlemon I mean... That's not really something you can control, for the most part. Self-destruction aside.
 
@Luggage yeah sucks that so many plugins aren't cjs
 
6:02 PM
since I have it, I also tap into a few event (like window.popstate) with it but barely use jquery directly outside of that
 
user1596138
I was supposed to hangout with this girl after work but she went to jail like an hour ago...
 
But you should base your decision on your current financial status
 
yeah I was just giving you crap, totally understand
 
@Shmiddty ofc. mostly now I'm just debating term lengths and percentages
 
@Loktar @Luggage sweet, gonna play with those. Looks pretty simple.
 
6:03 PM
I know how much I need to be insured for. that is fine
but do I plan on paying off my mortgage in 5 years, or 15 years.
that will help determine term length
 
Sounds like you've got this one under control :P
 
yea i'm just bitching
 
can you get specific insurance on the mortgage?
 
insurance sucks
 
I know my car loan has some option along those lines
if the person dies, they pay off the line of credit
 
user1596138
6:05 PM
What the hell happens if you die and owe moneys
 
your debts are part of your estate and have to be settled before it's distributed to your heirs, roughly
 
good, no one gave me shit about this line: { test: /\.coffee$/, loader: "coffee-loader" },
 
user1596138
So if it's negative... Your heirs inherit your debt?
 
yep
 
user1596138
I need to go bitch my dad out
 
user1596138
6:06 PM
lol
 
there are ways to get out of it, I think, but they still have to handle a bunch of bullshit
that's why you get a pile of life insurance. Make sure your kids at least break even.
 
I opted for the "pay extra money so your debt is cleared when you die" option.
 
user1596138
Yeah are you entitled to inherit what was theirs or are you forced to inherit from your relatives?
 
user1596138
I would think you could deny receiving anything at all which would also include debt? I haven't thought about this much I wasn't planning on dying and I have more assets than debt lol
 
But my student loans have mostly been bought by debt collectors and they keep offering settlements, so my current plan is to save enough money to settle for pennies on the dollar
@Jhawins good. keep it that way!
 
6:08 PM
from what little I remember of family dealing with estates, the executor (which goes to the state if there isn't one named) has to settle debts, then distribute anything left
 
student loans are for squares
 
according to the will, if one exists
 
steal your education
 
Anyone want a Heroes of the Storm key?
 
I would say yes, but I probably wouldn't play much
 
6:09 PM
@SomeKittens looks interesting
 
user1596138
I have like $4K in debt but that's it and it will be gone come March. It's just strange to me that my relatives would have to handle it if I died. Like wtf murica
 
Speaking of beta keys, if anyone is a fan of Heartstone or MTG I've got some beta keys for a game called Spellweaver, which is pretty cool spellweaver-tcg.com
It's like halfway between MTG and Hearthstone, with a few of its own mechanics mixed in.
 
@Jhawins it's about who you assign to handle your shit.
 
user1596138
I'll assign it to my shithead brother haha
 
Afaik, if you don't pick anyone and don't have any relatives who can handle it, it goes to the state.
They just pay your creditors and then auction your stuff.
 
user1596138
6:13 PM
Eh I'll just try to always have more assets than debt. But keep debt to a minimum anyway
 
user3949359
How do I blanket-catch an exception?
 
@Jhawins My net worth is like -130k USD
 
user1596138
@Shmiddty In a way that's cooler than my net worth being ~$10K. At least you done shit
 
My net worth is ~0-1K... I am bad with money...
 
@nosille try { someCode(); } catch (ex) { console.log(ex); }
or is that not what you meant?
 
user1596138
6:14 PM
I'm just counting vehicles that I fully own really. That's all I got
 
I wonder what mine is...
 
@Jhawins Haha. Yeah I've done some shit.
 
user3949359
@Luggage I don't know what it means, that's the problem. Your code is a standard try catch, I think "blanket-catch" is a specific kind of exception handling
 
My family is starting to ask me to bail them out of their mistakes
So that's cool
 
I don't know the term. What are you trying to accomplish?
 
user3949359
6:16 PM
@Luggage nevermind
 
Glad I could help. :)
 
@BoltClock heh
 
user3949359
@Luggage How do I read the error stack?
 
@nosille Top to bottom, usually.
 
user3949359
How does this work inside of a function? this.stack = (new Error()).stack;
 
6:18 PM
new Error() creates a new JS error object. The js 'engine' puts the stack trace int he stack variable.
this.stack = new Error().stack just takes that and copies it into your custom error class you are making.
 
@nosille very slowly is how. If you can avoid it, do.
It's not guaranteed to work on all browsers, stack traces look very different from sync code vs async, and in general is probably a poor choice.
 
lol random upvote on this answer of mine
 
user3949359
@ssube Should I not bother studying this at all?
 
No, it's useful. But consider only getting the stack trace in development and turn it off in production.
 
@nosille studying what? the stack trace?
 
user3949359
6:20 PM
@ssube Yeah, this concept
 
It's very rare that you need to programmatically get the stack trace.
The only case I can think of is to report it to the server from an error handler.
Don't use it for reflection.
 
@Retsam Ugh, I couldn't get back into another TCG, virtual or not.
 
user3949359
@ssube What's a reflection?
 
@NickDugger still positive!
 
don't worry abotu it, you aren't trying to use it that way.
I mean, I'll happily explain it, but it's not relevant.
 
6:21 PM
@SomeKittens I need a thrifty wife.
 
@nosille Reflection is when you waste time looking at things you don't need to.
 
@NickDugger No, you need to buckle down and get it done yourself.
 
My mother used to tell us all about how she turned my fathers mucho debt around. Made him sell his fancy cars lol
@SomeKittens yeah, yeah... I know... lol
 
Hit me up on FB if you want financial advice that isn't Google-indexed
 
I just spent ~800 on a 5 day beach vacation
 
6:23 PM
@SterlingArcher ew
 
but that was all justified
 
@SomeKittens I've actually been enjoying Hearthstone quite a bit; despite the fact that I haven't actually put any money into it yet.
 
@Retsam Last one I got into ended up consuming my life (I was a nat'l champion, though)
 
@SomeKittens Wow. What TCG was that?
 
Redemption
 
6:24 PM
that *VC framework that I was working on, well, I'm ripping the router out and making it a separate repo.
 
Ahh. I have played that one.
 
the router is doing all of the heavy lifting, anyways
 
@rlemon inorite
But hey, 752 rep left
 
@BenjaminGruenbaum did all the bjb comments get wiped?
 
@SomeKittens ayup
 
6:27 PM
@SterlingArcher gimme a good answer
 
the whole thread, good and bad, went away
 
user3949359
So, I'm reading the Error stack and can't make sense of this:
 
user3949359
at Object.InjectedScript._evaluateOn (<anonymous>:847:140)
    at Object.InjectedScript._evaluateAndWrap (<anonymous>:780:34)
    at Object.InjectedScript.evaluate (<anonymous>:646:21)"
 
@Zirak JESUS WEPT.
 
@SomeKittens you've prolly upvoted my good answers so don't worry about it :) I wanna find some good new questions to answer
 
6:28 PM
@ssube an auspicious start.
 
Thank you though, means a lot
 
@nosille Are you trying to find a bug or just reading the stack for shits and giggles?
 
@SomeKittens it was discussed in the election room, but I missed it
something along the lines of "yall are being dicks, let's start over, be diplomatic this time"
 
user3949359
@Luggage Meh, just getting familiar with in-depth JavaScript.
 
Then don't bother. That stack trace is often confusing in JS before of callbacks, etc.
 
user3949359
6:30 PM
@Luggage Ok, you're to blame for me not learning it then
 
That one you pasted is meaningless without context and unliekly to be helpful with context.
 
@nosille 'at' + scope.name + '(<' + (filename || 'anonymous') + '>:' + line + ':' + col + ')', roughly
 
@SterlingArcher you're trying to hit 10k right?
 
Slowly but surely yes
 
6:33 PM
getting close man
 
downvotes
 
I don't know why I find deleted content and lolflags funny
But i wantz
@phenomnomnominal lol :P
 
I'm pretty close to 1117 rep
 
@NickDugger get 1337 and just stay
there was a guy in here who did that
 
ty whoever gave me rep
 
6:34 PM
Jonathon something..
 
@SterlingArcher <3
 
user3949359
InputError.prototype = Object.create(Error.prototype);. Is this line supposed to add the Error methods/props to InputError
 
hey I did too :p
 
user3949359
?
 
1337 is always the port that I use when working on node projects... lol
 
6:34 PM
haha
 
It's 6.30am and I'm at the airport and I've been up for 2 hours :(
 
<- 195 (noob-level)
 
@phenomnomnominal I was thinking you were on early
for you anyway
I rarely get to talk to you because you get on when I'm already off work
(when I do my real coding and can't pay attn to the chat)
 
And alas, I now have to board my flight! :P
 
HAVE FUN!
FLY SAFE!
 
6:35 PM
have fun storming the castle
 
I'm going to Sydney, it won't be fun.
@monners your country is silly.
 
@monners meet up with him
 
bye bitches.
 
well.. when you live in one of the most beautiful countries in the world everywhere else seems second rate :/
 
@Loktar he needs the constant kiwi trifecta
people bird and fruit
 
birds? I thought they were, uh... a bit more welsh than that, if you will.
 
!!wiki kiwi (fruit)
 
Kiwi (pronounced /kiːwiː/) or kiwis are flightless birds native to New Zealand, in the genus Apteryx and family Apterygidae. At around the size of a domestic chicken, kiwi are by far the smallest living ratites (which also consist of ostriches, emus, rheas, and cassowaries), and lay the largest egg in relation to their body size of any species of bird in the world. DNA sequence comparisons have yielded the surprising conclusion that kiwi are much more closely related to the extinct Malagasy elephant birds than to the moa they shared New Zealand with. There are five recognised species, two of which...
Kiwi is the nickname used internationally for people from New Zealand, as well as being a relatively common self-reference. The name derives from the kiwi, a flightless bird, which is native to, and the national symbol of, New Zealand. Unlike many demographic labels, its usage is not considered offensive; it is generally viewed as a symbol of pride and endearment for the people of New Zealand. == History == The first New Zealanders to be widely known as Kiwis were the military. The Regimental Signs for all New Zealand regiments feature the kiwi, including those that fought in the Second Boer War...
 
oh, you weren't saying kiwis need birds
gotcha
 
The kiwifruit or Chinese gooseberry (sometimes shortened to kiwi) is the edible berry of a woody vine in the genus Actinidia. The most common cultivar group of kiwifruit ('Hayward') is oval, about the size of a large hen's egg (5–8 cm (2.0–3.1 in) in length and 4.5–5.5 cm (1.8–2.2 in) in diameter). It has a fibrous, dull greenish-brown skin and bright green or golden flesh with rows of tiny, black, edible seeds. The fruit has a soft texture and a sweet but unique flavor, and today is a commercial crop in several countries, such as Italy, New Zealand, Chile, Greece, and France. In New Zealand using...
 
6:37 PM
so.. many... kiwis
TIL kiwi's are berries
 
just realized wiki and kiwi are just switch consonants
TIL ^
 
ugh, so I've been having this issue with my laptop where the ssh sessions just 'freeze'
mid typing
SO ANNOYING \
after 60 seconds it times out and the connection drops
doesn't matter where I'm connecting too either.
1/4 it is a bitch
 
what's your packet loss look like?
ssh is pretty damn durable, so it's either latency, crazy high loss, or something is actively kicking you
 
I...H...A....T... ..S....S..H.... ..LATE...N...C....Y
but it is durable for sure
heh I love when it goes crazy and I type entire sentences and just watch
few seconds later it all pops onto the screen
 
I want a remote machine that I can leave running an editor and just jump on and code occasionally, but latency keeps ruining that.
 
6:43 PM
thats what I do for IRC
 
Even relatively nearby vps, it's not good enough to write code.
 
most days it works pretty well, but when its flakey its such a pita
 
it is raining here
I suspect my connection is blipping and ssh is dropping due to that
however nothing else seems to be interrupted
 
does your phone line have a poncho?
you should have someone knit a poncho for your phone line
 
there is a tear in it
average ping to google is 9ms
0% packet loss
bloody hell
 
6:46 PM
tear as in "the shells tear the sails from the ship, causing it to sink into the murky abyss" or tear as in "the sweet tears of orphans brought the night to an apex of climactic bliss"?
 
it's annoying... "node se|" AAAND I'm just going to freeze here and boot you off.
 
(I am so bored today)
(and caffeinated)
 
user1596138
@Loktar Haha I hate that
 
there's an angularJS course on codecademy now apparently
 
user1596138
Especially when you know you made a typo and try to delete back past it and then complete it but you can't even see while you type
 
6:48 PM
haha yea
 
user1596138
@ssube whoah
 
This is kinda an abstract question, but how many parameters can you pass into a method before it becomes 'too many arguments', as far as readability, or other things that you should tell me about?
 
@NickDugger 6-8, no booleans
 
6-8 is a lot
 
I bet code complete has a chapter on this...
you should check your copy
 
user3949359
What do we achieve with func1.prototype = Object.create(func2.prototype);. Is it for inheritance purposes?
 
user1596138
I'd think you were the coolest friend ever if you did that to me.
 
user1596138
Cause I would be allowed to do the craziest shit back.
 
haha
 
@nosille check out ES6 classes in babel and the ES5 equivalents that it generates. They'll explain a lot of this stuff to you.
Almost all of the OO-related ES6 features can be implemented using existing (prototype-related) ES5 patterns.
Seeing the es6 version with keywords will likely make it more obvious what the goal is, though.
 
6:57 PM
Started with ES6 a couple weeks ago, it's amazing
One of my favourite things was
import {EventEmitter} from 'events';

class Base extends EventEmitter {
	constructor() {
		super(EventEmitter);
	}
}
 
it's concise but clear
 
When creating a custom Error, then throwing it, does JS use the 'this.stack' property to return a traceback?
For example :
function InputError(message) {
this.message = message;
this.stack = (new Error()).stack;
}
InputError.prototype = Object.create(Error.prototype);
InputError.prototype.name = "InputError";
 
@ApathyBear I think you're supposed to extend Error and just leave it up to the parent to handle the stack property
 
function LemonError(message,val) {
    this.name = "LemonError";
    this.message = (message || "");
    this.stack = (new Error()).stack;
    this.val = val;
}
LemonError.prototype = Object.create(Error.prototype);
this is what I use
 
We use stuff like this:
 
7:06 PM
When life gives you lemons, make errors.
 
# Public:
module.exports =
class InvalidOperationError

    # Public:
    # message - description of the invalid operation
    constructor: (message) ->
        @message ='Invalid Operation: ' + message
        @type = 'InvalidOperationError'
        @status = 400
        @stack = (new Error()).stack
 
ew coffee
 
function AbstractError( message, status, userFriendlyErrorMessage ) {
	var error = Error.call( this, message );
	error.status = status || 500;
	if( userFriendlyErrorMessage ) {
		error.info = userFriendlyErrorMessage;
	}
	return error;
}
util.inherits( AbstractError, Error );
 
haha, that's why I pasted it
 
7:08 PM
Thanks guys.
 
user1596138
I know the answer is don't do that shit. But sometimes we don't get a choice...
 
user1596138
I'm supposed to have a marquee that seemlessly loops (i.e. Thing One ... Thing Two ... Thing Three ... Thing One ... Thing Two ... etc)
 
does this selector make sense? 'keypress input[name="dateStart"] input[name="weekDuration"]'. Trying to see if either the week duration or date has changed
 
user1596138
Due to the nature of things the loop doesn't restart until the text is 100% off-screen.
 
no
@corvid no, it looks liek you are mixing css selectors and event names
 
7:10 PM
yeah it's a meteor event map
 
user406009
@Jhawins Sounds like something you could do in CSS.
 
ohh. nevermind, then
hm, yea, animate the position, might be able to do that all in css
 
user1596138
The suggestion I got so far was to infinitely append more content to the div hahaha
 
Still yet to try meteor
Can't be as bad as when I tried Derby
 
are the contents of the marquee changing live?
 
user1596138
7:15 PM
@Luggage No it's static info
 
ok, then css might be the answer, i'm playing with any idea, now
leanring animations while I do
 
user1596138
Idk I know it's not a huge problem. But you know what I mean? I need the marquee loop to "restart" before the content has all left the screen. Like some kind of left-right wrap around
 
user1596138
I could be clever with timing and figure something out but I don't want it to be glitchy (even if it is a shitty marquee)
 
ohh, before.
then, shit.
 
user406009
@Jhawins Here is an idea. Have 2 copies of the text. Use overflow hidden to hide the offscreen one.
 
user1596138
7:19 PM
I thought maybe I could play tricks with :after but it waits until the :after has left the screen too. I guess I need the same elements in two places in some way
 
user1596138
@Lalaland It will still wait until the entirety of the tag has left the screen.
 
yea.. I don't know of a way to do that in pure css.
 
user1596138
I feel like it shouldn't be that hard
 
user1596138
Yet have no constructive thoughts on it
 
you could just have the content appear twice in the html and have two animations
one that is leaving the screen while the other is entering
 
user1596138
7:20 PM
But it will still wait...
 
user3949359
function crap () {};
crap.prototype.crappy = "is crappy";
function NVM () {};
NVM.prototype = Object.create(crap);
NVM.crappy
// -> undefined
 
user3949359
Why isn't my prop there if they share the same prototype? I thought it would inherit it
 
but the position offset being animated will need to be in percentages, i think, and that'll make it faster or slower depending on the length of content..
 
user1596138
Hmm I guess I could do it
 
user1596138
I'm gonna see if I can ust do some wizardry with one of these marquee plugins that has good state info
 
user1596138
7:23 PM
Fuck this. I'll just make a "slideshow" that scrolls across the screen and feed it the elements one after another in a loop.
 
ohh, yea.
 
thymeleaf doesn't let me write bad html <3
 
Hello!! does someone have the book: "From Frege to Godel" ?
 
even in jquery
 
that last item -> first item transition might still be a problem, but I bet some carousel code can be abused to do it.
 
7:24 PM
<marquee></marquee>
:D
 
nothing can stop you from writing bad HTML with jQuery
 
user1596138
@Luggage Or I could just make a "slide left" function with a set duration and call them in a loop offset according to that
 
user1596138
The whole thing is fucking stupid.
 
so.. much.. random.. jQuery ... GHAHAHSHSHDFJSDFJASDFKL
 
anyone else get errors in chomr whenever you leave the console open? it always brakes on extensions::messaging at: messagingNatives.PostMessage(this.portId_, msg);
 
7:34 PM
@KendallFrey @rlemon
 
Work project was launched, and I'm back from vacation; I'm still really busy, but expect JS room gamejam details soon!
 
@SomeKittens sounds about right
 
@SomeKittens dose timbits doe
@SomeKittens nice easter egg, those IVs
 
me: should I be able to change the rate in "local" mode?
boss: yea
me: well it isn't doing anything
boss: it won't
me: you just said I could change it in "local" mode?
boss: yea, you can change it, but it doesn't do anything.
me: ... did you just dadjoke me?
I wasn't impressed
 
haha
 
7:44 PM
Is someone of you familiar with the Ackermann's function??
 
@MaryStar Just ask your question
 
function ack(m, n) {
 return m === 0 ? n + 1 : ack(m - 1, n === 0  ? 1 : ack(m, n - 1));
}
we are now :D
 
To show that the Ackermann's function is not primitive recursive we have to show that it grows faster than all the primitive recursive functions, right??

To do that do we have to show that
f(x1, ... , xn) <= A(u, max(x1, ... , xn))
or
f(x1, ..., xn) <= A(u, x1+ ... +xn)
where f(x1, ... , xn) is any primitive recursive function ??

I have seen both versions. Are both of them correct??

Do you maybe know which of them is the original proof?? @SomeKittens @rlemon
 
@MaryStar but how do you know how fast the fastest primitive recursive function grows?
 
ack(graham(64), graham(64))
 
7:49 PM
that's nearly as big as your mom's mass
 
We want to show by induction that the Ackermann's function grows faster than every primitive recursive function, or not?? @KendallFrey
 
I don't know what you want
 
all of your money
 
To show that the Ackermann's function grows faster than every primitive function do we not have to show that the Ackermann's function bound every primitive recursive function from above?? Or have I understood it wrong?? @KendallFrey
 
The real question is how fast your question mark usage grows
 
7:54 PM
Just converted a click2call browser app from PHP to Java :)
 
@MaryStar If you can do that, it would be valid
 
Looks much better now
 
now convert it to haskell
 
or lolcode
 
fortran
 
7:55 PM
But showing that the Ackermann function grows faster than any primitive recursive function surely hinges on demonstrating that the Ackermann function is not one of said primitive recursive functions
 
To be fair most of it was in JavaScript, but I just needed Java to do templating and generate tokens
 

« first day (1635 days earlier)      last day (3317 days later) »