« first day (2286 days earlier)      last day (2664 days later) » 

7:00 PM
also flag-paranoid
 
I pass about 10mb JSON strings between processes.
 
@RichardDunn what are you doing with that data?
 
you nads, I nads, we all nads for monads
 
because it's a nested structure, that the user needs to browse, i.e. a representation of a filesystem
 
@Luggage you're the reason I can't have nice things
 
7:00 PM
Mo money, monads
 
expecting the call any second now...
 
@RichardDunn so get the child data when you need it
or lazy load a few levels deep
you're giving hte client the entire structure even if they don't need it
see! solutions all around
\o/
 
|
 
@ndugger remember to close this tab otherwise you might snort at dank memes
 
> Nick's Dick Shack this is Tonya speaking how may I help you?
 
7:02 PM
@rlemon I know what you're saying, but it's not that simple, the idea is that they browse everything, and they'll want to do it very quickly, the structure is expanded at all times, not like an OS structure, more like really long lists of folders and their contents.
 
> Nick's chicken: you kill em' I grill em' how can I help you?
@RichardDunn and that sounds wrong..
 
humans don't consume big data well
 
@RichardDunn you only need file names, not immediately content as well
so that's one big distinction, if you haven't done it already
 
there's no content, just folder.file names
but I could skim out the file names until they select a folder...
 
7:04 PM
did you zip?
 
so unpacking nested arrays from a JSON string is multiplying the memory use by 600%?
 
nope
 
yep.
 
@RichardDunn yeah, that's what the lemon was mentioning beforehand as well, I think
 
7:04 PM
it's massive and I can't figure out why
 
phrasing
 
well ignoring the fact that I think you should choose a new approach, lets assume there is a bug in the way you're unpacking or packing it
 
@SterlingArcher that's for the dugger, right?
 
because I don't see how that could be possible.
 
7:05 PM
most def
 
split second drunk dancing face
 
Did he just gay sex
 
he's recalling it
 
straight up JSON.parse on the string, by various metrics, is creating a ~170 - ~300MB object (depending on browser)
 
7:06 PM
So I saw Rogue One last night, and Vader, while for the most part not there, had a seriously badass moment at the end
 
@SterlingArcher lol
 
@SterlingArcher those anime cheeks
> harder senpai
 
They should make a Star Wars parody where every character is gay and everybody is so passive aggressive
 
user2620028
somewhat relevant, mel brooks spaceballs
 
This challenge
-4
Q: Write pornhub client

monobogdanTask Write pornhub client Requirments Porn in HD and 320p Must have any GUI. Win most small implementation

 
7:10 PM
lmao
cc @ndugger shame
 
@SterlingArcher Have you not watched the first trilogy?
 
lol jk
@SterlingArcher 1080p or no bust
 
4K with VR support please. — rlemon 12 secs ago
 
XD
we are quality metas lemon
4 seconds apart
 
7:12 PM
it's because we're secretly the same person
you control the left half, I control the right
 
Does that include the balls?
 
You can control your balls?
 
You can't?
 
yea, lefty is the bad one
you basically got the broken side of my body
 
@SterlingArcher I... um... no?
 
7:13 PM
Who said we're using your body
 
TypeScript guys (@AwalGarg @BenjaminGruenbaum) I think I've found a TypeScript bug (with Nitzan)
 
everyone knows Canadians live longer
it only makes sense
 
@SterlingArcher This story is falling apart quickly lol
 
Tell me what you think of this
 
Everybody knows Americans live harder
 
7:14 PM
playground
 
false. let me point you at figure A and B.
A: moose
B: fucking moose man!
 
@rlemon ARE YOU FUCKING SORRY?
 
@rlemon That's MLG level skillz br0
 
Anyone?
 
@MadaraUchiha Now you know what it's like to ask a hard question on SO
 
7:23 PM
@KendallFrey That's true.
I don't think Benji will respond today
And I haven't seen Awal in a while now
Where is he, anyway?
 
Which one of him??
 
All of him
 
how big is a large bundle in webpack, usually? My app is at 4.5mb, that seems like a lot
 
