« first day (1627 days earlier)      last day (3325 days later) » 

12:00 AM
^ not suspicious at all, nope, perfectly legit. Nothing to see here.
 
12:20 AM
I'm just going to look at your life, don't mind me.
 
wish i could do a join which didnt give 0 rows if one of the where clauses werent met
ie
get * from artists join artist_tracking on artists.id = artist_tracking.artist_id where artist.id = 10 && artist_tracking.artist_id = 10
 
Why not use an OR?
Your query doesn't make sense if one of the clauses isn't met.
Ohhhhh
Wait
You don't need the && there
 
o/
 
Hey Emm!
 
Hey Adam
 
12:29 AM
Since you're already joining on artist.id == artist_tracking.artist_id, they'll already be the same.
So you just need artist.id = 10
If there's nothing in the artist_tracking table with an artist_id = 10, I think you'll still get a result, just those columns will be empty. Not certain though.
"
''
],
 
Correct about not needing artist_tracking.artist_id = 10. The query should return 0 rows if there is no artist with id = 10.
 
Sorry, spilled beer on my keyboard.
 
I thought you were being avant garde.
 
Naw, was just a bit panicked :P Was my MBP keyboard, so...
 
MBP?
 
12:35 AM
Macbook Pro
 
Oh, Much more than a keyboard at stake, then.
 
Rather.
I'm so careful around it too. The beer splashed back into the glass and then out, as I tilted it back down. Gah :( Was just a few drops. Don't think any got under the keys, but.. time will tell.
 
another benefit of PC's, Beer friendly
 
@JMRboosties If your goal is to return an artist even when the artist had no tracking, then what you want is a left outer join: select * from artists left outer join artist_tracking on artists.id = artist_tracking.artist_id where artist_id = 10
 
Window's new motto: "Only break your peripherals when you're drunk instead of the whole computer, buy a PC."
 
12:37 AM
Haha!
 
@WayneConrad yeeeee
 
I hope that was a good kind of "yeeeee," and not a "Hey, you just stepped on my toe" kind of "yeeee."
 
Heh. I've seen entire glasses of water spilled on Macbook keyboards and they've been fine, so... she'll be right, right?
 
Yeah, but if you get it drunk...
 
It's got an i7, it should be able to process a few drops of 5% stout.
Perhaps I should do something CPU-intensive to evaporate any that got in?
 
12:40 AM
good yeee
 
You try it first. Mine is running Linux. I don't even want to think about a drunk Linux kernel.
 
I could compile a Hello World Android app, that'd probably do it.
 
^ haha!
Just firing up AS seems to do it. The lights dim when I start AS.
 
You can tell Wayne has a few years on me; he knows the difference between a LEFT OUTER JOIN and a regular JOIN (presumably without having to look it up).
 
the outer part was what i needed
 
12:43 AM
int i = 1;
while(true) {
i++;
System.out.println("Look Mom, I can count up to " + i);
}
 
that should do it Adam
 
@AdamS I'm just very, very fast at googling things. It's where all of my ill-gotten SO rep came from.
 
Same @WayneConrad
 
oh noes, I made an error in my infinite loop
crap
 
12:46 AM
I worked with a programmer who called them "dynamic halts". Always made me laugh.
@DaveS What's the error?
 
It prints 2 on the first iteration
 
Yep, I just saw it.
 
My fiancé just bought the Taylor Swift album and this is excellent.
 
it should start out with i = 0, and then just use post-increment in the println (because programmer's count starting with 0, the way Knuth intended).
 
Nothing says it's the end of the day quite like fixing bugs in theoretical infinite loops
 
12:53 AM
Indeed.
 
No one counts up to 0 Wayne, I'd want to start at 1
 
How do you write a loop that iterates 10 times?
 
i = 0; i < 10; i++
 
See? Programmers count starting with 0.
 
of course but you don't count up to 0
you start at 0 and count up to X
 
12:55 AM
I never said count up to 0.
 
that's what my print ln says
 
Have another beer, Dave :)
Oh, oh, right. You're right.
I better have a beer.
 
lol
 
I just figured out how to throw out ~100 lines of code. I love doing that.
My best days are when I slay great classes and cover the ground with the tattered corpses of methods, bleeding rivers of variables.
5
 
Good day! /o
 
1:11 AM
Howdy!
 
