« first day (2046 days earlier)      last day (2902 days later) » 
00:00 - 18:0018:00 - 00:00

12:39 AM
o/
 
play.google.com/store/apps/… simple first app published. screen as light. swipe to change brightness
 
 
2 hours later…
2:14 AM
 
 
1 hour later…
3:41 AM
@TristanWiley oh wow. didn't know about that!
thanks mate
 
4:32 AM
Yo o/
 
 
1 hour later…
5:50 AM
Morning
 
6:12 AM
ø/
 
ANy one have idea about Open Street Map? need to add marker click listener..
 
hmm nope sorry. tried it but what i needed was a car nav sdk so i ditched it :(
backaton idea : parse a whole youtube video and turn it into a readable text document. i'm bored of people doing damn "videotutorials".
 
6:29 AM
\o Everyone~~
 
7:25 AM
\o
 
I should have stayed at home...
 
what happened ?
btw I feel the same
 
looking at a 1k LoC fragment... implemented 5 interfaces, stores states managed in other entities... unbelievable spaghetti code...
 
well, at least you don't have to deal with static methods
static for the sake of "fastness"
 
well, not in the fragment, but it seems static is a magic word here as well
 
7:29 AM
I have view's subclass
with a lot of nested layout
and to change the size guess what they did
cast to layoutparams. Everytime I want to change one of the children is a fucking nigthmare
 
lel.
 
well, every 5th Indian is a human? Ehm, I mean every 5th human is an Indian :D So how are the odds? :D
 
lol warren. XD
the odds are TLN will some day be a CEO then.
 
OH GOD HELP US!
 
hope he doesn't forget his Official partner morning lolz provider.
 
7:35 AM
pastebin.com/Z1Nzcx4a thats a nice gem from a "DialogWrapper" I just found
 
LOL
 
every 5th Indian is a human Somewhere in space "Dang! They've found out! We have to leave Earth!! D:" x'D
 
@Ahmad Indeed true
You should not underestimate :P
 
@WarrenFaith uh... isn't there a method for that already?
isShowing or similar?
 
jepp, but who cares...
 
7:40 AM
ahm.
is that in your code?
 
yes, that is part of a big feature where I have to implement new stuff
 
@W0MP3R #Stellaris
 
we had an architecture introduction by the coder who implemented the feature the past two years... one word to summarize it: SPIDERWEB!
 
looking at that spaguetti code... it's more like "Yakisoba code". with human-height lengthed methods :/
omg
it's christmas or something
got a word file with like 7 or 8 new API calls to implement
^_^
 
8:02 AM
somehow, my colleague managed to get fastboot working on my bricked nexus 10... after a month I got it running again!
time to pay the price: a box of beer
but I am just happy :P
 
lol
 
I really thought I had hard bricked my nexus 10
I somehow managed to delete the OS and I failed to get it recognized via fastboot
tried 2 weeks to get it running somehow
 
nice
 
@RonakMehta no.
there are literally billions of indians
just because 3 of them are CEO of big companies doesn't say anything
why are people even obsessed with being proud of being the same nationality as someone else?!
most ridiculous thing ever
 
Morning
Hey Eric! I was in your country!
 
8:10 AM
nice graeme
where? parent's home in murcia? <3
 
Yes! My dad had a chest infection so ended up looking after him than actually holidaying.
 
daaamn
there's a lot of colds, flu and chest infections lately
7/8 in the office are sneezing right now.
 
hope your dad will get well soon!
it is a fucking nightmare.... the "EmptyViewContainer" is actually showing a "loading content" message...
 
yeah
 
8:23 AM
I could fucking kill the developer!
 
refactor -> rename -> "NotThatEmptyViewContainer"
or "AlmostEmpty
 
rm -rf feature would be the only solution
 
I found a getter that instantiate objects
getOrInstantiate
 
that is nothing!
getItem() { return items.isEmpty() ? null : items.remove(0) }
should I say more?!
 
<3
 
8:26 AM
??
 
a getter with side effects...
 
just... why?
 
in the middle of the 5k lines of code if I found a private boolean workaround
 
also never liked these kind of sentences "return items.isEmpty() ? null : potato"
 
that's called ternary operatore no sentece
 
8:27 AM
if a junior ever has to mantain this, they'll break apart their brain.
not usually explained.
sentence : line. for me
 
they shouldn't have been hired in the first place
 
lol BB
 
0
Q: How to fill entire code with breakpoints

nolanicI'm currently working on a project which was made by some guy who worked here before me. Only God and that guy knew what is written there. Now only God knows. I need to find the part of the code which is executed when I do a button press. Is there a way to fastly fill the whole project with brea...

 
oh man.
 
@Blackbelt I hear you and raise you this: boolean needsTrick = newIndex == mItems.size();
 
8:37 AM
needsTrick has its own charm, I must admit
 
-__-
you have really weird code in your companies.
 
only code from the best!
Though not as superior as Telkitties code, we couldn't afford such a talented programmer but the best we can pay
 
oh that's mean
 
only the best for the troll
 
indeed
 
8:41 AM
i now fell less bad at the weird things i did when i started
 
those are experienced programmers... I mean the code I just shared was from someone who was once a compile developer back in the 90th or so
 
[ activity[ fragment with tab bar, login, buttons [fragment] | [fragment] ] ] <- 2nd android app i made GUI
 
probably good c/c++ developers but they suffer the switch to a high level language like java
I made apps before fragments were released :D
 
i started working as android dev with 2.2
 
1.5
 
8:44 AM
woah
 
1.6
 
you veterans :P
i recently moved that old app from AppCompatSherlock to v4 fragments
 
wow
 
easier than i thought at first sight.
 
@Ahmad You may find exception everywhere. American may proud of bill gates or steve jobs.
 
8:54 AM
no
not because they are american
never heard that
ever
fucking stupid asians being proud of their nationality for the wrong reasons
have the same in my family
 
As I said , you may find exception :)
 
