« first day (4055 days earlier)      last day (900 days later) » 
05:00 - 17:0017:00 - 00:00

5:05 AM
posted on November 22, 2021 by shows

In this episode, Donn and Kaushik talk about some of the books that they're reading and thoughts and recommendations on each. Links from the show Donn's Books Designing Data Intensive ApplicationsSystemologyWho Not HowSkin in the GameZero To SoldFreelance TacticsKaushik's Books Staff EngineerAn Elegant Puzzle: Systems of Engineering ManagementGrokking AlgorithmsCoders At WorkA Philosophy of Sof

 
 
3 hours later…
qki
7:37 AM
hello there
 
o/
 
qki
sup Mwb, how was your weekend?
 
7:54 AM
Was alright, I saturday I was a Pete as part of our tradition St niolas
Sunday working on my app, gym and retrieved my old pokemon cards
How was yours?
 
o/
 
8:13 AM
\o
 
qki
seems cool. mine was okay too, I was on a birthday party on Saturday, on Sunday my fiance's parents came for dinner
and yo grig!
 
yo yo
 
@qki quite a social weekend :D
 
qki
indeed it was :D
oh and I replaced reversing sensor in my fiancee's car, that was such a pain in the ass
 
great
what kind of car
 
qki
8:30 AM
a cheap one lol
fiat stilo
 
pretty cool car though
where're you from? These cars aren't american
 
qki
Poland
yeah it's a nice car, but nothing fancy
it gets the job done :D
 
Brat!
I love Poland, very nice people out there
 
qki
🤜🤛
Have you been here in the past? :D
 
A few times
I even have videos of abandoned buildings out there
And dated a girl from Krakow while I was there
Went to woodstock too, have you been there as well?
 
8:45 AM
poland it's like one step ahead romania
that s what they say
 
qki
oh nice! No, Woodstock is not really my type of a event :D
 
nor was it mine
but had a good time nevertheless, worth to visit at least once in a lifetime
 
qki
hmm, I will keep that in mind :D
 
9:30 AM
Synced starred message data. Took 103237 ms.
 
10:15 AM
@DaveS when you're around I got some questions for you
 
hello all
how are you?
 
Good
You?
 
Good but stuck with one thing
@MwBakker orderByChild() not working in kotlin while using firebase
 
what is the exact error
does the FireBase document have children in the first place?
 
Using an unspecified index. Your data will be downloaded and filtered on the client. Consider adding '".indexOn": "uniqueCode"' at group to your security and Firebase Database rules for better performance
I have seen in the log and its look like this
and below is my rule in firebase

{
"rules": {
".read": true,
".write": true,
"groups" : {
".indexOn": "uniqueCode"
}
}
}
 
10:28 AM
This was the most starred message last year on this day:
Hmm. Actually, nothing interesting was said on this day last year.
 
10:43 AM
@Ninja ok
@Ninja as it says for ordering it seems like you need a unique code along with the order process it now tells you you are using an index that is not specified
 
@MwBakker means?
where I need to specify ?
 
7
Q: FIREBASE WARNING: Using an unspecified index. Consider adding ".indexOn": "Keyboards" at / to your security rules for better performance

Saeed HeidarizareiWhy I'm Getting This error?: FIREBASE WARNING: Using an unspecified index. Consider adding ".indexOn": "Keyboards" at / to your security rules for better performance I have many Telegram Keyboards in my Firebase 1: I want to Fix This Error. ✔️ 2: I Want to get and Console.log rock and rocky...

read the answer on this
you tell me its not working but you get a warning instead of an actual error blocking the process
 
@MwBakker database look like this
group
-----"randomKey"(groupId)
--------name : "group1"
--------hostId : "adfdafd"
--------uniqueCode : 123

-----"randomKey"(groupId)
--------name : "group2"
--------hostId : "qwewqewq"
--------uniqueCode : 789

----"randomKey"(groupId)
--------name : "group3"
--------hostId : "xcvxcbnxnv"
--------uniqueCode 456
 
fantastic
 
@MwBakker :)
let me check it
 
10:53 AM
but you are recieving a warning, so whatever is blocking the process of OrderByChild() is something else
to which child are you ordering?
 
uniqueCode
 
ok and what exactly is the output of that process?
 
I am doing like this

db.child("group").orderByChild("uniqueCode").equalTo("456")
snapshot::->null
 
try firebase.database().ref(InputRefHere).orderByChild('uniqueCode')
why equalTo(456) you want only that one to be ordered?
 
@MwBakker 456 is group uniqueCode and its dynamic. when user enter any unique code then I want only that group which contain this unique code only.
 
10:59 AM
so you simply want the document "randomKey"(groupId) to be viewed?
then the query sounds like a where scenario to me
 
