« first day (2816 days earlier)      last day (2124 days later) » 

5:04 AM
Fragmented - Android Developer Podcast: 129: Sunsetting ReactNative at Airbnb with Gabriel Peal - Part 1
posted on July 02, 2018 by shows

If you haven't heard, Airbnb has decided to move away from React Native. Friend of the show Gabriel Peal wrote an in-depth series of blog posts about this. We had so many questions around this that we asked him to come on the show and he graciously accepted to answer some of our questions. It's always a pleasure listening to his insights and this episode is no exception! Listen on:

 
5:30 AM
class TaskActivity implements TaskBehavior, TaskExtensions {}
If I have an instance of TaskExtensions, does it mean TaskBehavior is an instance of TaskExtensions?
for e.g. to a method processTaskBehavior(TaskBehavior behavior), I pass this.
Should it mean that behavior instance can now be used as an instance of TaskExtensions as well?
 
implements != extend
But yes, if you are passing this, you can cast and call TaskExtension or TaskBehaviour methods
 
6:02 AM
After it is already said to be TaskBehaviour?
 
Hmm
Possibly
If not, recast the original parameter
 
thanks
 
i am melting
spent whole night ~27-29
only now, at 8am, some fresh breeze is moving
 
28ºC here too
I am not melting
I own a fan
 
i own a AC machine, but we're trying to vent the room out
 
6:07 AM
Walls are overrated anyways
 
past' weeks air + a whole weekend of sun = not good smell
 
6:29 AM
\o morning
 
\o good morning, everyone
 
\o mornings
 
looks like karma for recruiters behavior :P linkedin.com/pulse/… . They getting stood up
 
lmao
that sounds awful tho
just reply with not interested anymore
you’re just wasting another person's time
recruiters are human too
 
Surprisingly, no
There are a lot of recruiter bots to do the cold calling these days
 
6:38 AM
> Ghosting is an art form perfected by employers who never get back with a valid reason as to why a person isn't hired. I know there are laws against certain specifics but a candidate needs to know... hey, we didn't hire you because even though you have certain skills the fact that you use sticky notes to stay organized is not conducive to organization skills, (An example).
> This gives the candidate the ability to adjust their way of thinking and possibly re-educate themselves, brush up on their skills instead of feeling like a failure. So ghosting goes both ways, employers respect candidates time and their need to know, candidates may give the same respect.
^Kinda agree with this comment
 
I woke up at 4 am
def need coffee
 
@RaghavSood you are room owner ^^your guest needs coffee
 
so am i m8
who is giving me coffee
 
Gooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo‌​oooooooooooood Morning Everyone!!!!!!!! :D
 
6:41 AM
\morn Womper
 
Way too good mood there.
 
@SurajRao I can offer him corporate kool aid
 
maybe there can be a bot for coffee making along with pinging rule to new comers
has anyone thought of borrowing/extending Oakbot?
 
We were going to have a bot, but @TimCastelijns never finished it
 
6:50 AM
What is the cure for such disorders? Beatings.
 
oh come on violence is never the answer
 
Nah
Just tell them to write PHP stuff anyways
That's bad enough
 
who would bother writing something that converts php stuff to native or set up a php interpreter in android..
 
How to make Android app using HTML
 
Cordova and that other stuff
 
7:26 AM
o/
@W0MP3R sup womp a good start to day today?
 
\o
@GauravChauhan welcome to the chat. Please read the room rules before you talk here: room-15.github.io
 
7:43 AM
o/
 
4.99 days to weekend \o/
6
 
7:59 AM
lol that optimism
 
<3
tim knows the deal
 
sup eric
 
8:19 AM
@GauravChauhan removed access for not reacting at all
 
8:58 AM
o/
 
9:24 AM
today in history: the first nation-wide general strike begins in Barcelona in 1886.
how's summer going dudes?
:D
 
doing fine
 
10:03 AM
https://material.io/tools/theme-editor/
No material color plug-in for windows?
 
this is for the sketch app
it's a osx only app
 
damn
Due to the technologies and frameworks exclusive to OS X that Sketch has been built upon, regrettably we will not be considering supporting Sketch on either of these platforms.
 
@CptEric I was a glowing red color all over my body last night...
 
controversial.. but i think every dev should be on a mac, it's so much better
 
I'd say unix
 
10:12 AM
fair play, unix makes more sense
yeah doesn't have to be mac
 
but given linux distros are a mess, its understandable to make it OSX only
 
depends on the type of dev. But probably never windows
 
windows is ok for dev. it's not bad either.
i've used both windows and osx for android and web dev and it's pretty much the same
 
I think the difference is in the preferred way of working
like the apps and tools you like to work with
 
If I have to use windows then it is Total Commander all the way :)
 
