« first day (1503 days earlier)      last day (3446 days later) » 
00:00 - 18:0018:00 - 00:00

6:09 PM
1. Phone ringtone
2. The Secretary is in the toilet
3. We have heard the toilet flush
4. The Designer guy said: "the poor, she made haste to answer the phone"
 
removed
 
yay I knew everything in the list \o/
 
@AdamS but we can manage a & b and still using Robospice ?
Seeya later guys ..
 
user457812
6:24 PM
NEWSFLASH Mercurial still sucks and is still losing to git
 
people use mercurial? 0.o
.@Canada does not apologize for this new Twitter account. #sorrynotsorry
 
user457812
My workplace does.
 
user457812
Almost everyone now hates it.
 
user457812
Meanwhile, projects I'm working on are in git, because I host a private, secure git server.
 
user457812
The person responsible for us using Mercurial apparently has never used git and decided to just force everyone onto mercurial
 
6:27 PM
what are the most major drawbacks of mercurial when compared to git?
I use[d] only git
 
how/where do you host your git server?
do you use gitlabs?
 
Github :P
 
user457812
I use gitolite.
 
user457812
Mercurial: has no index; rewriting history is difficult; there's a high chance you will lose work by using most commands; branches are permanent; BRANCHES. ARE. PERMANENT; YES, I SAID THAT; has no concept of local branches, and the documentation instead suggests that you clone a repository multiple times to do this; no equivalent to git add --patch that does not immediately result in a commit and if you don't commit you have to do it all over again.
 
user457812
Continued: no good equivalent to GitHub (BitBucket is nice, it's still not GitHub); GUI clients are lacking and confusing, even SourceTree, when compared to Git support; Mercurial is very fond of immutable, indelible changesets to the point that amending a commit is somewhat taboo; nobody knows how to use Mercurial because everyone uses Git (this is Mercurial's fault); generally confusing commands because everything gets tacked on as a parameter to its commands and extensions make this worse.
 
user457812
6:34 PM
@Ahmad Also, re: hosting, it's on my Digital Ocean server.
 
Aah I see, nice
wow Mercurial sounds confusing
 
thanks. I think I won't bother trying Mercurial then :)
 
user457812
It's worth trying, but probably only so you can see how annoying it is to accomplish stuff that's simple in git
 
user457812
Like building up a commit in the index. Because hg doesn't have an index. It loathes the concept of you maybe not wanting to commit right now.
 
user457812
Also, a really neat thing is that when you do hg record, which is the closest you'll ever get to something like git add --patch (except it immediately commits after it's done), while it's running, it deletes all your changes
 
user457812
6:42 PM
So you should pray to god it doesn't fucking crash.
 
user457812
Note: it has crashed on me multiple times because apparently it couldn't handle something I wanted to add to do.
 
@Abdellah Probably. It really depends on your use case and picking the right solution for you.
 
user457812
Also, if you enable new features via extensions, various parts of Mercurial may start crashing
 
user457812
E.g., if you enable the evolve extension, applying patches may break
 
user457812
Haven't quite worked out why that happens
 
6:53 PM
@ZouZou Welcome. Please read the room rules room-15.github.io
 
@codeMagic Thanks, will do so
Has anyone here a good knowlegde about espresso?
 
it's a javascript framework?
 
no, it's a java framework used to write UI tests on Android
 
7:31 PM
sarge, i think you're thinking cappuccino :P
 
\o
 
o/
just watched the southpark documentary
wow
these guys just pump out an episode in 6 days
that's insane
 
hey cM what are you doing here - i just realized it's thanksgiving in your parts.. shouldn't you be having arguments with old family members about politics and watching football or something?
and eating that weird dish y'all got down there.. marshmallows on sweet potatoes? diabeetush in a pan.
 
7:51 PM
you are making me hungry
I want turkey
 
none for you.
 
