« first day (3314 days earlier)      last day (1649 days later) » 
00:00 - 18:0018:00 - 00:00

6:03 PM
ah, ok. Makes sense. Thanks for the advice
 
Back~~ :3
 
6:29 PM
wb womper
if your google skills are this poor BB I question your ability to function as a stack overflow copy and paster
 
hmm well I found this, so I can't be all bad
I didn't put the question into google lol I just tried to deduce it myself
AKA I didn't care enough to have a real answer
 
that's what a bad googler would say
 
Also that answer is wrong
From the link itself that you posted
> The z is a mistake. During production for the second Dragonball series, the name was Dragonball 2. However, someone made the 2 look like a z, so Akira Toriyama just went with Dragonball Z. This has been confirmed by the Dragonball staff.
 
x'D
 
6:37 PM
at least I don't spread fake news
typical american
 
so TL;DR it doesn't matter
 
ezcept now we know you can't google
 
here is a useful website to teach you bb lmgtfy.com
 
6:41 PM
thanks I'll check it out sometime
How's the weather over on that side of the planet
 
o/ Carl
they fixed sonic
 
is it on youtube
don't feel like whitelisting that newspaper
 
eLi
how possible is my app unpublished
 
6:44 PM
@DaveS nice man that sounds real nice
 
> We're sorry, the requested URL was not found on this server.
 
@DaveS UOOOO
I LOOKS WAY BETTER
 
user11867329
@DaveS You. Are old news.
 
eLi
is this a browser
 
6:47 PM
if you're the admin it will show you the preview page
if you go incognito and go to that URL does it still show it?
 
eLi
Am admin actually
 
THE TEETH!!
 
Hello, Android!
 
THEY FIXED THE TEETH
 
hi C-A
 
eLi
6:48 PM
In incognito i can't see it real
 
HIYA WOMPERSSS!!!!! :D
 
among everything else
HIYA CARL!!!!!!! :D
oh shooooooooosadfkñ
i forgot to upload stuff to github
 
shooooooooosadfkñ ?
 
>.<
 
@OakDev you'll never be old with that attitude
 
6:48 PM
shoot
poop
 
is that how they say shoot in Catalonian?
shooooooooosadfkñ! shooooooooosadfkñ! 🔫🔫🔫
 
no, they say "Dispara"
like in spanish xD
 
I prefer shooooooooosadfkñ :D
 
yeah the new sonic looks waaay better
 
hahahah
 
6:50 PM
@CarlAnderson Hello, Mr. Anderson
 
Hiya CA!!!!!! :D
 
heya, womper
isn't it a bit late for you to be on?
 
i'm at home~~
sometimes I come in :3
 
glad to see you ;-)
Our schedules don't usually match up...and I haven't been in Room 15 much lately
 
