« first day (2201 days earlier)      last day (2748 days later) » 

1:05 PM
That 5/7 is so good
 
I always had difficulties believing people could be that stupid
but reading new questions on SO made that a lot easier
 
> Internet, giving dumb people a platform since 1873!
 
@ColdFire It was a joke because of the pop musician Prince who eventually changed his name to "The artist formerly known as Prince"
And sorry, I didn't think you cared since it used to be your username
 
he went undercover for the enemy
 
1:16 PM
@codeMagic haha i was kidding
 
Ah, makes sense. And I just blew his cover putting him and his family in grave danger. Shame on me
 
too many pings and people irritating
that is why i changed my name
 
Lol! Got you
 
and besides this name is cool
well but i still get over 100 pings a day
so i guess it didnt help :|
 
That sucks
 
1:18 PM
Well, there are no people (still) alive who would dare to ping me so often
 
well you are in only android group
 
@w actually yeah I'm too scared
 
is anyone else having issues with developers.google.com/mobile/add ?
 
last time i checked i was in 15 rooms
 
not using em john
 
1:19 PM
^
 
You should focus on the important rooms. So room15 and nothing more
 
hehe warren
yeah CM too much that i cant code and work
 
i cant code - CF
:D
 
eh?
 
1:23 PM
just quoting you
 
Selective quoting. Well done!
 
^ that is what i wondered , warren
 
I can't believe I've spent a day on creating a TextWatcher that validates the input of an amount of money :(
 
why?
 
awww that sucks
 
1:25 PM
/stupid
 
isn't there already a input type for that?
 
Morning, folks
 
morning , flakes
 
Nah, validates between 0 and an upper limit
 
1:26 PM
oh.
 
Graeme, it's not about the result, it's about the journey!
 
Yeah, but my journey casts me as the village idiot -.-
 
and well for company:- Its about the result, not the journey!
 
Because I still can't figure it out
 
graeme , it happens
 
1:29 PM
Yeah
Least I'm progressing :P
 
True CF lol
 
@TimCastelijns amazing glam rock group.
 
At least you didn't waste two hours debugging a socket connection when really you just had your wifi disabled :s
3
 
well it happened to me once
 
1:30 PM
One of the better songs. Like of all time
 
once i was debugging via breakpoint
and the code wasnt getting called
i was like wtf
 
@flakes Awesome - Have done this. :)
 
haha graeme
 
I stopped remembering the stupid shit I've done while debugging. It was starting to take up too much space in my head
CF, was that the end of your story?
 
lol CM
 
1:33 PM
Seems like there should be more
 
yeah there is
 
End of story wasnt getting called
 
Do we get the rest tomorrow?
 
^
then i realized i had replaced the wrong fragment because i changed the fragment yesterday night only
so i was debugging the wrong fragment
 
Ah, I've done that but with Activities because...fragments
There's trevor
 
1:36 PM
well wasted my hours
i think i cursed google and AS 100 times in that duration already
lol CM
 
how dare you curse AS
 
i am cursing AS right now because it is eating up my storage too much
 
how dare you!
 
so many people have problems with fragments :I
i like em.
 
me too eric
 
1:38 PM
they're teeny eeny little bittle pieces of modular ui
 
all my apps have fragment
 
My app doesn't but I realized thats because I'm being dumb lol
 
well xcode doesnt have a auto method(function) creator , that sucks
generally people start from activity and when they realize how awesome fragment is they use fragment
apart from fragment issues
 
After reading about fragments I realize I'm doing a whole lot of work I didn't need to be doing.
 
OKAY
i need some logical help
i'm at a stop
i can't advance
 
1:43 PM
A != B
hope that helps
kthxbye
 
not that kind of help
lol
 
Unless A == B
In which case A == B and !(A != B)
 
only if XOR applies!
 
imagine you've got a cookie industry. each morning, you check current invoices and send them to the production team.
 
mampf keep talking
 
1:44 PM
mmmm
cookie
 
XD#
 
which build them on a schedule, and produce a cookie each X.
 
lol
 
every time you push the scheduling button, the production team gets all future schedules, may have them been already sent or not, as they just wipe off old orders, because they can only handle 399 cookie production invoices each time.
unless there's no pending scheduled invoices. then they get nothing. and everyone's happy.
 
1:46 PM
What is the "Scheduling" button?
 
something you press each time you want to, because you want to. you're to cookie industry boss.
 
You previously used "Invoice"
 
the button prints the invoices and calls a worker that collects them and sends them to production team
 
Ok, so, push a button, all possible invoices sent to production.
 
so where is the question?
 
1:47 PM
the industry's current problem is : what happens when there are 405 invoices?
 
Can you change the way the button works?
 
as it can only send 399 invoices, there will always be 6 pending, because it always sends all future invoices.
so it will always send back the first 399 ( until invoices are produced and cookies are delivered).
 
