« first day (3239 days earlier)      last day (1726 days later) » 
00:00 - 16:0016:00 - 00:00

4:00 PM
eh mostly luck
cause I started answering when android got really hot
 
LIES
 
bro you have 73k
you put in more time than i did
 
same
spannables mate
so much rep from that 🔥
454
A: Gitignore not working

AhmadThe files/folder in your version control will not just delete themselves just because you added them to the .gitignore. They are already in the repository and you have to remove them. You can just do that with this: (Remember to commit everything you've changed before you do this.) git rm -rf ...

and very basic git knowledge
 
nice
 
user11566289
4:11 PM
wait, so you get 10 rep for every up vote on that answer, or is there a cap?
 
I answer on Bitcoin.SE and Ethereum.SE now mostly
10 per upvote, unless you already got 200 that day
 
yeah 10 unless you hit the 200 cap
 
Don't really hit the 200 cap anymore since I don't post new answers on SO
Typical Ahmad, farming views by repeating previous answers
 
I think I've only hit that cap a handful of times
i was the first to answer that q my dood
 
xD
is ahmad one of those repw*****?
 
4:13 PM
yes, he's a repworker
 
not anymore
I'm a repwinner
 
I've earned 200 rep in a day 40 times, apparently
2 mins ago, by Raghav Sood
10 per upvote, unless you already got 200 that day
 
lol
 
user11566289
at what point does the green trophy notification lose it's luster?
 
4:15 PM
oh i don't even look at it anymore
@RaghavSood I'm just a slow typer okay
 
Tbh i just noticed it is a trophy icon
 
user11566289
lol
 
Haven't really looked at the top bar for the last few redesigns
 
user11566289
that means you're doing it for the right reasons
 
user11566289
to be helpful and pass on knowlledge
 
4:16 PM
"since your last visit"
no I did it so i could flex on raghav
but he always outflexed me
 
Almost up to 10k on Bitcoin.SE too
 
user11566289
Carl's green box is largest. He wins.
 
Already top 20 users all time tho
 
can you please make that image smaller raghav
2
 
user11566289
4:20 PM
And it's the most vibrant green, also a plus.
 
@RaghavSood make it blurrier too
 
@Ahmad I don't have a fancy Mac like all you overpaid devs here, I must crop with sketchy websites
I miss cmd+shift+4
 
user11566289
you can't afford a Mac with your 75k?
 
Gets 73k rep on Stack Overflow, rewarded with MSPaint
4
 
the conversion rate from stackoverflow points to usd is very unfavourable at the moment
 
4:21 PM
Answering stackoverflow questions extracts a price in time that wasn't spent making money
 
don't tell me you use windows
 
I use Linux, you pleb
 
linux
 
@RaghavSood :O in less than a year?
 
@MehdiB. Subject knowledge in a largely technical field helps
 
4:22 PM
 
Crypto has no room for opinions like LinearLayout vs. RelativeLayout
 
thank you this clarification was very needed
we don't use either of those anymore raghav
it's all about constraintlayout now
 
@RaghavSood but do you use Linux mint cinnamon ?
@Ahmad *use
 
he uses linux, the garlic bread version
@CarlAnderson 😤
 
@Ahmad Imagine picking on other's grammatical updates when you don't even notice your own :D
4
 
4:24 PM
xD
 
yikes
this is like 3d chess
and I just lost
 
ow use guise
 
he even outflex you in english
 
but can he outflex me in my knowledge about the swiss cheese cartel
 
sounds very specific
 
4:27 PM
Visual Studio hasn't improved significantly since the last time I used it in 2003
 
but have you tried visual studio code
 
If you like cheese you must visit Vietnam and go to 4P's Pizza
Worth the trip just for it
 
wow
 
I can get Neopolitan style pizza without a $400 plane ticket
 
that's a lot of cheese on that pizza
cute that you think it's only a $400 plane ticket carl
 
4:29 PM
I literally fly down to VN just for that several times a year
 
what
lmfao
you need better use of your funds
 
user11566289
just have it delivered
 
please venmo it to me instead
 
user11566289
that's why he can't afford a mac
 
4:29 PM
Might not impress Carl since he was around when cheese was invented, but for people born after the big bang, it's an experience
5
 
lol
 
user11566289
I was born pre-big bang
 
Flights to VN are cheap for SG, I can fly over, have pizza, and fly back for less than 400 SGD
 
guys you're making me hungry
 
4:32 PM
posted on August 29, 2019 by Android Developers

Posted by Adam Bacchus, Sebastian Porst, and Patrick Mutchler — Android Security & Privacy We’re constantly looking for ways to further improve the security and privacy of our products, and the ecosystems they support. At Google, we understand the strength of open platforms and ecosystems, and that the best ideas don’t always come from within. It is for this reason that we offe

 
actually tho I'm gonna go get something to eat
 
LOL
I'm going to PAX tomorrow and Saturday
it's going to be fun
 
o/ Carl
 
hey Adam
 
How've you been?
 
4:37 PM
I'm pretty great
enjoying the new job,
been biking into work a lot
 
o/
 
Nice!
 
and the weather this summer has been pretty fantastic
 
Ugh. All we have is heat. It's been pretty rough. Finally cooling a little though.
 
we had a bit of a heat wave this week, it got up to 85
 
4:38 PM
gasp
 
we survived though
how are things at the OKC?
 
Good! I've just been busy with conferences this month but now I'm through that for a bit. Working on doing some fun code quality stuff now - adding ktlint and some other static analysis tools that we didn't have before.
 
how big is the Android team there?
 
4
hoping to go to 5 if you know anyone
 
I don't know anyone that wants to relo to NYC
 
4:44 PM
same
and therein lies the problem
they even bumped our referral bonus for the month of september for some of our hard to fill engineering roles but I just don't know anyone looking. And unfortunately we feel the need to hire seniors for everything. :|
 
Android is a complicated space that requires a lot of knowledge
hiring juniors to do the work seems like it would be tough to manage
 
user11566289
You work on the OkCupid Android app?
 
@CarlAnderson what's pax?
 
can you get me a free premium subscription? :D
 
xD
 
user11566289
4:49 PM
Is an app like that just perpetually in development, adding new features and being maintained?
 
PAX (originally known as Penny Arcade Expo) is a series of gaming culture festivals involving tabletop, arcade, and video gaming. PAX is held annually in Seattle, Boston, Philadelphia, and San Antonio in the United States; and Melbourne in Australia. PAX was originally created in 2004 by Jerry Holkins and Mike Krahulik, the authors of the Penny Arcade webcomic, because they wanted to attend a show exclusively for gaming. Defining characteristics of the shows include an opening keynote speech from an industry insider, game-culture inspired concerts, panels on game topics, exhibitor booths from both...
 
ooooo
@glucaio yeah like every big app out there
I think the biggest android app i worked for was yelps, some 50 people
 
user11566289
yikes
 
that's too many for an app
unless it's like.. Facebook
 
Facebook has like 500 for android
most people at yelp are cross functional
so they might work on some android stuff and some Backend
so the number is inflated
fb's 500 is just for the core fb app
 
4:56 PM
cross-functional just doesn't work for apps IMO
you can't be good enough at both
 
user11566289
Uh oh, Magnus down on time against Ding
 
@CarlAnderson but if no one's mentoring and cultivating these skills for the juniors how are we gonna get seniors to build things lol
I just wish we could do more about it. I know there has to be a balance but hiring exclusively senior engineers across the board doesn't really give me the vibe that we care about it all that much.
Food is here now brb
 
user11566289
As engineers, do you guys give input on UX and design, or are there additional teams that make those decisions?
 
I do
 
@trevor-e yah for most cases it doesn't - actually it's probably like a split of 30 only android and 20 android and something else
yeah you work together with your pm and designer
 
I like being cross functional tho! currently not touching any android ui, mostly did android infra + architecture, Backend and I'm gonna do frontend with react soon
 
@glucaio Depends on the company; more common the smaller the teams
@Ahmad That's a good point about cross functionality; it's easy to work on multiple things if one of them is part of the JS ecosystem, since that thing isn't functional at all, so you have m ore time to focus on actual work
 
!leave
 
Goodbye.
 
xD
 
user11566289
5:16 PM
@TimCastelijns Thanks for the tip about moving to one table for the scores, I can tell that's going to be a lot easier to manage.
 
@glucaio second what Raghav said, on smaller companies that's more common. We do. Not so much from the beginning, but we have the opportunity to change designs if we have big concerns or there's something too technically difficult about it.
 
user11566289
Is there a dedicated iOS team as well?
 
There was, but Adam accidentally got rid of them
He was trying to push some updated files to them, but accidentally removed them instead
 
user11566289
hmm, tough
 
Pretty much tbh
We only have 2 full time iOS devs right now
 
user11566289
5:25 PM
is Windows phone around anymore? Would a company like OKC even invest in win version?
 
posted on August 29, 2019 by Bradley Allen

Android Studio 3.6 Canary 9 is now available in the Canary and Dev channels. If you have Android Studio set to receive updates on the Canary or Dev channel, you can get the update by choosing Help > Check for Updates (Android Studio > Check for Updates on macOS). Otherwise, you can download it here. New default packaging tool When using Android Gradle plugin 3.6

 
If anyone knows any iOS devs in NYC hit me up
lol no windows phone
 
user11566289
ha
 
we are prominent on desktop though and put a lot of work into that and our mobile website
 
user11566289
not even worth the trouble, I guess
 
user11566289
5:26 PM
I see, any they all have to work seamlessly together
 
user11566289
it sounds like quite a task
 
Windows phone users don't need a dedicated social discovery and messaging app
 
It is. Keeping everything up to parity with each other can be difficult
 
They can leave reviews on various apps in the windows store,and the single other Windows phone user will see them, inbuilt instant messaging
 
user11566289
hah
 
user11566289
5:28 PM
I did collab with a guy one time, and he happened to have a win phone at the time, and was begging me to do a win port.. I'm like nahhh.. this was a few years ago.. I'm guessing win phone is probably dead by now
 
Does anyone even use Android tablets anymore?
 
@AdamMc331 blasphemy
no taseer
how did you keep ios and android up date with such a unbalanced team adam?
android dev's dont work?
 
5:49 PM
@glucaio np my dude
 
o/ all
 
A wild DaveS appears!
 
Dave S uses wave
 
it's not very effective
 
xD
 
5:56 PM
Dave S faints
 
carl uses time attack
Dave S faints
shit :/
 
6:11 PM
CF killed the chat DaveS
 
thanks CF
 
hehe
 
6:36 PM
guys i'm pivoting to frontend dev
shit's so much easier than android
no compile time too
 
android is easy if you work on an SDK with no UI
 
that's the dream
 
then I'm living the dream
 
how's the new job carl
are you a cool indie game dev dad now
 
@Ahmad which language?
 
6:39 PM
javascript
i've never heard of anyone doing anything else
well i guess you could do typescript but it's all just fake javascript
 
i want to learn js some day
 
I'm trying to figure out how to write a C# script in Unity so that when Unity exports the Android Studio project of a game, I can make sure it also exports the right gradle.properties file.
 
i have heard good things about ts
 
it's like python but with braces
 
xD
 
6:40 PM
oh shoot
does that mean you're on a windows machine rn, carl?
 
Unity and Android is a messed up system
no, Mac
 
@DaveS Dr.Stone is good
any other animes you watching?
 
Unity has different... versions? I think they're similar to IDE versions,
 
yes they have
not sure how much different they are tho
 
but the version of Gradle that each Unity version outputs is hard-coded
so if a game is being built with Unity 2017.1 then it might not output a version of gradle that supports the AndroidX flags
 
6:42 PM
lmaoooo wat
that sounds like an awful architecture
 
so you have to write a post-export script (in C# of all things) to go open up that file and modify the gradle wrapper, etc
 
why must it be in c sharp
 
it's a mess
because that's what Unity uses
 
yikes
I didn't know you could use c# on a mac
 
So the entire mess is this:
my team writes a native-Android SDK, which generates an AAR file. That file gets copied over to a Unity repo that takes the AAR, wraps the calls with Unity CS code, and puts it into a unity package, so that games can write CS code to call into it.
 
6:46 PM
aaah I see
 
But when they're ready to actually create an APK, they then take that Unity project and export it as an Android Studio project, which unity creates. But it doesn't just copy all the gradle build logic, it generates its own
and it gives you a template file to modify the build.gradle file, but it doesn't give you templates for anything else
so the resulting Android Studio Project lacks a gradle wrapper version and the gradle.properties file is hard-coded
 
yikes
 
so now I have to write this callback in CS that Unity will call when it's finished exporting, so that I can open up those files (if they exist) and modify them to make that AS project actually build with the correct gradle configurations
 
holy shit
yikes
 
yeah it's a big mess
but unity lets the devs write game code once, and then export it to both platforms
without having to know much about either platform's native code
 
6:51 PM
@ColdFire Enen no Shoubatai, same creator as soul eater, Arifureta Shokugyou de Sekai Saikyou and Vinland Saga
 
still a mess tho carl
hmm already done 1st and 3rd
gonna check 2nd
 
well I imagine it works pretty well if you don't have to import a native SDK as part of your game
 
Kanata no Astra is good too
and Kimetsu no Yaiba
 
oh yaiba is gold
i even read the whole manga
 
anyway, time get some lunch
 
 
1 hour later…
8:23 PM
@ColdFire sure
 
nvm i fixed it
some strange bug
 
searchview on rotation loosing it's data.. any idea?
 
don't allow rotation
 
^
 
it is a must :9
 
8:33 PM
LOL
 
LOL
 
orientation=portrait
 
great answer
Level: -> Legend
 
@bluetoothfx you need to save and restore it using the android lifecycle methods
 
no
tell him you don't allow rotation
 
8:36 PM
Yes Sir...
 
or only allow diagonal, offset by 45 degrees rotation
 
Lolz
 
8:56 PM
you ever seen a language when it's a giant pain to load a file from a resource folder?
python
 
With path as f?
 
bro
it's ez
 
really, project -> [package1 -> resources_folder1 + code1] - [package2 -> resources_folder2 + code2] - ....
 
open(resource_path) as f: f.read()
 
bro, can't do that when you bundle your code
 
9:02 PM
bundle into what
 
as a zip or egg or whatever
so now, let me introduce you to importlib_resources
and we see some redundant structure on the project right? so why not create a function on a utils file "get_resource(resource_local_path)", guess what, it's not possible, because you need to have the package import to read those resources, and guess what? you can't pass a package object as a variable :D
things like that are what make me love java and its classloaders: getClassLoader().getResource("myresource_file").getFile()
(if there is an easy way, please share :D)
 
that sounds like more of an architectural problem my dood
 
can you elaborate?
 
tbh I'm not sure I understand your workflow 😅
 
Don't question his skills pls
 
9:13 PM
XD
I wish I had someone at work who would...
 
someone who would question your skills?
 
are you the only android dev Mehdi?
 
I've stopped doing android for ~2y now, I currently work as a data engineer
 
Wanna swap with me
 
9:16 PM
totally would :D
 
xD
 
@Ahmad so I have a project supposed to run as a sequential pipeline, each step being quite large and completely unrelated to the other => packages, now for me to test and run each step independently of the other I add resource files (yaml config files) under each package, so package1/script1.py would load package1/resource1.yaml, but I can't let myself code the resource loading over and over again on every script, otherwise shame on me... so I thought to have a utility method that does that
 
you should switch to an android gig then
 
We have an opening when can you come for interview
 
I'd need 2 months to brush up my android skills :D
 
9:20 PM
@MehdiB. then gtfo this is ANDROID chat broseph
jk <3
 
XD
 
mehdi i'm not in a state where I'll understand any of that lmao
i take it back
it sounds complicated
fuk em
them pythons
 
hahaha
 
it's called python because it's meant to slowly strangle you into submission
 
data engineering and ML is fun and interesting, but man... I need to be with seniors on the field, been unlucky on this regard since I started working 6y ago XD
 
9:23 PM
have you tried MachineLearningOverflow
 
I usually use this one stats.stackexchange.com
I will get the job done, but? is it how am I supposed to do it? I guess I'll never know :D
 
if it works and the costs (server and development) aren't prohibitively expensive then its how you're supposed to do it
you're building a product not a pretty code base, sometimes things get ugly, you try to prevent it but it happens
 
yeah but I have a hard time accepting that, I want to have my code and approaches roasted, otherwise I'll never improve :D
 
I'll roast your code anytime you ask
it sucks, do better
I've found the most improvement comes with solving challenges the old code presented
that's when you refactor
 
Do you have refactoring sprints?
 
9:32 PM
every sprint is a refactoring sprint
 
we don't really follow the sprint model
 
When do you ship features then? (Especially when you work alone)
 
but we get an MVP out and refactor for feature additions
I guess we call them milestones
it's built around the billing process
and if we need to refactor it's in the estimate
 
nice, how big is your team working on 1 project?
 
we built a somewhat rigid app recently to cut the budget by 40%, now it's becoming more expensive to not do the refactor so we're pushing the client to spend that money he tried to save so his feature additions aren't 2-3x the cost every time he does it
because now he has some funding
up to 5
big builds will be all hands on deck but often each guy has a handful of projects or areas they are experts at and they handle that
the seniors float to fill the gaps
hybrid skill sets are very valuable here
 
9:35 PM
how do the seniors operate?
 
it's basically me and another guy, we're team leads on any project that isn't straight forward or relatively small
otherwise we just consult with the jrs to keep them on track
whenever a deadline needs to be hit or something no one else can do, we pick up the slack or hit the learning curve and teach the other guys
 
do you review their code? or is it more like guidelines you set at the beginning?
 
We review pull requests after launch but we don't review during MVP builds
we QA once it's ready
 
what happens if the structure / architecture is messed up at that point after 2months of work?
 
we have architecture meetings on all of that before we let them loose
and we have boiler plate projects with structure in place
each project if we make an improvement to the generalized components we update the github library and bring it in on the next one
keep trying to build re-usable dependencies and incorporate them
 
9:39 PM
hmmm
 
trying to find a way to come up with a non disruptive setup that would include all that
 
for example we currently have a login/auth system with a user management dashboard for aws we can deploy for any project that uses AWS cognito
we can just bring that in on any web app and we have a login system for their deployment
 
sounds good
 
but yes there's been a few times where things go wrong and major refactors need to happen
but the time involved there is less than the overhead we save
 
I see the model, unfortunately since I'm new in the discipline I don't have much reusable assets and not much time to build ones generic enough to be used everywhere
 
9:41 PM
you'll get there
once you have a few projects you'll see something you can use in another that will save you time
 
🙏
 
so you rip it out and generalize
and make a repo just for that
like your package import issue, I bet once you figure that out it can be reusable
 
and now we're back to that utils.py I'm trying to build to include everywhere 😂
yeah, I'll do some thinking when I'm on vacation, otherwise this is not sustainable
 
lol
and thus the learning begins ;)
 
yeah :D
ah yeah, something I discovered in germany, knowledge transfer between companies, do you guys do that?
 
9:47 PM
not so much most contact with other developers are outsource agencies trying to get us to send them work
what does that look like?
I think ML is an area we don't have any expertise in so could be interesting if we had a project in that space. We sometimes bring in consultants
 
basically scheduling a session on which a company comes into your office and do a presentation about an architecture or a problem they solved, and then they open the debate and vice-versa
 
ah interesting
No mostly outside work stuff for that
maybe go to local meetup or something along those lines
 
yeah, we also do co-organized meetups, and then even externals are invited
I was actually agreeably surprised by the knowledge sharing mindset, I find it very cool
 
yeah that sounds cool
 
10:10 PM
indeed
 
10:37 PM
hey this is my hourly announcement that i love react
that's it
 
10:58 PM
lol nice Ahmad
 
11:24 PM
o/
 
o/
 
00:00 - 16:0016:00 - 00:00

« first day (3239 days earlier)      last day (1726 days later) »