« first day (2720 days earlier)      last day (2220 days later) » 

2:09 PM
I've been a mess for weeks, please post cat pictures. Stressed af. Kitties help. <3 you all.
 
owww
 
please no more
 
You're all amazing <3
 
2:14 PM
last one
 
<3
 
user443346
Pornhub gives premium accounts to citizens of a village called Rectum here in The Netherlands
 
I don't know what to do with this information.
 
I don't know whether or not to move this information to trash
 
2:28 PM
cringe
 
@AdamMc331 store it in "facts i should have never known"
 
looks like a dick move if you ask me
 
@Mark I require assistance
 
@TimCastelijns what's up?
 
2:30 PM
mp fucking chart
 
lmao
that lib
 
I checkout out my feature branch again to continue work, and suddenly AxisBase class cannot be resolved
 
Gradle issue?
How's your build.gradle setup to use MPChartLib
 
dunno bro I have cleaned/rebuilt/invalidated&restarted
 
2:31 PM
that mpchart lib is huge. can you not copy the files that you need into your project?
 
never touched the gradle files
 
Hello, Android!
 
@TimCastelijns Ah, the Android Developer's Seance
 
CA \o
 
How are you, Tim
 
2:35 PM
baffled
probably forgot some tiny dumb thing
because it works in another module
 
I'm really upset with AS 3.1 right now
Why the fuck when I hit "debug" does it not build a new APK for me and just run what was cached?
 
repost
 
lol
 
No u
 
the neumünster prison post office had to hire an extra worker
 
2:38 PM
yesterday, by Raghunandan
@WarrenFaith https://stackoverflow.com/questions/49505929/android-studio-3-1-gradle-unexpecte‌​d-behaviour. Does this help?
 
Thank you
 
that question has more views and vote all in a single day. google should definitely put a doc on the issue on their official release site
 
this stuff happens everytime they release a "stable" something
 
I just don't get how that happens on a "stable" something.
 
because the last time google cared about product release instagram didn't exist
 
2:41 PM
@CptEric @Ahmad Thanks for calling out the hoodie omg I love it
 
:D
you should get me a namecheap hoodie because reasons.
 
haha I can't. :(
 
why not?
you probably own a whole truck of 'em
 
Hiya Tristan, Adam, CA!!!!!!! :D
 
2:44 PM
No I only have one. I also left it in Michigan I'm not sure I still have it I might have ditched it. :(
 