Alright?
Add a terminating invoice?
 
I don't get it, are the remaining 6 lost?
 
yes, but you/me/we can't modify the production team. only 399 invoices accepted, only 399 a time being produced.
 
1:49 PM
just tell the production team "hey guys, we need you to do more work in the same time. Thanks, management"
 
Therefore create a batch of 398 orders then another of 7 orders
 
no no
only 1 batch possible
 
Combine invoices?
 
lazy workers can't think in parallel.
 
1:50 PM
skip
next question please
 
Lol, Tim
 
Shh Tim, I want a cookie.
 
lol
 
problem is : if i track sent invoices, i will send first 399, then wipe off them, then send the remaining 6.
so the 399 (or 398,397, wathever orders were remaning) will be lost.
 
What can you change?
 
1:52 PM
^
 
Invoices, batches, cookies/batch
 
is this your way of asking us how to deal with some clunky design the backend team made?
 
... How do you strikethrough
 
i can modify the invoices, and the invoice sending flow. but the production team has a clear contract.
 
---text---
 
1:52 PM
Gotcha
Okay, so why not wait for the first batch to come back before starting a new batch?
 
cough china team bluetooth device only accepts 399 alarms and the client wants to be able to schedule alarms for over a year. cough
 
Have each alarm check if more alarms need to be sheduled?
 
can't modify device code
 
and device is in a closed system?
 
yup
 
1:54 PM
How often can you load the device?
 
@MaxBillionaire sorry, though you have a high name your reputation is still not good enough for us. Sorry
 
Then you're screwed :P
 
We missed an important birthday yesterday. Happy fifteenth birthday, iPod! nytimes.com/2001/10/24/business/…
2
 
basically what graeme said
 
If you have a closed system that only accepts 399 inputs and have no access to the system after an input, you can't have 400+ inputs :P
 
1:55 PM
o/ adam
 
"""important"""
 
@flakes there's a manual sync button, and then it syncs after each API or local modification
 
Respect your enemies, Tim.
 
manual sync reads the results
as the others
but those results contain only enough data to show a check or a cross on X date.
 
Tell them to use two devices? haha
 
1:57 PM
well
atleast i know that i'm not crazy
and that this sucks.
 
wow, been a lot of messages since I last posted :D
 
thank you all
hands cookies to everyone
 
YAY
I came back at the best time
 
YAYA
 
1:58 PM
KOLO
damn, high five
 
Woah
It's as if I read your thoughts
 
yeah mark that is a bit creepy man
 
what is kolo?
 
Obviously nobody else here is familiar with the YAYA / KOLO chant
 
lol Tim
 
1:59 PM
kolo is yaya's brother
 
ROFL i had no fucking clue about that
 
what is yaya
 
Yaya Toure
 
kolo's brother
 
correct
 
what is it?
 
iphone 8 gimick
 
iPhony?
 
wow
gimme
 
i want the o+4 to get out soon
 
2:08 PM
Looks lovely
 
Viva OP
 
Doesn't exactly scream "working mans phone" but still
 
@Ahmad o+4 first specs are impressive. 8gb ram, 23mp camera with sony DLSR ex-or sensor
 
wow 8 gb ram
i am waiting for storage to reach 1 tb
 
android police did a pretty good writeup of the mi max as well, androidpolice.com/2016/10/25/…
 
2:09 PM
snapdragon 840,Quad HD de 2.560 x 1.440 píxeles
price : ~400€
 
@ColdFire just buy a 1TB SD card
 
@TimCastelijns is there a sd with 1 tb ?
here max you get is 128gb
 
256gb he minimum storage size
for the o+4
 
lmao
Assuming you don't have a TB harddrive in your laptop
 
2:11 PM
Which everybody has
 
@Mihir welcome to the room. Please read the rules before you participate.
 
at least newer models
 
Sure
 
yeah Tim
unless it is macbook which has a 128gb ssd
 
Anyone got any recommendations on how to update the fragment which is used by a tab?
 
2:13 PM
128gb is a good size for an ssd. It will last you at least 3 days before it's full
 
I mean I chose not to get a TB harddrive since I wanted a SSD
Not really Tim
 
Ditched the library I was using, just using support library code and I'm not sure how I'm supposed to update the fragment with it
 
what is updated?
 
@MarkOSullivan94 easy
viewpager.getadapter.getfragment() something
@TimCastelijns i will say 1 day
 
I only used 60GB on my last computer lmao
 
2:15 PM
60gb of what (Í¡° ͜ʖ Í¡°)
 
i used 20gb once
but time have change
 
Tim you nasty mind! :D
 
lol Tim
 
Obviously 60gb was for gifs
 
2:16 PM
ROFL no
ofc it was for ......
 
Bob dylan predicted 20gb would not be enough anymore
 
Not sure how that would work @ColdFire, that'd just return an instance of the fragment, I want to update what fragment is being displayed ie instead of FragmentA, FragmentB would be shown
 