If user enter any group unique code than I want to display that group's whole data that it
so I used orderByChild() in group table on firebase
 
yep and it should work I see
sorry then I don't know the cause
 
@MwBakker can you give some brief idea about this?
 
I'd try a where("uniqueCode", "==", 456).get()
 
@MwBakker Ok.
do you mean as below?

db.child("group").where("uniqueCode", "==", 456).get()
 
11:25 AM
what is the name of the collection
It can't be 'group'
 
@MwBakker just a min
let me share
ios-android-web-rtdb
---group
--------key
-----------name
-----------hostId
-----------uniqueCode
---Activity
@MwBakker like this
 
you have your firebase, what is the name of that collection
 
11:41 AM
@MwBakker see it
 
database.collection("commuRequests").where("State", "==", "GA");
as example
 
@MwBakker when i run code like this then at the ".collection" i am getting red line :(
I mean "collection" not found
 
db.collection
does that work?
 
 
firebase.getInstance().collection
 
11:49 AM
@MwBakker I have tried that one also but still ".collection" method not found
 
it comes from com.google.firebase.firestore.CollectionReference
 
Tim
'firestore' problem found
 
yup
I bet you are not using FireStore @Ninja ?
 
implementation 'com.google.firebase:firebase-firestore-ktx:24.0.0'

this library is added in my project
 
Tim
he doesn't know the difference
 
11:57 AM
@Tim I need to add any other dependency ?
 
Tim
you need to look up the difference between firestore and firebase database, and then you need to copy the correct code from wherever you got it from instead of trying random things
 
yeah im sorry I guess I gave you suggestions assuming you had FireStore/FireBase
but as Tim stated, whatever I presented is also available to your packages just in a different form
A form that I don't know, but these syntaxes are retrievable per Stackoverflow
 
Ohk
 
12:14 PM
Tim how are things
 
Tim
12:29 PM
bad
 
why
oh wait, monday
at least it's sunny
 
Tim
I have to arrange shit for the house but I'm anxious about the planning and everything and I'm just sitting here postponing things
not calling the plumber yet because as long as I don't call him he can't tell me he doesn't have time on the day I want him to come
 
12:44 PM
keep it up everything will eventually get fixed on its own
 
@Tim Schrödinger approach of planning, it's a common thing if things get too much
but you simply gotta break through this cycle, get that phone in your hands and make the call
no other way around it
 
Help the plumber get out of superposition, until you call him, no one knows if he will come or not
 
I shall play the role of the observer for you
 
Tim
called him, everything was fine, planning perfect
 
yesterday I snatched back my chicken from a cat
cat took her and started running on the wall, reached em on a wooden gate, I punched the gate while jumping knocking the cat down
 
1:00 PM
I think you need to start arming your chickens.
 
steel plate armor
 
do it
 
Tim
lv 48 smithing to create
 
guess leather will be better since chicken can't lift heavy armor
 
No, give them steroids.
 
1:17 PM
@Tim nice :)
 
Tim
I'm so anxious all the time
 
why, I don't even know your address
or how to speak to the wizard to take me to never-ever-land up there
 
read failed, socket might closed or timeout, read ret: -1. any nerd?
@Tim it's ok that's why we have lana
 
Tim
is the socket open?
 
well idk
i use a library for bluetooth printer
 
1:27 PM
do you own the server socket?
 
and I guess the problem is that if I press twice the print button
the second one will somehow do something to the first one. the one being the print "request"
somehow multiple "requests" will yield that error
 
Tim
library sucks? Shouldn't allow that
 
guessing server is not multithreaded, second request will fail to connect and crash the first one with it
 
yes it sucks
but i have no better option :(
and i'm too stupid to make my own :D
@asim maybe
it's a mini thermal printer
i hope it only supports one print request at a time
 
your options are, 1) try catch connections, 2) alreadyConnected = true
I am interested to know what you are doing with the mini thermal printer
and if they are reliable
 
1:35 PM
just a second sir
this is the printer
I'm printing with it :D
but I noticed something rn
nope
not me fault
 
2:09 PM
gentlemen
a service's oncreate is called once while onStartCommand is called multiple times, right?
 
Tim
yes
 
so I guess I should init my printer stuff in oncreate
that might be one problem
 
Tim
yes
 
hmm thank you
 
Tim
well onStartCommand can be called multiple times in a service lifetime, it's not always the case
 
2:18 PM
the thing is
I thing i need one instance of Printooth in my service
idk imma just try
 
@Mauker hahahaha
 
for i believe it's the same shit
 
\o
 
yoyo yoyo
 
2:29 PM
oy
 
what up guyos
 
:)
 
nice nice
 
it looks like im not going to get into trouble for deleting records on friday
so thats good
 
2:34 PM
nice
 
