<ELLIOTTCABLE>
worst I've ever done on a test in my entire life.
<ELLIOTTCABLE>
1. overconfident (Assembly? Fuck, I've written x86, I can handle MIPS. I've even taken this course before!)
<ELLIOTTCABLE>
2. poor life choices (played Banished all day yesterday instead of, i dunno, fucking studying for my fucking midterm. i have no self-control when it comes to anything other than programming. -_-)
prophile has quit [Read error: Connection reset by peer]
prophile has joined #elliottcable
pikajude has quit [Quit: Quit]
pikajude has joined #elliottcable
pikajude has quit [Changing host]
pikajude has joined #elliottcable
prophile has quit [Read error: Connection reset by peer]
prophile has joined #elliottcable
meowrobot has joined #elliottcable
<incomprehensibly>
ELLIOTTCABLE: wait you have midterms right now?
olakukielko has quit [Ping timeout: 250 seconds]
katymoe has quit [Ping timeout: 250 seconds]
ohhoe has quit [Ping timeout: 250 seconds]
amatecha has quit [Ping timeout: 250 seconds]
olakukielko has joined #elliottcable
ljharb has quit [Ping timeout: 260 seconds]
incomprehensibly has quit [Ping timeout: 250 seconds]
jwheare has quit [Ping timeout: 260 seconds]
krainboltgreene has quit [Ping timeout: 260 seconds]
amatecha has joined #elliottcable
incomprehensibly has joined #elliottcable
ohhoe has joined #elliottcable
krainboltgreene has joined #elliottcable
katymoe has joined #elliottcable
ljharb has joined #elliottcable
jwheare has joined #elliottcable
<ELLIOTTCABLE>
incomprehensibly: ugh sorta.
<ELLIOTTCABLE>
I'm in summer-courses, but only one class has tests at a time.
Sorella has quit [Quit: Connection closed for inactivity]
thealphanerd has quit [Quit: farewell for now]
thealphanerd has joined #elliottcable
prophile has quit [Read error: Connection reset by peer]
prophile has joined #elliottcable
ELLIOTTCABLE is now known as ec
prophile has quit [Read error: Connection reset by peer]
prophile has joined #elliottcable
prophile has quit [Read error: Connection reset by peer]
prophile has joined #elliottcable
Sgeo_ has quit [Ping timeout: 240 seconds]
Sorella has joined #elliottcable
prophile has quit [Read error: Connection reset by peer]
prophile has joined #elliottcable
<pikajude>
yo ec
<pikajude>
time to get studying
<ec>
pikajude: ?
<pikajude>
yo
<pikajude>
I saw your messages
<pikajude>
earlier
<pikajude>
but I missed them
prophile has quit [Read error: Connection reset by peer]
prophile has joined #elliottcable
prophile has quit [Read error: Connection reset by peer]
prophile has joined #elliottcable
prophile has quit [Read error: Connection reset by peer]
prophile has joined #elliottcable
Sorella has quit [Ping timeout: 250 seconds]
Sorella has joined #elliottcable
ec has quit [Ping timeout: 240 seconds]
ec has joined #elliottcable
ec has quit [Excess Flood]
ec has joined #elliottcable
ec has quit [Excess Flood]
ec has joined #elliottcable
ec has quit [Excess Flood]
ec has joined #elliottcable
ec has quit [Excess Flood]
ec has joined #elliottcable
ec has quit [Excess Flood]
ec has joined #elliottcable
ec has quit [Excess Flood]
ec has joined #elliottcable
ec has quit [Excess Flood]
<incomprehensibly>
ec\: what are you taking right now?
olakukielko has quit [Quit: Connection closed for inactivity]
<incomprehensibly>
restricted boltzmann machines!
<incomprehensibly>
sparse autoencoders!
prophile has quit [Read error: Connection reset by peer]
prophile has joined #elliottcable
prophile has quit [Read error: Connection reset by peer]
prophile has joined #elliottcable
<pikajude>
dude
<pikajude>
haskell's pattern matching is crazy powerful
<pikajude>
a pattern i just wrote
<pikajude>
parseJwt x | [b64@(base64ToJson -> Right header), b64@(base64ToJson -> Right body), sig] <- splitDots x = ...
<pikajude>
so first that runs splitDots on x
<pikajude>
if it returns a 3
<pikajude>
sorry
<pikajude>
if it returns a 3-item list, it then runs base64ToJson on the first item and the second item; if they both return Right, the pattern matches
<pikajude>
oh the second b64 should be h64
<pikajude>
then b64 and h64 are the original base64-encoded bits of the token, header and body are base64-decoded JSON objects, and sig is left alone
<pikajude>
if any of those things fails it passes to the next pattern