« first day (2882 days earlier)      last day (2070 days later) » 

12:00 AM
@codeMagic did you try the start key for single versions look up?
 
12:51 AM
if I took over someone else's code and had to understand it to implement additional features, is that called 'reverse engineering', or is that concept only applied to the idea of not having access to the code and trying to reproduce the code based on the observed behaviour of a software?
 
the latter
having access to the code is just reading the code
you reverse engineer things you don't have the design for
you can also reverse engineer binaries or obfuscated code
but the idea is there's some effort involved
 
basing the definition on "effort" seems loose
 
engineering effort
> In 1990, Institute of Electrical and Electronics Engineers (IEEE) defined reverse engineering as "the process of analyzing a subject system to identify the system's components and their interrelationships and to create representations of the system in another form or at a higher level of abstraction"
 
well, it contained libraries I did not know about, so I did have to look up documentation
@DaveS ok, ty
 
I think if you used the existing code it's not reverse engineering, if you rewrote the code, it is
 
12:57 AM
btw, ConstraintLayouts rock
I realized just how much of a bad decision it was to use anything else but CL for the layouts of my Activities
 
!cf[3]
 
true
 
16 pages report written so far for my project
 
1:39 AM
@DaveS adding the file ext worked. I tried that before and didn't think it was working but that was because of something else
I was encoding the versions before displaying them in html. Then I decoded it to get the file but wasn't using the decoded version to actually get the file
Just another dumbass move on my part
I fucked up by not paying more attention to the documentation. But they had a real missed opportunity by not having a function to get versions of a specific object that you request
 
 
2 hours later…
3:49 AM
this is the "Singleton" pattern, I believe
it's quite useful
however, it seems like it automatically screws up the Instant Run feature of AS: is there any way of going around that?
 
@RaghavSood the hr told me that the tech team gave aggressive feedback because I shot a mail requesting feedback. They were pissed off because I questioned them on few comments. This was the reason for aggressive feedback :). Wow!
 
4:45 AM
@payne "seems like"?
 
Morning to all :3
 
o/
 
it's past my bedtime
 
5:10 AM
Goof morning..
I am sorry Good morning.
I have come across a weird requirement..
There is a JSON and in that it has lot of JSON arrays, nested arrays how do you dynamically parse those into a POJO at run time ?
 
5:53 AM
@payne just disable instant run. And extend the application class rather than making your own
 
6:16 AM
morning!
 
6:38 AM
peace
 
war!
 
6:55 AM
Bhavin Jadav requested access. Rep: 111 - Questions: 5 - Answers: 12 (ratio 4:9.6)
 
7:08 AM
o/
 
o/
 
7:21 AM
!accept Bhavin Jadav
 
@BhavinJadav welcome. Please start by reading the rules and confirm you have read them before saying anything else.
 
Has anyone used Proteus by Flipkart ?
 
no, it's not nice
 
7:38 AM
@BatCat no but why do you need to use it.
 
@Raghav maybe setuseraccess requires cookies
 
It should, AndroidBot would reuse the firefox cookies on each request
Pretty sure you need them
 
that's good and bad news
I can remove this fkey code from the bot, and instead make a room.setUserAccess method in the chat lib. But wasted some more hours
this stack overflow api is quite cringy
 
Chat is mostly an afterthought
there's a lot of hidden APIs that are quite cool, but they never built a UI for
There are query flags on the search and transcript and recent messages pages that can return a lot more messages, and a bunch of other stuff
Sadly, I can't remember for the life of me what they were
 
lol let us just look at the documentation for this public api to find out what they are
 
7:56 AM
 
this one looks angry
 
@Raghav also the access level values you pass to the api are different than the ones the socket poops out !cf[0]
e.g. (default) vs remove
 
Did you guys check the "new" SO salary calculator?
 
Yeah, I got the access request tags by just making 1 post for each option and taking the params out of the chrome dev tools
 