I keep key combinations in my softwares to reset databases that require them to contact me first so I cannot be blamed for records getting nuked
 
lol
 
@ballBreaker why did you do it though
 
accidentally
I did a delete from table where x, y, z and forgot a paramter in the where clause lolol
so instead of deleting 9 records it deleted 2000
good times
 
use workbench its better with gui
snapshots if on server
I know myself thats why I always take snapshots before every major step I take
 
2:44 PM
I'm just gonna wrap my deletes in BEGIN TRANSACTION now lolol
forgot those existed
 
one my customers breached int.max with the amount of money they recorded, imagine that being a problem
 
@ballBreaker were they angry?
Was it production?
 
Tim
imagine though, giving db write access to someone who started working for you last week
 
2:59 PM
hahah no it wasn't prod
just dev
@MwBakker no one too important found out lol, I told a senior on my team and he was like oh shit okay, and ended up kind of sheltering me from the blame lol
told the whole dev team and didn't name any names and kinda like absorbed the blame and shame
such a nice guy
 
Isn't that literally THE purpose of even having a dev database? lol
 
3:14 PM
@Tim I remember I was making importscripts for a company and a few thousand files were not imported because I used INNER JOIN
Say if you have an investigation you have a file report, logically
Nobody told me the case was different, but I got the full shit. Also it wasn't even my job I just decided to help someone out struggling with the deadlines
never again.
 
Tim
@ballBreaker good to hear he took responsibility for his mistake
 
@Tim yeah exactly lmao
I was like
shit I should tell our manager and he's like ... nahhh.. lets see what happens
 
Tim
can't they just press 1 button to reset the db
 
pretty much
it wasn't a huge fuck up
could have been worse for sure
 
Tim
brother it's their fault entirely, not yours
 
qki
3:20 PM
bb no worries, after all it was just a dev db
 
Even if you had deleted the entire DB, wouldn't that have only been a mild inconvenience for some people?
 
I felt dumb regardless
@twiz yea
 
They shouldn't have hired a lobster if they didn't want things to get snipped.
 
Tim
Nov 10 at 18:58, by grrigore
"OMG he wants the job"
"hire him"
"but he's a lobster"
"hire him"
"but he doesn't understand the code"
"nobody does"
3
 
qki
I once did exacly what you did, wrote a delete without where clause and ~20k records went to shit. But it was a dev database, so they just did data comparison with the prod one and it was done, no problem at all
 
Tim
3:21 PM
already a classic
 
@Tim I stared this quote, because I feel it deserves to on the list twice.
 
@qki hahaha yeah at the end of the day I just did a minor inconvenience for some people, the data I deleted wasn't even hard to get back.. people just need to go into their testing page and press 1 button to fix it
 
Tim
great judgment
 
hahaha its a classic
 
wow... I can't English today. I'm not even going to fix it.
 
3:24 PM
haha
 
qki
@ballBreaker good to know the senior took it so well :D
 
lol I told him because he told me the other day how at his last job he accidentally dropped an entire database
he did a drop table cascade and it was the main table, so it cascaded to the entire database lmfaoooo
fucking hilarious
so I knew he'd be a lad about it
 
in production?
 
I don't think it was production
 
Tim
I bet HR told him to tell that fake accident so you would trust him with your mistakes
 
3:27 PM
lol
 
qki
haha lmao
 
"so your job as senior is to lull the juniors and intermediates into a false sense of security so they tell you when they fuck up in the database"
"hey remember when you dropped an entire DB LOL. lmao"
 
Tim
"but boss he is never going to believe I did that" "don't worry he's a lobster"
 
lmao
 
qki
but he is a smart lobster :'(
 
3:31 PM
contrary to the name, smart lobsters are not immune to stupidity
2
 
He's only pretending to be nice about it. They're actually planning to boil you alive.
@ballBreaker that one got a literal lol out of me.
 
I was hoping I'd get a laugh with that meta joke
 
testing offline app functionality is kind of painful...
 
at my new job I can't log in
half of my day is trying to get that working with the IT team
great start, ffs this stuff demotivates me entirely
 
small company that doesn't hire new devs very often?
 
3:45 PM
@MwBakker lmfao
man if it makes you feel any better, I feel like that's 50% of onboarding for remote shit these days
 
yeah that does make me feel better
and I do all I can, the wasted houres I will no longer consider my responsibility
 
oh yeah, not your responsibility at all, the company knows that hopefully
I didn't have VPN on my first day here
 
well you have to understand I feel bad for sitting here demotivated
 
about 50% of users setup at my last company had similar issues on the first day or two
its expected
 
next to trying to get into the system with whatever possibility I am now reading news or work a bit on my app
which doesnt feel right, but what else can I do
 
3:47 PM
yeah
it def happens
 