10:17 AM
if you're an android dev there's the exact same tools lol
if you're some edgy ios, osx or web dev then maybe yeah
 
yes of course. I mean auxiliary tools
 
ish, yeah. like this sketch thing
 
custom terminals etc
 
dunno, since the 2017 powershell upgrade and the linux core terminal, i don't lack anything on my desktop
i have ZSH on my windows :D
 
I don't like windows in general anymore. Whenever I open chrome I get this popup by edge saying "did you know edge is x% faster than chrome?" I mean fuck off
 
10:19 AM
yeah that's lel
and even if it was true
"nobody asked your opinion, robot".
¯\_(ツ)_/¯
but microsoft is also making giant steps to make dev awesome
like VSCode being open source and avaiable on every platform
and every MS app is developed into OSX/unix sooner or later, unlike apple, that doesn't do shit to expand their software outside of their closed cycle
 
@CptEric linux distros are a mess?
@TimCastelijns I hate that sorta shit
 
there's over 10+ major ones and each has a different package install system, core development language and stuff like that.
 
@CptEric yeah exactly
 
it makes no sense to support them all and it makes even less sense to make a generic self configuring installation script if you want to target end users and not only hacky terminal people.
and to support just one is lame.
so better 0 support and don't trap your fingers on the car door.
 
I think the target end users of these distros are hacky terminal people
 
10:25 AM
not always. designers that, by studies or by work, must work with linux are probably errant souls demanding help to their dev colleagues all the time
uni students tied to free software liscenses, etc etc
 
@CptEric nothing wrong with that, I mean I've used OpenSUSE and RedHat which seems to be more server OS than consumer based OS
A ton of linux distros are based off debian / ubuntu
 
but some disable the .deb installables to feel different
and push you to their 1998 looking repo system or app market system.
 
yeah but you're not forced to install those distros lol
 
In a Tablayout's tab's customView, which View should I use so that I can use state_pressed or state_checked when a tab gets selected?
 
you'd be force to install them if there was no other choice
 
10:27 AM
@MarkO'Sullivan not forced to support them either. :D
 
yeah true. I've used lu/xu/ku/ubuntu at our uni
 
Arch is pretty cool, getting to setup everything yourself
My mate has tried convincing me to set it up and use it
 
my GF was forced to use a ubuntu modified with the uni required software
she liked it so far but found many software didn't work
 
@rupinderjeet TabView? I don't know :D
 
because missing libs or compat issues
 
10:28 AM
@CptEric yeah unfortunately there's a lot of software built only for Mac OS or Windows
 
yeah usually there is a list of dependencies you have to satisfy manually
 
super easy to do that as well
 
completely unnecessary in major OS's (windows / mac) tho.
 
because you don't have to do it. you don't have to fix shit up 99% of time.
and that 1% is usually your own hacky fault.
 
10:29 AM
Yeah but there's a ton of bloat installed as well
who wants that?
Do I want Siri or Cordova? Nope. Do I get it? Unfortunately yes
 
cordova? cortana.
 
there is also bloatware on ubuntu
 
xD cordova
we don't want cordova either tho
 
most linux distros come with hell load of bloat too
just other kind of bloat
 
10:31 AM
That's when you know you're a mobile dev - when you confuse Cordova with Cortana :D
 
but that's what you must pay for having an end product.
that whoever makes the product picks the boxing
 
Yeah but you can get distros with the bare bones, no extra software installed
 
be it a open source thing with Gimp preinstalled or with Candy Crush preinstalled.
 
I always throw the box away
 
which is exactly what I want
 
10:31 AM
same shit for someone not needing either
 
I don't think you can do that with ubuntu mark
 
Can you not? I thought Ubuntu was one of the ones you could get very slim version
Elementary OS you can
 
"make your own distro" vs plug in the windows 10 installation USB, click next 6 times, and get rid of the bloatware in every single laptop in 30 minutes.
even EOS puts bloat into you
 
Like if I have 5 tabs in tablayout, and I have to change text color/bg when a tab is selected, I don't think I should keep reference to 5 TextViews inside tabs. But, OnTabSelectedListener just gives me Tab. So, Tab.getCustomView() is to be used, create TextView again and apply it.
Isn't there something like ViewHolder pattern that I can just feed to TabLayout?
 
3
A: Is there an "install without bloatware" option for Ubuntu?

fossfreedomMost Ubuntu flavours at 18.04 now support a "minimal" install option. This would install a browser and a small number of system utilities but most of the apps would be removed.

You are right though Ubuntu used to make you download LibreOffice
 
10:33 AM
minimal utilities > unnecessary shit too
 
A lot less than Windows
 
99% of the time
less crap doesn't make it less smelly.
 
Plus you're not forced to do shitty Windows updates
 
you're forced to do apt updates
which is the same shit
 
never forced
 
10:34 AM
but with critical incompatibilities
 