1:45 AM
@nayoso Welcome. Please read the room rules room-15.github.io
 
Thanks!
 
You're welcome
 
Where are you come from codeMagic?
 
US
 
I see
 
1:47 AM
Welcome to Android room!
 
Have you ever tried RxJava?
hello Law Gimenez!
 
I haven't yet. There are a few people in here that have I know
 
I've been reading about it lately and it seems pretty interesting
 
Can't remember who right now
 
Ah I see
 
1:48 AM
It sounds like it. Unfortunately, I haven't gotten a chance to play around with it yet
 
This blogpost describe the advantage pretty well joluet.github.io/blog/2014/07/07/rxjava-retrofit
 
I've spent some time looking at RxJava, but haven't implemented it too deeply into my projects yet
 
Thanks, haven't seen that one yet. Bookmarked
I'm going to lay down for a little bit. You boys and girls play nice
 
2:02 AM
See you later codeMagic
What do you think about it eski?
 
It seems very powerful
I'm gonna wait until I really get a chance to use it before passing judgement
for now I'm working on learning kotlin
 
2:19 AM
Ah yes kotlin is becoming a big topic too lately
 
yeah it's quite nice
 
 
2 hours later…
4:13 AM
o/
 
 
2 hours later…
6:10 AM
Yo People
 
@nayoso Yes, I did
it's cool
 
Sarge you din't say hello to me. T_T
 
oops… looks like I had a dream and did it there
so, Hello, TLN!
 
:D
looks like you never sleep ?
 
Are you still using it now Sarge Borsch?
 
6:27 AM
looks like he slept.
 
@nayoso yes
@TheLittleNaruto indeed I do… on a keyboard
 
poor keyboard
 
it has to deal with it
 
Ouu!
That's not what keyboard made for.
 
What do you think of it? do you notice some performance improvement?
 
6:39 AM
I didn't compare performance to something else, and I'm not using it in a way that could make RxJava a bottleneck
so I can't answer this question
I think, it's pretty good for doing stuff that people do with C#'s "events", for example, and it is also a lot better, because these "event streams" can be transformed in interesting ways
 
I see
 
also, it's pretty easy to define a subclass of Activity which automatically unsubscribes from some observables in onPause/onDestroy/etc
 
Will try it by myself on my next project
 
also there are a lot of use cases that I didn't cover yet, but it's already a time saver for me
 
I see
I just read from the blogpost that I post before (joluet.github.io/blog/2014/07/07/rxjava-retrofit)
and I also found some implementation example but have no time to fully read about it
but your gist also give me some idea about the implementation
thanks man!
 
7:31 AM
o/
 
7:42 AM
\o
 
\o/
 
hello people
 
Hello veaceslav
 
hi, nayoso
why do you need RxJava when we have Java 8?
 
7:57 AM
As long as I know we can't use Java 8 in Android
Android only support java 7 right?
 
@VeaceslavGaidarji it's a different thing, isn't it?
@nayoso (some) language features from Java 8 can be used with retrolambda
 
Ah yes I saw retrolambda previously
 
lambdas, method references, try with resources (from Java 7)
maybe something else I'm missing
 
Hmm maybe what Veaceslav mean is the CompletableFuture ?
 
mhm, I thought Java 8 already supported for Android. sorry, my bad
 
8:00 AM
But I'm still thinking it's different thing
 
but Observable can push many items
not only one
so it's not just a kind of Future
 
Ah yes
and The RxJava will also make your code more explicit
from what I see
and I read
 
now I see the reason to use RxJava :)
are you using it in your projects?
 
Planning to
Sarge used it before
 
8:18 AM
what about impact: is it easier to write code? or it just reduces lines of written code? what revolutionary things RxJava brings in Android?
 
A lot of things
read the link that I post before
 
ok, thanks ;)
combining async requests looks amazing
I definitely should check RxJava
 
9:13 AM
\o
 
9:31 AM
o/
 
that balanced feeling between hating Eclipse and hating Eclipse.
 
where's my damn 5.1 for Nexus4???
I want to check it before flashing 4.4.4

Looks like it'll be the last one to get this update
 
Lollipop update for my S4, I wonder what's up with that
 
9:56 AM
I'm using nightly CM builds
for my Nexus4
 