that does seem rather large
lots of plugins/3rd party modules?
 
7:30 PM
way too many
it's scary
 
Any pros or cons to returning HTTP status 422 or 200 vs always sending 200 for ajax validation requests?
 
@SterlingArcher screenshot it please? I didn't catch it
 
@MadaraUchiha I would help but you didn't ping me
 
@Mosho What do you think?
 
7:32 PM
@ndugger need 10K on codegolf
 
(Sorry, didn't see you in the user list)
 
booo
 
@TrojanByAccident Do you still have it open?
Can you screenshot the original question?
 
@Abhishrek I'm reading a reddit thread about language crossovers. guy from India says "fucktard" is the most common english profanity used in India
can you confirm?
 
@Mosho I've sat with Nitzan for an hour and a half to try and figure out how that makes sense before we reached the conclusion that it's probably a bug with TypeScript.
 
7:35 PM
@MadaraUchiha the code in the ts playground looks weird
@badDecorator('foo') // This is bullshit, no way that ComponentClass<Props> can extends Number.
class OtherComponent extends Component<{ some: string, props: number }, void> { }#src=interface ComponentClass<P> {
    new (): Component<P, {}>;
}
 
@Mosho The point is to strongly type a decorator
 
looks like the url sucks
 
One moment
interface ComponentClass<P> {
    new (): Component<P, {}>;
}

class Component<P, S> { }

function decorator(someArg: string): <P, Comp extends ComponentClass<P>> (DecoratedComponent: Comp) => Comp {
    return function <Props>(DecoratedComponent: ComponentClass<Props>) {
        return class Inner extends Component<Props, void> {}
    }
}