yeah, so? fucking stupid to be like that
 
how is the turkeyTrip goin'?
würk/Hackaton/vacations?
 
top
the hackathon is not that good tho lol
sleep deprived rn
 
I will never understand why someone can be proud to be born in a place. Nobody had any influence on his nationality.
5
 
8:56 AM
damn
 
I proud to be an indian not because of Nandela , Sundar Pichai , indra nooyi or bachchan
They are not paying me for anything.
I don't really care
 
depends a lot on the culture of the zone warren.
 
true, my culture is simple: I was born here, thats it, no reason to be proud of it
I can be proud of things I achieved. Things I fought for.
 
F.E : when generations been opressed just because they were born there, it makes a cultural bond :/
 
Well, that is fighting racism but why should I be proud to be part of an oppressed culture? I might be proud that I fight racism against my culture or that I even succeeded against it but just "being part of it" makes no sense to me
Look to all the femnazis and other "oppressed" living creatures. They are even kind of celebrating to be special because they are oppressed
 
9:00 AM
as i said, it's a cultural thing. what you are is what you are teached and where you are from, and all of that is what makes you a person. some regions don't have culturally that "pack feel".
 
anyway, need to go to a meeting, till later
 
omg
internet is so bad in my new office
haha ^ that message took 10 seconds to post
 
Warren - Agree.
:30704611
I can be proud of things I achieved. Things I fought for.
 
there are some "national" feelings that are risen from cohertion to protect other people like you , your language or your culture ( scotland, ireland, basque country, catalonia... ) and then there are ones risen from self proudness and "blood heritage", "we A are better than B because we were born on A"! , wich is basically the main pillar of fascism most of the time.
atleast from my POV.
 
There is nothing special.
 
9:08 AM
Unfortunately, nationalism is actually very effective (in terms of control, social cohesiveness, social responsibility). But it does tend to go hand in hand with xenophobia.
 
sometimes, aye. that's why i point out that as long as it's not a "we're better than the others" feeling it's okay. as soon as racism/xenophobia is part of the game, it's bad and should be erradicated.
mabe we're just weird people :/ an heterogeneous left /extreme left nationalism may not be the norm in the rest of europe.
 
10:18 AM
Name check - What do you call a set of TestCases? Is it a TestSuite? What do you call each test in a TestCase?
 
TestSuite would be a collection of tests for a feature (imho). TestCase is for a Use Case, so it can contain multiple tests to cover a use case
 
a) TestCasePack | TestCaseGroup ? b) SingleTest ? test ? CaseTest?
 
So, TestSuit contains TestCases which contain Tests?
 
I would say so
My hands feel so dirty... I mean the code I travel through makes me want to shower again...
 
10:41 AM
you should go to the gym
before work
it will help you relaxing
 