grrrr… tried to plug a Samsung™ SSD into MacBook (using SATA-Thunderbolt adapter), and guess what? It's not working. I can see the drive in disk utility, but can't format it.
I think it's because it had hardware encryption enabled previously. Which is non-standard and has support only in Windows™.
 
10:58 AM
mine MBP is lucky to have cool expensive Intel's SSD, I guess it's same as apple installs into newer models
previous owner installed it
 
Hey Glitch, Congrats!
 
11:23 AM
anyone tried stackegg?
 
what's that ?
 
9
Q: StackEgg - what is this thing called "fun"?

TimIs there an aim to this game? To play, click the side bar image --> Is this to educate people or just be "fun"1? Also, is it multi player? 1 Great use of dev time! :P

I'm too dumb to get the idea
 
11:40 AM
You'll understand now:
the question is... shouldn't this one have appeared tomorrow?? — SPArchaeologist 1 hour ago
 
11:53 AM
In Eclipse: note: removing attribute http://schemas.android.com/apk/res/android:layout_alignParentEnd from <ImageButton> adnow_activity_interstitial.xml /adnow-sdk-library/res/layout line 23 Android AAPT Problem when I import a library project; it prevents R.java from being generated. If I go to the layout, put an extra-space anywhere, save (+ format). The error disappears and everything is OK. The difference beteween the 2 versions of the same file: NONE.
It is driving me insane
 
I thought you have started working on AS already.
 
yes, but this library-project I'm delivering to a client who still uses Eclipse.........
I have to maintain both AS and Eclipse, for the joy of me
 
the joy
 
ahhh, now the error persists even if I format/save the thing
why does it want me to remove the android:layout_alignParentEnd attribute ? oO
 
xmlns:android="http://schemas.android.com/apk/res/android"
 
12:05 PM
yes, I do have this
 
morning o/
whats up with this SE tamagotchi?
 
I removed the attribute, saved, Ctrl+Z,saved, now the error is gone
I restarted eclipse, now the error's back
KILL ME.
 
@Guilherme April Fool! a day earlier though!
KILL OcuS KILL ECLIPSE
 
Now support-v7-appcompat is giving me shit
Almost same error
 
Stackeggs!
 
12:14 PM
Morning!
 
Fu Sensei
 
Hello N-kun!
 
What's up Sensei ?
@OcuS Check support jar files in both libs folder in your library project and in your main project.
these must not mismatch.
Or you can have one in your library project, no need to have it in main project as you'll have that support jar via library project.
 
anticipated april fools pranks are stupid
 
12:26 PM
lol
 
Thanks TLN, I already triple-check
 
#13 is pretty evil
 
OcuS :(
 
LOL @ #18
 
the best code-related prank is replacing in the code of a colleague one ";" by the greek question mark (fileformat.info/info/unicode/char/037e/index.htm)
3
 
12:31 PM
#25
 
omg, the last one
has anyone tried the new FB SDK (4.0)?
 
Ahmad has, I guess.
 
TLN, the issue I got now is that even the "android-support-v7-appcompat" freshly imported from the SDK extras does not compile (res/layout/abc_screen_toolbar.xml eror...
 
I see.
That's weird. Seems Google stopped taking care for Eclipse+Android.
Can't you convince your client to export the project onto AS ?
 
I tried, but they replied "It is planned but not now"... I guess if the problem is not fixable with Eclipse they will switch to AS very quickly
I'll just send them the thing as-is and hope for the best
At this point I do not care anymore
 
12:40 PM
Sure you should stop using stupid Eclipse now.
 
We should stop talking about Eclipse, it is getting me angrier than it should
 
I am sorry! I am sorry! Hands up! \o/
 
I can feel you thinking about Eclipse, stop!
 
>$_$<
 
12:52 PM
Here is something that may help:
 
5 bullets aren't enough
 
killall -9 eclipse is way more efficient and doesn't require a gun permit.
 
Not good enough
 
Even not good enough
 
Good morning, folks!
 
12:57 PM
Magic :)
 
cM o/
 
Morning, cM.
 
Looks like I missed some fun. Shooting and blowing up things...nice!
 
Morning
 
1:00 PM
Still not good enough..
 
Ohh boy! Please stop using E..... (I'll not say the name), it is too dangerous.
 
some one set fire on Eclipse
 
Kill Eclipse, Save Earth.
 
 
Well, I would say, do not try to kill it all by yourself.
 
1:37 PM
Why the FUCK android does not warn me that I've not added service to manifest - like with activities??????????????
FUCK FUCK FUCK FUCK
I've spent half an hour investigating why does not it start, almost started debuging
 
lol
 
because Android, that's why
 
another Eclipse guy.
In AS, when you create a Service class, it automatically register it in Manifest for ya. :)
 
Does it? Maybe if you use the New > Service. And that is still cool, I don't know why I create everything from scratch with create Java class.
 
Right Click on your package -> New -> Service
nana, Exactly :D
 
1:43 PM
I guess because I don't like magic.
Sorry cM
 
stack is offline
 
i create everything via Java class
 
work in AS
 
1:44 PM
That's what IDE for, to make things easy for developers, Isn't it ?
 
true
 
maintenance? omg, someone killed the tamagotchi
 
can we check the type of what-is-in-there by some key in Json?
a mean I know there's a "data" but sometimes it is jsonarray, sometimes - jsonobject
 
are you using Gson?
 
(this is mainly because API developer of my current project is retarded)
yes
 
1:48 PM
What type of what are you wanting to check?
 
so you can check if the JsonElement is member of JsonArray.class
 
So you have a key that is sometimes an Array and sometimes String or some such?
 
nana, yes
 
The Fuck?
No
 
"sometimes it is jsonarray, sometimes - jsonobject" - common problem with wrong API architecture.
 
1:50 PM
Tell him to fix that!
 
create custom parser, read to string, try to parse result string to your model class :)
 
