« first day (3987 days earlier)      last day (953 days later) » 
01:00 - 19:0019:00 - 22:00

1:03 AM
LMAO @reno
<3
(someone linked me to the vid just now)
 
 
5 hours later…
5:35 AM
Gooooooooooooooooooooooooooooooooooooooooooooooooooood Morning Everyone!!!! :D
 
qki
6:07 AM
hello there
 
 
2 hours later…
Tim
7:55 AM
\o
 
 
1 hour later…
qki
9:20 AM
Guys, lets say I have a simple custom config which I save as a JSON string in device's prefs. To save/load that pref we have to use the key, for example myCustomConfig. Should I save this value to a const property in some object or leave as a hard coded string?
 
Tim
10:20 AM
you're using it in 2 places so you should not hardcode it
 
qki
so, const it is
 
oh wow glitch is here
 
qki
thanks Tim
 
@Glitch how you been!
 
Tim
and don't put it in a file called Constants.kt
 
qki
10:23 AM
;_;
why is it so bad?
 
Tim
because it doesn't tell anything about what or how the contant is for. Just put it inside the class where it is used, optionally in a companion object
 
qki
oh okay, seems reasonable
 
Tim
if you have a Constants.kt file with all the constants, then every class in the codebase can access every constant, that is not nice
 
This was the most starred message last year on this day:
Sep 15 '20 at 16:04, by Raghav Sood
You probably got featured on a "How not to blog" list
 
qki
10:40 AM
true
gotta do some refactoring :D
 
11:39 AM
o/
@JBis how many views do you have now?
 
Tim
12:09 PM
1002 assuming you viewed it just now
 
12:31 PM
Time to go~~
cya in a bit!!! :D
 
qki
babye!
 
1:18 PM
Anyone can answer this question please. stackoverflow.com/questions/68868778/…
 
1:32 PM
@Tim so you also viewed it
 
Tim
no he already had over 1000
 
Ribbit
 
1:57 PM
whats up raymond
 
Yo Ahmad!
How're you feeling today?
 
a bit under the weather
🤒
but p okay otherwise
hbu my dude
 
I'm a bit stressed, just learning about mortgages, buy promises, taxes, tax evasion, etc
I just learned that loans are scams
 
are you buying a house?
 
How are they scams?
 
2:03 PM
why are they a scam?
predatory loans are a scam
but a mortgage in germany you can finance with 1-2%
(though I'm def not a fan of any form of interest)
 
@Ahmad I'm buying a piece of land
 
Morning
 
@twiz They have a thing called interest
 
morning graeme!
 
@RaymondArteaga There's a reason it's called a "loan" and not "free money". lol
 
2:06 PM
@MwBakker No worries - I have medical professionals checking in once a month. Who could need anything more? :)
 
heyo o/
 
Hey BB
 
whattup
 
o/
 
@Smarticles101 hahahahahahaha lmaoooo
yoo ahmad
long time dude
 
2:11 PM
Goooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooood Afternoon Everyone!!!! :D
 
Afternoom W0mps
 
Hiya Graeme!!! :D
How are you doing??
 
heya wmpy
 
Hiya bB!!! :D
 
2:13 PM
@ballBreaker ahh yeah life is keeping me busy
so many things happening
how have you been?
 
@twiz Yeah, but the loans have more than 6% interest, and they use a variable unit dependent on inflation, which also increases the total amount to be payed
 
looking for a flat sucks TT^TT
 
I end paying twice the amount
Also it will be a vacant lot, so I'll need to live on a container house as I've previously said. With my mom, dad and grandma
And it has a single bedroom
 
@Ahmad lots of crap going on! But things are going well. some girl drama, but things are looking up! Looking for a new job as well which is exciting :D
 
@ballBreaker girls drama is the best kind of drama
 
2:18 PM
hahah yeah its definitely the juiciest
I had a girl stay over last night after a first date, so that was fun. I reaaally needed it
she made me feel very wanted
which was a nice and wholesome feeling after the past 2 weeks
 
2:48 PM
despite my shitshow code assessment yesterday they want to do another interview with me
companies must be desperate
 
You may also be a test subject
Interviewers are being trained
 
3:08 PM
hahaha
 
3:36 PM
I👏🏻FINISHED👏🏻THE👏🏻LAST👏🏻EXAM👏🏻OF👏🏻THE👏🏻WEB👏🏻DEV👏🏻THING👏🏻
 
so you are now officially a web dev
 
eh...
i already was a web dev
 
congrats womps!!
 