oh man
:(
 
@Mark the chart lib issue was indeed with gradle. My wizard senior already fixed it in develop last night, but so far I had only pulled in his commit that broke it. It was still working earlier due to cache
also what gradle versions are you guys using? 4.4 is giving many issues with AS 3.1 but 4.6 is much better
 
4.5 should be used right. latest is 4.6
 
i think i'm still with gradle 2.X on many projects
 
what
why
 
2:55 PM
the release page says 4.4 and higher like 4.4+
 
why not
what does gradle > 2 mean to me, aside of instant headaches all the time?
i don't see the need to upgrade.
 
nice, do you use java 6 too?
 
apples to oranges, java versions provide substantive framework changes and features to the core programming language
gradle is a build system
 
they claim faster builds
 
i claim an unsubstantial increase does not justify all the problems their untested-with-AS newer versions imply.
then again i haven't upgraded to 3.1 nor will until stuff is fixed
 
3:03 PM
you can upgrade gradle to 4.1 with AS 3.0
 
i know. i chose not to on some projects where build times increased a lot due to internal gradle stuff, i presume.
so i rolled back to 2x or 3x or wathever they had and lived a happy life without instant run and longer waiting times.
time2go home
 
Yoo this looks bad ass
Powerful but hard to use - that’s how the text styling Spans API feels. Android KTX adds extension functions for some of the most common spans and makes the API easier to use Android KTX: https://github.com/android/android-ktx/blob/master/src/main/java/androidx/core/text/SpannableStringBuilder.kt #31DaysOfKotlin
 
now that's neat
 
a bit hard to read
kotlin magic
 
If you click on it, you can enlarge the picture.
 
3:07 PM
thanks for the tip
 
i like the sealed class and coroutines in kotlin no more callback hell proandroiddev.com/…
 
cool indeed, I have used sealed class last week myself
however I think the view in his example is not dumb enough
the when() should be in presenter ideally
 
i agree.
 
3:23 PM
@TimCastelijns I've been having weird issues on Gradle lately not recognising classes like Firebase and React stuff which I know are there
 
Flutter no there :(
 
3:43 PM
i heard about flutter from you only just downloaded and set up everything just to try a hello world.
 
Yeah it's pretty neat, I'm trying to do a bit each night
 
o/
 
4:00 PM
Time to go~~
Cya later people!!! :D
 
bye wompers :(
 
o/
 
My friend is currently stalking my old messages here
Say hi to Angus everyone
 
go away stalker Angus
 
lmfao
 
4:14 PM
Does Angus even have enough rep to be here
 
Angus sounds like a steak no one wants to eat
 
@TimCastelijns Pearl Jam is one of the best remaining grunge bands alive and everyone should know about them if not love them.
 
don't hang us cuz you angus
 
Angus doesn't even have a SO account lmfao
 
I would hope not, cattle shouldn't be coding
 
4:24 PM
it's 2018 dave, we don't use the c word anymore
 
Right
> I would hope not, cattle shouldn't be programming
FTFY
 
he was talking about cattle, the P.C. term is organic protein sacks
aka meat bags
 
"bovine should not be engaging in software engineering"
4
 
most of the modern programming isn't really programming, just gluing libraries together
 
Crushing dreams is my job Sarge
 
4:30 PM
@CarlAnderson yes.. thanks
 
@SargeBorsch most of modern construction, isn't really construction, just assembling re-usable parts
 
it can take some serious engineering to glue libraries together and have them function correctly in a lot of cases
 
someone help me settle this
is it kosher to represent an integer in json as null?
 
no
 
eww
don't include the field
 
4:39 PM
thank you
im trying to find documentation to prove this
 
let the client figure out the value if it's missing
 
look at the JVM
as a primitive, ints default to 0
 
we have an integer id value and the backend guys want to send null over to us when they dont have one
from a java perspective that 100% right
 
just don't include the key
 
4:40 PM
but im talking about json which is client language agnostic
i dont like that tbh
 
yep, just don't send it then
 
i prefer sending a full payload
 
by sending null you'll break any reasonable parseInt code
 
that's what null means, it's not there
 
and having a null/0 value
dave right
 
4:40 PM
it is a full payload
 
but this guy is a cunt and wont care if it makes no sense clientside
 
it's standard practice to omit JSON keys for values that aren't present
 
which is why im looking for like a json doc which explains this
 
use your people skills to persuade him JMR
 
thats not how our api is structured, it returns every key and just has null where values are missing
 
4:41 PM
JSON doesn't really have data types but "null" is a string and not an int
 
which honestly im not against
well "null" and null are 2 different things
our backend team is so error-prone i prefer having every field in the response so i know for a fact its in fact null rather than they forgot to include it in the payload
 
I see
well then you'll need to null check every value instead of just a key existing
there isn't really a way for an int to be present and null without null
 
we've been converting it to 0 to not break on the clientside and not require dumb null checks on everything
i know null != 0 but it just makes things a lot easier
 
you mean like json.org ?
 
that doesnt have an explicit preferred behavior for representing non-existent ints
 
4:48 PM
I'm a bit confused, the backend team wants to send null, which is totally reasonable for JSON. but you're saying you want them to send a full payload, like null. so where's the disagreement?
 
not exactly
traditionally theyve been sending 0 in place of null for an empty value for this int
we just know that a value of 0 for this specific int will never exist, meaning its equivalent to "there is no value"
this dates back to a long time ago
without some fuckery the json parser we use gets mad when it sees null for an int value so it save us some code to keep it that way
just trying to figure out what the expected behavior is
 
isn't not sending the field pretty much the same as setting the value to null?
 
9 mins ago, by JMRboosties
our backend team is so error-prone i prefer having every field in the response so i know for a fact its in fact null rather than they forgot to include it in the payload
 
yea, but like i was saying above its the pattern of the api to send the full payload with just null values for missing fields
that wasnt my initial decision but im not opposed to it for that reason dave posted
if i was starting all over again im not sure what id do
 
I prefer to not omit keys for the reason you said earlier
 
4:57 PM
unless there's a compelling reason to actually have to pay the technical debt of the client expecting 0 instead of null, leave it as it is
imo
 
yea versioning APIs is a PITA :/
 
Wrote my first bash script in years
Finally got React Native component working without running the npm local server \o/
Step closer to having a release candidate
 
while(true){if(mole.height > ground.height){bash();}}
 
im requesting they keep it 0 for now
we are trying to release in a week and i dont have time to run through all our parsers and do null checks on ints
cause like i said historically the api has treated ints the way java would, as a primitive
if we want to go through and change this in the next api version thats fine i guess i just need more time to make sure shit doesnt break
i killed all of my fb sessions
and ever since theyve been emailing me every day saying "LOOK LOOK LOOK WHAT THIS PERSON DID"
its weird because all i did was explicitly log out, i never actually used it
 
5:45 PM
lmao @AdamMc331 your mom's johnny appleseed comment is gold
 
posted on March 28, 2018 by Android Developers

Posted by Hoi Lam, Lead Developer Advocate, Wear OS by Google Today we launched the Wear OS by Google developer preview and brought Android P platform features to wearables. The developer preview includes updated system images on the official Android Emulator and a downloadable system image for the Huawei Watch 2 Bluetooth or Huawei Watch 2 Classic Bluetooth. This initial release is inte

 
6:04 PM
I would see bad things happen to this Q stackoverflow.com/questions/49541127/…
 
it's a simple question Tim
Which parameters to use in onCreateView() ? Android studio
It's funny because the answer is in the title
 
6:32 PM
Back~~~:D
 
✧・゚: ✧・゚:  welcome back  :・゚✧:・゚✧
 
o/
 
so cute
 
HIYA CARL!!!! :D
 
6:42 PM
welcome back purple one
 
Thanks Cookie Sage
 
lol cookie sage, the creator of cookie monster
 
back
 
@AdamMc331 repost
 
6:57 PM
lol I've been told
 
Little Adam Appleseed overhere
spreading his seeds through new york
idk why I find that so funny
 
lmao
 
lmao
 
gathering intel at OkC to further his cause
 
hello Adam
 
7:01 PM
hello
 
o/
 
Don’t like the Notch?… No problemo #HuaweiP20Pro #HuaweiP20
 
too bad hiding the notch makes the photo of the screen look crappy
 
7:16 PM
lmao
 
i want to know who the fuck came up with this notch invention?
i mean like seriously this is new invention :/
a fucking notch
 
notches have been around since man discovered a pointy rock and a stick
2
it's just a cheap gimmick to have a few millimeters of claimable screen space on your specs even though it's unusable
 
exactly its just a cheap gimmick
 
7:33 PM
At least Android user's have the option of customization, unlike iOS.
 
true
 
8:09 PM
High level question: If you had a method called mapAlbumResponse() and it had a number of different outcomes like success/no albums/some other error, would you make that three different unit test, or all of those scenarios in one single unit test called testMapAlbumResponse?
 
what do other unit tests in the project do?
 
What do you mean?
> implying we have enough unit tests for me to judge
jk I'll go check
Found another file where they have a unit test for each scenario and not just each method
 
doing what the guy before you did, is a great way to propogate errors while avoiding personal blame
4
 
@AdamMc331 My preference is that each test should test exactly one thing. Ideally this means that each test has a single assert.
 
Yeah I'm gonna do it that way
thanks
 
8:15 PM
yeah
 
Also FYI for the new Kotlin devs - there's a kotlin test package that has a cool method called assertFailsWith()
so instead of doing a try/catch for negative testing, you can do something like assertFailsWith(MyException::class) { breakShit() }
 
or if you use rx you can leverage TestSubscriber's assertError(class)
 
True true. And assertValue() for success.
but I'm also not testing rx in this particular class haha
 
tests are for weak programmers who are not confident in their code
 
8:25 PM
did you guys know that if you just repeat what the last guy did, it's a great way to propogate errors without taking the blame?
6
 
propagate
 
I know
it's part of the joke
 
I guess that was the joke
because that's also what got starred
correct?
ah okay you answered faster than I asked
 
mapAlbumResponse()... map to what?
 
it maps the Response<> from the retrofit to my state object. This is where I handle checking the response, empty album list, things like that.
@CarlAnderson I had no idea!
 
8:28 PM
you have code to review? show
 
nah I don't wanna be roasted right now
 
🔥🔥🔥🔥🔥
 
I agree with CA, however when I assertValue, I also assertNoErrors
 
the method name should probably reflect that then
 
Yeah that's why I'm gonna break them out into one method for each scenario
 
8:38 PM
you have albumResponse.map {} ?
 
no it's not like that. Although maybe I could have done it that way.
I'll give you guys a simplified gist but give me a minute to pull out some stuff that might be too much
 
Maybe throw your unit testing calls into an infinite loop and crashing the app if they fail at any time while the user is using it, so they get a consistent experience.
 
🔥🔥🔥🔥🔥🔥🔥
 
I know my unit tests are setup well, but if you know a better way to map/handle retrofit responses feel free. All of this is inside a class called FacebookResponseMapper
that class is what I'm testing
 
8:43 PM
Lint warning: Strings should be declared in strings.xml
 
They are
I just removed all the string fetching code for simplicity lmao
 
Lint warning: Dave
 
lmao
 
I looked at your gist but I'm not really clear on what the point of contention is here
 
looks pretty straight forward and I don't know enough not-java to nitpick
so good job, i guess
 
8:47 PM
Lint warning: error can be inlined
 
There is no point of contention lol but someone was asking how I'm mapping response to a state and there it is
If you refresh you can see an example unit test I guess but idk why I did this lmao I'm going back to work.
 
btw functions that start with return might as well be expression bodies
 
also, wow your code sucks
 
wow
Yeah I know Tim I might clean those up
 
much suck, very wow
 
8:51 PM
btw is all of this code in the same class?
 
all those mapping methods? yeah
 
that's a lot of responsibility for 1 class
 
It has one job - map FB responses to a state
 
8:56 PM
Dave, you need a ThrowableFactory
 
It's literally one responsibility lmao. I know it's more than I can handle on my own, but this is a computer, it should be able to have a single responsibility.
 
good point Carl, Didn't think about that
 
pings Dave's boss ya clearly this guy needs more work to do
 
I'm working on a paid scope and sometimes you need a break from editing a word document and making flow charts
 
ok be like that
 
8:59 PM
lmao
 

« first day (2720 days earlier)      last day (2220 days later) »