Seriously, this is bullshit. Any solution you make here is only temporarary, put your foot down.
 
he's not on the project anymore. And he's not in our team. I hope he died already
 
don't be so harsh
you could wish that today is working and doing crap on your competitor's apps
 
Write an interface? Polyfill if you like.. and after it's thin veil pretend the horrors never happened?
Hopefully one day you can just take the polyfill out.
 
1:56 PM
workarounded it. Damn - these thing reveal always when you are rushing and dedline is like several hours away
 
hello gents, I am here!
 
I see a great regret in you future.
 
o.o
 
That's scary
 
She knows.
 
2:05 PM
noooo lol
 
Okay I'll be back after 2-3 hours. See ya later :)
 
later naruto
 
Current status http://t.co/Lksobu84sZ
 
wtf?
 
wth
 
2:14 PM
wtj!
 
¿wtl?
 
 
I'm not really getting this stack egg thing yet. I sure hope it gets more exciting soon
 
What egg?
I like eggs.
 
2:24 PM
@Tufan denied for low A:Q ratio and you don't meet our min rep. See here for more information room-15.github.io
Hey, Een
 
/o
 
The thing that Sarge linked to earlier. It's on the right sidebar in SO
 
you like egg nana ? Check this out youtube.com/watch?v=atby-LDyy1o
 
something tells me NOT to watch that video...
 
2:27 PM
totally SFW
 
I was not thinking of that
but maybe something gross that will make not want to eat eggs again
like when you watch how hot dogs are made
 
What the hell is that OcuS
 
haa; that egg video is something
 
it is EGG-xcellent
 
Funny
Random, I woke up today and first thing I did was look up a Tamagotchi on eBay. And now this.
 
2:33 PM
That was the strangest video I've watched in a while. Thanks for that.
Booked my hotel for Droidcon, finally. And my train there. Yay.
...now to book a train home and a bus ticket home and a bus ticket there and fuck me this is getting expensive.
 
why do you need a bus and a train ticket?
 
Bus from KW->Toronto, train from TO->Montreal
 
You should buy a car truck
 
Yeah when my longer visa comes through we're gonna buy or lease a car.
 
aah I see
 
2:43 PM
Bus the whole way has 2 transfers and takes min 12 hours lol
 
wow
well canada's big
 
Yeah :P
Bus + train is about... 1.5 + 5 hours
Gotta spend most of today sorting out immigration stuff. :(
 
worst I had was 36 hours in a train... in pakistan... for a distance of merely 400km
after our train crossed the bridge (that was causing most of the delay) the bridge collapsed
no joke
it collapsed!
 
O_O
 
yeah that was hell
I'm travelling from Hamburg to Frankfurt on the weekend, 7 hours, but that bus has wifi so I'm set :D
hopefully it doesn't have "wifi" wifi
 
2:51 PM
first world problems
 

« first day (1627 days earlier)      last day (3325 days later) »