« first day (2382 days earlier)      last day (2568 days later) » 

1:00 PM
dunno, wouldn't do that that way, looks unclear to me personally
 
I'm a point-freedom fetishist
 
I typically only eta-reduce when it's really obvious
having to mentally juggle what's a curried function and what's a value in those compositions is challenging
 
Maybe I like challenging
 
anyway dunno, I think such helpers should reside in separate libs or something
core API should be as small as possible
 
@BartekBanachewicz ~_~ why am I not surprised?
 
1:05 PM
@Zirak because I often come here to challenge JS design decisions
good job
 
yeah, challenge js design decisions
 
how do I download a file using a GET request
I have Content-Disposition:attachment;filename=wat.pdf
and Content-Type:application/pdf
going to the url downloads it but I need to add a request header so I want to use fetch
 
@Mosho and let me guess, fetch doesn't follow Content-Disposition:attachment?
 
whatever it does, the file doesn't download
whether it's spec, or chrome, I dunno
 
1
Q: Downloading and saving data with fetch() from authenticated REST

juanitoganI have a React app working with a REST backend built in Python and Flask. I'm downloading data from a database and saving it as a CSV file through the browser. I have this working. What I don't understand, however, is why I had to go beyond the sources I've been reading and mash stuff up to ge...

 
1:09 PM
I went over most on SO
 
you probably won't like the answer
 
yeah I don't like any of them
maybe a blob
blergph
 
@Zirak Isn't that just code for 'Russia's being boring right now, so I'm gonna troll the JS chat'?
@Mosho I was thinking about you this weekend because of your gravatar. It seemed like every Shiba in town was at the disc golf course this weekend.
 
awwww
 
Hey All. When working with Angular2, I want to seperate the login part from the main part (when logged in). However, I define some routes in my module that don't match for the "login" part, but do match for the main part. So then I get an error about routing. Is there any way I can fix this? Working with two seperate modules maybe? But how can I change the module then?
 
1:24 PM
@KarelG I don't understand what you mean, actually, I'm making this with this :
function countProps(obj,prop_name){
    	if(obj.hasOwnProperty(prop_name) && obj[prop_name]!==null){
      	    return countProps(obj[prop_name],prop_name)+1;
        }else{
            return 0;
        }
    }
 
please don't snake case your variables... this isn't php
 
@ErwinOkken what do you mean with "match / don't match"? Did you read about "canActivate"?
 
var 🐍 = "snek";
 
kendall just so I'm getting this right, webgl has thousands of small graphics pipelines running in parallel on the GPU? with copies of your shaders?
 
console.log(buffer);
console.log(buffer.readUIntBE(0,2));

$ <Buffer 07 83 05 d7>

		console.log(buffer.readUIntBE(0, 2));
		                   ^
TypeError: Object �� has no method 'readUIntBE'
well .. I'm confused.
 
1:37 PM
why do you have an object with those unicode question mark things
 
I'm not familiar with that method
 
@snowy500 more like each .draw() call is one pipeline, and each steop of the pipeline (like the pixel/fragments shader) goes highly parallel.
 
@TylerH no clue, but my guess is very old distro and node version ??
 
@rlemon What's your node version?
 
thank you
 
1:38 PM
0.8
was that not included in 0.8?
 
Did you check the docs on when that function was added?
 
no, but I will now
stupid old node.
 
smack on the nose
 
tbf I thought I was on 0.12
 
1:39 PM
and iirc that method should be avail (on 0.12).
 
1:50 PM
@Julo0sS Yes. I've added my Guard to the '' (empty) route. But the canActivate is never being called
 
what kind of error do you get?
 
bull shit it's bug free.
 
@Julo0sS Nevermind, I think it has something to do with the setup of the rest of my code. I'm "special" :-P
 
strength, perception, endurance, charisma, intelligence, agility, luck
damn this game
well, without code, I can't help, but I went through the same questions few months ago with angular 2
 
since when is adobe reader's size bigger than 100 fucking MB
 
2:02 PM
@KarelG I didn't know there were different kinds of MB
 
100 google MB's ? ;)
 
@rlemon maybe just his code for it is bug free
 
All of my code for commercial airliners is bug free. vOv
 
I bet he wrote it in jQuery
 
I bet he wrote it in Haskell
Can't have bugs if there are no side effects.
 
2:09 PM
$.haskell
jQuery haskell parser plugin
 
@KendallFrey it's amazing how wildly misunderstood that part of Haskell is actually
@ndugger IIRC there are bindings to jQ for haskell
 
Really?
 