who has time to gym before work? O_o
 
Urgh - We had a major melt down in April because we hit a app limit of 10 and we needed more. It took just under a week to get our increase to 2000 app request accepted. But we hit a limit at 25 :/
I'm not sure someone at google is very good at comparing numbers...
 
there's an app limit?
 
I didn't know that
 
Yeah, on the cloud platform (for GCM messages) there is a limit which you need to request to increase
 
10:56 AM
oh. didn't knew that.
 
for fucking sake... lets create a singleton.... we need a context? No problem, just pass one in getInstance()... could be an activity? Who the fuck cares....
 
Warren, You okay hun?
 
I am so close to go on a rampage... (start a rampage?)
 
Sounds like you need someone to come give you a blanket, lead you into a dark quiet room and give you a hot drink and a hug.
 
this "architecture" here is nuts, totally nuts. A fucking nightmare of mixed responsibilities...
there is a connection pool who has some connections, if a requested connection is put into the pool or not is done inside the fragment... WHY?!
no annotations to indicate if something can be null or not
javadoc? Never seen one
there is even a ping loop to send a ping to all connections... nothing else. No check if the connection is alive or not
the result is not checked... an inside the sendNoOp() method which sends the ping a possible exception is just swallowed...
If someone asks me: Throw away this 2 years in development feature and start from scratch with an actual architecture
 
11:10 AM
@WarrenFaith woppps. i should really do that. i'm not really used to annotations.
 
every developer who reads and uses your code will thank you!
 
public void handleUncaughtException(Thread thread, Throwable e) {
e.printStackTrace(); // not all Android versions will print the stack trace automatically
//Log.e("DEBUG", "I JUST CRASHED"); }
oh man. i remember when i added this to see what the hell was going on on that crappy potato samsung.
#ReviewingAppToReleaseIt
 
I'm a firm believer that you shouldn't need documentation in your code, you should use descriptive method names.
 
i know it's bad but the possibility of an OOM crash was not yet in the table. now that method is inside a comment and i pretty much save the app's ass everytime an OOM is approaching with better® ways.
 
@Graeme I totally agree, but if you see a flag called "mUseItemMenus" which is passed to the holder and is called there "showView" you are going nuts
 
11:19 AM
ugh
 
or the EmptyViewContainer which is actually just a loading screen...
 
that is pretty messed up
"why is this RV not working?" oh, because ' //item.save(); ' , that's why.
shame on the 2 hours ago me that went to the coffee machine and didn't finish the parser.
 
Yeah - it's totally easy to mess up an app so only you know what's happening. I ended up 90% rewriting the entire app here because it was just bonkers.
Plus, Dagger. shudder
The worst worst worst bit about having to go through someone elses crap code is, by the time you've almost finished refactoring it into "sane" you start understanding some of the stupid design decisions and can't tell whether you've become less sane or if there were elements of sanity in the design all along.
 
11:41 AM
It's usually a really bad idea to rewrite software without understanding why it was written the way it was first.
 
sometimes you don't get to choose.
i've had to fix custom views used as dialogs and fragments.
#mess
 
But I guess you knew why they did that, right? :P
 
uhmm..
50/50? the phone call please?
 
Incompetency is a perfectly legit answer to that :D
 
:P
i think the answer is : app built on android 2.00/2.1 trying to emulate IOS.
 
11:44 AM
See you knew! xD
But I wouldn't consider cutting crap out a rewrite. Simplification is good though
 
i knew the concept. but those 20 or 50 classes used solely to create and build the UI? well i just debugged until i found out the failure and expected my fixes to work. somewhere.somehow.
 
11:58 AM
If you were in a situation when you had code that made sense, you wouldn't need to replace it ;)
 
#UnlessGoogleChangedEverythingAgain
 
12:16 PM
o/
 
CptEric, I do the gym before going to work
 
Good on you BB
Although now I'm kind of interested what you look like.
Now that it's summer we're thinking of getting a dog - and having me walk it in the morning and Carlos walk it at night
 
what kind of dog ?
 
@Blackbelt I also had a colleague who did that, he was in the gym at 6am, though.
 
We're looking at rescue dogs. I want to get a huge one :) Like a Leonberger
 
12:20 PM
I am there around 7
nice
I would like a labrador
 
Hi, has any one uses ALPN jar to work with okhttp and http2 protocol ?
 
@Cpt around ?
 
12:49 PM
 
Now i di
Do
 
1:04 PM
Lunch time~~ x3
 
if (true) { return true; } else { return false; }
 
am I the only one who sees a dog/wolf face on the side of the kitten?
 
Side face of wolf :)
 
