« first day (1461 days earlier)      last day (3473 days later) » 

4:00 PM
What else would you do with a new computer? =p
or do you mean it will take all day to install the tools you need to do some programming?
 
\o
 
@WarrenFaith Is there a problem keeping a reference to the outer class? The ViewHolders are only alive as long as the adapter which created them needs them.
assuming that the outer class is a adapter...
 
Setting it up and putting my current SSD in it. And just playing around on it
 
True, C-A, but is kind of best practice to make nested classes static to prevent it
consider the context that is hold by a view and therefor the ViewHolder
making them leak memory is probably pretty easy
 
^^^
yo @CarlAnderson
 
4:07 PM
yes, there is most likely a pretty complex graph of object references...
 
o/ \o
 
Hi, TGM!
 
o/
 
o/
 
The answers to stackoverflow.com/questions/26388363/… seem to not know what a static inner class is...
or how one works, rather
And I don't understand why the OP thinks there is a memory leak. There should be multiple instances of ViewHolder: one for each row in the ListView or GridView.
 
4:11 PM
well I do not understand what he means by "object formations"
indeed
but seeing the OP code I doubt he is an experienced programmer :D
I would love some kind of vote mechanism to mark a question as "There is too much wrong here to even try to straighten it up...."
 
yah, that code can definitely use some refactoring
 
well he starts with a punchline: private ListPlacesFragment activity;
 
How do I convert a HEX value to Int?
Sorry!
Google is my friendz
 
When did AS get this Navigation Editor?
 
Navigation Editor?
 
4:17 PM
3 updates ago I guess
 
Tools -> Android -> Navigation Editor
 
12th of june
 
I never knew it was there until today
 
I had to add .navigation to my .gitignore for that
 
4:18 PM
I don't know how to use it, but it seems cool
 
Oh my god
this is awesome
why didn't I know about this?!
 
Memory Monitor is also great
 
I still prefer MAT over Memory Monitor :\
 
Mat means food in Sweden
 
haha
 
4:21 PM
And in German?
Geschwind
 
Mat is no word in German
 
> Sorry, Navigation Editor does not yet support multiple module projects.
 
Soon
 
Mat (matt) in morocco mean dead
 
haha
 
4:25 PM
hehe
 
big difference compared to Sweden
 
Geschwindigkeit
 
It takes 2 minutes to download a 5 MB apk-file...
It takes 2 minutes to download a 5 MB apk-file...
 
spam ^ ;)
 
you see retry cancel :P
your actual connection is like my connection at home
yo TGM
 
4:28 PM
oy
 
some fragments (maybe one) still on the back-stack pastie.org/9653211
 
Google was my friend*

How do I convert the color #E51C23 to Int?
 
To all
 
programatically?
 
No
 
4:35 PM
I am heading home, cya!
 
cya!
 
bye Warren
 
Bye Warren!
 
Hi all!
 
3 mins ago, by Abdellah
some fragments (maybe one) still on the back-stack http://pastie.org/9653211
 
4:36 PM
o/
 
Bye Waren.
 
o/
 
Abdellah, what is your code paste about?
is there a question?
P.S. Your indentation is pretty terrible
 
Carl, not programatically
 
the aim of the code is to remove all fragments by transaction
 
4:39 PM
johgru, any scientific calculator should be able to convert between hex and decimal for you
 
@johgru the int for that hEX is 15014947. binaryhexconverter.com/hex-to-decimal-converter
 
hi boosties!
 
Indeed Carl because the copy isfr om inner block
 
I have already tried that, but the color turns black
 
johgru, it would be better if you told us the meta about your question ;-)
 
4:41 PM
getInt("themes_colorcode", -65536);

"-65536" works
 
Why not use Color.parseColor()?
 
1 message moved to Trash
 
I have the permission to past 3 lines of code ?
 
Abdellah your code is already in the pastie
 
Pedro, my app reads the Int from SharedPreferences
 
4:45 PM
Apology
 
it's ok, but I am still not clear what the question is. Is the code broken?
why do you need to remove all the fragments?
what is your favorite color?
see? There are so many questions.
 
@johgru so where do you use hex?
 
Carl a fragment still on the Back-Stack
 
I want to use a "Material color" which is #E51C23, but I have to convert that to Int
 
I need to remove all fragments because i will add a fragment with an alpha set
 
4:47 PM
@CarlAnderson yes i have also one question, can you help me to write my code. #givemecode :D
 
@TGMCians: while(1) { System.out.println("I bet you didn't expect THIS to appear!"); }
 
hehe
 
@johgru ideone.com/c03tQr result is -1762269
 
Perfect! Thank you!
 
johgru, what about something like this: sprunge.us/MNhc
 
4:52 PM
that's the same code on Color.parseColor() from android. You could just simple call that function, store the int and print so you know what it is
 
bye guys
 
bye bb
 
Bye bb
 
see ya later
 
Abdellah, why not do something like "while(backStackNotEmpty) { popLastFragment }" ?
 