ofc it wont be
 
Got it
bingo
I'm good
:D
Fuck that library
 
That's pretty basic stuff, should be explained in android docs
 
2:18 PM
@MarkOSullivan94 well it will return that only
 
Was doubting myself about this and it was easy enough to do
Been working on this since yesterday, hate spending so much time on one feature
 
btw what you want to update
 
got a lot to do still before our December release
 
he just wants to replace a fragment
 
Ya
@TimCastelijns you reading my mind this time?
 
2:19 PM
lol that is so so so so so easy
 
omfg I want the mi mix now.
 
thanks CF :c
 
Yep it gets easier every time
 
getsupportfragmentmanager.replace()
 
2:20 PM
that isnt even on the market that 1 tb sd card , Tim
 
If you have a FragmentPagerAdapter class you can add a method to setFragment, then you just adjust the List<Fragment> with the Fragment you want
 
would take atleast a year to be available everywhere
 
I have read and understood the rules
 
not so fast mark
have you seen the fragmentpageradapter code
list<Fragment> is private
you cant extend and add a fragment there
 
Time to use reflection (Í¡° ͜ʖ Í¡°)
 
2:23 PM
and also it does some state saving and all other shit
so be sure to check what you do
 
welcome Mihir
 
Yeah but you extend fragmentPagerAdapter ;)
@ColdFire
 
didnt got you?
i just told you can't extend and add what you want there
well what i did was just the whole fragmentpagercode in my project
and do whatever i wanted
works like a charm for me :)
 
glad that I extend and use the extended pageradapter which is obviously not possible but still works
 
anyone here use python?
 
2:27 PM
i python sometimes
 
I do irregular
shhssShszshhzzzsshhzsh
 
Can you do a type(cls) is MyClass in a classmethod? It appears not
 
uff I must pass (pun intended)
 
eh warren what you mean?
 
you mean pun indented ;)
 
2:30 PM
hmmm I cant remember if Class objects are singletons or not
 
NEW COOKIE SOLUTION:
 
why not use isinstance()?
 
fuck cookie invoices, save only last invoice date,compare to last invoice modification, fuck the boss.
 
Hooolyyyyy
Mix Mix
 
@flakes different function, same problem
now doing cls.__name__ == 'MyClass'
ugly AF but whatever it works
 
2:33 PM
private ArrayList<Fragment> mFragments = new ArrayList<Fragment>(); you mean you  accessed this
in your extended adapter?
if so i would love to hear how?
 
I'm confused:

class Test:
def test(self):
print(isinstance(self, Test))
Test().test()
 
@TimCastelijns lol now who is complaining
 
sup tristan
 
flakes, it is a classmethod, not an instance method, I don't have a self
 
2:36 PM
lol magic
 
o
 
Can I get a sanity check please
 
yes
 
Why does s.matches("^£\\d?\\.?\\d?\\d?$") return false when s = "£11.0"
 
@ColdFire easier just pasting the code hastebin.com/jokitapoco.java
 
2:37 PM
eeh i dont know regex , maybe Tim will help
 
Got that within the fragment which contains the tabs :)
 
regex101.com/r/Zy7fvC/1 <- When this shows it works fine
 
never once in my life I used regex, sorry
 
:o
Regex are lovely!
 
Adjusted the example app code to see if it would work and it did
I don't think I've ever used regex either
 
2:38 PM
because that regex pattern does not even get up for 11 pounds!
 
The page you have requested has been blocked, because the URL is banned as the Government Rules.
@MarkOSullivan94
 
Whaaaattt
 
Warren - :P
 
Where can I paste code and share it with you CF?
 
2:38 PM
Help :(
Technology is wrong
 
MarkO - make a gist at github
 
mark
 
Must rewrite java to fix
 
goddamn regex
 
2:39 PM
yeah .java must be the issue
 
Oh god
 
there should be a regex generator
 
Sorry, moron, my fault
:(
 
hehe graeme
 
\\d? wouldn't match 11
 
2:40 PM
naturally
 
why?
 
? is 0 or 1
\\d+ is 0 or more
 
-_-
 
obviously
 
2:41 PM
regex sucks
2
 
:o
Regex is lovely
2
 
let the voting commence
 
----n---o-------i---t----s------n---o-----t----
 
i cheat : regexbuddy.com
 
@jlindenbaum is that not always tied with your GitHub account though?
 
2:44 PM
@TimCastelijns you can do cls is MyClass
 
Yeah, you can make them secret and paste the link here, when you're done with it delete it if you want.
 
@flakes thanks, works
 
\o
 
np np. gotta get my python chops up to date for next term
senior design project gonna be fun
 
did i miss something
 
2:57 PM
Hello, Android!
 
@MarkOSullivan94 meeh no
you just created another arraylist of fragment
 
\oo
 

« first day (2201 days earlier)      last day (2748 days later) »