Every part of haskell is misunderstood
2
Cuz it's haskell
 
if I got a dollar every time I saw someone asking, for real, how can you do IO in a "pure" language I'd have a bunch of dollars
 
but you wouldn't be able to count them
 
2:12 PM
Monads
But what are monads ???
 
I hate when people say monads are for IO
 
@Meredith they're monads
 
They're like gonads
 
they're so pure that only they can define themselves
 
> Every part of haskell is misunderstood
 
!!s/n(?=e)/l/ 36778504
 
@KendallFrey they're so pure that only they can defile themselves (source)
 
If you ask me, it's hard to explain what "monad" is
 
Does the following make you feel intrigued, or like you just want to die in a hole?
> Event Driven Entity/ Component/ System JavaScript Game Engine
It makes me feel both
 
it's a way to chain functions together by >>= (which is also the haskell logo)
but ... i can't explain that easily than just saying the three laws and follow it
 
2:18 PM
odd spacing on the /'s
 
@KarelG s/functions/actions/
or "computations"
 
"computations" is a better word.
 
@Luggage that's technically the correct spacing when using slashes in English
 
would make it more comprehendable
 
@KarelG That's not the haskell logo
 
2:20 PM
it is :P remove that last little \ at the lambda below the =
 
>λ=
 
you get >>=
 
The problem with understanding monads is that examples are given in haskell which makes them difficult to understand
 
Then use monads in VBScript.
 
I've seen and written examples in pleb languages like C#
 
2:21 PM
the monad docs has examples of that in other languages wiki.haskell.org/Monad#Monads_in_other_languages
 
"monad docs"?
 
@Meredith It's one of those things which are much, much easier to understand by usage than by taxonomy. Like closures and promises and pointers
 
Show someone a few things, have them nod, say "yeah that's a monad" and they'll go "oh ok"
 
Yeah I get the basic idea of monads cuz of how they're used in elixir
 
2:22 PM
Read "To Mock a Mockingbird" if you want to fuck your brain up.
 
@ndugger just read an article about " lal bhatti " or something, that it gets removed at 1 may. And the richies in India are complaining about that. Lol
 
wat
 
@Meredith actually I don't think there's a better language to show them than haskell
monads in js or C++ just feel like useless complication
 
@BartekBanachewicz It's often necessary for them to make the connection to the "real world"
 
So it's fair to say that haskell makes you do things you don't need to in JS because they would be redundant? :)
 
2:25 PM
@KendallFrey No it's not
 
@ndugger that red rotating emergency light
 
@BartekBanachewicz not everyone is a robot
 
@Luggage "redundant" doesn't mean "useless" or "unecessary"
 
!!define redundant
 
@Luggage redundant Superfluous; exceeding what is necessary.
 
2:26 PM
if you put it on your car and activate it, you have priority in traffic
 
@BartekBanachewicz I quite disagree, you just don't necessarily call them monads
 
OMG
 
Same way you don't see people say "ohh yeeahhh I just used a Functor biiiatch" whenever they map
 
@Zirak if we go on about monad instances then yeah
 
2:27 PM
@BartekBanachewicz I was just jokingly trying to bad mouth haskell. :)
 
@Zirak ... and functor instances
 
carry on.
 
what those languages lack is the concept of a generic monad or a generic functor interface
well not so much for the latter actually
@Luggage yeah I was trying to draw the parallel and say that e.g. types are redundant because you can write dynamically typed code
 
Why does it matter though? If you want to explain what one is, examples from the realm that they know and have probably dabbled in is probably a good way
 
@BartekBanachewicz The saddest part is when they even lack the ability to define such a thing
 
2:28 PM
> Hey what's a functor?
> It's like `map`
> oh k
 
@Zirak because I found that people tend to box in those examples and miss the forest for the trees
> What's a functor?
> It's like a box for a value (maybe, optional - heck, even list)
> // goes on not understanding that promises are functors
 
eh, I sort of agree but not really
 
to answer the question in a "human" way (a thing that can be mapped over) you need to go the generic view and only then show specific examples, IMHO
 
@rlemon oh my god haha
 
I think it's more important that they're monads
That's the most useful way to use them IME
 
2:31 PM
@KendallFrey well monads are a superset of functors
 
Personally I find taxonomy in those things to be daunting. When learning about it some time ago, it took me forever to map functors and monads to concepts I understood trivially
 
so in a way, yes, it's "more important" that they're monads ;)
 
it wasn't a fart btw
 
@SterlingArcher yea I saw that before. his friends died
like, if you look up the news article one actually laughed so hard he can't even anymore.
 