8:04 PM
:[
this is an interesting read: medium.com/@DanielleMorrill/…
$200K: cost per employee/year
yikes
 
@AdamS now I can see things clearly .. what is the difference between Spring for Android & Robospice
 
nobody wants to use spring, some people use robospice
that's the difference
 
I never even seen Spring in action, but are already scared by it, because people tell it's very "enterprise"
 
but by definition robospice isn't a REST Client ?
 
8:13 PM
Spring for android = REST Client.
 
you can use robospice with retrofit
which is the best REST client for android
because square.
 
I think I can said that : Robospice is an Asynchronous Spring for Android / Retrofit ....
 
Robospice has a plugin architecture, with some defaults. So you can plug in a serializer (Gson, Jackson, XML, etc), a network stack (OkHttp, HttpClient, etc - I think, at least) and so on.
 
8:31 PM
I would like to apologize for previously calling Android, "the Windows XP of phones." Machines running Windows XP actually got updates.
ooooooohhhh shitt
that was hard
 
ahhah
 
robospice-sample-core-basic so core mean what the lib can do, right ?
Ahmad this company is based in Berlin novoda.com ;)
 
@Ahmad too sad that it is partially true
vendors make their own crippled modifications of Android and can't quickly follow Android updates
 
I need to implement this one day ...
by third library not by my self :P
 
8:45 PM
@Ahmad That's everything though. Payroll taxes, wage, insurance, benefits. So employee might only see 130k gross, but it'll cost the company more.
 
yeah sure I figured, still shocking from an employers perspective
 
We were paying an employee around 65k and over the year he would've cost us about 100k or so. :/ employees are expensive.
 
Yeah, no wonder why starting a company is so hard :|
 
9:07 PM
I was wondering, when you compile an Android project (in Eclipse), does it use the same compiler as a normal Java project?
When compiling this file (gist.github.com/anonymous/b10bf2a12250f7880b74) I get an error in a normal Java project (as expected) but only a warning in my android project.
 
9:35 PM
weird
what's the warning?
 
Erasure of method serialize(T[], Class<T>) is the same as another method in type X
this is the same message as the error I got in a java project
I'm able to compile an run successfully my android project tho
 
weird
 
So I should deduce that this is not the same compiler used ?
 
i think android uses java7 compiler, eclipse default is still java6? am I right? and those settings are per project in eclipse? It's been so long since i opened that awful ide....
 
xD
Android uses still java 6
My java project uses java 8, but IMO if I set the target-type to 6, I think I will have the same error
-source my bad
 
9:54 PM
you can make android use java 7
even 8 in KK I think
 
yes I saw some post about use an extra lib to use lambda
But the official version used is still 6 right?
 
oh wait I take it that you're not using gradle right?
(since you're using eclipse)
you can just easily add the target with gradle
it's just one line and it's officially supported
 
oh yes I started using Android Studio
hmm good to know
but I need to use Eclipse for this project
cause we built the project with ant, not gradle
@jlindenbaum I also get a name class with 1.6 source as expected
 
is there something ant specific that you need?
 
name clash*
 
9:59 PM
a custom build script or something?
 
I mean the TAs requires that (Im 'still a student)
 
Ahh I see
 
I had to reinstall all the stuff on eclipse, cause I deleted few months ago since I upgraded to Android Studio
 
your profile says you're from Lausanne? Are you at the EPFL?
 
exaclty
 
10:00 PM
awesome
I love switzerland
 
You know that school?
 
Yeah, I met some people from there before
 
I mean how ?
Oh I see
 
I'm from germany
 
Not too far ;)
 
10:01 PM
yep ;)
I'm looking into getting into the ETH in Zürich. That would be a dream.
If that fails UWaterloo, if that fails, Plan C TU Munich.
 
Yeah ETH is also nice
 
I would have gone for Lausanne, but my french sucks
 
You can choose some courses in German in first year
 
yeah, but I heard that it's just difficult overall to get by in just german and english
 
I'm in third year and the most of my courses are in English, and all the master is in english
 
10:04 PM
really? wow
but people in switzerland are generally really good with languages. Almost everybody that I met was bilingual.
Really amazed me
 
it sounds impressive but the adaptation is fast
I'm actually french (and you know the french reputation about foreign languages :D)
 
hehe :D
I was in france twice this year, never have I encountered so many difficulties while travelling because everybody there refused to talk to me in english lol
 
HAHA
that's true
 
I would ask something in english and they would just reply in french
oui ou, à droit à droit
à where?
I should have paid more attention to french classes lol
 
and we should pay attention to english one
fifty fifty
 
10:08 PM
lol
 
BTW, If you plan to come at EPFL don't hesitate to contact me if you want further infos
 
sure, thanks! :D
 