8:01 AM
yeah murat. I don't know how to interpret the results, closed the page
 
dismiss the blog, try the calc
 
I did the calc, it gives you some weird chart with percentiles and no information what it means
 
huh?
it gives the annual salary
 
there are 3 annual salaries
also the skills you can enter are severely limited. It doesn't accept most skills they ask for in android positions
 
yeah thats bad
since most positions search for "xy language dev"
 
8:06 AM
yeah when it didn't accept kotlin or rxjava I was like ok
 
but it accepts swift and ios ;)
It says I would get 39000 EUR in Amsterdam
too good to be true :D
 
that's low?
 
nope, medium
31k/39k/49k
 
39k is pretty good, assuming a couple of years of experience it is about what you should expect
 
damn amsterdam pays poorly then
 
8:11 AM
well the cost of living in amsterdam is also pretty low
😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂‌​😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂�‌​�😂😂😂😂😂😂😂
 
thefuck
 
They don't even have blockchain as a topic :(
 
if I move to USA my salary should be tripled
 
tim whats the population of amsterdam.
 
Yeah but in any major city in the US your cost of living will also spike
People in NZ make half the salary for an equivalent job
But generally have a much higher quality of life
Own their homes debt free, can afford to eat well, no student debt, etc.
 
8:15 AM
but NZ population is so less. so naturally the cost living is less.
 