@Manifest Welcome. Please read the room rules room-15.github.io
 
1:20 PM
I have read and understood the rules
 
Thanks, Manifest!
 
Yeah, that's a weird kitten
 
1:54 PM
back~~ :3
 
2:10 PM
W0MP3R - When I say your name in my head it does it in the way the say "Bonkers" in the song.
 
what song?? :O
 
Bonkers
After the "E - E - E - E - E" bit.
 
2:29 PM
hahahah
 
I can't understand why I get random dependency issues when doing Android dev
Trying to use greaterThan in my unit tests, get bloody 'Unresolved reference: Matchers' even though it's been imported fine
 
2:46 PM
String colour = Integer.parseInt(int);
 
wut
 
pure poetry
 
haha, I was just having trouble loading it
 
Github lives once again
 
How is there no Kotlin room here D:
lol its frozen
 
3:23 PM
:O
 
there's a kotlin slack
it's pretty active
 
time to sit around and try not to fall asleep while gradle builds
 
OMFG
@Graeme , want to win some cash as taxi driver on july? XD
 
3:43 PM
in* july :)
 
3:56 PM
Hey guys!
I miss android, javascript makes my head hurt
 
4:14 PM
awe javascript
 
miva2, me too. T_T
Cpt, still here ?
 
yes
@TheLittleNaruto yes
 
I need to show a loader
and this plugin is not working at all: ngcordova.com/docs/plugins/progressIndicator
 
4:20 PM
\o
 
Cpt, this is the exact error, I am getting: stackoverflow.com/questions/27989732/…
 
o/
 
\oo
 
4:44 PM
o/
 
o/
 
5:07 PM
sorry TLN, n odiea
 
I was holding Hydrochloric acid and pretended to trip and yelled "Acid Trip"
 
5:29 PM
and this, folks, is how tristan got banned from chemistry IV.
Next week on "unboxing TrisCorp" : The DonkeyCode
 
so one of the clients here wants a type of dashboard layout for the navigation in their app instead of a sliding drawer.
should i implement it...
 
Safari Wins Award For Best Browser To Download Chrome With
 
yes
It's only for this specific client?
 
Hey cM
 
5:44 PM
do it
it's a dashboard. won't hurt.
XD
 
yeah, but it's an app that is customized for specific clients all sharing the same code
 
ah
 
oh
 
meh, i don't really always follow google's design guidelines.
 
5:46 PM
How mad do you think my school would be if I loaded Linux onto their computer...?
 
Use flavors to change how their main screen or whatever looks so you can still reuse the other code
 
yay.
 
Hey, Tristan
or tell them to piss off
 
I'm not a fan of the drawer
 
Alright... So here comes the hard part of developing the backend for my startup...
Payment processing...
So far I see Stripe and 2Checkout
 
5:50 PM
there's android pay
 
(not for Android)
I need to be able to accept credit cards online
 
oh
paypal?
 
Eh, I'd like something more official looking... Is there a Paypal API?
I don't want them to have to go to a outside service
 
yes there's a paypal api
 
I could have buy with Credit Card or Paypal
 
5:53 PM
you'd need paypal pro or something
 
paypal can be used for regular credit card purchases
 
I wonder what the fee rate is on that
 
dont forget your PCI compliance
 
5:55 PM
Yeah, I've noticed that mentioned a lot
 
looks like 2.9% + $0.30 per transaction
 
Part of me is feeling like "What the fuck am I getting myself into right now" haha
 
International Fees3.9% + fixed fee per transaction
 
Where'd you see that John?
 
under the PayPal Payments Pro
 
5:56 PM
Holy crap, every site I've looked at is the same rate hmm
Do you need PayPal Payments Pro? Or no
 
for the direct payments you'd need pro
 
Shit, not paypal then
We'll be dealing with schools and stuff so... hmm
So wait
Actually
For our first year up, the hosting site has this thing where startups can have free hosting or something... Hmm....
thinking out loud
 
00:00 - 18:0018:00 - 00:00

« first day (2046 days earlier)      last day (2902 days later) »