function badDecorator(someArg: string): <T> (DecoratedComponent: T) => T {
    return function <Props>(DecoratedComponent: ComponentClass<Props>) {
        return class Inner extends Number { }
 
ugh. these newbies and their walls of code
 
@rlemon Because 75% screen height dank memes are better?
 
7:37 PM
yes
actually they are
 
@MadaraUchiha Retrieved with browser hacks
 
the entire meme is readable -- the wall of code is not
chat prefers images > code it seems
 
Hi
 
@TrojanByAccident Grabbing the cache doesn't count as 'hacks'
 
7:39 PM
@Trasiva it was a joke
 
Shouldn't you like...be in class focusing?
 
user2620028
@Trasiva neither does social engineering or grabbing someones phone as they go to the bathroom but maybe im just grumpy in my definition :/
 
@Trasiva That's a good idea, actually.
 
anyone has tried luis.ai?
 
@Mosho that should work ^
 
@HatterisMad What people call hacking now isn't hacking. End of story.
 
some sort of nlp thing?
@SterlingArcher that's funny but mean
dudes poor fingers
 
user2620028
at least i can put hacking as a skill on my resume, cause i can grab someones phone who is logged into facebook and make a post on their behalf
 
Yeah I've had a match ignite and stick to my finger before -- it hurts
 
@SterlingArcher I now have to try this on someone.
 
7:41 PM
I'll wait until you get bored ok? xD
 
@SterlingArcher were you flicking the match? because that's how it happened to me
 
@MadaraUchiha I'm pretty sure that just doesn't work
 
@neoDev If someone is interested in your question, they'll answer.
 
@Trasiva here's a more harmless one
@Mosho But it does
It compiles
 
decorators do not have any effect on the type of what they decorate
 
7:41 PM
@Trasiva I know :)
 
if that's what you are trying to do
 
@Mosho I'm not
 
okok let me look
 
I'm trying to have the decorated type infer the props from the type it decorates
 
@rlemon nah, the match head broke off and just stuck there
 
It wouldn't come off either, burned a nice little hole on my finger since it had to burn up
 
@MadaraUchiha Old, but gold.
 
@SterlingArcher that's when you spit on your finger
 
@MadaraUchiha god
don't you have any real work to do
 
:madara bans mosho.... mosho revokes madaras network access:
 
7:45 PM
What is work?
 
@SterlingArcher That thing you've been using as an excuse to ignore me on hangouts, lol.
 
not just you bro
he ignores all of us now
 
...how can you ignore Lemon?
He's like the maple syrup you've never had.
 
Are Closures more a less just loops?
 
I've actually been performing at work 😛
 
7:47 PM
@Mosho Not today 👍
 
@SterlingArcher Sounds like a problem for HR.
 
@Perfect_Comment no
 
@rlemon I don't work there anymore :P
 
@Perfect_Comment Closures are nothing like loops
 
boo
 
7:47 PM
Why not?
 
why would they be?
what is your case you are questioning
 
Let's try it like this
Why do you think a closure is like a loop?
How are they similar?
 
I am using Grails
And studying Closures
 
I have a anime echo :D
 
They allow me to kinda 'iterate' over a collection and apply methods to each element if need be
Which is what loop cane be used for, right?
Am i totally incorrect?
 
7:48 PM
closures and iterators are not one and the same
 
@MadaraUchiha
function badDecorator(someArg: string): <T> (DecoratedComponent: T) => T {
    return function <Props>(DecoratedComponent: ComponentClass<Props>) {
        return class Inner extends Number { }
    }
}
 
does anybody know why Handlebars is messing up the context here : codepen.io/anon/pen/eggvre
 
the last comment
// foo is typeof OtherComponent, but it's actually typeof Inner
this signature is what causes that: <T> (DecoratedComponent: T) => T
 
Thank you
 
7:50 PM
@Mosho Right
 
Will this help me understand Closures in Groovy?
 
if you remove it it will be typeof Inner
 
But the T of the return type and the T of the argument are incompatible
 
Are closures kinda universal?
 
@Perfect_Comment it will help you understand what a closure actually is
 
7:50 PM
Haha
Ok thank your rlemon
i am so happy now
 
@MadaraUchiha I don't think the inference goes that way
 
@Mosho Ah, but it does in the good decorator
 
@Mosho @MadaraUchiha I will tell your boss you're not working
Send me a pizza and I'll keep quiet
 
@SterlingArcher I tried to ping my boss 5 minutes ago for his opinion
 
:D
 
7:51 PM
lol
 
and a kippa, I need a golden kippa
 
@SterlingArcher I'm my own boss now
 
I'm still telling
 
Friend of mine had a Pokeball kippa once
It was funny
@Mosho What do you mean it doesn't work this way?
function <T> foo(arg: T): T {
  return 42;
}

foo('string');
That would fail
The type I passed and the type I returned are incompatible
 
@MadaraUchiha that wouldn't compile at all regardless
and not just because of the syntax error
 
7:54 PM
@Mosho Right, right
But you get my point
function foo(): <T> (arg: T) => T {
  return function(arg) {
    return 42;
  }
}

foo()('string');
 
@MadaraUchiha okay
so
I knew something was weird about that
 
is this a handlebars bug? here the context seems messed up when the iterator of both loops are equal. it works in previous versions of hbs (less than 4.0.0)
 
Que les apuesto que me banderean el post porque no lo entienden :'v
 
wait
 
7:56 PM
function foo(): <T> (arg: T) => T {
  return function(arg) {
    return 42;
  }
}

var x = foo()('string'); // typeof x is string, which is wrong
@Mosho ok
 
@SterlingArcher Did you click that link I put up earlier of house hunting?
 
Ummmmmmm idk i can't remember
sauce me?
 
@MadaraUchiha yeah, it gets that from the signature <T>(arg: T) => T
regardless of the actual return value
and it compiles because... er
 
@Mosho Something here shouldn't have compiled.
Either it shouldn't have let me return 42 because it couldn't guarantee that 42 matches T
 
user2620028
@SterlingArcher i like how they really thought this through, no one bashed their head into the guy in front or behind them, they got in order by height, they didn't let go as soon as they landed. I really expected this to go horribly wrong at some point
 
7:59 PM
Or it shouldn't have let me pass 'string' because the return type can't be string
Either way, typeof x is definitely not string in practice.
 

« first day (2286 days earlier)      last day (2664 days later) »