qki
gotta go folks, cya!
 
qkia! o/
 
If it makes you feel any better, you're just a means to an end to the company and they don't care about you at all.
 
o/
 
lmao
 
3:58 PM
Am I a joke to you bb?
 
YES
you make me laugh and feel good
 
s2
 
4:09 PM
(:
 
So wazzap?
 
I made a notes like script that ranges from apache entries, wordpress installation, db creation, ssl to postfix, dovecot config, spf dkim records and mail setup
now I can 123 any domain on my server with complete config
 
niceeeeee
 
it was first experience and 100% issues I faced during this entire journey were typo based
guess I am getting old
 
yah only old people do typos
 
Tim
4:19 PM
treu
5
 
lmao
 
atreyuu
 
Tim
bleeding mascara?
 
yes
 
Tim
there's no beauty in it
 
4:21 PM
she's back again
 
Tim
bkabagauihamgra erg aeurguiehrg RGHUehgerguaergkhauerg ae rguirghauiehg ergiiearg
 
Ẃ̶̡̭̘͍̫̜̣̙̫̝̱̾̕͠͝ͅh̸̨̧̰̬̯͚̒̋͐̓͒a̷̢̛̻̦̺̟̿̋̉̃̔͝t̸̡̡̨͎͚̟̫̲́̔̌̕ ̶̩͓͎̺̺͕̙̦͈̯͖̞̗̳͒̃͗̕i̸̩̻͛̎̾̈͘͝͝s̴̖̟͈̍͊̿ ̴͖͖̮͇̄̈́͊̅̇̚h̶͕͇͓̲͕̅̋ͅẵ̸̭̰̳̲̞̺̣̘͉̦̕͝p̴̛̬̭̯͈̠̫̫̟̼̲͍̫̓̾͂̈́̄̈́̎̊̈́̾͗̐͜͝p̸̨̞͇͕͑ǹ̴̢̡̡͖͙̙͕̥͕̹̘̪̝̄̏́̑̾̅̒͂̊́ͅn̵̩̩̗̘̰̪̠̅̒̓͝g̶̤̹̞͙̙̙̜̗̓̊̾̇̊͋́̚ͅ
 
Tim
lyrics
 
That's a death metal music
 
lmao
this was my fave atreyu song
I made a song yesterday too for the lols
its not done, but I wanted to put it up anyway
I gotta master it and put some lyrics on it lmao but its pretty fun
 
4:28 PM
you gonna sing yourself?
 
heh I just recieved some of the files that I was supposed to have this afternoon
"hope you can make it"
 
@asim yee thats the plan
 
@ballBreaker awesome lemme know
 
will do :D
 
haha I just figured why I couldnt get into my account
they have another guy with the exact name/surname like me
guess what happened, I finally got access and now Im in somebody else's personal files/mailbox
great job
 
4:36 PM
amazing
 
this is why I start smoking
I just want to do my damn job
that's all
 
first you need to sit down with HR and explain why you were accessing another employee's files
 
@ballBreaker it sounds good
@DaveS nah my teammanager can do that
im just here to do my job, not the HR stuff
Dave I needed you for Flutter related questions :D
 
here at HR we only deal with the facts, and the facts show you in the access log accessing this man's files
this is a serious situation
 
yes but my trace of communication shows the fact that I got access by IT team
 
4:39 PM
Some HR excuse about not seeing those emails
 
Tim
and why didn't you inform HR immediately
seeing some traces of communcating this sensitive data to some online chat room instead
 
@Tim not my job
 
excuse me this is worse than I thought, I'm gonna need to bring in corporate
 
Informed my teammanager
ofc
I can't tell more just only that this kind of stupidity like pushing me into someone else's inbox can cause a huge shitstorm up to the news seeing the project's purpose
but im a good guy
I have a middle name, why not use that in the mail-address I wonder
oh well
 
Tim
I think at this point your best bet is to do a reverse and blame the other guy for being an imposter who stole your inbox
 
4:44 PM
hahah
 
move into his house, take his family away from him
become the other Bakker
 
claim the files have been mine all along
you guys are hilarious
 
Tim
files kids
 
lmao
 
4:45 PM
HR fucked up and now I have a family
 
One thing is certain, I now have super powers the first day
"ok my break was 5 min longer but do you want people to know about the fiasco"
joking ofc, I won't do such thing
but I am no longer going to feel guilty missing houres to get finally get to the training, not my fault
not gonna make it my fault either
tomorrow new day
 
"looks like my raise hasn't kept up with the market, feels like discrimination, kinda like the discrimination I felt when you confused me with another person and gave me access to their sensitive files"
 
05:00 - 17:0017:00 - 00:00

« first day (4055 days earlier)      last day (900 days later) »