« first day (1464 days earlier)      last day (3491 days later) » 

12:00 AM
the latter is more meant for big applications
 
ahh
I am definitely interested in building a REST API. I don't have much interest in building web applications, though.
unless someone pays me to do it...
 
what's uuuuuuup
 
12:26 AM
hi, guil!
long time no see!
 
yep, I've been working with iOS this week, so I've been kinda absent here
 
o/ gui
@Code-Apprentice if you want to build a Rest API then flask is awesome
it's so incredibly easy with flask
 
I formatted my macbook, now I can't find a direct link to Xcode 6.1 beta
Apples Dev center is redirecting to v 6.0 in the AppStore
 
@Ahmad I'm also looking at learning Spring since there seems to be a high demand for it in the web dev arena.
 
Spring? Is that new? I've never heard of
 
12:35 AM
I think he means Spring, the bloated java framework
Spring is too much enterprise for me
yuck
 
yah, it's freakin' huge
@Guilherme spring.io
 
Wasn't spring's replacement play or something? Super lean?
 
Ahmad, hence the slogan
> Let's build a better Enterprise.
 
@jlindenbaum I'm sure lots of people have tried to develop replacements for Spring
 
@Guilherme I can get to 6.1 download from the iOS dev portal, if you log in and scroll down in the 8.0 section, I see a full 6.1 download
 
12:38 AM
hmm...what tools does Python have for unit testing? And more specifically how well do those tools work with Flask?
 
I'm so happy I have never done enterprise Java. :D My old employer has a lot of java, luckily for our r&d section we got to use light-weight stuff... you'd be surprised how easy it is to get python to talk to an oracle cluster.
 
jlindenbaum, both tabs 8.0 and 8.1 are redirecting to developer.apple.com/xcode/downloads
 
Python has a unittest module - it's framework agnostic. Django extends that with their own unittest suite, not sure what Flask does.
 
would you mind sharing the direct link?
 
@Guilherme sorry I should've said click on old version. There's a direct 6.1 link in there developer.apple.com/downloads/index.action?name=Xcode#
 
12:41 AM
oh great. thanks!
 
Ugh, developer.apple.com/downloads/index.action?name=Xcode without the hash or it returns nothing
 
yeah, I realised that :P
why is my corrector correcting words to British english?
 
@jlindenbaum I'll have to look into that...
 
does android work with JDK 8?
 
unit testing?
pff
live by this moto
 
12:44 AM
Hahah I wish.
Honest question, where do you guys draw the line at testing? I usually stop after unit testing model parsing, calculators or validators, maybe some light integrations... but nothing past that. Anyone here do full integration / state / UI tests?
 
Sep 8 at 17:52, by Guilherme
I don't run tests. My apps are perfect by design
 
I would say if you catch yourself spending more time on writing tests than working on the actual product then that's a good sign
loooks at @Emmanuel, whose former app code base had more test coverage than actual code
 
Ahmad, did you do a clean Yosemite install? or an upgrade?
 
nope, just upgraded
you can do clean installs?
 
Yeah, I do some shit from time to time, it is good to start from scratch sometimes
get rid of the pile of shit I've done
 
12:50 AM
I think I'll do that when installing Yosemite on my iMac
 
I don't know what Java version to install now
 
I installed it on my macbook first so I can be sure that it doesn't break anything
 
java.com says
> You are running Mac OS X 10.10, which is currently an unsupported platform for Java 7. Starting with Java 8 Update 20 (8u20), download and install Java 8 from oracle.com
then I go to oracle.com and all I get are links to JDK 8
I need JRE
I think?
 
Heh. I have no idea sorry.
 
Java is so confusing
The only reason I need it is online banking
 
12:52 AM
@Guilherme not yet, afaik
but you can compile Java6 and Java7 byte codes with Java 8
@jlindenbaum My Android app has a pretty extensive integration testing suite.
It's too fragile, though ;-(
 
so I'm ok installing only JDK 8?
 
yah, you should be fine
are you installing the full JDK or just the JRE for running stuff on the web?
 
I need the JDK for Android Studio
but I also need JRE for web stuff
or does the JDK includes JRE?
 
yes, the JDK includes JRE
 
@jlindenbaum I do
 
12:57 AM
oh, good then
 
been reading tech stuff all day...maybe it's time to switch to GoT for a few hours...
 
