« first day (3793 days earlier)      last day (1137 days later) » 
03:00 - 18:0018:00 - 23:00

3:30 AM
Greetings!
 
@AdamMc331 Nothing to see here 👀
Ragh! Long time!
 
lmao
 
3:54 AM
yes long time.
 
4:29 AM
How have been mauker!
 
 
3 hours later…
7:58 AM
Hey guys, did you ever try to do performance analysis with perfetto? all my recordings are totally empty. I have no idea why
 
8:13 AM
Never mind forgot to select options
 
8:42 AM
@Tim my friends started playing Vallheim
What have you done
 
Hm anyway that expcted lables are missing to see which methods were run etc
 
Tim
9:28 AM
\o
 
9:45 AM
o/
 
Tim
9:59 AM
@MwBakker we started a while ago actually
or are bb, carl, warren, me and others not your friends
 
I haven't met you guys, you could all be bots
 
Tim
lol
 
@AdamMc331 exactly how I felt every time it was thrown during all my years as an android dev XD
 
hi
 
10:37 AM
flutter has weird names for their icons
 
This was the most starred message last year on this day:
Mar 5 '20 at 18:06, by Carl Anderson
They've made a tribute board to James at his workplace that I wanted to share here:
 
11:17 AM
@mwb so did you bend already to the will of your potential future employer who gave you a deadline or you're still thinking?
 
I am having a meeting with a jobcoach at 5
 
11:51 AM
She will be meeting a therapist at 6
 
Tim
what do you expect from a job coach?
or what is it that they offer you
 
I have no idea, she is the mother of a friend of mine and wanted me as her client
So I am doing her a favor and hoping to have benefit of it myself
 
12:15 PM
good luck
 
thanks
 
@MwBakker a client? are you paying her? why do you even need that
 
I am not paying her, I am doing it to help her and maybe get more clearence on the function that fits me best
 
win-win situation
 
yes
 
12:32 PM
ah okay, nice
 
Tim
I wonder how does this help her
 
not sure either, maybe to get familiar with the field of software dev?
 
Tim
is she divorced mw?
2
 
12:51 PM
She is
wait, but she has a friend now
@Mehdi she just started this profession and I am a difficult client
 
Tim
tell us about your adventures later..
 
1:09 PM
use the nsfw channel on discord
 
xD
 
@Raghunandan A wreck! But trying to keep my head above the water
Covid is awful around here lately, worse than ever before
And I lost a family member to it last weekend :/
That by itself was sad enough, but it flooded my mind with fear again, and memories from when I had it.
Even now, 5 months later, I still feel pain on my lungs.
 