but now i have two papers that say that i'm a web dev
today is not the last day tho... i have to go until friday
TT^TT
 
"hey bb can I call you for a quick 5 mins to go over some job opportunities"
40 minutes later
<_<
@W0MP3R ouuuuuuuu two whole papers :) nice
you are officially an HTML expert
 
3:40 PM
you are now a double web dev
 
and can make me a website
 
xD
i can try
hahah
 
tell bb your charges
 
hahaha
 
you have to give me three whole cookies
 
3:42 PM
so basically.. you make me the website and then I visit it three times??
eh?eh?
take my cooooookies
 
reminds me of my childhood when I was willing to offer a lot of money for the fries
 
the fourth time you are going to find a 404
 
hahahaha
 
everyone laughed but i couldn't understand that fries don't cost that much
 
and i'll run away with the cookies
 
3:45 PM
@W0MP3R did they ever do JS?
 
we did a bit of JS
but it was mostly HTML/CSS, a bit of Wordpress and then PHP
 
@ballBreaker the market is insane rn
if i wanted to I could line up 3 jobs and work all of them if I was okay with burning bridges
but not a wise long term move lmao
 
lmao
also not a wise short term move
my brain hurts.. I shouldnt have drank so much last night
I have an interview in 5 minutes too
lol RIP
 
@W0MP3R oof
 
good luck!!
just tell them you're very invested in web scale architecture
that gets the people going
 
3:59 PM
me running away with bB's cookies ^
 
@Ahmad lmao "oh please elaborate" "...no"
:O
get back here!!
also brb
 
@ballBreaker power moves only
 
oh wow, it's actually at 1PM
whoops
 
@W0MP3R LOL
 
lolol
time to get some chick noods in me first
 
4:01 PM
@JBis you scale things by adding more boxes
add another ec2 instance
and damn that thing is suddenly scaled
I know a thing or two about it because that's how i do it at jit hub
 
4:27 PM
@Ahmad 2414!
I don't think the notion of "don't roll your own crypto" is emphasized enough in education
and I hate that teachers/profs often use functions with names like "encrypt" and "decrypt" for introducing programming
 
tale of decrypt keeper
 
o/
i've got this 24" monitor for my macbook now
i like it
it's very big
i fit lots of code on it
 
what kind of monitor
 
In other news, according to a kid in my CS class, the "only" difference between python and c++ is that python is slower
 
it's an asus
144hz, but i think i have to use display port for that to work on mac. so i just get 60 for now
 
4:37 PM
and the only difference between a car and plane is a plane is faster
 
i mean, the only other differences are really just language syntax and semantics
but yeah
 
It's a way over simplification
 
right
if it was the only difference it would be the same language lol. just up to you if you want to compile it or run it interpreted
one of my roommates is about to learn javascript this semester after only ever using python
i can't wait to see how it goes
 
Other hot takes include "cs is just math major for people who aren't good at math"
 
yikes
 
4:41 PM
@JBis lol that one checks out tbh
 
to an extent i guess
 
if CS people were good at math they'd go into software engineering
 
pretty sure CS requires more math than software engineering?
 
"quality doesn't matter as long as it works"
"the professor did it so it must be right"
 
@Smarticles101 absolutely not
Cs is like an arts sci degree lol
then again, I did engineering physics with a software engineering minor, so I just have a sense of superiority here
 
4:44 PM
@ballBreaker if it's true it's cause CS is taught wrong
 
and bias obviously
 
CS is often taught as "math with a computer"
 
unless you go into data science or graphics or image processing there isnt really much math
 
at least in US schools CS has more math than software engineering
 
I'll take your word for it
engineering is weird in the US so I wouldnt be surprised
like you peeps don't even need a license to do that shit
 
4:46 PM
There's a bunch of programming fields that use heavy math and science, but a majority of them (or many at least) don't
 
yeah, see the ones I mentioned
they all piggy backed off of math classes that I took in 2nd year engineering though
 
i've been required to take linear algebra and a few discrete math courses that software engineering majors here aren't required to take. not to mention my algorithms course which was literally all math lmao. never really wrote much code for that
 
and were 4th year CS courses
@Smarticles101 that's janky as fuck
sounds like the opposite to here
 
@Smarticles101 the only reason im taking linear algebra and discrete math is because i want to do crypto, otherwise i would have avoided
 
I have no idea how software engineers wouldn't need that shit, I had to take linear algebra in first year
its necessary for basically all math
 
4:49 PM
im not doing software engineering so idk whats required at my school for that
 