Indeed
Oh, btw, I narrowed down the ^[[200~ chars
 
population of amsterdam 820k
 
It usually happens to me when I am pasting something, but do ctrl+v before doing ctrl+shift+v
 
the cost of living was less in bangalore but now its 10 tomes more. You cannot afford your own house now in a good locality. You will have to spend your entire life savings..
 
A good suburban house in Christchurch is about 350-500k nzd
 
8:17 AM
raghav indeed that problem was with the keyboard. i changed the keyboard battery and everything seems to work fine
 
Which is pretty reasonable
If you want to love a bit further out, it can get much cheaper
 
CoL in spain < CoL in most of west europe
 
A
 
A
Dammit
 
8:18 AM
too slow.
ha.
 
Blame the VPN latency
 
hmm it works with cookies
 
Amsterdam does not have 1M citizen?
last time i was there i am pretty sure I saw over a million bikes
 
most of us are wealthy enough to afford multiple bikes
 
Probably the worst city in europe to drive a high end car
 
8:26 AM
What's the point of car in such city? Bikes are awesome, anyway
If you are living about less than 5km away from work, it will be fine
Electric bike, if more, or you are fat and lazy
 
@Raghunandan I have a requirement that the design will be fetched from the server side
 
nobody in NL lives less than 5 km from work
 
Android XML design => JSON => Proteus => android Native Design
 
@BatCat whoever thought of this should read about separation of concerns
 
Why does the server side serve the xml layout?
 
8:29 AM
it's not the backend's concern what the frontend looks like
 
we need this for kotlin/ConstraintLayout => snapkit.io
 
hmmm. it makes sense for flipkart to use Proteus because they need dynamic ui. i agree with tim you don't need it most cases
 
No no...the client requirements change often with regard to UI so I was asked to design an engine
I thought why not use Proteus
 
i was at a meetup organized at flipkart. they said they use it because suppose they have a cloth which is green today and tomorrow they need a red one it would be hard to make changes in native ui and would also require releasing a new app every time ( native app - they use pwa and partially native).
 
You should have a theme Engine and only receive basic stuff from the Backend
 
8:31 AM
The prob is that there is a app which has different UI for different people, so instead of providing different apps why not only change the UI from the server and Proteus does that
 
But not a very common requirement
 
@MehdiB. Same like Proteus..
 
2 mins ago, by Tim Castelijns
it's not the backend's concern what the frontend looks like
 
My question how is this fully achievable ? Layouts can contain many hierarchies and the arrangement of children with respect to a layout has many challenges
 
moving from one backend to another when your frontend also lives in the backend is also quite a challenge
 
8:33 AM
Yes that is a big challenge
Apart from this validations and calculations are also included.
Eg validations such as required field validation
 
There are some cases, like if some Platform lets users to create and modify on a web dashboard digital apps that could change without requiering an app (client) update
 
Addition of values from 2 edittext
 
So the app becomes sort of a dumb player to whatever comes from the server
 
Proteus doesn't have a proper documentation, their demo is messed up
 
8:36 AM
This is taking time and I have very less of it..
to make a decision..
 
don't use it. its probably used only in flipkart. i haven't heard from the android community who use Proteus in production.
 
also what happens if device has no internet or server is down
 
You play the last cached version
 
what if cache is empty
 
You opt for login
 
8:42 AM
what if the device loses internet after login but before the first call completes
 
Bhavin Jadav requested access. Rep: 111 - Questions: 5 - Answers: 12 (ratio 4:9.6)
 
You either condition the login (as the user sees it) by the complétion of the second action (download) => no download "try again later" or you show an empty basic Skeleton liké LinkedIn Android
 
!accept Bhavin Jadav
 
@BhavinJadav welcome. Please start by reading the rules and confirm you have read them before saying anything else.
 
But the apps that work like this don't have this many challenges, because these apps are usually not for regular users
 
8:47 AM
!cf[3]
 
:D
^
 
More like a kiosk on a mall etc.. so the probability to have cache emptied etc.. are thin
 
lmao
true
 
need to brush up on my cf skills
 
cf skills?
 
8:49 AM
yeah the bot can behave like cf now but I didn't remember the correct index for 'true'
 
hmmm
 
I made it this week but it's already the most used feature
 
you wrote this is in kotlin right?
yes i can see from the src
 
8:57 AM
yep this is my hobby project to play with kotlin and some other stuff in the evenings
 
!cf[١]
 
Unknown command '!cf[١]'
 
nice
 
does not support arabic numerals
 
yeah I added a touch of racism
makes it seem more like a real person
 
8:59 AM
!cf[01110]
what does cf actually do?
 
!cf[8382]
 
IndexOutOfBoundsException: 8382
 
ignore me apparently
 
@R15-Zucc worst bot dev
 
Aug 27 at 16:54, by Raghav Sood
Petition to replace CF with a bot with the above array and math.rand(0, 5)
@CptEric for some reason this message comes in as CptEric: <div class='full'>!cf[01110]</div>
instead of without the div tag
!cf[01110]
 
9:02 AM
IndexOutOfBoundsException: 1110
 
🤔
@MuratK. the exception is handled, it just replies this
 
9:14 AM
Nearest caffe offers unlimited beer for 5$ per person on thursdays
They are monsters xD
 
@TimCastelijns don't leak server side errors to the client
 
can change the copy but the message will be the same
 
!cf["break me hard"]
 
Unknown command '!cf["break me hard"]'
 
!cf[-1]
 
9:20 AM
IllegalArgumentException: This input seems to be invalid
 
!cf[000000000000]
 
sigh
 
@DimaRostopira @ColdFire you heard the man :D
 
!ahmad
!cf[8382]
 
IllegalArgumentException: I can only go up to 5
 
9:30 AM
!cf[5+1]
 
offline for a sec
ok
 
SkynetTester requested access. Rep: 66 - Questions: 0 - Answers: 1 (ratio 4:Infinity)
 
!reject SkynetTester
 
@SkynetTester you currently do not meet the requirements to chat here. You can find our requirements in the rules.
 
@Raghav it works
 
9:35 AM
Why didn't you automate that
 
I don't want the bot to decide who gets in or not
 
SkynetTester requested access. Rep: 66 - Questions: 0 - Answers: 1 (ratio 4:Infinity)
 
!accept SkynetTester
 
@SkynetTester welcome. Please start by reading the rules and confirm you have read them before saying anything else.
 
@Raghav reject clears access and accept grants write access. No banning mechanism
 
9:39 AM
> (ratio 4:Infinity)
lmao
 
!cf[5+1]
 
Unknown command '!cf[5+1]'
 
!cf[d+]
 
Unknown command '!cf[d+]'
 
!cf[NaN]
 
9:40 AM
Unknown command '!cf[NaN]'
 
let me spoil it for you, only Pattern.compile("\\[(\\d+)\\]") is processed
 
You can still do funny stuff with it
!cf[(╯°□°)╯︵ ┻━┻]
 
Unknown command '!cf[(╯°□°)╯︵ ┻━┻]'
 
What do you all use a ViewStub for ?
 
murat I changed the out of bounds exception message to "I can only go up to $lastIndex", better?
 
9:43 AM
!cf[\\0]
 
Unknown command '!cf[\\0]'
 
!cf[0]
 
sigh
 
!cf\[0\] works somehow :D
 
sure it's fine
 
9:45 AM
!cf\[0\]
 
Unknown command '!cf[0]'
 
aha :D
 
'!cf[0]'
 
seems like chat handles the \
sending message: OutboundMessage(message=Unknown command '!cf\[0\]', targetMessageId=null) (0 left in queue)
 
\'!cf[0]\'
 
9:48 AM
!syncstars
 
Ok, give me a second
Done, took 47007 ms
 
local machine is twice as fast as the server
 
o/
 
!stars Dima
dead?
 
9:57 AM
why you always gotta give commands in the 2 seconds that I have it offline xD
I'm like 👀nobody using it, now I can update
it's back now. On the server
 
!stars Dima
 
 User       | Message (21)                                     | Stars (83) | Link
----------------------------------------------------------------------------------
 Dima Rosto | -image-                                          | 11         |
 Dima Rosto | having sex with WebRTC, and I'm not sure who is  | 8          |
 Dima Rosto | > Raghav GF: I'm pregnant > Raghav: access revok | 7          |
 
nice))
 