4:55 PM
yeap I did it right now
Thanks
 
bye bb
 
Time to go watch the apple announcement
 
apple announcement?
what?
today?
what are they presenting?
Yosemite?
FUCK YES
YOSEMITE
I can't believe it, the live stream is actually working
 
:) And again I will have to patiently wait
I don't have a mac
But I will have an iPhone later today (just for development and testing purposes)
 
I don't like sitting through the we-are-the-greatest-intro, someone ping me when they are talking about something relevant
And with relevant I mean, Yosemite.
 
5:08 PM
lol Ahmad
 
let the android bash begin...
 
^ :( sad but true
But if you have complete control over the ecosystem, it's no surprise you push is this fast.
2
 
Apple is the only distributer of iOS
Android is not centralized as iOS is
 
Exactly
 
so it's obvious that this will happen
 
5:19 PM
now let's see the bar graph of available phone models per OS!
 
does anyone have a xiaomi mi4?
 
lol carl
xiaomi mi4? I don't even know what that is lol
 
#death2objc
 
^
 
 
5:20 PM
finally, Yosemite
 
slightly more expensive than the oneplus one
 
Wow Ahmad, you had to wait a whole 17 minutes
 
ikr?
horrible
 
mcd
oh sorry to interrupt your discussion but. assume :-) if i already have small company which create some junky hardware. and android will help me to create what i want (unlike apple ). t did not want to reinvent the wheel. plus one for android :-)
 
lol
as if this is true
 
5:24 PM
considering they can optimize the hell out of safari for their hardware
 
The thing is Safari and both Chrome are based on Webkit
so this doesn't even make sense
 
iWebkit
 
5:35 PM
That's render engine, JS VM is different for each.
 
oh I see
 
 
Ah yes I heard of that before
I think 10.9 is already available :0
not sure if that's the update
I haven't updated anything in months
 
https://lh6.googleusercontent.com/--pJuYZ4Bp3k/VEAGZPzQzNI/AAAAAAAAIAE/JyntnTuqqeY/w988-h865-no/material.png
Does the right one look more like Material Design? Suggestions?
 
the left side looks more material than the right.
 
http://www.google.com/design/spec/components/cards.html#
I have read this multiple times, and I should not use card views for this kind of content
 
6:03 PM
This is fun. One of the founders just asked me if my Android app would work on a Surface
 
When I told him no and he didn't believe me, I said I would go research it
 
no update yet :|
 
I told my boss and he said to tell him we need to order a sample device for testing. Lol!
 
:)
 
More toys, yay!
 
Haha cM.
He didn't believe you? Wtfff.
 
Nope. He said, "Instead of saying no like you always do why don't you look. Maybe there is an app that will make it work"
2
I can't stop laughing about our conversation
 
ROFL
> like you always do
 
One of our director of sales was in there and asked if it was possible. I winked and said I am looking into it while shaking my head no
The whole tech department always tells him no because he always asks us these ridiculous questions
 
6:07 PM
Heh
 
What's better is I could tell him to order one for me to test on and I would have it tomorrow
I could make millions by writing a book about the shit that happens here...or maybe a comedy movie would be better
 
Maybe you could stop being so lazy and could port the Android framework to Windows so it'll work
pff
 
ikr? Lazy developers
 
It can't be that difficult, they both have a touch screen, cpu, memories. It won't take more than a weekend.
Just take the code and put it there, you'll figure it out. You're good like that.
 
lol
 
6:18 PM
"It can't be that difficult, they both have a touch screen", that's exactly what he told me. Haha
3
 
6:31 PM
Lol I wish I could star a whole conversation
 
bookmark the convo, post it, star the link
done.
 
I just went to talk to our Director of Operations and told him I needed to borrow his surface to see if the app would run. I actually pulled of looking and sounding serious for several minutes. Just enough time to confuse the hell out of him
 
ok, out to lunch
 
6:49 PM
 
LOL
Have fun explaining that cM :D
 
I've seen that. I'm hoping he doesn't because I don't want to explain why we can't run it through an emulator
 
lol
@nana where did you get those from?
 
Stole them Borrowed them
 
6:57 PM
theif
 
Nhan Ngo made them.
 
7:22 PM
Challenge accepted.
 
7:38 PM
What's that for, Ahmad?
 
hi
who wanted an Ello invite?
 
@codeMagic The book Learn Ruby the hard way
people still use ello?
I thought this was just a one week thingy
 
it should be
 
however, stuff like this in ruby is cool:
x = %w{p hello p}
puts "<%s>%s</%s>" % x
=> "<p>hello</p>"
neat little shortcuts.
 
wtf does the %w designate?
whitespace delim?
makes x an array of strings using whitespace as delimiter and each %s iterates of it? do you get an index out of bounds if you call %s a fourth time? I don't like that syntax >.<
 
7:59 PM
yeah the %s splits the string
and no you don't get an index out of bound exception ;)
%w{p hello p} # => ['p', 'hello', 'p']
 