I'm actually struggling to believe you smarty
is that just at mormon schools
2
 
yeah i probably would've gone the route of software engineering to avoid the heavier technical stuff, but i wanted to learn it because that's mainly what i lack. i learned the programming skills in high school but lack the in depth technical knowledge
lmao
idk for sure
i think it's most schools here
 
speaking of mormonism
i read a bit more about it
with all due respect, lol
 
lmao
say what you want idrc
 
@Smarticles101 that's interesting, it's the complete opposite here, software engineers are heavily technical and learn the entire system from the ground up, they have to take computer architecture, OS courses, etc and then programming courses, so they get the holistic approach and have 2x the number of courses as CS
and it's heavily math and science oriented, where as the CS was just pure coding
and as I said, was an art/sci degree
 
4:53 PM
wacky
 
but I'm still shocked that engineers don't need a license down in the US so I have no idea wtf they do
thatd be like surgeons not needing a license
or lawyers
 
i have friends who switched to software engineering after the first discrete math class because they didn't want to do more of that kind of math lmao
 
except kind of worse IMO since engineers could kill thousands of people vs tens/hundreds
hahahaha nice
 
now that i switched to the correct operating systems class i'm kinda excited for it
apparently i was in the one for IT majors which was basically just going to be linux system administration
 
I actually never took one myself, since I wasn't a software engineering major
ahhhh that makes sense
I had to do shit like quantum mechanics instead T_T
 
4:56 PM
bruh wtf
xD
 
so skipping half of the story, Joseph Smith had some random named Harris copy the "golden plates" onto normal paper but not directly from the plates, instead Smith stuck his head inside his hat and dictated it. Then Harris' wife burned the papers and said "if Smith isn't lying then he should be able to reproduce the exact text as he is copying them after all" and Smith basically said "well...god is going to tell me the exact same thing but using different words"
 
@JBis you go to u mich?
sad
for the kid
 
and then he stuck his head instead his hat again and produced different text, virtually proving it was bullshit
 
@JBis yep that did happen lmao
 
there's too many idiots studying cs these days
 
4:58 PM
I mean the obvious difference between python and c++ is that one is a snake and the other is a programming language
 
@Ahmad yep
@Ahmad yes, we need to stop encouraging people to go into cs
 
yes
btw ann arbor is great
went there for mhacks once
had a great time
 
@JBis actually, he didn't retranslate that portion. the argument being that whoever stole the original would be able to change it and then call him a fraud. so his claim was that god told him not to retranslate that portion because of that reason
 
be back in 1 hour
wish me luck :D
 
4:59 PM
hopefully this hangover doesnt screw me lmao
 
good luck!!
 
gl
 
but yeah the hat is accurate
and he had these little rocks
that were supposed to be prophetic and help him translate
 
@Smarticles101 ah, lol
it's honestly so funny
 
it's on my bucket list to watch the book of mormon
the musical
 
5:01 PM
oh 100% it is
i still need to watch that
i've listened to all the music tho
it's pretty funny i think
 
the show? yeah its awesome, i haven't seen either want to tho
i respect that fact that the church didn't even get mad and even advertised in the playbill
 
Tim
@Ahmad lmao sick jbis roast
 
@Tim lmfaoo
 
i remember it was playing at somewhere nearby my home at some point, and people tried making a petition to stop it lmao
 
5:05 PM
@JBis it seems to me that they're mostly just nice people
 
like i fully would have gone and seen it
 
@Smarticles101 aww damn
@Tim lol
 
@Ahmad right, some of the doctrine might be a little weird, but the core beliefs are all about family and loving others. so good people
 
yeah
 
@Ahmad as long as your not gay (or black until 1978)
 
5:08 PM
fair enough
 
Tim
his what
 
ha learned a new term
SMiShing
SMS Phishing
 
5:24 PM
o/
 
Hi
can someone help me with the below question
https://stackoverflow.com/questions/69197472/how-to-maintain-product-flavor-build-type-for-all-modules-in-a-single-file-in-an
 
posted on September 15, 2021 by Android Developers

Posted by Jeremy Walker, Engineer In order to help you develop high quality Wear OS apps, we have been busy updating the Android Jetpack Wear OS libraries and recently delivered the first five stable Jetpack Wear OS libraries: Library Featured functionality wear Lay out elements in an arch to support round watches (ArcLayout) and write curved

 
Tim
unlikely
 
5:40 PM
@CarlAnderson sup carl!
how you doing?
 
as well as I can be considering American stupidity
I've replaced my doomscrolling with browsing the HermanCainAward reddit
 