I claimed my jira license 👍
 
for free?
 
10:05 AM
(found the offer on reddit)
 
nice
 
10:32 AM
How do you adjust android view size for all screens without creating separate XML's ?
 
What do you mean? Could you give an example?
 
Say you have a button and a textview you would need to display in the same size for all screen densities and different screen sizes ..How would you achieve that ?
 
same size? I thought you wanted to adjust the size of the views?
You mean same percentage width / height? or exact fixed size?
If it's the former you could use a constraint layout, you'll set your margins for the widths and it'll auto adjust for you
if it's the later, just set a fixed height / width instead of match parent
 
Umang Burman requested access. Rep: 1010 - Questions: 3 - Answers: 109 (ratio 4:145.3)
 
!accept Umang Burman
 
10:38 AM
@UmangBurman welcome. Please start by reading the rules and confirm you have read them before saying anything else.
 
10:59 AM
@MarkO'Sullivan Yeah exactly.
 
i accidentally deleted some files. photorec to the rescue- recovered all of them
from now on i will remember to back up everything. Such as huge loss if you accidentally delete files and cannot recover them
 
@R15-Zucc Sure.. Where are the rules.. This is my first chat.
 
So how's the weather at your place ? @all
 
user443346
o/
 
user443346
Live from my new job
 
11:07 AM
Sunny.. Lol..
 
krishnamahadik requested access. Rep: 135 - Questions: 7 - Answers: 4 (ratio 4:2.3)
 
@UmangBurman click on the link of the Zucc message, or click on this link room-15.github.io
 
user443346
@BatCat The Netherlands has only one weather condition: Shit
 
Yeah freezing cold throughout the year
 
user443346
And 37 degrees in summer but global warning is a hoax :d
 
11:20 AM
Done
 
Summer for 2 months hardly ?
 
!reject krishnamahadik
 