sad to hear this mauker :( wishing you all the best
 
@Mauker my condolences
 
Thanks
 
1:50 PM
hello o/
@Mauker :( sorry for your loss
 
 
1 hour later…
3:01 PM
@JohnMelodyMelissa welcome, please start by reading the rules of the room room-15.github.io
 
3:32 PM
yoyo
@Mauker oh man :( sorry to hear that
well at least your president is doing things to help protect you agianst covid like saying things like "stop whining about covid"
 
Ugh don't even get started about this pig
 
lol sorry
sorry to hear you're not doing the best brother D:
 
hello
 
grr why is choosing university so difficult
 
it's not
 
3:38 PM
you should choose a college instead
 
you gotta go with the one that doesn't fuck up your time or mental health
 
but what if there are multiple that fit that criteria
@ballBreaker colleversity
 
go with the one that provides you with the good good fee fees
 
or the one that seems to have teachers that are not mental
 
eyo
 
3:41 PM
@grrigore im getting the sense you had some crazy teachers
 
I did not say that, you said that ;)
 
hey tas
 
tás
 
have you visited the schools you applied to?
I was pretty set in my choice but visiting them all cemented my decision
 
all the ones i've gotten into that i am considering
 
3:44 PM
whatever works
 
still waiting on two
 
congrats and good luck
 
yeah lol
 
thank you
 
I would suggest not choosing based on sports teams
 
3:45 PM
hahah
 
i just get my mind set on one and then someothing happens and i change my mind
 
I know americans love that dumb shit
 
@ballBreaker nerd
 
how long do you have to decide
 
Basically April 1
 
3:46 PM
What makes you change your mind?
 
true, well I guess once you hear back from the other two you can make a choice
 
@Taseer well one of them gave me money today
 
Tim
@ballBreaker 6 seems a little high
 
Money? What's the context?
 
that's just extrapolated to 6
real value is 5 xD
 
3:48 PM
@Taseer scholarship
 
@ballBreaker ahahaha
 
@ballBreaker wtf
 
this video might help you jbis
in your decision
 
bb is on fire
 
3:51 PM
@ballBreaker videos like these are the reason incognito mode exists
 
hey jbis
fart for me
 
💨
 
hahahaha
 
new feature for the bot
 
|| learn fart 💨
 
3:53 PM
fart has been added
 
|| fart for me
 
💨
 
lmao
what a strange world we live in
 
o/
 
Tim
\o
 
3:57 PM
How are you, Tim?
 
hey adam
 
Tim
I'm doing average I guess
 
@ballBreaker You know 'Slappers Only' ?
 
no idea what that is
I am trrrrrrrrrrrrrippin, for some reason one of my buttons doesn't do anything whena checkbox is selected as "no" but it works when it's selected as "yes" and they aren't even connected, wtf is going on
 
4:11 PM
i like that they're all vaping
this is hilarious though, basically what goes through guys heads
 
oh nice this reminds me of when me and my ex girlfriend were on a break and then she flew down to NYC to bang some D-list standup comedian and then again in LA a few weeks later
and the guy is semi-active on reddit so I'll see him every now and then lol
good times
 
lol
I find that 'on a break' excuse funny
 
yeah she actually coordinated the whole break to do it, so she was just cheating
she was a nasty woman
I bet if someone asked her today, she would blame the whole thing on me and make herself out to be the victim too
she was sick in the head
 
Tim
 
4:19 PM
haha
that situation was funny because they're just both retarded and each equally at fault
 
Tim
it was ross' fault 100% because who even goes on a break with rachel
 
this is why ross got rachel and you didn't
can't put the rachel on the pedestal mannn
@JBis you around? I have a quick JS question
think I found my problem but trying to decipher the js
if (document.getElementById("paymentClearYes") && ((!document.getElementById('paymentClearYes').checked) && (!document.getElementById("paymentClearNo").checked)) ) {
     		toggle_visibility('customError', 'block');
      		return;
     	}
 
Tim
puke
 
does the document.getElementById("paymentClearYes") just confirm that the PaymentClearYes element exists? or does that check if it's not null
It's a radiobox
I'm assuming the .checked is whether or not it is selected
 
Tim
returns "An Element object describing the DOM element object matching the specified ID, or null if no matching element was found in the document."
 
4:26 PM
@Tim tell me about it
so does that mean that in the if statement, it'll always return true as long as the element exists?
 
@ballBreaker if the element exists
@ballBreaker no
 
If its null, then it would be false, there's a thing like falsy values in JS
yikes
 
so that if code will execute if the element exists and isn't checked as anything?
 
document.getElementById("paymentClearYes") // returns the element if it exists or null if the element doesn't exist, null is falsy here where as an element (which is an object) is truthy

!document.getElementById('paymentClearYes').checked // checks if the element is not checked
@ballBreaker will execute if the element exists, and neither are checked
 
how does that if statement work then, if it's equating to something that isn't false or true
gotcha
 
4:30 PM
and to all the people shitting on js, that is shit js but not because its js
 
I mean..
I'm going to shit on JS for having IF statements with things that aren't conditional
if (document.getElementById("paymentClearYes") is basically just if (object) lol
no idea how that makes sense but w/e
 
Are you trying to reason with JS?
you can't even use the 'name' because it's a reserved keyword
 
||> const name = 5;
console.log(name)
 
@JBis undefined Logged: 5 Took: 1ms
 
yes you can
 
4:33 PM
lol
 
I have very minimal experience with JS. The language feels like a layer of 'un-fucking' the fuck-ups
This is probably the wrong room to speak in support of JS lol
 
if(!document.querySelector("#paymentClearYes")?.checked && !document.querySelector('#paymentClearNo')?.checked){

}
is a more modern version of that
but usually you don't need to check if the element exists or not, usually you know based on some other state
 
yeah
I guess because that element is dynamically created, so they check to make sure it exists before doing the check on it.. definitely old school shite
so now I just gotta figure out why this form submits when the checkbox is selected as "yes" but not when it's selected as "no" ... ugh
lol
I'm also confused why they only do the check on paymentClearYes and not on the no...
I guess its redundant
 
@ballBreaker me too
@ballBreaker follow the event handler down, you can add breakpoints in the browser btw
 
oh really?
how I do
f12 and then?
 
4:44 PM
or if you are lazy, add debugger; statement in your code
 
nice thanks!
 
np :)
 
one thing I love about .jsp and .xsl is that at least you don't have to rebuild everytime you change it thankfully
 
Has anyone started building Android apps using Compose?
 
lol I keep accidentally opening my robo-call code and I'm accidentally spamming myself with robo calls
lmao fuck I did i tagain
I've done this 5 times now
jfc
alright well... adding a check for paymentClearNo fixed my problem lol
how long has it been like this o.O how are we just noticing now.... wtf
 
4:50 PM
oh were you getting an error?
 
has this feature just never worked O.o
 
can't get checked from undefined
 
no it wasn't even giving an error, the formSubmit just wasn't triggering to submit the form, so the button didn't do anything
 
weird, that shouldn't fix anything then
oh well
 
right? hahaha
I'm so confused
Might just have to push this one and pretend it never happened
if(elementbyId(paymentClearYes) && elementById(paymentClearNo) && (!yes.checked && !no.checked))
somehow that fixed it
ah god damn it
but now it submits if they aren't checked, wtf is this
time to toss another set of brackets in i guess lol
 
4:56 PM
@ballBreaker not sure how big the example is but if you can create an MCVE i can take a look
 
wtf am I missing
 
hmm not sure how I'd trim this down to an MCVE
 
@ballBreaker when do you want the form to submit/not submit
 
submit if yes or no is checked, and not submit if neither is checked
 
4:59 PM
are they radio buttons?
 
yeah
is the full method
basically tosses an error if they are present but not checked, and submit otherwise
 
1 message moved to Trash can
gisssst
 
ugh go away
 
are the buttons not always there?
 
no they aren't always there, they are only shown when a value is present on the page
 
5:01 PM
whats the input name?
if(document.querySelector('input[name="<name>"]:checked')){ // if name input with the radio name is checked

}
 
not sure what you mean
paymentClear
 
@ballBreaker whats the html for one of the radio buttons?
<input type="radio" name="this is the name" value="yes">Yes</input>
 
paymentClear
 
38 mins ago, by Tim
puke
 
lolol
 
5:04 PM
if(document.querySelector('input[name="paymentClear"]:checked')){

}
 
I'll try that
 
that will execute if any is checked
 
is javascript comments also '//' ?
lol
 
yes
 
5:05 PM
@ballBreaker oh missed this
 
they don't syntax highlight in my xsl so I can never remember lol there's like 5 different comment syntaxes in there for all the different langs
no worries I have it in my thing
I wonder if rag has a script that gives him an alert anytime someone pastes code into here
 
const radios = document.querySelectorAll('input[name="paymentClear"]');

if(radios.length === 0 || Array.from(radios).some(radio => radio.checked)){ // if no radios exist or any of them are checked

}
 
don't think I have => operator
this is 2002 JS
 
:(
 
     	if(!document.querySelector('input[name="paymentClear"]:checked')){
     		toggle_visibility('customError', 'block');
      		return;
		}
did the trick though
just gotta check now what happens when that radio buttons aren't there
 
5:09 PM
@ballBreaker try it, it just won't work in ie11
 
Hello, Android!
 
hmmmm
yeah that'll be a problem lmao
sadly
 
wait...you have to support ie11?
 
|| bB
 
Invalid command! Did you mean: bs, 3, ban? Try help for a list of available commands..‍.‍.‍
 
5:12 PM
haha yep unfortunately
 
sucks to be you
ie11 and safari are the worst
 
yeah haha but everything is so old in the code that it honestly doesn't make a difference
anything new I would want to do, I wouldn't be able to do anyways
 
i'd quit
is this a client facing website?
 
okay yeah that doesn't work when the button isn't shown
yep
 
alright here ya go:
 
5:13 PM
we only support IE because they require it
get some old geezer up in the yukon territory trying to use internet explorer in 2021
 
var radios = document.querySelectorAll('input[name="paymentClear"]');

var radios_cause_ie_is_a_bitch = [];
radios.forEach(function (radio)  { radios_cause_ie_is_a_bitch.push(radio)});

if(radios.length === 0 || radios_cause_ie_is_a_bitch.some(function(radio){ return radio.checked})){

}
assuming the syntax is correct, that should work in ie11
 
jeepers haha
 
If you are asking why, querySelectorAll returns a NodeList which is a fake array. So we need to convert it to a real array, but ie11 doens't support Array.from, so we gotta do it ourselves
 
gotcha
 
you should create a penny jar. anytime ie11 causes you trouble you add a penny and then donate it to mozilla
 
5:21 PM
thats actually the same issue
it throws the error when the radiobuttons aren't there
actually give me a sec, let me make sure the JS is getting reset when I republish
 
if(radios.length > 0 && ...
if you want it to only error when radiobuttons are there
 
yep
I only want it to error when the buttons are there but not checked, if they aren't there I want it to go through
will try that
care to explain what that code does briefly? lol
 
also inverse the second and
so in final:
lmk if those comments make sense
 
kk just looking at it now
in the meantime I was trying something else that I think works too
yeah okay, so
	    if (document.getElementById("paymentClearYes") != null || document.getElementById("paymentClearNo") != null){
	     	if(!document.querySelector('input[name="paymentClear"]:checked')){
	     		toggle_visibility('customError', 'block');
	      		return;
			}
		}
also works
 
 if ((document.getElementById("paymentClearYes") || document.getElementById("paymentClearNo")) && !document.querySelector('input[name="paymentClear"]:checked')){ // thats what you wrote simplified
 
5:31 PM
these in-line functions of JS trip me out haha, pretty cool though, reminds me of what java could be if I had access to newer shit
yeah I like the look of nested if's though
 
yeah your soution is more simple
 
lolol
I guess i could format it the same so it looks the same
 
i've never had to support ie11 luckily
 
yeah it's kind of a mind trip when you have to revert your ways of doing things to antiquated stuff
"oh.. that's... too elegant"
lol
I can't wait until IE doesn't have to be supported by anyone ever again
 
i don't think we'll be alive by then
 
5:35 PM
I gotta go find out how long this has been this way
people just noticed this stopped working in december, but this file hasn't been touched in at least a year
 
how'd this land on your desk?
 
the girl who usually does the support stuff is off the last half of this week, so it came to me instead
but users submitted a ticket and it got escalated and sent to me
usually in these cases, I end up getting it when no one else can figure it out and then I fix it, go look and see that the vendor fucked it up a year ago and somehow nobody noticed
 
nice
who is using ie11 tho
 
our dealerships
 
they can't upgrade?
 
5:43 PM
which is kinda rough, because we don't directly control them.. they're more of like a "conglomerate" of owners, sort of like franchise owners, so they have control over what browsers they use, but they don't have control over the software (ours)
and we only have so much authority for making them do things
like 30% of them still FAX us their shit
 
can you put a banner up? "please upgrade your browser" or switch to edge
 
so IE is an improvement over that lol
hahaha
most of them are doing the switch on their own thankfully
 
hmm
where is the js files?
im just wondering how difficult it would be to integrate a preprocessor/transpiler
your life would be 1,000x easier but idk how it works with jsp crap
 
hmmm yeah im not sure tbh this app is even older than my other one and doesn't do JSP files it's XSL files
i have a feeling it's going to be impossible and not worth it haha
 
whats the backend in?
 
5:52 PM
java
 
@ballBreaker at that point, yeah
 
yeah I mean my life is probably easier just keeping it as is and spending the extra 5 mins when an issue pops up
I'm pushing to get all these apps upgrades to Java 8 at least, as we're all out of support
and we'll have to upgrade all this shite for that, but I have a feeling the business is never going to agree to it
so I'm kinda handcuffed
But hey, it is what it is
everytime I get rattled about it I just go look at how much money is sitting in my pension
lol
 
devs should be able to charge a "shit stack" fee
 
hahah I guess I do charge that, but I charge it to the customers
by adding 15% time and effort to everything
or even more..
I doubled my time estimate for a recent project I'm working on becuase I know it's going to be a PITA with this stuff
I said 2 month, but realistically I'll be done inside like 2-4 weeks
 
ah
 
5:58 PM
thanks for the help btw, that querySelector method saved me ass
 
np
 
time to build and deploy and see who the hell screwed this up and lower my respect for them
...watch it be me
 
03:00 - 18:0018:00 - 23:00

« first day (3793 days earlier)      last day (1137 days later) »