:(
 
6:52 PM
I don't do much android lately. I'm a Python programmer.
 
sometimes she even pushes her code to github!
 
and my most recent attempt to work on my Android app gave me some compiler errors that I haven't solved yet.
 
yeah! - Carl
nooooo
compiler errors noooo >.<
 
yah, I'm getting Undefined symbol errors on R.id.toolbar when I clearly define toolbar in an XML file ;-(
 
6:55 PM
@ballBreaker need a negative star option
 
lmao
right?
It was so bad I had to share
It's almost comedy heaven
programming memes are so painful, I suggest you all google it
That's my last one, gotta eject out of this
 
jesus
 
official report on github actions: garbage
 
7:15 PM
yeah I've heard it's incomplete
 
yeah i had really high hopes
but this is second time this week our pipelines stuck on pending
manual stop/start doesn't work either
 
7:55 PM
I has a principles question for you guys
or design maybe? idk
When you "overload" a method do you ever change the name so it's less confusing, or just assume the next developer will be smart enough to understand
obviously changing the name isn't truly overloading so hence the quotes
 
It is actually easier to understand when you don't change the name
 
hmm yeah I can see that
Right now I have a
setList (ArrayList<String>)
setList (String)
the String one has some regex to split up a comma delimited string
 
if its doing the same thing leave the name
 
That makes sense, would make the most sense to me looking at it later, just never know with some people
sometimes I try to code for the lowest denominator later but that's probably not the best approach
 
idk tbh lol wtf
 
8:01 PM
?
is wtf because I assume everyone else is retarded
 
hahaha
 
edit ~ original was idk tbh :D
im like 90% braindead
doing some flutter stuff, and jesus its complicated
 
hehe
I know those days
 
@AnQuocDuyNguyen Welcome. Please start by reading the room rules room-15.github.io
@Leace Same as above
@AnQuocDuyNguyen removed access for leaving without talking
damn it
that's what I get for experimenting
 
8:15 PM
i need to work on my ms office skills, I had to ask 2 coworkers today about powerpoint... and the UI of my slides is nowhere near the smoothness of the other presentations :D
 
I use Powerpoint for all my diagrams. I'm a bad person.
 
I couldn't tell you the last time I used PP
3
wait, yes I can...it was last year. It was actually cool. The intro slide had a tiger. And it transitioned to fading in on the tiger's face. And I added an audio clip as it got close of me saying "ROAR". My teammates took out the audio. I was disappointed
 
hahaha
 
See, Mehdi gets me
It was getting presented to company executives but still...let's have a little fun, people
 
some people just like boring slides cM, can't expect everyone to appreciate art
 
8:21 PM
I guess you're right
It had me and a coworker dying of laughter every time we watched it though :D
 
@codeMagic sounds a little far fetched
 
no, it was really funny
 
if you and your co-worker died of laughter how are you still here?
 
I might still have it if you want to laugh as well
reencarnation, duh
 
@codeMagic huehue
 
8:25 PM
you should sell a bootleg powerpoint that's entirely upside down and call it bb
 
I tossed a few microsoft paint drawings into my last powerpoint slide
people thought they were funny
dang, can't find any of them
 
oh man
I love that
10/10
saving to my computer for future pp presentation
 
lol
 
user11867329
R&M anyone?
 
user11867329
8:37 PM
Phoenix Reroutes?
 
@ballBreaker 2 things? What does huehue translate to in English from Canadian. And...why do two people think me not remembering the last time I used PP was starry? lol
 
user11867329
cM, I never said huehuehue in my entire life, aside for messing with my high school teacher, Mr. Hu
 
@codeMagic It's supposed to be a cheekier version of "hehe" mostly used when something can be interpreted as an innuendo
 
user11867329
I'm quite surprised other people use(d) it
 
user11867329
I thought I was the only fool who found it tasted good "in-mouth"
 
8:43 PM
At least that's how I've seen it, I've also seen trolls use it but not exaccctly sure about that one
 
Canadians use HueHue to distinguish from eh eh eh
 
(h)eheheh
 
as the context and variation of the letters e and h are integral to the Canadian dialogue
 
hue
 
user11867329
@DaveS You trippin', that's mostly french "terminaisons" and the "h" is actually a sound in English, as opposed to French.
 
8:50 PM
@Leace removed your access since I haven't heard from you
feel free to request again if you wish
 
@OakDev eh, what are you talking aboot. Canadians don't speak french they speak Canadian. You use common Canadian words every day and don't even know it. Words like: Eh, Aboot, Sorry, Moose and Beaver
 
user11867329
@DaveS Ah yes, me being the french-canadian that learned his English with South Park.
 
user11867329
Says aboot
 
user11867329
ofc
 
that's aboot right dontcha know
 
user11867329
8:56 PM
dgyieh
 
user11867329
I do sorry a whole bunch though
 
I accept your apology
 
user11867329
Fair
 
@OakDev you're Quebexican?
 
user11867329
@ballBreaker Ben oui, le Louis CK du Gala JPR
 
user11867329
9:02 PM
Quebekistan
 
I have no idea how that correlates to what I said
 
makes you want to build a wall doesn't it?
 
yeah let's wall-off Quebec
restrict imports and exports, it can be like the next north korea
 
user11867329
@DaveS Talking about south park and walls, you remember the episode where Canada builds a wall and just deny US entry?
 
user11867329
@ballBreaker Sure thing, I'll just come on your side, wtf.
 
9:11 PM
@codeMagic Just saw this now! Hmm guess I won't be watching it then, between this comment and the guy that said season 2 was a steaming pile of garbage hehe
If you haven't seen "Better Call Saul" it's been really good
 
user11867329
El Camino
 
@OakDev Damn Quebexicans stealin er jerbs
rabble rabble!
I'm actually perfectly fine with french canadians btw - I'm just kidding lol
 
user11867329
I don't know how I feel about a meal when I'm hungry.

Not judging your judgment, mr internet guy.
 
man I have no idea what you're saying about half of the time
 
hahahaha
 
9:18 PM
Is that some idiom ?
 
@ballBreaker I'm probably still going to watch a little more just because I'm a few episodes in. But, yeah, I wouldn't highly recommend it
What's saul about?
 
Give me an update when you're finished!
Did you ever see Breaking Bad? He's a character on that show, that ended up getting a "prequel" when breaking bad ended
It's basically about him struggling to become a lawyer while having a past where we was a con artist
 
will do
ah, no because everyone said it was good and I was already watching too many different shows at the time so didn't want to add another
 
ahh well that makes sense, I've definitely been in that boat
 
user11867329
I'm either cryptic or I dropped my marbles.
 
9:26 PM
I've pretty much been watching all of the good crime dramas for the past 20 years along with following sports and some comedy shows
So yeah it's been a bit much and have worked on breaking some of those addictions
 
@OakDev did you watch that episode of key and peel about marbles?
 
9:43 PM
I'd watch this movie
 
user11867329
@MehdiB. Not a huge fan of K&P
 
@Ahmad you should give this a read stratechery.com/2019/the-google-squeeze
 
already read it :)
super interesting and 100% agree
 