8:11 PM
Ahmad, it's all fun and games until you have to modify someone else's Ruby code.
 
so what'd happen if you use %s a 4th time?
 
then you'll get an ArgumentError
heh carl
but that's true for every project
regardless of language
 
well, not in C ;)
 
lol
 
8:29 PM
Great job - very detailed — Ahmad Apr 30 '12 at 16:39
you're everywhere Ahmad.
 
There's no escape.
 
How Can This Be Real If Mirrors Aren't Real?
reference, so nobody thinks I'm crazy:
How Can Mirrors Be Real If Our Eyes Aren't Real
well, I'm crazy but not to that degree
 
lol
how old where you at that time?
 
hrm.. 16? maybe 17
 
lol :D
my mother had one of these glasses
so 90's
 
yeah, I think this was in '96
actually was 18 in '96
 
Never realized that you're exactly double my age
I'm 18 and born in '96
haha :p
 
8:58 PM
you don't look as good as I do though
:D
 
true
<- I don't even have hair
:D
 
your eyes look a little sickly too
 
yeah I should get those checked
dammit, still no Yosemite update
OMFG
THERE IT IS
Literally just appeared!
Erm yes...
Server overloaded?
 
is it free to upgrade to?
 
yeah
 
9:04 PM
I didn't know Gratis was a German word...
 
but that shit's not working!
 
@DaveS He found out!!! :O
 
It's definitely not spanish lol
 
lol cM good luck explaining why that doesn't really help anyone
 
I tried! He did say if I got it to work he would by me a personal surface
 
9:07 PM
Is Yosemite's desktop background a picture of Yosemite National Park?
 
dunno
but it looks beautiful
 
> It took our engineers two years to build the complex “LayerCake” technology that enable this to happen.
 
ugh why did xcode 6 think getting rid of setting the origin was a good idea
 
9:25 PM
night
 
good night
@codeMagic is half the year worth a surface?
 
YAY
IT'S DOWNLOADING!
 
I am not going to try to download it from home....
 
Download run, grammar such bad, english except not.
Do Germans say everything backwards like yoda?
if you were to translate directly into english that is
 
literal translation: "download is running"
 
9:40 PM
ah
makes more sense
pretend I didn't say anything, im gonna go back to struggling with apple development because they want to make xcode usable for toddlers.
 
lol
 
Lol, just got extra 10% off o 2 X1 Carbon laptops.
 
9:57 PM
@DaveS If I get paid for that half a year and get a free surface...sure!
 
o/
 
lol
 
has anyone worked with salesforceSDK?
 
My new MacBook Pro 15 retina high-end has arrived and all I need to do is pick it up from the retail store!
AKA "5K image"
It looks so nice!
 
:D
It's finally ready!
 
10:09 PM
Wow you fast internet
 
OS X Yosemite - here I come!
 
enjoy mediocrity
 
For me - Windows 10 Technical Preview
 
on a mac?
 
I want a supported Windows XP OS that develops Windows, Android and iOS apps, is that too much to ask?
3
 
10:11 PM
XP?
Lol
If windows then only win7
 
VBox
 
I have windows 8 on my home pc, windows 7 on this, but XP was my favorite.
idk why, it just worked better
 
Win 10 is planned to be free, maybe
I don't know, but the ie icon looks out of place
Wait, @Ahmad, 5 GB for yosemite?
 
yeah the ie icon looks too big
 
Got a call for an in-person interview.
 
10:21 PM
o/
 
\o
 
o/
and... upgrades failed to install... gonna reboot again
 
\o
 
o/
 
I'd say about 20% of my day is being spent recovering from hitting Eclipse Android hotkeys in xcode
 
10:26 PM
change XCode to use the correct hotkeys!
 
lol
 
you should be able to customize the hotkeys...right?
any IDE worth its salt, let's you customize out the yang
 
idk I can't even choose the origin when placing items on the storyboard or use more than 2 fonts in the same font family
it's not really worth any salt.
 
well at least it succeeded this time
 
cya guys
 
10:29 PM
later
 
so is the price
lol
 
yeah
lol
only a minute left 'til the installation finishes!
 
what installation? Lollipop?
 
10:44 PM
Yosemite
 
No, OS X Yosemite
 
nah he's upgrading his cough Macintosh
 
:D
 
I wonder if AS and such will work...
 
10:52 PM
Hmmmm. Let me know Ahmad!
I was gonna update tonight but am going to poker instead.
 
ohhhhh those poker nights...I miss them
 
I miss the days when new Windows Operating systems were due to technology advancing instead of Microsoft needing more money.
 
There's a startup here which is putting this one on.
 
Poker nights. Oh man. I think it's time to do those again.
I love 'em
 
Gonna go win me some cash
And drink some beers?
 
10:57 PM
lol
the most I won out of poker was $50 after like 5 hrs of playing... not worth it...
I was in college and I was poor, so $50 at the time was nice cash
 

« first day (1461 days earlier)      last day (3473 days later) »