@Ahmad I think this is always the case
 
omg, my Mail settings were synced using iCloud. fancy
 
could be haha :p
 
make sure you have some compromising pics on iCloud, it is a new requirement
 
on a separate note
 
Who wants to see naked pics of Guil?
 
I wish I could show you guys how much better this code is starting to look after I added some good old Square libraries
 
Code, you've gotta understand that some people have issues. Serious issues.
 
like I said, I'm currently living the
motto
 
1:00 AM
yah...anyone wanting to see your nude pics definitely has serious issues
@Emmanuel How's the new job?
 
Haven't actually started
I am getting familiar with the codebase
 
working on the codebase, though, eh?
Do you actually have a copy? Or are you allowed remote access?
 
so what was it with the 8k lines that were added?
did you find out?
 
oh great, even with JDK 8, Android Studio still needs version 6 to run ¬¬
 
@Emmanuel Interesting, you guys still find it pays off over normal QA? I'm assuming this is a large app?
 
1:02 AM
really?
I have Java 7 installed...
I don't think I even bothered installing 6
 
but you might have 6 as well
 
@Guilherme there's a SO article somewhere, you can modify its plist and it'll run off 7/8 just fine
 
really? lemme search it
 
they just push that massive amount of code...
 
all the IntelliJ stuff is affected apparently... seems Yosemite / 8 snuck up on them
 
1:02 AM
I think it does pay off
we also have a QA person
 
Nope, I'm definitely running AS with just Java 7.
 
the total codebase is over 70K
 
0.o
so you're doing dex loading?
 
and once Emm is done with it it will be 10k + Square libs
 
1:04 AM
that includes tests Ahmad
 
Yeah I figured
 
@Code-Apprentice that is the app my "old" company is doing
 
Does it have over 64k (or whatever the number was) methods?
 
nop
I think we are around 40K IIRC
 
even with all these dependencies?
 
1:06 AM
oh...you've got me all confused...old job...new job...make up your mind which one you are talking about!
 
nice
 
aaaaawesome! it worked. thanks @jlindenbaum
 
honestly it is the API that we are dealing with that makes that app overly complex
it is broken or down regularly....
makes development a PITA sometimes
getting ready to add ButterKnife
 
it's down regularly? 0.o
 
yeah man, it is a PITA
 
1:07 AM
what does the API do?
and more interestingly, what does the app do when the API is down?
 
everything you can imagine related with Panera
sometimes we just get back horrible stacktraces
sometimes 404 errors
sometimes 500 errors
for example
the other day, we did a request that returned a 2+MB JSON response that took 25-37s
 
oh god
that sounds awful
 
yes, Panera
 
> In 2006 and 2007, Panera was the largest provider of free Wi-Fi in the United States
lol
sounds kinds funny
 
1:10 AM
the structure of the API is a mess
 
I'm confused. A bakery has a API?
 
Well it could always be worse. It could have been a SOAP API.
 
huge API, yes
 
does it make it easier to order cinnamon rolls?
 
or wait, it wasn't a SOAP API, right?
 
1:12 AM
I think it is RESTful..
 
and what's it have to do with biomedical stuff?
 
It has an API to let you do many things
from ordering, to getting the location of stores, etc
it has nothing to do with biomedical stuff
can somebody tell me the use of doing something like this inside an Activity?
context = this;
 
so you don't have to write LongAndAwfulname.this
plus makes it more generic
but I try to avoid that
 
it was not being used inside an anonymous inner class
 
check this out: Yosemite weather widget on the notification center uses Weather.com data; the dashboard widget still uses Yahoo
 
1:20 AM
lol
yeah
 
btw, dashboard comes disabled by default now
and your user password is your iCloud password by default (can be changed)
 
Well, then there's no point to doing that, emmanuel. But this was it matches with the rest of the code base I guess.
It comes disabled by default?
I think they are going to drop it in the next release
 
yes
maybe
 
I feel weird by not defining my Views private
damn you TDD
 
why aren't they private?
 
1:28 AM
ButterKnife
 
where is a good place to store the android sdk?
 
I started looking into that. Might use it in my app soon.
 
/usr/android-sdk?
 
on my Linux box, I put Android Studio under $HOME/bin.
 
1:29 AM
I never move it from the default location; inside Android Studio
 