@Ahmad this is brutal
 
(with google short squeezing us all)
I thought it was all in my head that I was seeing a lot more google ads but yeah all the top spots are just google results/ads now
can't compete with that
have y'all seen any dip in traffic lately? @trevor
 
9:58 PM
what the hell did I just watch
 
I think we all have, but as mentioned in the article we at least prepared for it :D
 
the channel is gold
yeah I think expedia dropped to its 52 week low today
should have bought bkng instead of expedia
 
this song is such a banger
 
o it is
 
ngl man I couldn't watch more than 5 seconds of that second one
haha
I feel like I would need to spend at least a few years more on reddit
 
10:04 PM
@Ahmad lol even though we beat our earnings they still tanked our stock a bit
 
yeah nobody knows how wall street works
we tanked 5% before earnings
and then shot up 17%
but like we just beat earnings by a small bit lol
 
I've a question on sorting an arraylist based on certain object (String)
if I've over 60 objects in an array and one of the Objects in the Array has a field Category - is there a smart way to sort this out?
bearing in mind that I am not fully aware of all the possible Categories
looping over the array might not be the best approach as it might be performance heavy + there might be more categories involved in which I'll have to update my loop
 
you should use a "Comparator" and implement your own comparison rule
and then Collections.sort(myList, myComparator)
 
never done this before, will give it a try right now. cheers
 
in the grand scheme of things, 60 items is almost equal to 0
 
10:17 PM
Yeah and if only one single object has a field it would be pretty quick to find
That being said, the comparator is probably the 'smartest' way to do it
 
afterwards, collections.sort is just a loop, that still runs at nlogn, it's just less messy :D
 
yeah, probably want to do this with least code as possible
make it future proof
 
honestly, don't bother optimizing code
just write it so that you will remember what it does in 6 months
 
let the interns do the optimizing
@Ahmad
 
honestly, don't bother optimizing writing code
 
10:20 PM
bro ahmad is no longer an intern
 
oh yikes so sorry
 
Yeah, don't optimize unless you have a reason to, like a performance issue
 
yeah have you not heard i'm a full time boi now
 
you're a real boy!
 
use guis and drag and drop editors for everything
full time intern!?! congrats!
it's been a long decade Ahmad
 
10:22 PM
Nah he joined the adults world, let's see how will that cynism develop from now on XD
 
That rarely happens :D
 
I bet it's 3 months until he's bitching about having to learn a new framework or change IDEs
"What's wrong Java and Eclipse for Android?"
 
"I learned all this in the past years and use none of it"
"what do you mean, deadlines?"
"another meeting, really?"
 
"evaluate my contribution to the business? i'm just a dev"
 
10:27 PM
bro i'm not even doing android
backend only now
 
"oh, everyone has it the same? even though i'm not doing android?" :D
 
"why do I have to use anything other than go?"
"what do you mean limited budget? I want to build it perfect!"
 
"why do I have to use this internal tool? I love to use open source stuff"
 
trying to perform a comparator but I am getting "Method references are not support at language 7" - assuming that I am using Java 7 in Android Studio
 
it's because Method references are not support at language 7
 
10:30 PM
"what do you mean I don't have 2 months holiday in the summer"
 