at some point windows flat out removes the option to delay updates and reboots regardless of what you're doing
 
forced unless you're OK with the vunerabilities your programs come with
 
^ happened to devs in my office
had to sit and wait for it to finish
 
yeah go away windows update. I only use you to play some 20year old game, I don't need updates
 
gets backed and becomes part of a botnet
 
10:36 AM
oh you implemented nice new tooling and need an hour to install it. Thanks bro really useful
 
patch 10.11.08 fixed that
every OS has it's goods and wrongs
 
I agree
 
apple doesn't let you even update ITUNES without a whole OS upgrade when it comes out
 
I am the God of binary
All OS are belong to me
 
so OSX INSERT_MOUNTAIN_NAME comes out -> you can't update XCODE, Itunes, mail, or even calendar without a whole OS upgrade
 
10:37 AM
need to patch the grammar plugin
 
"All your base are belong to us" is a popular Internet meme based on a broken English ("Engrish") phrase found in the opening cutscene of the 1992 Mega Drive port of the 1989 arcade video game Zero Wing. The quote comes from the European release of the game, featuring poor English translations of the original Japanese version. The meme developed from this as the result of a GIF animation depicting the opening text, which was initially popularized on the Something Awful message forums. == Selected transcript == == Mentions in media == The phrase or some variation of lines from the game ...
 
and let's all remember the greatest improvement in all the creation: windows JRE/JDK & AS installations both automatically set PATH environement variables
no need to fuck up yourself with it.
OSX and unix generic installation processes of both still live in the 1990's.
with manual setup and shit
 
pretty sure at least ubuntu does this for you as well
 
nopie
 
10:41 AM
at least I can't remember having to do it manually
 
atleast not in 12.X, the last one i used
 
but it's been long
 
and in the mac it's still all manual.
 
it is definitely not
 
it is if you need to mess with terminal stuff.
 
10:43 AM
It's very rare to need to update path on OS X or linux
You're probably doing something wrong
 
you need them for automated build shit
they ask for ANDROID_HOME, JAVA_HOME, etc
 
you mean on a build server?
 
or on the machine
for react native, cordova, self documentation scripts, fastlane builds...
i got like 5-6 shits that need to have android-tools access
 
and i can goddamnly assure you it's not automatic :D
 
10:46 AM
make a script bro
 
eveyrtime we format the intern's macs we gotta rewrite the .bashrc files
or profile_bashrc
or profile
depends on whoever apple picks in the newer OSX version
to be term's little friend
CostCo owner lands in spain: will start with an e-commerce, and later opening some big stores on main cities.
@Ahmad / @AdamMc331 what is costCo?
i mean what is the model behind
google just lands me to "supermarket chain"
doesn't look breathrough or original tbh
 
@CptEric you could include in /etc/paths right? would kinda set them for the system though not the particular user.
 
i'm not sure.
 
30
A: Set environment variables on Mac OS X Lion

wired00Unfortunately none of these answers solved the specific problem I had. Here's a simple solution without having to mess with bash. In my case, it was getting gradle to work (for Android Studio). Btw, These steps relate to OSX (Mountain Lion 10.8.5) Open up Terminal. Run the following command...

^still works for my ionic(Cordova) setup in OS high sierra
 
You can set it in all sorts of places
 
11:02 AM
/shrug
the other files depend on your bash configuration
 
11:16 AM
Canada raises tariffs to all USA trade in response to USA's tariffs on steel and aluminium
 
my new job's JD includes this task: Perform POCs and build the reusable components for Android.
**What is a POC here?**
 
proof of concept?
 
ya i got to know the full-form but in simplest terms what kind of task is this?
 
probably make demo/test apps that won't get anywhere further than a meeting room
 
some sort of prototype of an idea
 
11:20 AM
but that are needed to showcase clients/investors tech stuff
 
OK then, Robert Bosch I'm coming. XD
Thanks, Eric and Suraj.
 
@Code-Apprentice yeah, I did.
 
11:40 AM
@rupinderjeet INDICATOR COLOR
 
o/
 
everybody welcome @MehdiB. our newest member
 
I have read and understood the rules, such a honor to be here :D
 
I did not ask you to read the rules, this is not a good start for you
 
y
did you kick him out
 
11:48 AM
XD
 
quick summary to catch up. Mehdi had account issues, SO team was not able to help. He deleted the old account and here is the new one
 
that's pretty much it (y)
 
Yeah, I know this guy.
 
Account issues?
 
11:51 AM
i kind of checked his profile and was wondering why he has only 96 rep, might be someone else then. XD
 
Welcome back @MehdiB.!
 
Thanks! :D
 
yes he passed the 2 step authentication though so we should be safe
 
time 2 lunch
T -8
 
does my "XD" counter starts at 0?
 
