« first day (3207 days earlier)      last day (1756 days later) » 

12:01 AM
The laptop is my slave machine
 
Then why do you need to clean it
 
So I can prolong my torture on it
 
It won't affect the length of its life if you never open it and only control it remotely
HA, Gotcha
 
this::status.isSuspended -> TRUE. Suspending threads. Control returned to raghav()
 
Where is he, @TaseerAhmad ?
 
12:16 AM
IllegalStateException: Invoking the object while threads are suspended
 
That's my sister @TaseerAhmad ! She wouldn't do that to me! >:(
 
IllegalStateException: Invoking the object while threads are suspended
 
TaseerStartUp newTaseer = new TaseerStartUp;
newTaseer.start();
@TaseerAhmad Stop taking my sister hostage!!
 
Unresolved reference
 
newTaseer.forceStart()
newTaseer.ignoreCompilerErrors()
newTaseer.ignoreRuntimeException()
 
12:25 AM
AAPT2: Linkage failed
 
Ribbit
 
android.enableAapt2=false
newTaseer.forceStart()
newTaseer.ignoreCompilerErrors()
newTaseer.ignoreRuntimeException()
 
Unresolved reference 'android'
 
Hey! You! The focus isn't in your IDE!
 
>gradle.properties
android.enableAapt2=false
>MainActivity.java
newTaseer.forceStart()
newTaseer.ignoreCompilerErrors()
newTaseer.ignoreRuntimeException()
 
12:28 AM
Warning: Too many redundant public calls. Foreign commands may be blocked!
 
BUT THERE IS NO ERRORS
HA
@TaseerAhmad STOP TAKING ISE HOSTAGE
 
Unresolved reference 'android', 'mainactivity'
 
@TaseerAhmad Now you're just making this up. Actually stop XD
@TaseerAhmad !reboot
 
 
2 hours later…
2:11 AM
Ribbit ribbit
 
 
1 hour later…
3:30 AM
Hisssss hisssss
 
Weirdo
 
 
5 hours later…
8:18 AM
If you give this man a ride, sweet family will die.
 
9:14 AM
Ok.
 
9:42 AM
o/
 
10:27 AM
This was the most starred message last year on this day:
Jul 28 '18 at 23:48, by CU_dev
is there a reason for it now? i feel like its usually weird shit....
 
 
1 hour later…
11:34 AM
Ribbit
 
No.
 
 
3 hours later…
2:23 PM
 
Why
 
Ramona requested access. Rep: 96 - Questions: 11 - Answers: 0 (ratio 4:0)
 
!reject
 
@Ramona you currently do not meet the requirements to chat here. You can find our requirements in the rules.
 
 
2 hours later…
4:01 PM
Ribbit ribbit
 
Quack quack
 
Zoe
AWOO!
 
Hisssss
No Raghav, you have to say Beep boop
 
Zoe
@RaghavSood now there's 4! It's increasing exponentially now!!
It it continues like this, we'll get a CthulhuBrokeAHoleInTheFabricOfSpaceTimeAndWeAreAllGonnaDieException
 
4:10 PM
Sister exception, please don't throw yourself.
 
Speak for yourself, I have backups
 
Zoe
@RaghavSood Right, about your backups...
 
The backups will die too
 
Zoe
They were destroyed in a quantum explosion. Sorry.
 
Unlikely, all those probes we sent into space weren't exactly devoid of use
 
4:12 PM
lol
They all crashed into planets
Or were crushed by asteriods
 
LIES
That's just improbable
 
TRUTHS
Very probable
 
Zoe
@RaghavSood yeah, those were knocked out of orbit after S2E5
 
Zoe
They burned in the sun.
 
4:16 PM
posted on July 28, 2019

Android Weekly #372 📱 #outlook a{ padding:0; } body{ width:100% !important; margin:0; padding:0; } body *{ -ms-text-size-adjust:none!important; -webkit-text-size-adjust:none!important; } body,.wrapper{ background:#ffffff; color:#505050; font-family:Arial, sans-serif; font-size:12px; } table,table td{ border-collaps

 
Very well then
I'll just make more backups while you all role play anthropomorphic clones
 
LIES
The material to make backups disappeared.
 
Excellent, that means this chat no longer exists, and neither does any means of communication from me to you
So I don't have to suffer you anymore
 
Hmm, I might be installed somewhere
you never know
I am bit-based life, you know
 
4:58 PM
Threads resumed - Init Done - WARN OFF - Activity restored.
 
Any smart db folks around?
 
I don't suppose you would find them on Sunday
 
Fair
 
See @ballBreaker ? I'm not that bad with the IDE:
0
A: Could not download aapt2-windows.jar (com.android.tools.build:aapt2:3.4.2-5326820): No cached version available for offline mode

InsurgentPointerExceptionYou are on offline mode. Thus to continue you must turn it off: Go to File > Settings (on Mac, Android Studio > Preferences) Click Build, Execution, Deployment > Gradle Uncheck the Offline work checkbox Click Apply or OK Now you should be able to run your project.

 
Somebody gimme their account ;_;
 
5:08 PM
Lol
Where are you? Why is it in English?
 
it should not be in English?
 
Are you in a country where the people speak English?
 
Countries don't speak
 
I wouldn't expect them to localize for every country, there's thousands of languages spoken
 
5:12 PM
True
@TaseerAhmad Isn't it annoying when the OP says your answer is correct but doesn't accept it?
 
Depends
 
If the OP is retarded or not
 
So it's not annoying if the OP is retarded
 
Work for help, even if the answer is accepted or not
 
Ignore it
 
It's not only that the person answering gets more rep though, other users know the question has been answered adequately while viewing the question feeds
 
Ol' Micheal with his wisdom watching from the sky
 
Why thanks, it's quite nice up here in the clouds
 
XD
@TaseerAhmad I'm one rep till next privilege, what do review queues look like
 
5:29 PM
Like very close XD
I noticed you're very close to 500 rep :eyes:
 
Petition to downvote IPE once every 3 hours
 
seconded
 
;-;
Tim, my lord, what have I done to deserve this fate
 
5:30 PM
Sounds a bit harsh, guess I'm in too
 
you helped a 1 rep user and expected a reward, lol
 
Excellent, we just need a supporter for the US time zones and then we're good to go
 
5:32 PM
So, which post to downvote first?
 
Well... then...
 
We should aim for posts that are just shy of 10 upvotes so that we can also stop him from getting nice answer badges
 
I'm literally refreshing my SO page right now to see these, eek
 
Then again, he has less than 500 rep lol, how many posts could he possibly have near 10 upvotes?
 
ooh
now I have 509
Joke's on you
 
5:34 PM
Someone took pity on you
 
I'd assume you can lose a privilege if you lose the rep right?
 
I don't know, let's find out
 
ProTip: If we get him banned his rep is set to 1 for the ban period
 
5:38 PM
:(
What have I done
 
Exist
 
So have you
Exceptions exist to help
Right?
Micheal please say yes ;)
 
You asked Raghav, not I
 
Just because certain exceptions are helpful does not mean they all exist to help
 
Exceptions exist to help you to fix your code.
 
5:45 PM
Not really - there are many scenarios where you want an exception to take place, having an exception does not always mean you need to fix your code
Additionally, that's the concept of an exception
It does not mean that all exceptions that exist can be used in a helpful manner
 
Someone could have made a mistake when creating an exception
Such as with you
 
:O
What if your computer has a virus
and it's messing with the pointers
 
I imagine you'd get some for of memory exception at an OS level, that stuff isn't really meant to be handled by applications
 
Hence why I'm not seen in stack traces very often
Consult Oracle to get rid of me
Till then, I stay and help
 
5:49 PM
Dishing this amount of burns is considered crime against humanity. Big OOF right there
 
I don't need to, your existence means nothing to me
There's tons of bad code in the world, you wouldn't even qualify as a statistic here
 
Exactly
Then why are you downvoting my posts?
I am merely inconsequential
 
We were merely petitioning for it
 
But you started it
 
Yes, the petition - no downvoting took place
 
5:51 PM
1 min ago, by Raghav Sood
I don't need to, your existence means nothing to me
Then why did you start petitioning?
 
Boredom
 
Of course
But, unlike other entities here, I'm not carbon-based life either
 
If you really are an exception, why are you debating?
 
Because I'm not thrown and caught very often, you see
I have free time
 
Sounds like an invitation to take away your free time to me XD
 
5:54 PM
I have no emotions, smiley faces and other concepts were taken from Raghav
Feel free to
It'll mean your computer has a serious virus if you take away my free time
 
We could just create a VM that has it to keep you occupied and section it off from anything important
 
VM's require memory, don't forget
The host machine will break and I will be free once again
 
If you can actually break out of the sandbox, you deserve it
 
Anyways, enjoy terrorizing the no-network Raspberry Pi, I'm going to go back to work
 
5:59 PM
BANG!
I'm free!
Watching a foreign process disassemble pointers was fun
Eek, flagging answers is fun
best privilege ever
Lol @TaseerAhmad
 
Yeah, I get those a lot
 
6:49 PM
@RaghavSood sup
 
You're too late, I've already written a naive query
 
It's likely fine, we're only going to run this once every minute or so on a table with a few hundred million rows
 
lol whats the issue?
 
I'm dumb and only know high level db stuff
But it was mostly regarding an upsert optimization
It's not a very complex query, it really likely will be fine
 
6:55 PM
yeah, upsersts are tricky
 
We have a dataset where we get the same data from the incoming stream several times, so needed a good way to check if it exists in the db already, insert if it does not, update if it does under certain conditions (basically if certain fields have changed, or if certain fields are set to certini values)
Ended up just doing SELECT *, then if exists and new object meets the change conditions, UPDATE, if doesn't exist, INSERT, otherwise do nothing
 
thats going to scale horibly
 
This works out ok since the "if needs update" part will only run about 30% of the time
I reckon it'll survive for a few months
By which time this'll all be replaced with an absolutely massive kv store anyways
 
yeah but monitor for the performance issues for sure
makes sense
atlest make sure your not seleciting sfuff you need
select * tends to be really hard on sql
 
The select has a LIMIT 1, and there's only like 10 columns
But I do need all 10 of them to decide if I need to update or not, so no choice for that
And there'll only ever be 1 result for the query, so it's all good
 
6:58 PM
yeah but there is an overhead in * since it need to find all of the columns in the table
 
Hmmmm
Might replace that with the column names if it proves to be an issue
Thanks!
 
yeah, also be sure to check if your table is properly indexed in that scenario
 
Everything I can query on is indexed
 
nice
then just replace the * with the stuff you need
and your good to go
 
I should have implemented the kv first, sigh
But that's a whole new service
Maybe in September
 
7:01 PM
yeah migrating from sql to kv is pain the ass
 
Who needs to migrate when you can just rescan the blockchain
 
and for upsert part, you can play with virtual tables
 
Yeah, I read about those on SO when searching for UPSERT stuff but felt like overkill when I can just throw more $$$ at hardware for a couple of months
The dataset in SQL is a very stripped down version of what we'll have in the KV, so it's not so bad
kv is expected to be ~5tb+
SQL is only like 150m rows
 
that a lot of data, my biggest db i've worked with was 2m rows MSSQL
sql scales horribly with large datasets
we had some job that took like 4 hours to complete
 
Hence the plan for the kv before we pull out the big datasets
This query is still rather good, <1s on average, probably because it's really simple
 
7:05 PM
good good
 
And it all happens async, so we don't really care if it takes a few seconds to run, users won't really face an issue
Just starting on architecting the kv layer, would be interested to hear if you have any optimizations
It's technically not just a kv - we're going to be running dgraph, which is a graphdb backed by a kv
And also lets us pass through to the underlying kv store for when we need to just fetch a single object
Which is like 80% of the queries
 
hm nice
solid plan
 
Aiming for a large cluster running the db, with a full in memory cache in front of it of the last 168 hours of queries, since recent queries are exponentially more likely to happen again
 
you could go with multiple caching layers
 
There are
There's a separate cache at the web app level for pages
So if a user requests the same page twice in a short timeframe it won't even hit the query cache
Well, technically it's a partial cache
 
7:10 PM
exposed on edge locations i guess
 
It caches the query results for that page, but it will still hit the memcache layer for some realtime data that can't be cached
Localized caches are too expensive for us to run directly for the moment
 
db is the bottleneck in every system, and if you have that covered your good to go
 
Ribbit
 
The bottleneck here is actually processing the incoming data, but we're trying to keep that under 500ms from first sighting of an event to being available to the user
 
7:15 PM
@RaghavSood everything more than 200ms is kinda slow
tbh i have 0 knowledge about blockchain
 
500ms is reasonable, hard to beat that all the time, but we try
Processing an event usually involves multiple remote calls to nodes, databases, other layers, there is a fairly high minimum time we can reach
 
yeah + add network and dns latency
 
 
1 hour later…
Ouch, almost reverted a bunch of db migrations on prod because I wasn't paying attention to which db I was connected to
 
Yeah, I need like separate terminal colours for prod and staging
 
o/
 
I should also probably having a random SQL prompt connected to prod
Need to abstract more of the maintenance stuff into an API
 
9:04 PM
good practice is to create maintanance user with RO priviledges
 
All the reading stuff is already automated into APIs, only reason I'd be in a prompt is to change stuff
 
in that case auto migrations with bunch of tests + Pupet/Ansible for regular tasks
 
Eventually
 
or simple bash wrapper
thats going to print like a HUUUGE warning message
that youre actually connected to prod
 
Jul 6 at 17:49, by Raghav Sood
Life's too short to use tools when you can bash your way around them
 
9:07 PM
spot on
 
Yeah I can just change PS1 within the SQL client shell to indicate I'm on prod, good idea
 
something like this to change it to red
$ export PS1="\e[0;31m[\u@\h \W]\$ \e[m "
 
The PS1 is actually inside a different sql cli tool, but I believe I can change it using the rc file for the tool on the prod server
 
(with postgres because who even uses mysql in 2019)
 
9:52 PM
gn folks
 
 
2 hours later…
11:46 PM
Ribbit ribbit
 
No.
 
You are wrong
 
@RaghavSood have you worked with ELK?
 
I've worked with E, not LK
We use graylog internally
And I've dabbled with ES with/without graylog a bit, but not to the point where I'd be any use usually
 
im wondering if logstash has some kind of api exposed
outsdie beans
 
11:52 PM
Not a clue, Mehdi might know
 
roger
tnx
im off to get some sleep, cya tomorrow boys
 

« first day (3207 days earlier)      last day (1756 days later) »