« first day (1803 days earlier)      last day (3370 days later) » 

17:41
Awfully quiet in here. Everyone have a good lunch?
Tristan where's my joke?
learning morphing & lipsync
@McAdam331 I am eating a salad lol
@trevor-e How is it?
I'm chewing on my thesis
@cygery How is it?
17:51
delicious
I'm trying a new style, it's alright, but not as good as my usual buffalo chicken
This meeting is not gonna end soon
I'm almost home
I'm lucky, I have roughly one meeting per month
only 2h left
We only have a weekly 1h standup :D
17:54
my work is vehemently against meetings, so we only have them if absolutely necessary
(besides our daily 10 min standup)
and they are all very careful to not go over 1h
I like that attitude trevor, seems like only devs are just not having meeting at our place, marketing and all those people have a ton of them
we have like once a month but shoot me, this is stretching a litle past 1 and half hours
They just brought in marketing and am like this dude with a massive beard can't stop talking
How do I use org.json in Android to get an array inside an array...?
Nevermind, I think I got it
18:07
@TristanWiley Een's picture looks like MHacks whenever I made a dad joke and everyone tried to pretend I wasn't funny.
3
org.json is gross, I'd stay far away from it
Yep, basically
@McAdam dude, now more than ever I need a fucking rubber duck
Rubber Duckyyyyy
Tell me your problem.
18:20
It was working, now it broke
Yay! I fixed it
I'm back to where I started, and the period is over lol
18:33
@Ahmad It's the same way here.
I mean, @McAdam's site didn't help me. Nope, not at all.
18:51
@TristanWiley What was it?
19:38
man, Java generics really suck
starting to see some cases where they are really limited
yeah I try to avoid generics
I want to instantiate a generic type, but can't because of type erasure
so then I have to delegate to my concrete classes and have them instantiate the type for me
now my code is littered with "protected abstract Blah newBlah()"
86
Q: Instantiating a generic class in Java

ripper234I know Java's generics are somewhat inferior to .Net's. I have a generic class Foo<T>, and I really need to instantiate a T in Foo using a parameter-less constructor. How can one work around Java's limitation?

only works with the default constructor :/
19:41
John Skeet has an answer for everything.
looking into the factory construction answer
maybe you need a GenericFactory
oh god there would be a factory answer
lol
yea, all ugly
@Eenvincible Only kind of :P
almost 1 million REP
19:45
you could have in an initialize function that takes in a key/value pairing and resolved itself based on some parameter
pretty hackish
think I'm just going to stick with my abstract methods. not perfect, but very clear at what it's doing
yeah
@trevor-e Yeah that's a better solution
vs storing the class and using reflection
58
A: What is the "default" implementation of method defined in an Interface?

Pawan mishraJava 8 introduces “Default Method” or (Defender methods) new feature, which allows developer to add new methods to the interfaces without breaking the existing implementation of these interface. It provides flexibility to allow interface define implementation which will use as default in the situ...

is there a clean way to provide default implementations of an interface in java 7?
I would love to have this feature in java 7 :(
afaik there's no backport
but yea, default interfaces are pretty sweet
19:55
:/
I remember I needed exactly that just a month ago, not sure what I was working on though
What's the language design justification for allowing it vs multinheritance?
public interface workWithChina { default void attemptWork(){ smackChina(); }}
6
too much house of cards
20:01
by China I mean my China team
the guys who implemented public static Byte[] ByteToByte(int v){ //...}
@Ahmad you can use kotlin :p
Or Scala
20:08
I'd like to try scala, not sure when I'll get to it though
the latest language I've been learning is Jetbrains MPS
ugh I think I'm gonna leave a little earlier today. Motivation has peaked.
I really like Scala
2
20:25
The star board is weird today. The most random things are getting starred.
2
Thanks.
You're all idiots.
Guess why
5 hours ago, by Sarge Borsch
And I like to put stars wherever I like even if that doesn't make sense
Will Sarge star this just to prove he'll star anything?
4
Yeah, will he?
btw, I have to go to sleep right now… good night 8)
later sarge
20:29
bye
 
2 hours later…
21:59
see u tomorrow guys
later een
22:28
posted on September 23, 2015 by Tor Norbye

We've just released Android Studio 1.4 RC 2 to the canary channel. We've also promoted 1.4 RC 1 to the beta channel, since that build has been in testing for a few days now and there are no big problems. RC 2 contains bug fixes in a number areas -- the theme editor, the vector asset wizard, it fixes blurry icons in hi-dpi mode with fractional scaling, and it fixes miscellaneous exceptions repo


« first day (1803 days earlier)      last day (3370 days later) »