Code, I mean the SDK, not the IDE
 
why are you installing the SDK separately?
 
mines' in <user>/android-sdk
 
as of Android Studio Beta, it includes the SDK
 
because I downloaded the latest beta version, which comes without the SDK
 
1:30 AM
really?
 
0.8.13
 
yes, because it is not a patch
 
weird...
 
only 0.8.6 comes with the SDK
 
13 is out already? I was just looking at 12 the other day...
 
1:32 AM
I was thinking of storing the SDK somewhere else because the last 2 "updates" were not simple patches. I had to download the version, copy the SDK from inside the .app folder, then replace the .app, then copy back the SDK content
I thought of keeping SDK and AS separated then
 
oic...it's because the canary build zips don't contain the SDK.
from what I can tell you can patch from 0.8.12 to 0.8.13.
> You can only patch install 0.8.13 if you already have version 0.8.12.
 
can you?
it didn't show the "Download and upgrade" button to me
 
weird...
 
only "Download" and redirected me to the download page
 
well, the docs I'm reading implies that you can
are you sure you are running 0.8.12?
 
1:36 AM
I was
 
hmm
well, apparently I downloaded 0.8.12 and never took the effort to install it
 
haha
 
Hmm...I get an Update and Restart button on my end.
 
the alt text is also funny
 
isn't it always?
 
1:46 AM
> When putting his kids to bed, after saying 'Goodnight', Obama has to stop himself from saying 'God bless you, and God bless the United States of America.'
Not always
xkcd can be either really good or pretty bad
hit or miss
 
Some of the Info Graphics don't seem to be intended as humor
 
Did AS get rolled back to 8.6?
 
no, that's the latest non-canary version
 
really? Google hasn't pushed any more recent version to beta yet?
 
1:51 AM
Apparently not.
 
> The current build in the beta channel is 0.8.9.
lies!
that's what I get for believing Guil!
 
No, he's right
I think
I think the stable channel has 0.8.6 and the canary has 0.8.9
 
oh "stable" is different than "beta"
non-canary could mean either beta or stable
except there is no stable channel yet
only beta which has 0.8.9 according to the docs
 
yah, the initial download doesn't get updated as often because you can immediately patch to 0.8.9 from the beta channel
so I'd consider 0.8.9 as the most recent "non canary" build
 
1:56 AM
oooooh crap, I forgot to backup my ssh stuff
 
Did you wipe your comp?
 
I haven't really done any Android dev since AS 0.8.9 or so...
 
I did a clean install Noah
 
Why is there a fancy Button on my app that provides back navigation?
 
Top left corner?
 
2:02 AM
no, a custom made button at the bottom of the View hierarchy
 
screenshot?
 
someone said
Fuck the design guideline
I can't show the app yet...
 
Oh, super secret app
 
I had to sign an NDA
it will be out soon
 
cl.ly/text/1E2F1m0e2X3Y what does that mean?
i ran git diff
 
2:09 AM
shouldn't it be git diff
not the other way around
oh wait there's a diff tool?
TIL
 
that's not the command in the first line, that's the result showed in the terminal
you can use git diff [path-to-file] for a single file too
> Contents have differences only in line separators and whitespaces
AS shows that for every single file in the repo
 
gah, I lost the link of that really helpful online Android asset generator/re-sizer. Link?
 
maybe something related to CR;LF vs LF?
 
@Guilherme Looks like you chmoded the file
 
2:18 AM
they're mostly 777 right now
 
(o)_(o)
 
> old mode 100644 new mode 100755
I read that as the file had permission 644 and now it is 755.
 
let me check that file in particular
> -rwxrwxrwx 1 guilherme staff 10010 Oct 17 17:06 MainActivity.java
that's 777, right?
 
yah...weird
 
I'll delete the repo and re-clone it
 
2:21 AM
do any of you use anti-virus software on your phone/tablet/other devices?
 
I don't
 
Windows Defender ftw
 
I don't use on my iPhone for obvious reasons
I don't use on my MBP because I feel safe enough the way it is (but I think there might be some AV soft out there)
and I stopped using AV on Windows circa 2005, after considering myself enough knowledged to avoid getting viruses in the first place and being able to quickly detect and remove threats that had passed for whatever reasons
I used to have a custom autorun.inf in my thumb drive (the one that I used everywhere, including infected PCs around college). Then if for any reason it didn't show my name and my icon when I plugged it in, I'd knew instantly it was infected
 