-1
Q: How to arrange posts one after the other in a site, just like Twitter. Code please

Abraham KattilPlease help me write the code for how to arrange the posts one after the other in a page like twitter does.

how do I flag that question?
 
> Code please
first I want my payment
 
exactly
 
10:10 PM
flag button is on the right corner
 
I know where the flag link is, but what do I choose?
 
or just close it with a custom opinion this is usually what i do
 
I'm not as stupid as you think ¬¬
 
aah
low quality I would say
 
:P
 
10:12 PM
sorry gui ._.
 
shame on you...
underestimating other people...
 
:D
 
what means caching in all meaning ?
 
the guy spends ten minutes creating an account, adding a profile pic, description, and then asks a question like that
 
I think he just logged in with his facebook account
so he did not even do that!
hah
 
10:15 PM
We could delete it
Already put my vote in
 
True enough
 
I don't want to delete it
 
20k users unite
 
I want to set it on fire and then throw its ashes in a volcano
 
lol
> deleted by Raghav Sood, ZouZou, Ahmad 9 secs ago
 
10:17 PM
I flagged this one a while ago, but it's still "in review"
1
Q: Apple TestFlight error 'Couldn't accept the invite'

Ric SantosI have installed an app successfully as an internal tester. Now the app is ready for external testing, and has passed Apple review. In the email received from Apple, I clicked the Open in TestFlight button, which opened the TestFlight app and displayed the app details. Clicking the INSTALL butto...

 
at least it has a valid answer
or at least it looks like it
@raghav did you by chance befriend like the whole hackathon hackers group XD?
no matter on what person I click it always says 2 mutual friends, raghav and justin
lol
 
I've been in the network a while :P
And in the Thiel community even longer
They overlap a lot
So between them I've got about 1200 of my friends
Maybe 1100
 
I've been recently adding lots of them as well
it's crazy to meet somebody on a hackathon and afterwards see that this guy from a completely different city has mutual friends with you
 
The network is huge
 
yeah, it's amazing
 
10:24 PM
I joint when it was <1000 members
It's nearing 10k now
 
really? wow
but it's been only growing like crazy starting this year right?
 
Btw I was asking before but nobody answered. Has anyone ever used espresso here?
 
Yeah
The creation of MLH really kicked it off
Getting a form of organisation in place really turned up the number of hackathons
 
@ZouZou I've been wanting to look into it! but haven't found the time to :/ @emmanuel is the test-writing guru of this group. He writes fancy tests.
Yeah exactly
guess what!
MLH is coming to Germany!!! :D
 
:D
I intend to bring it to India before I leave
So April - August
 
10:28 PM
fuck i hate reviews.
 
are you organising it?
you can pull it off, that would be amazing
 
I just need to get it here, and make people notice
And find someone to carry it on
Already have a large amount of it outlined
And people lined up
 
I talked to one of the guys that's going to start it in germany already in the coming spring when I was in manchester. great dude.
 
what are you starting?
 
What's his name?
 
10:29 PM
yeah, the crowd in india is huge
 
i missed the beginning of this.
 
Gregor Engelmann, know him by chance?
 
Also, I'm surprised you don't get Dave as a mutual for all of us :P
 
ah yes! dave as well lol
 
I have 411 mutuals with him
 
10:30 PM
@jlindenbaum the hackathon league, major league hacking
 
I should probably go study now
Got an exam in 4 hours
Cya!
 
lol
cya!
jlindenbaum: mlh.io
 
0
Q: XMLPullParser Android cannot get attribute value from if statement

Dimitris KarittevlisI have this code: if(eventType == XmlPullParser.START_TAG) { tagName = xpp.getName(); System.out.println("Tag Name: " + tagName); if(tagName == "participant") { System.out.println(xpp.getAttributeValue(null, "name")); } } I have this XML: <participant name="JOHN"/>...

Please someone who has the android gold badge can close this
 
it's really neat if you're a student and into hackathons, but I take it since you're not a student it's not of your interest haha .-.
 
Done
 
10:32 PM
thanks
 
damn
you are fast
 
And really should have left :P
Cya! (really)
 
lol, laters
 
I could tag it as Java and close it :D
cya
 
lol
does it work? tagging it as java, closing it and then retagging?
would probably, but you'd not expect that from a "trusted user" lol
 
