« first day (2699 days earlier)      last day (2473 days later) » 

08:02
o/
@KarelG Just reading.
I'm allowed to read! *Throws a hissy fit*
@Cerbrus Indeed. CM
who told that you could come back from the corner?
btw, @MadaraUchiha did you see that new Widow skin? It's dope
@KarelG Hanging by a thread, no doubt
@SaitamaSama which one?
08:13
Unlocked and loaded. Log in to Overwatch between now and April 3 to celebrate @StarCraft’s 20th Anniversary with a FREE Widowmaker KERRIGAN skin. https://t.co/X0e7JEDWw6
eh, she needs lots of make-up to cover up her natural skin color
the skin's supposed to be from the time before she was brain washed and stuff
i only know some bits from overwatch. Did not have played it ( and won't )
although I do know about widow because she was trending at a given moment, just due of her body model
heh, indeed
08:31
@MadaraUchiha Such oppression :P
@SaitamaSama Yup
@Cerbrus It was a half joke answer anyway
I weep for the reversal though.
Hey there
@HugoRegibo Welcome to the JavaScript chat! Please review the room rules. Please don'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.
-2
Q: The election/gender debate has commenced. How can we resolve this?

Yvette ColombBackground: I'm a woman, I don't hide that fact and I also have opinions, just as you do. There's been a total of 3 female candidates in Stack Overflow elections - I'm the third, I ran last year. This is relevant as this answer to to this question 2018 Moderator Election Q&A - Question Collec...

08:44
lmao
I didn't realize that there was such fierce competition to get a mod
to the point people will start bringing these tools in
@dievardump Oh I see. No idea about that, sorry :D
@KamilSolecki Being a mod is nice because you get access to the dark room
@KarelG and im just sitting here, eating popcorn
That's where the mods make fun of all the casuals
08:52
Downvoted, dumb.
Wait. We do that in here also :\
> This fact has nothing to do with my gender.
@OliverSalzburg yes we do, dummy! :P
Why bring it up then?
@BenFortune proceeds to make a gender essay
08:53
@BenFortune To make you aware of it you macho pig
fuck off cis scumlord
Well it's not really removed
lol
Gotta get that human horn!
> Do you want me to change my avatar to something gender neutral and change my username to remove any advantage I have as a woman?
It's a Futurama reference. Don't google it :(
08:56
> any advantage I have as a woman
-_-
@Cerbrus Good post
@OliverSalzburg My meta answer just now?
it went viral in the chat :D
wut
@OliverSalzburg Thanks
09:01
Oh, I'm sorry. I thought you were also the guy who brought it up
ok, maybe im exaggerating :D
The OP has a bit of a history in this debate...
I'm kinda tired of that debate being forces on us.
Saw your comment on the question...
history or not, I can run for president and say "I am an SO user!"
but things that are irrelevant are not worth mentioning
I want to be president of the weeaboo club
09:03
(iirc, there is even a programming principle about that)
Lean programming?
Don't do irrelevant stuff?
could be
iDunno, its a while ago since I studied principles and patterns :D
We no longer practice KISS due to backlash from the female developers
Maybe our definition was too lose :\
If you practice KISS nowadays, you get halted with a METOO
we practise KISS all day long
the issue is we have very few female developers
need moar
09:19
then you need to encourage them to do programming
it is still a stereotype: fiddling with pc is associated with [ugly|introvert] nerds | geeks
> Is it a bad thing to want to inspire women to program?
oh @Neoares here is my road network I have promised ya last monday
just that for fluid traffic in my industry area :|
wow
it looks so messy
like, too much roads, no?
or it's because there's no buildings yet
there are more buildings now yes
added also some cycling bridges to there
the Y road there leads to the district with housing
:tries to find the Y road:
:squeezes his eyes:
09:32
You find the Y road. I'll find the (Y) road
( . Y . )
@Neoares nsfw ascii porn
@OliverSalzburg wkwebview not responsive on device, really responsive in emulator :/ Any idea what might cause that?
@BenjaminGruenbaum Other than it possibly being a very old device, no idea :(
That is to say, we have worked on so many issues like that, it's impossible to pick a reason :D
And for us it was always "Hey, if we change this CSS attribute from 3px to 4px, then it works"
Performance and rendering issues on hybrid iOS are a pain :(
@OliverSalzburg it's on my iPhone 7, the webview is in the background if it matters and not attached to a view, the console is very unresponsive
09:41
Hmm, maybe that is the problem? Gets lower priority because it's hidden
No idea really :\
Hi guys

answer.replace(new RegExp(search, 'gi'), '<span class="highlightedText">$&</span>');

I am using this to highlight some searches in my text(which is actually html) so whenever a search term is present in <a ....>Sometext</a> this regex breaks my anchor tag which should not happen
cos you are using regex on html ...
that is like opening the gates of oblivion, r̭̦͍̱͍e̺̱͈̦͇̺̫ḷ̰̠̟̼̗̺̬̕e̦̕a͏̪̩͓͇̪̪̟ͅş̧̠̪̱͉͍ͅͅi͠͏̭͓͙̰̤̯̣͇n̤̼̭̤̮͟g̼͉͕̭͕̪̣͎͝͝ ̨͓ḻ̣͕̺̖̱͕̺ǫ͔̣̼̼͈͝r̸̺̻͚͈͠d̮̲͎̺̙͚͝ ̶̡̟̩̠͍́ͅc̯̼͖͜t̟̬̗͉̪h̬͎̱͎̀͟ͅu̝̮̬̼̭̮̻͖̕l͙̯͎͔̫͎ͅh҉̗̟̠̰̬̻̻ų̧̣̟̬̜̟̝͎͠
wtf npm puts its cache in the roaming Windows profile? O__o
that is just ... hell 😱
@OliverSalzburg yes. Did you not know that ?
@KarelG No
Have people been making fun of that stupid design decision for a long time and I was not informed?
09:56
not much are aware of that I think
something I did not like, but idgaf because I do not use the cache
I don't give a shit about the cache. But someone apparently has no clue why they call that profile roaming
Roaming profile and cache are two things that I don't see combined
he probably uses npm accros multiple pcs
@KarelG Yes so what should i use ?
@KarelG He probably doesn't (at least not to a relevant degree), otherwise he would have realized how stupid it is
@OliverSalzburg Your fault for using Windows.
10:02
@MadaraUchiha Obviously
Full line is return $sce.trustAsHtml(answer.replace(new RegExp(search, 'gi'), '<span class="highlightedText">$&</span>'));
Here answer is html in string format
search is searched term
@PraveenKumar Don't regex HTML
And without knowing the regex, it's hard to tell why it's messing up your ouput
You know any alternative way to filter like this
that highlighter is using regex too :P
10:13
The former works well for us. Although, I think, we have a fork
it still uses regex in else branch
@PraveenKumar what are you trying to replace and why do you have to HTML in the script?
do you need to replace the whole tag or the tag's content?
@KarelG Maybe he's just applying his solution incorrectly. But the usage was never presented
just the split join part
if you want to add case insensitivity : use to lower in combination with indexOf
I am using this in faq page. There are lot of faqs and they have link also so i have to search through each faq's html for a match
10:16
@PraveenKumar That sounds like it would be a job for the browser in-page search
problem with regex is that if you search by eg "div" for "divide", it is also selecting <div> or your search info is in anchor href attribute
Yes something like that but you know employers :D
the split join would work partially
Well, these highlight filters are not meant to be applied to an entire page. They are supposed to highlight text in a defined container. This is not rich-text ready
@HelloWorldPeace Not replace i just want to highlight the text only leaving html tags alone
10:19
you have to go through your node elements, if has children : recurse, otherwise select by textcontent. if it contains your search pattern, apply replace.
Ok thanks GURUS :)
in gogole's oauth 2.0, the token uri can have different values?
cause I'm storing "https://accounts.google.com/o/oauth2/token" in the database
yes
but it looks so constant
really?
that is how OAuth2.0 should act
10:21
any example of a different value?
you get a new refresh token if it is used to renew your example
uri should be the same. tokens are different
@Neoares The URL?
@SandeepRandhawa Welcome to the JavaScript chat! Please review the room rules. Please don'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.
@OliverSalzburg yes
when you get the credentials, they give you that URI
10:21
Yeah, that's fixed
@PraveenKumar I see. What is the RegEx value?
@KarelG I was talking about the URI, not the token :P
oh I missed that part.
sorry
@OliverSalzburg ok, then I'll store in in my integrationType table
don't need to store it on every integration xD
10:23
> v4
I'm guessing that's functionally the same endpoint
._.
I guess
We don't use those tokens though. So I can't say for sure whether this URL should be stored on a per-account basis
Just doesn't feel like it :D
you can store it as properties
seems weird to have it in a db
:41524954

Let me explain it to you

`<p>Please have a look Integrations on our Merchants Page. You can also visit our <a target="_blank" href="https://www.youtube.com/channel/something">youtube channel</a> for tutorials on accepting bitcoin on various platforms :&nbsp;https://www.youtube.com/channel/something</p>`

When i am searching for youtube from this it is breaking from `<a target="_blank" href="https://www.` here also this should not happen
10:25
@OliverSalzburg I don't know, google's wrapper ask for it
I just give google what google wants
@Neoares Well, their wrapper works for any OAuth2 provider, so they make it configurable
oh wait
google doesn't ask lol
> class Credentials(token, refresh_token=None, id_token=None, token_uri=None, client_id=None, client_secret=None, scopes=None)
> token_uri
yes they ask xD
This Hyper-V "Quick-create Windows 10 dev environment" is kinda nice
Well, let's wait for the machine to boot before praising it
hm... can someone tell me why in the Credential class' parameter list there's almost no optional parameters, but then in the specification just below everything seems to be optional?
@Neoares They are kinda optional "can be left as None if the token can not be refreshed"
10:31
yes... it seems so
I know too little Python to say :D
I think this is related with what we were talking yesterday
they go for the resource server, and in case the token gets rejected, they use the other credentials (if provided) to refresh it
and then they try again
makes sense :) I'll provide then
Sounds good
Hmm, I'm going to write a new installer now. I love writing installers
installer of what
Our signage display software
wtf is this shit?!
10:35
a pin code ?
And 123456 is not allowed?!
i could enter 4 digits as pin code
complexity requirements = min. 6 chars?
No idea what this shit is. Yesterday I was already prompted that our organization now requires Windows Hello
my laptop has a 4 digit pin
10:36
ah and they're only numbers
how can that be complex xD
> Windows Hello
you can include letters/symbols if you tick on that checkbox
@Neoares PIN requires device access
@KarelG So I just use my password!
@OliverSalzburg lol what
it prompts for the pw if you enter the pin incorrectly for 3 times
how can that be a requirement for your software
isn't that the fingerprint thing?
10:37
still, i prefer to enter 4 digits than a long password
Sweet. If you allow letters, you can set password as the PIN
yeah, PINs are suposed to be just digits
@Neoares This is just from regular old Windows setup. I'm still setting up the dev machine
the laptop is used for my coding spare time
10:39
cortana not disabled
edge in the bottom bar
D: feelsbadman
Shocking
The final target devices are Windows Starter Edition, so this isn't even close to what we'll be dealing with ultimately
But it works for testing in the meanwhile
how does that affect you?
I mean, the starter edition vs the enterprise one
I honestly wouldn't be surprised to find out that in the year 2050, there would still be computers with windows xp installed on them
@Neoares It's weird :P
the good ol' XP...
10:42
And we run it on tablets
remember pinball 3D?
I spent so much time playing it
yeah, best way to pass the time when your mom was on the phone keeping you off the internet :P
what are you testing btw
@KarelG The installer
@Neil so true
10:43
It not only deploys a piece of software, but also needs to configure Windows in certain areas
With the potential to majorly fuck up the system of course
good ol' dialup
all about the baud rates
I still had to work with the old dialup configuration
my friends did not know what that is
my parents probably were one of the first people having internet at home
I had a 14.4k dialup modem at first
Tried to play multiplayer doom with a friend of mine down the street
It was touch and go most times we tried
I learned a lot about computers from my friend, but he was a little nuts. He had all the software he ever needed on CDs (burning them if necessary) and he regularly formatted once a week
I think he defragged once a day at least
Hello
format once a week
god why
10:51
He was kind of obsessed with cleanliness, and I suppose that was part of the mania
ding ding ding format warning
1 message moved to Trash can
@Gilad Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq. For posting large code blocks, use a paste site like gist.github.com, hastebin.com, pastie.org or a demo site like jsbin.com
He really could have been a great serial killer
OCD?
probably a bit, yeah
or asperger's
10:51
plot twist: he is indeed a great serial killer right now
can someone help me, i'm trying to find if an array contains an element {unread:true}
xDDDDDDDDDDDDDD lol
formatted wrong message
tried array.includes({unread:true})
map -> check object -> return true if exists
actually forget about map, do a simple loop
map requires a return
10:53
no, it's not required
well linter gives me the red
despite it's the point of it
but in this case you just want to find something, so just loop from 0 to length
check object, if you find it return true
@Neil well, for me, I like to keep everything organized in folders, my download folder is more cleaner than most of what you'd find
tried this, didn't find a thing
does anybody have experience or sources about orientationchange event? I'm curious how the order or events takes place in correlation with css media queries and stuff.
10:54
@SaitamaSama nothing wrong with that
I even organize all of my pr0n collection :P
object.hasOwnProperty('unread') && object.unread === true
I'm doing like "centering" some elements on orientation change, but it doesn't work properly (looks like it gets fired too early). If I use a breakpoint or timeout within that event it works fine
actually
@SaitamaSama especially nothing wrong with that ;)
10:55
:P
object.unread === true should be enough
yep
since if unread is not in the object, it'll return undefined
if (this.state.panels[i].notifs.unread === true)
doesn't find any, but there are
10:57
ill paste the array wait
p1notifications is panels.notifs

« first day (2699 days earlier)      last day (2473 days later) »