Weird, Google would rather have you use "OK" than "ok" or "okay" ( S )
 
so do I
OK is an acronym
actually, 0K
 
2:34 AM
I've bought 4 kindle books in the last 10 days
 
I hope you have a kindle, otherwise that'd be a problem
 
I used to...now I use the Kindle app on my new tablet.
 
re-cloning did work :)
so you're still able to read the books. you're not out of your mind spending money compulsively
good for you
 
Ok so there is this Github Repo chat(I guess for opens source projects that require git management) and if you try and put in a malicious link [Ahh No!](javascript:GetAllCreditCards()) it will see that and make it link to a 10 hour loop of Never Gonna Give You Up. Yep it Rick Rolls you...
 
2:38 AM
where?
 
I'm searching for "ARM translation" to install to Genymotion, and when I'm halfway writing that, google suggests "arm transplant"
3
 
Well duh
What else would you do?
 
I need an arm transplant
 
2:57 AM
this is very handy for mac users: github.com/sindresorhus/quick-look-plugins
I just lost 1 hour of my Sunday ¬¬
 
I think someone in here wrote a handy library for displaying toast like banners on the bottom of the screen(This is what happens when you forget to bookmark cool things and then you start a new project)
 
so now star that repo, bro
 
@Guilherme awesome
 
3:08 AM
I've been using a couple of those plugins for a long time, but that's a killer list of plugins
 
3:22 AM
yeah
@MrEngineer13 Heya. Sent you a pull request. Sorry I couldn't help it.
It's me just being nit-picky and annoying lol
 
time to go to bed
nite everyone o/
 
gnight!
 
ButterKnife + Dagger + Retrofit == automatic code beautification
 
haha, oh yeah
I see you're already tearing their whole code base apart
:D
oh man I want this thing now
even if I don't like it I can sell it on ebay for 400€
 
3:37 AM
LOL
 
it's true!
I checked
people go crazy if they can't have something
 
remember glass?
lol
 
this invite-only system definitely worked
hahah yeah
exactly
 
I should use them more often...
man this codebase...
 
you should get back to writing glass apps
there so much potential
 
3:40 AM
sometimes it really looks like a code generated codebase...
yeah...
it is going to be hard now...
 
this one team at this hackathon I was two weeks ago where writing an app that could translate a word if you point to it
really awesome idea
 
there is an app for that
 
lol, is it so bad?
there is?
 
there is one done by Google
and another one someone else did I think
 
Api lvl 20 or 21 if I am making an Android L app?
 
3:41 AM
I mean the custom Views they have are cool
 
oh I didn't know that
I thought these guys where the first ones lol
 
21
 
Error:(1, 0) Plugin with id 'com.android.application' not found. cool...
lol, Error on the very first line of code every run in the project, off to a good start
 
@Ahmad PR closed! 21 min lead time - not bad
 
:D
 
3:46 AM
pulling an all nighter tonight Ahmad?
 
yeah, it's the holidays
and I usually sleep through the days on holidays
 
@NoahHuppert 21 is the official Lollipop API afaik
man, SE needs to integrate chat into their Android app...
 
`if(isHoliday){
ahmad.setSleep(MODE_NOCTURNAL);
};`
 
s/is/if
 
Does that work in SO chat?
s/SO/StackOverflow/
nope
 
3:51 AM
lol, took it too literally =p
 
In some chat applications that actually works
 
in most of the chatting I've done, it's not actually executed by the software
just a short hand for chatters
hmm....apparently solving problems while drunk has a long history in Computer Science
 
Gitter is the best
 
3:55 AM
is Noah actually Kesha?
 
reading about John Atanasoff
 
@Emmanuel Shit, you found out
 
I just spent the past hour or so trying to craft the Mozart of regex when the Nickelback equivalent just parsed it in 10 seconds
4
 
For some reason every time I see Kesha I think of STDs...
<- sees a regex and runs away
 
\o
Ok weird error/I suck

Try making a new Android project(In AS) for target v21. Does it fail on `gradle sync` with the error:

Error:(1, 0) Plugin with id 'com.android.application' not found.
 

« first day (1464 days earlier)      last day (3491 days later) »