« first day (2475 days earlier)      last day (2697 days later) » 

20:00
no point paying someone else $35 to run a buzzer over my head when I can do it myself.
i only pay $13 plus tip
@BenFortune god, I wish
@KevinB if I go to first choice they don't even know how to use a buzzer :P
salon mens cuts are $30+
yeah i go to an old fashioned barber
:p
I'm a fan of going to a salon for a real cut, with fancy scissors and everything
20:01
hya
anyone ever used webassembly before?
yea
probably
like once a year or so I'll do it, just because someone else massaging and shampooing your hair is delightful
not full Sterling-level eyebrow work, and certainly none of that hipster pokemon stuff, but something nice
previous barber was only $8, but he lost his eyesight :(
don't you live in a fairly cheap area to begin with tho?
20:03
yup
like a house will cost <$150K
My house has a market value of £60k
god damn.
and that's for outside of the city
but I'm only renting
and it's only little
20:04
in the city, housing gets way cheaper
but taxes of course go up
@KevinB how's quality of living? (I can't remember where you live, so I'm going to assume the south - nailed it)
so does crime
what do you mean by th at
like, things to do outside of sitting at home
crime/income/amenities/etc
^
and the people
how it all sorts out vs each other
20:05
hmm.. crime has been rising since katrina, but things are starting to get better
hospitals are great
all I know about the american south is what we get on TV up here. I'm ignorant and assume everyone sits on a porch and yells are passers
these days it's hard to find a real porch, mostly it's trailer windows
Can you do remote profiling?
at least where I grew up
Things went downhill a lot between 2008 and 2012 with the crash and the coal plant they build a county over
coal plant brought in a lot of temporary housing needs, and also a lot of crime
but that's all gone now
20:14
so, Provider and inject are OP
❤️
screw passing stores via context.
Debugging with legacy protocol because Node.js version could not be determined (Error: connect ECONNREFUSED 192.168.1.22:5858)
:(
oh god I've spent 40 minutes on this because I was initializing array in arguments of reduce
var Handler = function(url) {
    const paths = url.split('/');

    var params = paths.reduce((array, segment, index) => {
        if (segment[0] === ':') array.push( {name: segment, index: index} );
        return array;
    }, []);

    console.log(params);
}
is this better now?
don't show Luggage
Don't use push in reduce
he'll get mad at me
20:15
:)
Or youll get cancer
don't listen to Meredith either.
But really though dont
Use concat or something
from now on, I'll only listen to towc and lemon.
20:17
she'll repeat Luggages and ssubes arguments in a more passive aggressive way. there's nothing new to gain here.
I saw that!
You probably need to filter first too
which are legit arguments. but we've already covered them and you choose to ignore them
And @rlemon don't be an asshole
Listen to Meredith.
20:17
I'm not in the mood for that today
except that last bit
listening to you gives me cancer.
sorry, can't do it
not ignore - I decided that in my case clarity > ops
as the ops gain is microus
and clarity gain is decent
i need to get my internet fixed so i can get back to d3
@KamilSolecki btw, I'm still waiting on that photoshop
20:19
@KendallFrey @rlemon shit I forgot
Wait what
@KamilSolecki I think the argument they had was filter.map is more clear. I don't agree, I think they're pretty even in clarity, but w/e. I think you got the advice backwards.
think i'm gonna skip this next poe league and come in on the next
Yeah you literally just reimplemented filter in the weirdest way
Use map to get the index, then filter to remove the ones that aren't params
20:20
woah hey @Meredith
100000000000000000000x clearer
haven't seen you around in a while
Hi
const paths = urls.split('/')
  .map((segment, i) => ({name: segment, index: index}))
  .filter(({ name }) => name[0] === ':')
Before the data is retrieved and promise is resolved for http request the response is sent. I know one way to handle this is using $http shortcut calling method but that won't be neat at all plus it wont be readable.
hm. maybe you are right. @Meredith
20:24
Using factory to call $http requests
and then loading data
the promise is resolved before the http's promise is resolved once the response is received
help requested
She is def right
Really pushing to an array ever is pretty questionable now imo.
our jr dev we had loved doing that, had to show him there was more to the world than forEach and for
cons ftw
You gotta be real careful using map/filter/reduce/forEach cuz they get confusing real quick if you abuse them
@GandalftheWhite help denied
but if you used for, you could just loop once rather than twice
20:29
@BenFortune Sad Reacts Only
@GandalftheWhite I don't help vamps, sorry
@FlorianMargaine I found a use case today for reduce and used it.
you would be proud, a little bit
Why would you call me Vamp
20:30
What else can I add to my personal site? apps.neallub.in
I suck at syntaxes
Im sure you would find optimizations with the code still because you're you 😋
it is a logical problem fgs
I cannot remember such things
@Neal let the name expire?
@Loktar ;-P
you so silly ^_^
20:30
@Neal joking ofc, why didn't I see you in the mod election?
@GandalftheWhite what makes you think your function should return a thenable?
@Loktar Wasn't in the mood.
@Neal stackoverflow.com/users/1022697/qwertynl this account is still up?
meh
surprised you didn't delete it after the outing
20:31
@Neal blackjack and hookers
ah lame, but I get it
@KevinB I want it work like that
@rlemon It is still up. I have not been active on it for a while though.
so.. make.. it?
I can use $http shortcut which will directly solve the problem
20:31
you know I actually liked him (qwertynl )
that is what I am asking
:l
I don't know what to do to make it work
the way I want it to work
xD
@rlemon lol Yea. I have other socks (somewhere) so we shall see if those go anywhere... but those also have not been active in a while...
@Loktar way better than that Neal dude
:P
But on the site in general. any ideas of what I could add? :-D
lol it blew my mind when I found out.
20:32
@Neal okok
@Loktar Ya know you like me too :-D
@Neal if it's a portfolio type site, I'd start adding some projects you've made/worked on
@GandalftheWhite what does your function currently return
@Neal easter eggs are always fun
@Neal a lot more content. more contacts, linkedin, etc.
20:33
@Loktar A lot of stuff I have worked on is internal. aside from servable which is recent.
by content I mean your writings, your projects, etc.
with pretty pics per project ^
Also spoke @ meetups, but idk how to put that.
yea a 400*400 image makes your site look a lot fuller
@rlemon one of say.. pizza?
20:33
@rlemon ewww. my face isnt so nice though lol.
even with the LASIK
nahh, I need to make a riskyipsum api
haha do it!
omg...
best idea today
Holy hell man that's the first time I've heard that
did you just come up with it?
because that is seriously a great idea.
@Loktar YES
20:34
@KevinB throws an error
which is confusing the hell out of me
SMH
@Loktar lol I'd just proxy what I have from riskyclicker
you get anime, you get anime, you get a picture of a website, you get porn!!! winner!
Yeah that's what I figured, I mean you already have the data, do it dude!
I wonder how many images I've index'd so far
@GandalftheWhite thats... not what i'm asking, hah.
I need to get around to gutting my homepage and just link to my GH and social media
20:35
what does the function return. it has a return statement, what is it?
It is an object
and if you wanted to be able to call .then on it, what would it need to return instead?
I love the hack to get react routing to work with github pages, it is pretty awesome :-)
(although I dont have any routing just yet)
promise I guess?
because your object doesn't have a .then method
20:36
also I have fallen in love with react styled-components.
Yeah
got your point
yeah. and, you kinda created a promise inside said function already
ahaa, 16,020 images have been collected by risky clicker.
Fuck my tiny brain
@Loktar yea this should be easy :D
20:37
you just need to return it
what is confusing me though is the fact that the error is thrown before the data is even retrived
If youve ever uploaded your nudes to imgur theres a chance you could show up on risky clicker
retrieved*
right, because js doesn't wait on async code to run
@Meredith <pedant>There's 100% chance you could show up</pedant>
20:38
solution?
@ssube Got the remote debugger working, do you know where I should be looking?
return the promise
I obviously want the data after the retrieval process is done
$http shortcut ?
it will do just that
that does create a promise
yea
or using $q service
20:39
nah, you're already chaining
cool
got your point
I just wanted to refrain from using the shortcut method
@Luggage so did you ever dive into mobx? do I pass all my stores to <Provider> from the getgo? or is there a more clean way to pull them in down the line?
@BenFortune Performance, make sure Screenshots and Memory are checked, and reload/F5.
what shortcut method
That and the Network tab should give you a full memory and network dump from the load.
20:40
i'm elbow deep in dissassembling a new laptop at the moment
@ssube Timeline?
ohh, okay, have fun! :P
you should end up with multiple timelines in different places
the $http shortcut, not method as in programming language's method, method in terms of english dictionary's method
the network tab will have the basic data, the performance one will have details
if you're on an older devtools, check the docs, I'm not sure what they were called
20:41
@ssube there's no performance tab
there should still be network
it might be under profiles?
Wtf why dont you have a performance tab
you just want to reload the page and get a memory profile, to go with the network stuff
@BenFortune do all of those with the Load button
but one at a time and see what you can see
Load wants me to open a file
20:43
oh. I really don't know how to work the old dev tools anymore.
I've never had problems this deep, so never done it before
Well that helps ._.
setTimeout(main, 3100);
maybe look for this in your code?
It's not my code
It's not not a joke.
How the fuck do I debug that lmao
20:49
!!put all the screws back right away or no?
@Luggage no
nah, i have confidence
Also the remote debugger isn't logging my network requests, cause of the webview
hm. I'm not sure what else to do.
Start removing random lines until it works
Do you have too old/new of a build of Electron?
Got the network requests working
Wait this is electron?
yeah
on a pi
Hold up
20:52
That's the first thing that loads
90ms isn't great, but it's definitely not bad
But for whatever fucking reason, there's a 2 second delay before that
There's a 2s delay when you boot up?
no
on each page load
Oh, I got "other" this time, instead of idle
@BenFortune idk. seems kinda specific to you right now. there are no other reports of the pi having issues with electron (that stand out)
what's the project? want me to install it and see if I'm having issues as well?
@rlemon It happens on the electron starter, with a basic webview
okay, OS?
raspbian? please say raspbian
it's already on a chip
I realize that's supposed to be raspberry + debian
20:57
it's not an easy to say name
aight, I'll download and install that when I get home
!!afk killing two hours while the missus does her hair
@rlemon It's actually benja.io
21:25
Thank God for the mall bar
Updated my "theme" so I am not matching the create-react-app theme apps.neallub.in
It's very plain
That's exaggerated on mobile too
@rlemon Yes very very plain. I am not the best viisual designer ;-)
My wife calls me "color blind"
If you have theme advise, I am open to anything @rlemon :-)
I'm currently sitting at the bar on my phone.
So I can't do much, but feel free to steal from rlemon.ca :D
It's simple, but not plain.
the clouds are awesome
21:39
Plugging xbenjii.co.uk
:D
Nice, I currently have the top post in /r/Aquariums
With this ^
Karma ballin
@William procedural clouds
They're okay. I should revisit them
Fyi
hah, neat
I never play mp factorio, so I'm not concerned
But if you do, update asap
what is underscope.js
lol undescope.js
should total name my library jQueny
21:53
@KevinB probably exists
Hey everyone! didn't know SO had a chat feature
1
Q: Use jquery to replace date format

Mei HuangBasically, I want to replace August to AUG, July to JUL, June to JUN... This is my code below, I tried to use Jquery, and it doesn't work for sure, can anyone help me, please? <!DOCTYPE html> <html> <body> <p class="post-date">August</p> <p class="post-date">July

@davidawad Welcome to the JavaScript chat! Please review the room rules. Pleasedon'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.
@davidawad it does. It's the best part of so
very cool.
21:55
Yup, were where the party is at
I'm so bored
Reddit needs more blue links
don't be
@KevinB how?
just be in a state of not boredom
But.. but..
Fine. I'm not bored. I'm extremely under excited
I have at least another hour to go
And 60% battery life
thats a whole hour that you could be planning out your new rimworld base on a piece of paper
21:58
Lol
I have a base going right now I planned out in gimp
It's going well
i haven't planned one out yet
lately i've been kinda bored of it
hence playing fallout4
I mostly just planned out where shit goes. I have like 4 room sizes I work with. Makes it easier.
and d3 when my internet isn't shit
11*11, 6*7, 30*11, and 8"9

« first day (2475 days earlier)      last day (2697 days later) »