@krishnamahadik you currently do not meet the requirements to chat here. You can find our requirements in the rules.
 
@Jordy android dev?
 
Yeah must be
 
11:26 AM
Right place for apple logo
India legalizes homosex
 
really?
 
that's great news
 
I thought people were stoned in the streets for this not long ago
 
11:42 AM
I actually don't understand why people hate gays. One gay couple it's +2 available girls for us :D
 
bro do the math again
 
but lesbian couples counter it with -2
 
why did you tell him tim :/
 
I don't know why I am like this
 
Lesbians often aren't pretty, doesn't counts xD
 
11:58 AM
that is an unfair stereotype
 
12:08 PM
how far to the nearest AH?
 
user443346
from Wanneperveen to Meppel (~10km)
 
damn RIP lunch break
 
user443346
Yeah unfortunately but awesome company tho, cool people and even cooler projects
 
@TimCastelijns never happened in india
 
Cool setup of the day:
 
12:22 PM
that is an unhealthily large monitor to sit in front of at that distance
 
user443346
That curved 144hz MSI screen makes me cry
 
True
Also, curved screen at 90 degrees? WHAT
 
user443346
WHY WOULD YOU EVER ROTATE IT ;_;
 
I KNOW RIGHT ;-;
 
@Mauker missed opportunity
 
12:23 PM
lol
 
@Mauker missed opportunity
 
!cf[3]
 
true
 
!cf[4]
 
lmao
 
12:26 PM
@DimaRostopira well British era relic had to go someday
There are almost 9-10 important cases judgement coming in this month by the supreme Court
 
!cf[0]
 
sigh
 
@ColdFire about what?
 
!cf[1]
 
^
 
12:29 PM
Lots of stuff
 
I figured that much
 
!cf
 
haha
 
nailed it.
 
Right to privacy aadhar , article 370 etc etc
 
12:32 PM
meh article 208 should be a priority
 
Well since the cji is retiring in 20 days he is gonna deliver judgement on all cases he was involved
 
@Jordy maybe his eyes are oriented vertically on his face
 
@ColdFire thought I saw an article coming by some time ago but maybe you're right
 
you have a vivid imagination, Eski
 
be realistic mehdi, what else could be the reason?
!ahmad
 
12:40 PM
Ok, see ya
2
 
😂
 
@TimCastelijns well it was a very old law and one of those law that aren't really enforced at all like the jailterm for suicide which was abolished recently
 
that's the only explanation Tim indeed
 
Hardly few if at all people were ever convicted due to those laws
@TimCastelijns well it was a very old law and one of those law that aren't really enforced at all like the jailterm for suicide which was abolished recently
 
do they jail the corpse?
 
12:41 PM
!help
 
@TimCastelijns You can find information on what I can do here
 
user443346
@eski That would be pretty odd
 
@MehdiB. courtesy of dave
 
that's a funny one XD
 
dave is a funny guy
3
 
12:46 PM
agreed
 
it is a synonym for other leave commands btw, it does not just say bye :P
 
!ahmad
 
🖕🏻
3
 
XD
 
HAHAHAHAHAHA
 
12:48 PM
R15-Zucc - janitor jester at Room15
¯\_(ツ)_/¯
 
Huzo requested access. Rep: 387 - Questions: 60 - Answers: 2 (ratio 4:0.1)
 
!reject Huzo
 
@Huzo you currently do not meet the requirements to chat here. You can find our requirements in the rules.
 
@MehdiB. attempt to suicide
 
@UmangBurman access revoked due to not reading the rules in a timely fassion
 
12:51 PM
Also as I said that law was never enforced at all I do not remember a single person ever jailed for attempting suicide
We have a lot of British law relics
 
if anyone has suggestions for useful bot commands please let me know
 
> betterEcho
Oh, you said useful.
 
!cf[0]
 
sigh
 
Mauker command that says plz
 

« first day (2882 days earlier)      last day (2070 days later) »