11:53 AM
yup
 
Also, sorry for everyone in this room who provided good answers/questions and lost reps because of my account deletion
 
@MehdiB. bro, you lost reps. nightmare
 
lol welcome back mehdi
 
@MuratK. Yeah, I'll start over, flexing is good in the summer :D
 
@MehdiB. oh so that is why we lost rep :D
 
11:56 AM
Thanks, CF! :D
 
@MehdiB. YES
btw you can always reupvote the stuff you liked before :D
> I prefer not to work with php xD
 
who does :D
 
hehe true
 
12:12 PM
o/
 
> Tfw you lose no rep because @MehdiB. never upvoted you
3
 
oh neat, two upvotes overnight
got back the rep I lost lol
 
@RaghavSood XD
 
Also, one upvote away from another "nice answer" badge \o/
 
lmao raghav
 
12:15 PM
@RaghavSood rolf
 
mehdi already at around 10 XDs
 
that was part of the 3-factor authentication process :D
 
I'm still not convinced. To prove your identity, you must work at Big Blue for several years without losing your mind
 
xD
 
Only the true Mehdi can manage that
 
12:20 PM
that was the young mehdi :D
this mehdi will get interned after a month there
 
Confirmed to be an impostor
 
So you're grey beard Mehdi now?
#notOurMehdi
5
 
mehdi the white, I would assume
 
lol
 
haha!
which reminds me of this XD
84
Q: What to do when someone is posting under your username?

Jeffrey RoosendaalSomeone asked a question about Bootstrap artifacts in a modal on IE11, and I thought I knew the answer. I tried to help by placing a comment first, because I was not sure it was able to solve the problem. With the help of my comment the problem was solved, and the OP asked me to turn it into an ...

2
 
12:23 PM
LOL
had a good laugh at that :D
 
same :D
 
how many rep did you lose mehdi? I would be pretty depressed if my account was lost
 
LOL
 
depression is not funny CF
2
 
classic CF
I lost 1020 rep, I was pretty down the first week, then I eventually accepted it
 
12:27 PM
he probably loled at the sneak meme
 
WTF
@whenthemorningcomes dont mind them
 
@MehdiB. damn you are already in stage 6 of 7
 
Yeah, the prince never mind us
@MehdiB. ohhhhhhhh that's why!
 
@TimCastelijns yeah, that came along with some issues and with a customer not paying me a good deal of $$, so i reached that stage quite fast, and said "just f**k it, I'll start over" :D
 
Mehdi give my rep back
 
12:30 PM
lol mauker
 
"lol rep means nothing, don't feel bad about losing some" - every high rep user ever
 
even after account reset Mehdi got better rep. than me
 
haha
 
not there yet netpork XD
step1 was to get 80 for this room, now I'll work on my rep
 
But then again, I missed the "why that happened" part
so, why that happened, mehdi?
 
12:34 PM
You're already at 100+
I sense vote manipulation
 
I sense reputation
Real world reputation
 
Soon, I shall clear 100k on the SE network
 
old forgotten account dating from years ago -> perso address
previous account -> work address
I changed my previous account email settings to my perso -> both got merged -> contact support team -> ask to undo the merge / remove the old account -> declined -> I delete the account -> I start over -> now
 
That's exactly what an impostor would say
 
Jul 18 '17 at 8:16, by Tim Castelijns
you should update your profile
 
12:37 PM
guys, I just received a bunch of reps, please don't do so, I'll earn the reps on my own (y)
 
@MehdiB. oh wow.
 
3 mins ago, by Raghav Sood
I sense vote manipulation
 
lol@MehdiB.
 
lmao
 
@TimCastelijns you mean changing 18 years to 20-21 years?
 
12:38 PM
for starters
 
@InsaneCat lol using kotlin syntax
 
@MehdiB. transfer unnecessary rep to me
 
ha ha @netpork
 
I don't know how to do that netpork XD
 
yes guys please revert your pity upvotes for mehdi. It is not allowed
 
12:40 PM
^
 
downvote his answers instead, show him how hard life is
 
hahahaha
 
@Mauker merci
 
@MehdiB. RIP
 
:D
 
12:42 PM
:D
 
just reverse the upvotes, invisible knights, otherwise it's gonna create a meta incident linked to this room and I feel bad about these non earned reps
 
Hope you buy a benz to compensate
 
ooh, which reminds me! did you buy yours?
 
how can we be sure that mehdi is our mehdi
 
yup :)
 
12:44 PM
congrats murat
 
@MuratK. Congrats! :D
which one did you get?
 
thx bros
 
@MehdiB. I did upvote one of your answers, but it was an accepted one that I found useful lol
That one I won't reverse, you deserved it
As for the rest, I can't speak for the others
 

« first day (2816 days earlier)      last day (2124 days later) »