2:32 PM
Everyone who uses map intelligently understands that you can map over anything that has, well, map
 
@KendallFrey actually I often find that things being Applicative is important, but I still fail at explaining that concept in human words
 
Idk something that bothers me is when people try to give "simplified" explanations of mathematical terms
 
@rlemon which article? :O
 
@Zirak and then you go and try to map a set :)
 
@SterlingArcher lol. it's a joke
 
2:32 PM
And in the end their example is kinda useless
 
sorry i'm still a little messed up
 
From what I understand, a functor is just the category theory equivalent of homomorphisms
 
I got so drunk it pittsburgh they kicked me out of a bar for picking up a little person
10
 
2:33 PM
It's exactly how nobody understands closures when you explain them in words, but it's trivial to understand them from examples
 
add that to the wall
 
@Zirak to understand or understand understand?
 
@BartekBanachewicz Banana
 
it's just I think understanding some examples doesn't mean you grasp the concept well enough
 
@SterlingArcher Turns out that little person was yellow, crunchy, and delicious with a cheesy grin on his face?
 
2:34 PM
@SterlingArcher please tell me you have video
 
I'm also not in the camp which thinks you need to call these babies by their names. If you understand usage but not terms and can use them for greater glory...I don't care if you know exactly what an Applicative is
 
I think you can't e.g. think up new instances without that
 
There is no video, and only my buddy knows. Steph doesn't even know haha the timing was so perfect, we were leaving anyways
 
@BartekBanachewicz True, to truly understand something you can't go by example alone. Luckily we don't live in a binary world, right? And we can use judgement to decide how to go about things
 
and that's kinda sad
 
2:35 PM
I got real lucky
but I didn't get his lucky charms
 
@BartekBanachewicz From personal experience, you can
 
@Zirak well you can certainly go through life not having an intuitive understanding of Applicative concept
@Zirak then I'd say you "get the idea" :)
I mean there's laws and shit
 
@SterlingArcher Did you get your LD scroll?
 
if you can see a thing and say "oh this behaves exactly like those other things that share this interface and laws", well that's basically it
 
@Trasiva i did, light mystic witch
You?
 
2:36 PM
that's the "hard" part in understanding monads apparently
 
So what's the mathematical definition of a monad?
 
@SterlingArcher Light Beast Hunter, he's okay, but nothing amazing.
 
@BartekBanachewicz That's good way to put it.
 
@Meredith one?
 
I'm almost to my LD scroll for the mission thing
 
2:37 PM
@BartekBanachewicz Specifically speaking of the teaching aspect. Throwing "Monads Follow These Laws" gives you "wtf". Saying "here's some of the places where you use this concept" and building up these things is, at least for me, much better
 
gimme 5 minutes and I'll have it
 
@SterlingArcher Missing thing? From the dailies?
 
In category theory, a branch of mathematics, a monad (also triple, triad, standard construction and fundamental construction) is an endofunctor (a functor mapping a category to itself), together with two natural transformations. Monads are used in the theory of pairs of adjoint functors, and they generalize closure operators on partially ordered sets to arbitrary categories. == Introduction == A monad is a certain type of endofunctor. For example, if F {\displaystyle F} and G {\displaystyle G} are a pair...
 
@Trasiva the fast level strategy one
 
monads are just monoids in the category of endofunctors
 
2:38 PM
I just finished maxing the final 4*
took forever
 
@BartekBanachewicz keep talking dirty to me.
 
It's akin to closures (as I said), it's just a concept that's weird to explain but relatively easy to demonstrate. I understood closures and pointers really well before anyone said "yeah they have X and Y properties", but the first few times I read about monads my existence screamed in agony
 
@BartekBanachewicz I'll use this next time someone asks what a monad is
 
I agree with Zirak. I think good examples are worth more than a mathmatically correct definition in explaining concepts
 
@SterlingArcher I 6*'d Mav last night and then 40'd him off wind angelmons. What a difference that made alone. I manualed/auto'd to 90, but now I think I need to skill up Mav and get those runes upgraded more.
 
2:40 PM
Then get strict with the terminology later.
 
It may not be enough, definitely
But it goes a loooong way
 
fwiw, monads clicked for me the first time I read the class definition
 
@Trasiva my god right? He's the sole reason I beat toa90
 
@BartekBanachewicz Low key that's probably the best explanation
 
My Mav has good speed, but the rest of the subs are meh. So he's just swift af, low stats
 
2:41 PM
@SterlingArcher I'm not getting the stuns I want/need. I need to summon more food for him. I only got to B7 on the Dias HoH too.
 