have you tried german stupidity?
 
Believe me, I've already won this argument multiple times, that American stupidity rises above the rest of the world's versions
 
oh wow I was about to say
that germany is less vaccinated than the US
but apparently that's not true
holy shit that's amazing
also TIL HermanCainAward
tbh I'm just done, my mental health has taken a dive in the past year
I just don't want to think of it anymore
 
:(
I wish I could not think about it
My kids returned to in-person schooling last week
my younger daughter is too young to be vaccinated
 
5:47 PM
oh man, I'm hearing from my co workers how kids have it so hard rn
can't imagine having to return to school but also missing school at such a formative young age
 
we would have been fine by now
if idiots had just taken the vaccine and/or masked and/or distanced
I envy New Zealand so much
 
I know someone who lived in taiwan the past year
it was like covid didn't even exist there
sounds so nice
because they had strict guidelines from the beginning
 
The stupidity in America got Trump elected, and Trump ignored the virus and let it overcome the country.
And because Fauci made Trump look like an idiot, all the stupid people assumed he was the enemy and ignored his advice.
And I'm angry enough at all the stupid people that I enjoy most of the dark humor on the HCA reddit
 
unfortunately that part of american conservatism made it to europe as well; traditionally european conservatism always sided with strict measures, following rules, and trusting the gov
so now we also have a bunch of don't trust anyone, it's a microchip people
@CarlAnderson yeah I feel ya
 
Imagine reaching out on LinkedIn with a job opportunity, and getting a response in less than a minute, and then not replying to that response for a year.
 
5:54 PM
interviews are so exhausting
 
are you looking for something new?
 
Tim
replace 'interviews' with any other word and still true
 
chocolates are so exhausting
naps are so exhausting
Tim is so exhausting
 
vidyas are so exhausting
 
Tim
5:58 PM
all true
 
I wanna go to sleep
my brain hurts
maybe ill do a little piffy piff instead
also lol remote interviews are kind of hilarious
for 2 of the questions I asked the guy for clarification and typed the question into google while he was re-saying it
and then read off the google result answer
 
lol
they wre very minor questions
plus it's kind of a basic facet of programming.. looking online for answers
 
what was the q
 
he asked what coalesce() does in TSQL
I think the other one was analytical functions in tsql
 
6:11 PM
are you going for db roles?
or like data science
 
that one was yeah, it's the role I'm the least interested in, but a friend recommended me so I'm seeing how far I go
if I get despy I'll take it for the pay increase and keep looking lol
but lots of scripting/automation, database, reporting, etc kinda stuff
 
at a big corp?
 
at a pension fund, so a decent sized, but not massive
probably like 200-300 people or something
 
Time to go~~
Cya tomorrow everyone!!!! :D
 
photoshop is having random, very frustrating bugs
 
6:21 PM
cya womp
@ballBreaker get that 💰
i got an offer from vanguard once
 
suppose you have two Ints, currentCapacity and maxCapacity and you want a float that is capacityPercentage but maxCapacity could be zero. How would you write elegant code for that?
 
they offered p good pay
I would just do a null check before dividing
don't think there's a more elegant solution than that
 
null doesn't detect zero
 
sorry, zero check*
 
just use the ? operator
and check for zero
probably the most elegant I can think of in 10 secs
 
6:25 PM
did you google that?
 
no
I've just used the ? operator a bunch for one-line if statements
 
Tim
Doesn't work in kotlin
 
kotlin should adhere to what I know
sounds like a problem more with kotlin
 
Tim
anyway probably fun getCapacityPercentage(current: Int, max: Int): Float = if (max == 0) 0 else (current.toFloat() / max) * 100
it's kotlin so not as readable as can be, I would prefer an early return on the 0 here
 
yeah, I like that one Tim, thanks
 
6:34 PM
reminds me of scala
out of curiosity, why do you .toFloat current but not max?
 
Tim
because
 
not really an issue but == looks scary to me, I would prefer > 0 method
 
Tim
if you convert neither you end up with a rounded Int losing precision, you only need to convert the Int that is being divided to end up with a Float
int/int=int, float/int=float, float/float=float
 
gotcha, makes sense
I remember scala being the same
 
Tim
I think most languages work like this
although in javascript dividing a float by an int would probably result in a string
 
6:39 PM
java would fail as well
I think
 
Tim
java 6 maybe xD
 
hah yeah probably right
 
01:00 - 19:0019:00 - 22:00

« first day (3987 days earlier)      last day (953 days later) »