:(
 
"what do you mean I can't work while couch surfing? where is the neo work life balance?"
 
"At my last position no one cared when all I did was bring people coffee"
 
getting paid 12k a month to bring coffee sounds like the dream
 
"In my 6 years of experience, I have never been subjected to a code review, the AUDACITY"
 
10:32 PM
no one questions my code
i force push to master
 
kind of a side note, but while we're on the topic of Ahmad, I just saw this on facebook and I'm pretty sure it's an outfit he would wear
user image
2
 
@DaveS "did you see Bob's code? he didn't use a lambda lmao, what no one cares?"
 
where can I buy this
and i'm actually serious
 
I tried to find it again and it's a bit of a struggle
 
10:35 PM
not the original link I saw but there ya go
 
the hoodie is def nice shitposting material
 
I'm out for the evening, have a good one everyone!
 
no
how dare you assume the quality of my "one"
also o/
 
list.sort(Comparator.comparing(Object::getterMethodForVariable))
^ throwing - Method threw 'java.lang.ClassNotFoundException' exception.
updated my java to cater sorting using Methods
 
Collections.sort* not list
cya bb
 
10:43 PM
oh yes... list extends Collection
 
it's a static method, not a member method of one of these class
 
currently it's a member method - do I need to change this into a static method?
it's a simple class with getters and setters - I would've assumed that would've been enough to perform a alphabetical sort
 
i meant that the "sort" is a static method in the class Collections (notice the "s" at the end != Collection"
 
what would be the solution to this?
any idea?
 
calling Collections.sort
 
10:55 PM
I've a List<Object> variable on which I am calling this sort method on
how should I be doing this as you've described?
my List<Object> variable is static - don't think this would make any difference
 
How does the clock app in Android manage to change its icon reflecting the current time?
 
handler to trigger the method again and again?
 
no you call Collections.sort
 
gah! still soo much to learn
 
11:02 PM
<Class>.<method> is how you call a static method
so you have List myObj = new List<Object>();
then you call Collections.sort(myObj);
but be careful the normal list is immutable so you cannot sort it, you need to use a different class that inherits from list like ArrayList
 
ah man... still can't figure this out
well it's late, I am going to sleep - will try cracking this tomorrow, cheers for the help guys
 
@Nero indeed it doesn't matter. But it shouldn't be static
20
A: Is there any way to dynamically change an app icon like Calendar app does?

CommonsWareWhatever your home screen is has special hooks for whatever your calendar app is and whatever your alarm clock app is. In general, apps cannot update their icons. What do you mean by hooks? For example, Samsung can ship a Samsung calendar app on Samsung devices. Samsung's home screen on tho...

 
11:22 PM
anyone want to talk about strategies for saving data (to disk) ?
 
@CarlAnderson like in android or in general?
 
in Android
I was looking at this:
124
Q: How do I serialize an object and save it to a file in Android?

Ben LeshSay I have some simple class and once it's instantiated as an object I want to be able to serialize its contents to a file, and retrieve it by loading that file at some later time... I'm not sure where to start here, what do I need to do to serialize this object to a file? public class SimpleCla...

and that's great for very trivial objects
but if you change the signature of a class (add / remove a variable) then it will fail trying to read from disk, right?
 
@CarlAnderson yes this is true
 
yeah so that's not going to work for me
 
serialization adds a version uid to the serialized object in order to match the signature
 
11:34 PM
what about converting the object to JSON and then reading/writing the JSON string?
 
you can override writeObject and readOjbect (from serialisable) and create a custom serialisation/deserialisation
but im not sure if thats going to solve the signature problem
the other thing you can do
and i think it would be even faster
would be to stream JSON data directly into the file
il give you a gist
 
ugh actually im streaming the data into the file directly
but the data is comming as json already
 
that's fine
I know how to do that
 
11:41 PM
nods
 
this is the example that takes the OkHttpClient's Response body
and writes it to file
 
and then if your object changes,
you still end up hydrating the fields that didn't change
if a field is removed it's fine
and if it's added you need to provide a default somehow
 
right
im my app im getting really really large json files
so large chrome keeps crashing if i try to open them
 
so reading from the files
udpated gist
first part, and sorry for the formating
 
11:45 PM
it's fine
yeah I'm going to probably go with something similar to this
right now all of the values we care about are stuffed into a single Hashtable<String, Object> which then gets written to disk
I want to break that class apart
and have each area own its own cache and read/write from that
 
@CarlAnderson if you plan to serialize Hash*<String,Object> to json, you will have really really insane performance issues
 
no, I'm saying that's what it does right now
and I hate it
 
are you trying to cache the data from the api or some stuff generated by the app?
if its the api, you can create a OkHttpClient cache implementaion with Interceptor thats going to set appropriate cache headers
 
it's a mix of a dozen different things
some of it is from .json files store in /res/raw
some of it is from network responses that we ingested and operated on
some of it is values set programmatically by the QA team
it's all a bit of a clusterfuck
 
seems like it
 
11:53 PM
and I'm trying to fix that
but first I need a more robust Cache class that various features can start using instead
 
in that case writing json to a file is a way to go
 
also if you need real cache you can build on top of developer.android.com/reference/android/util/LruCache
 
Cache is maybe a misnomer
DiskCache is the name I was thinking
but yeah I've used both that LRU, and Jake Wharton's version
those are both overkill for this
 
what you want is basically a key value store not a cache :D
 
11:56 PM
or a POJOStore
 
also if youre using Rx you can try this
i've never used but it might be simple to implement
 
I'm not using Rx :-/
 
its never too late to introduce rx spec into the codebase :D
 
00:00 - 18:0018:00 - 00:00

« first day (3314 days earlier)      last day (1649 days later) »