Monoids are easy to grasp, endofunctors are easy to grasp
 
I got to 5 :/
 
Wikipedia gibberish on monads: not easy to grasp
 
But I didn't try as hard as I could, since I was trashed
I don't remember pulling Rica
 
To be fair, I used a friend's water poseidon.
 
2:41 PM
@KendallFrey Of course, different people understand things in different ways. Knowing myself, I learn best from example and usage
 
You pulled more than fucking Rica, you clown.
 
Got the LD
 
@Zirak Yeah I knew what kinds of things were monads, that just tied it all together
 
oh, then you lied to me, die
 
lightning!
 
2:42 PM
@SterlingArcher If you pull the Dark Taoist, I'm going to punch you in the throat.
 
Dark undine
I already have Woonhak tho
Is dark undine good?
Hmm, decent rezzer.. but I hate low HP rez
storage mon
 
@SterlingArcher She's very niche, I wouldn't worry about her for now. Time the fuck out. You have Woonhak?
 
@Meredith there's a difference between a mathematical gibberish and a general concept but in programming
 
You have the super Gildong, you can just go die in a fucking fire.
 
He's good? He's sitting 4* and max skilled in my storage
 
2:44 PM
@SterlingArcher ....he's your ToAN/H clutch.
He needs skillups though.
 
Looks like he's decent stunner and speed nerfer
 
His third skill is a control skill that'll block any stubborn mons from moving, he has the AOE stun that compliments Spectra like Gildong's.
Don't forget his third skill at max skill will heal you for 45% of max health every time it goes off.
 
Ugh now I gotta farm for high essences
 
Gildong's third skill is a def break, which means dick if you're using Baretta.
What? Why?
Do the dark line of the daily dungeons, you should have enough.
You should be able to get your 150 summon stones too.
 
Did that, need high essences to awaken
wait I didn't check my inbox.. duh.
 
2:47 PM
I thought the B7 gave highs.
You dope
 
Dark high, need magic highs
 
Oh
That should be cake
 
the fuck are you guys talking about?
 
You can auto-farm that shit on B7
@GNi33 Tag teaming @KendallFrey's mom. You want in?
 
Just tedious, I do 26-34 second runs, so I feel it's a waste lol I'm trying to max lvl Brandia
 
2:48 PM
@Trasiva I'm good, thanks
 
@SterlingArcher ...you don't have the fire angels to bump her?
 
No I used them to max Mav to get the 6* max complete :(
My wind angels, which were my last angels
 
Well, that sucks.
 
wind angels? are those blue angels before you light them?
 
Guess you're doing it the painful way. Tell me you have her in one of the xp pools to get that extra xp too.
 
2:50 PM
Her runes are lvl 9, and she's hitting (crit) for about 37k on Tamor hell
oh definitely
 
Now that Mav's 6*'d, I'm completely out of fodder, so it's back to farming Giants for angels and unknowns, lol.
 
I need better crit rate, otherwise she doesn't hit hard
 
Well, once I push ToAN and ToAH
@SterlingArcher You're doing it wrong then. You need like an Orochi to stack a bunch of debuffs first.
 
This month has been draining my supplies, I'm out of runes, out of mana, out of fodder
Oh I typically pair my hitters with Galleon
When she's with Galleon she'll crit for 42k right now minimum
 
You know her third skill goes up by 30% per debuff on a target, right?
 
2:52 PM
wait what?
 
Just like Amir
 
oh im retarded
2
 
viola!
 
walah!
 
are ya talking about ... summoners' war or something ?
 
2:53 PM
!!viola
 
Aug 30 '16 at 14:03, by Sterling Archer
Like for 25 years I thought Viola! was spelled Wallah!
 
yup lol
 
eww
 
you should have seen more worse thing since you're from florida, m'lady
 
@SterlingArcher Yes you are, putz. It's okay though, you're expected to fuck up.
 
2:55 PM
Up until a couple weeks ago I thought the golf company Titleist was pronounced "tit least"
 
How about we don't call me m'lady
4
 
today I learned dog poop in the 90's turned white because of increased volumes of bone meal in dog food from the era.
 
call me m'nick
 
@rlemon I see you were reading AMAs
 
TILs
 
2:58 PM
Oh, it was in an Ask Reddit about things that've changed that people don't normally mention that have changed.
 
Our whole building just lost internet
 
hopefully my dirt comes today
I wanna garden
 
@SterlingArcher Web ever will you do?
 

« first day (2382 days earlier)      last day (2568 days later) »