10:35 PM
yes it does
that's why i didn't do it
 
:)
 
phew those espresso tests are driving me crazy. This is like: yeah I coded a new feature, now I have to write espresso tests
which takes like 10x times
to get them working
 
that's my excuse on why I don't write tests ^^
but really it's me being lazy lol
 
I write tests usually only for things that are well isolated and fairly complex [for me], like a convoluted mathematical function
and usually only before I need to optimize them
to make sure result doesn't change
 
you can force things to be isolated by using dagger (or any other dependency injection framework, but really only dagger is good for android) ;)
 
10:40 PM
The thing that is good is when I refactor or change something and a test doesn't pass, I see what I missed or did wrong
never heard about that
 
about dagger?
 
yeah
 
"road to hell is paved with good intentions"©
 
I'm currently looking their home page
 
10:43 PM
check it out
it's from square
 
oh, must check it out
 
although version 2 from dagger is from google
 
hmmm, is it just a regular IoC-framework?
 
IoC?
 
injection of dependence
 
10:48 PM
yes
when instead of using a factory explicitly, you get an object "out of nowhere" (well, not really)
 
yeah
it's a dependency injection framework so that's all it does :)
 
but this is not always cool, especially when done that way
for example, if you want to migrate code to Scala tomorrow, you have to rewrite this stuff (maybe not, I'm not sure — it depends on how "crazy" are reflection-based tricks there)
 
nope! no reflection! :D
that's the good thing about it
 
It must at least read these annotations
 
Yeah let's go in Scala
 
10:51 PM
it's all code generation
 
compile-time preprocessing? oh yes, then it's Java-only, for sure
 
really? scala doesn't support that?
too bad
 
it does, but tools that work with Java probably won't work good with Scala
 
ah I see
but yeah, no nasty and slow reflection
 
Scala has its own built-in facility — syntactic macros
 
10:52 PM
yes I should dig into that
 
but not sure if I'd even want java and scala code next to each other
 
macros..
 
you can generate code at compile time without any "tools", in plain Scala
 
I mean it's possible, but I don't like it
either only java or only scala
 
…and with type safety
unfortunately, Scala has drawbacks, too
 
10:54 PM
like what? I have to admit I've only heard positive things about scala
besides the initial setting up hiccups etc.
 
for some dumb reason, it doesn't properly optimize "for loops" (not really for loops, but when iterating over Range, it can be optimized to for loop)
and you can't define a Real™ enum in Scala, too
this isn't a problem, you can write it in Java and Scala code will see it
 
Ah I see
 
there was a compiler plugin that adds for loop optimization… I didn't bother to try it yet
 
I wanted to learn scala, or any functional programming language over the summer break, but never got to it :s
 
scala isn't really functional
 
10:56 PM
There is a great courses on coursera about Scala
 
but some functional tricks are A LOT easier in Scala than in Java
 
yeah I saw saw those zouzou
it isn't functional?
 
Well 1 line scala code is like 20 java one
:D
 
yep, but there's something I didn't like about that courses…
 
lol
yeah java is so bloated. I once wrote something in java and then the same in python. Granted you can't really compare these two. But damn the python version was 10x smaller.
 
10:57 PM
they really don't care about effectiveness
I mean, really don't care, I'm scared to see code like this
but it's good introduction to the language and some functional tricks
 
Ah yes
 
speaking of Android, IMHO the single most useful Scala feature is traits
sort of multiple inheritance
 
but it's like these learn some language in 48 hours books
you can't get much out of it
 
did you ever want that when defining an Activity, or a View?
 
other than the basic syntax and a bit about the standard lib
what does a trait do?
 
11:00 PM
trait is like interface, but it can have implemented methods and even state (vals and vars)
 
this is like the new defaults methods in java 8 I would say
 
not exactly, it's more
and unlike C++, there's a well defined way how they are mixed together, it's called linearization
i.e. no "diamond problem"
 
that sounds cool
:)
however, gotta go. night people!
 
but that doesn't mean that it's good to abuse them
good night!
 
yeah I'm gonna go to
cya guys
 
11:02 PM
cya!
 
user457812
11:45 PM
Reminder: Ruby is better than Python.
 
11:58 PM
nope.avi
 
00:00 - 18:0018:00 - 00:00

« first day (1503 days earlier)      last day (3446 days later) »