« first day (1650 days earlier)      last day (3296 days later) » 

4:01 PM
I never get packages delivered that early. But I do usually miss them so I started having everything shipped to work.
 
o/ petey
 
I get a call from one of the custom service ladies.
her: "What's the name of that strip club in South Bend"
me: *picks up handset* "I guess I should take it off speaker phone"
also o/ petey
 
\o petey
 
interesting conversation cM
 
I'm back!
 
4:06 PM
hey Carl
 
how's it going Een?
 
not bad; started working out yesterday at a gym - I like it so far; how is your volley ball team doing?
 
we're doing great, won another match on Tuesday, so we're 3-0 right now
 
That is awesome;
 
nice
 
4:13 PM
user image
8
pretty ridiculous photo
 
Pretty awesome photo.
 
Haha...that's great, Carl!
 
Found my new avatar
 
lol
That is team spirit right there lol
 
4:18 PM
you play carl?
 
Check this out;
 
JMR, I'm the guy in the middle of the photo :D
 
Carl === Lil Wayne ; look where he is looking
this is where I sleep all day:
 
@CarlAnderson cool, ive been playing for 10 years beach and indoor
 
@Eenvincible right monitor is bigger
 
4:28 PM
they are both 25inch
it is just the angle I guess
 
4:39 PM
@AwalGarg you've got write access, please read the room rules
 
Isn't it awesome?
 
@CarlAnderson Thanks! I read them already from the room description actually ^_^
 
cool, sorry for the late access granting, I got sidetracked while doing it.
 
what is that nana
 
@mate64 you've got write access, please read the room rules
 
4:46 PM
awesome ruler
 
user365265
I am looking for a command, to start the android emulator with "pulse-audio" support (instead of alsa) - don't know, if this is possible ?
my command: `~/.sdk/android/tools/lib ./emulator64-x86 -avd Nexus5 -qemu -m 2047 -enable-kvm`
 
should this question be closed? stackoverflow.com/questions/29766652/…
the OP states in a comment
"I think I found it..it should be .getText() at my string."
I think I found it..it should be .getText() at my string. — JackyBoi 2 days ago
 
Yeah, there's plenty of dupes
but might be difficult to find a good one
 
Not because of being dupe
mostly because a typo/silly mistake
 
Then why? And what does it matter if it gets closed. Dupe is the fastest to close. For me, anyway ;)
silly mistake(not knowing api) != typo
 
4:50 PM
true
I leave it to you, then
your choice hehe
 
And a dupe can be closed with one fell swoop instead of waiting for more votes while collecting answers
meh, can't find a dupe now
 
@Eenvincible It's a PCB ruler with useful things on it.
 
user365265
5:09 PM
I am curious about Genymotion. I am using Linux Fedora 21. When I try to load any MP3 stream audio/mpeg (even by using the plain URL in the native Android browser), the app crashes immediately. Is this normal?
 
user365265
even youtube crashes in the genymotion emulator
 
Definitely not normal.
 
5:47 PM
I hate when crash reports can't give you enough information to fix the cause of the problem, only the symptom
I have an Activity that relies on data being passed to it, but somehow (in ways I can't reproduce), the Activity doesn't get the data, and thus crashes
I can put in a wrapper / band aid for the NPE, but the stack trace doesn't tell me how users are getting it into this state
 
There's always a tiny chance that someone modified the code (by using apktool & editing smali) just to make the app crash in impossible ways and troll you
 
that's true, but this is one of the most common crashes in the app
 
Haha, facebook turned down Brian Acton when he applied for job in 2009. Five years later he sold whatsapp to facebook for $19 billions..
 
that is a good story
 
Smell you later guys, I'm offski
 
6:16 PM
Sorry @traisjames you don't meet the room requirements for access.
 
@Guilherme you around?
 
6:37 PM
@DegreatYartey You don't yet meet the criteria for the room room-15.github.io
 
here I am, sir
how may my ignorance help ya?
 
Actually I just fixed it
I was updating to the new support library and had an issue with the ActionBarDrawerToggle but I fixed it
It wouldn't show up so I just had to give it my toolbar too
 
good!
 
I saw you had a similar question so I was going to ask you how you resolved it but I got mine working
0
Q: AdMob no mobile application specified

TikoWhat if I don't link any published application in AdMob Settings. Is it a mandatory thing to do? Would that affect ad showings or would it suspend my account?

Anyone got a spare CV?
 
6:55 PM
voted
 
me...me...I haz one!
 
Yay, closed
 
neighbor, please quit "showing off" or I'm afraid I will have to ban you
 
Just can't help it :D
 
7:02 PM
\o
 
Where is Sensei ?
 
probably getting pizza
 
He is no more active user of this room.
OUu!
Anybody watch C&H videos overe here ?
Today's show was awesome
 
I watch every week
< hint
:P
 
7:10 PM
Same ^
 
So, just an fyi to anyone who cares. Little teenager me got into a... bit of trouble... so I wont be on for a bit :(
And no coding for a bit :((
 
Hey TLN
 
Tristan's in jail?
 
Hey netpork, Have you recovered already ?
 
7:13 PM
Not that bad, I hope not...
Although I can talk at school during one period, and when I'm at the library not working.
I do say, there really needs to be a nice online Android IDE
 
TLN, it is getting better every days. I have to use crutches for at least few more weeks.
 
Ohh boy! That's good that you can work from home.
 
No, I am going to work everyday
My wifi is driving me
 
What ? Your wifi ?
Is your office near from your house ?
 
Wife
 
7:20 PM
Ohh! Great! :)
 
o/ all
 
yo, Dave
 
dave!
did yo make your avatar pure white?
 
7:26 PM
no it's the old C&H avatar
 
not in canadia is isn't yet... still white
it is sleeting, so maybe it's an internet white out
 
changed it a day or two ago
 
i'll show myself out.
 
maybe you're going black/white luminosity blind
 
user image
4
 
7:32 PM
0
Q: Populating list view using php json on android app

user3461038Hey could anybody help me post a users_email to a php script and then post the array of the results to a list view for the specified user email query("SELECT Schedule_name from Schedule_Steps where Users_Email='$Email'")) { while($row = $result->fetch_array(MYSQL_ASSOC)) { $myAr...

 
"working" from home today
lol
 
Ugh, people who post "Please post errors" as an answer
 
7:48 PM
who is good at sql in here
 
the last time I implemented a join query was back in collegue...
*college
just ask :P
 
lol
well its about joins actually
im trying to do a "conditional join"
if that makes any sense at all
basically if column = X join table X
y, table y
etc
cant find any documentation on how id do that
 
Maybe use a case statement? sql.org/sql-database/postgresql/manual/…
 
you probably need to SELECT all the values of the column, best for enum types or something like that, then join them on the tables directly. Using column values as table names in a single conditional type thing doesn't seem within the capabilities afaik but I'm no SQL expert
 
7:59 PM
the problem with what that article is saying dave is that theyre like "oh just do 2 joins and pick the one that isnt null"
that wont work because the table im looking to join with is like this
connection type, connection id
as columns
where type is which table i want, and id is the id on that table
that id could be found in other tables though, its just an integer
so like if table A and B both have a row with id 294 its gonna be screwy
 
a first approach would be to a regular join then select where column = x
 
So write a SELECT for each Type then JOIN them by Id on the target table
 
lol, I was trying to change my username of twitter and that's disabled for me. when I filled up the complain form, it says:
"Thanks!
Though we cannot respond to individual reports, the information provided helps us make Twitter better for everyone. We appreciate your help!"
 
I want to change the entire application package; what might be the consequence?
 
@DaveS i dont really understand
 
8:03 PM
Een ask the support team xD
 
Well you join on common information that both tables have so you can identify which rows apply to what
 
i dont think we're talking about the same thing
 
So say you have 3 different connection types, SELECT from Table A where Type = X then JOIN on common data
 
which support team Naruto?
 
not quite...
so its like this
let me write out what i WANT
its in pseudo sql
 
8:04 PM
Een, Twitter's... ?
 
ha!
 
jm try what i say before
 
select from table if table.join_type = A join table A on table.join_id = A.id else if table.join_type = B join table B on table.join_id = B.id
and so on
 
do a regular join and then do a select upon that
 
i dont see how that helps
 
8:06 PM
I think you're trying to optimize too early
 
I don't see how your psuedo is different from my suggestion
it's not SQL has for loops or complicated logic structures like java
 
yours doesnt seem to include the condition
yea, i know that
 
let me rewrite it
 
select * from (... join ...) where type = x
something like that
 
SELECT FROM TABLE where table.join_type = A join on Table.join_id = A.id
then do this for every possible join type
 
8:07 PM
the problem im having is that if i just do a join on each possible table i might get more than one value type because id 10 might be on 2 tables
 
exactly
 
Yay! Changed! Changed!
 
you can't use values in the database as a schema name
so you have to explicitly write out each condition individually
 
JM you want this something like this
 
i see dave
youre saying WHERE type = A do this
 
8:08 PM
yes
 
can you use the WHERE clause to initiate a join?
i didnt know that
 
you use it to only select the values you want to join
so you only select from table that has join type A to then join on A
 
it doesnt seem like you can
well thats the thing
join_type isnt a column shared by tables A and B
 
that's not how it works
 
i know how a join works, youre going A.id = B.id as your condition
i want that
 
8:11 PM
You have Set Table, select from Table all the rows that have a column = A. Stop Next part of the statement: Then you add the join off the values you just selected, not the whole table
I'm 99% sure you can do that and that I've done similar stuff but it's been a while
 
Ohh boy! Same problem with facebook now. :(
 
1
Q: mySQL SELECT from one table, JOIN from another, then SELECT from the new one

Neil HargisI have an recruiting database that looks like this: Recruiter has many Students. Students have many "contacts" (how many times we have called/emailed etc.) I want a recruiter to be able to see when the last time each student of theirs was contacted. I'm developing this app in c# and my database i...

 
ok dave, i see what youre doing
thatd require multiple queries though
 
yes it will
 
ah thats why i couldnt understand
yea im trying to avoid that
 
8:14 PM
you can't use any garbage input to directly reference to a table in the schema
 
what if the value of table.join_type was a table name?
is that what you mean by direct table reference?
 
yea you can't use the values in the DB as a table name
 
got it
i might have to rewrite the table then
give each values its own column
so itd be
join_a_id, join_b_id, join_c_id, and so on
 
yeah that could work
 
that would allow me to run this in one query
 
8:16 PM
it may not be any faster though
1 complex query !> 3 simple ones
 
hmm
 
+1 dave
 
its just that on top of all of this
 
do profiling
 
join A, B, and C might all be not null
 
8:17 PM
I would start for the easiest way of implementing it
 
like you might have values for all of them or just 1 or 2
 
then try to optimize from then
 
so if i were to do 3 queries it would result in goofy fragmented cursors
 
I recommend writing down a flow chart of all possible values and the logic path it would need to take then optimize the min steps to get what you want
 
yea
i think the columns thing might be the answer
because tbh there are going to be no more than 5 possible values
 
8:18 PM
hmm i think pgadmin had a explain feature
 
so its not like im gonna end up with some unwieldy table with 100 columns
 
they show you how they optimized the query
 
what you could do JMR is have a unique ID for each row
then do 5 select and joins
and remove duplicates/join by the unique ID
 
what if i want a.id 100 and b.id 100 as well?
unlikely, but could happen
i think just doing 5 columns is the simplest way
 
what I'm saying is table (not a,b,c) has a separate id
that might be too
 
8:21 PM
ah i cant control that
the ids are set on the master db side, the api im a client of
 
ah
 
so a, b, and c have ids which are indistinguishable
just integers
its ok, this will work
 
then they are distinct values and shouldn't share a column
 
yea
the idea was that i could be like
this is an id for this table
so join that table
but the join conditional doesnt exist that way
so its ok, nbd
 
yeah but then they can only have one id, not an a,b or c id
 
8:22 PM
right
so switching it up
 
yeah treat separate data as separate data, good luck!
 
thanks a lot man
 
@Emmanuel you around?
 
are there any Android devices which support OpenGL ES 2+ and do not support precision highp? (in GLSL)
 
does anyone else here use breadcrumbs in their crash reporting?
 
8:27 PM
i use crashlytics
highly recommend
 
for your breadcrumbs, how detailed do you go?
do you do it for every button push / click / etc ?
or do you just do it for when Activities are shown / created?
 
activity
i dont go in super deep, thought i ought to
generally i try to catch most exceptions myself and pass relevant info as a non-fatal
 
ahmad was really serious about staying off for weeks, eh? jeez. kid's got self control
 
so im reported that "hey it didnt go as expected" but the user doesnt get an actual crash, maybe just an "oops try again" message or some other clean handling
 
jlin, he's going through his last round of final exams
 
8:30 PM
yeah, Abitur... poor kid.
i'm pretty similar to JMR for the crash stuff - i want to find a better way to do remote logging so that i can track those exceptions if they do occur
to counter that right now, i often let the app crash and quickly push out a fix, rather than waiting for a customer to write in saying "i always get the error dialog"
 
Good night People :)
 
@jlindenbaum thats what im sayin tho
with crashlytics you can throw a non-fatal exception yourself
 
Night TLN
 
when you show the error dialog
you can even include which user experienced it
 
for breadcrumb stuff, on crashlytics i usually set the important objects of that screen into the crashlytics log which get attached to the crash, so its easier for me to reproduce - i always know which account the crash occurred
 
8:34 PM
guess I'm going to try to get breadcrumbs into all my Activities before this release then
some of these crashes are happening daily and I can't recreate any of them
 
fml, Crashlytics.logException(e); is a thing.
thanks jmr for making me google haha
 
lol jlin
 
my endless ineptitude still shocks me sometimes.
 
no worries haha
 
i'm assuming they show up as a regular crash log in fabric?
 
8:35 PM
No programmer is a swiss army knife jlin we all have our purpose, yours just happens to be comic relief.
6
 
yea theyll appear as nonfatals
 
lol, I that was your job Dave!
 
i have not missed you one bit, dave.
 
lol
 
still ready to go back in time and slap the former dev who decided every activity in my app should have a corresponding fragment...
10
A: ListFragment vs ListActivity - Which one to use?

CChiIf you have tablet design in mind, you should probably use listfragment instead of listactivity. You can still easily wrap fragment in a activity for phone design. Developing app using fragment is a good design pattern. you can read more in here. http://android-developers.blogspot.com/2011/09/pre...

> Developing app using fragment is a good design pattern.
10 upvotes
 
8:46 PM
Well, not too surprised. It was a long time ago and I got 79 upvotes for
> You have to enable USB debugging before plugging your device in to the computer. Unplug device then try to enable USB debugging. This should work. If so, you can then plug it back into the computer and it should work
Lol
 
haha cM; felt good about your answering prowess then huh?
 
I'd have 30k rep too if I got 79 votes for TIOABOA
Die in a fire cM
 
That was 2 years ago and I still get upvotes on it. Got one just today I believe
:)
 
I'm just glad I cornered the market on wondering where the hierarchy viewer is in Android Studio.
it's the kind of question that can make your SO career:
21
Q: Does Android Studio have a Heirarchy Viewer?

Carl AndersonI tried searching on here but couldn't find the answer. I'm looking for a way to launch the Hierarchy Viewer from within Android Studio, rather than having to launch it at the command-line. I've recently migrated to Android Studio from Eclipse, and this functionality was available under the DDMS...

 
my highest rep answer:
4
A: Error: add item to ArrayList

Dave SNow that you have posted the exception and line number and more details in the comments, this seems be because when you call asList() This method "Returns a fixed-size list backed by the specified array.." then you just cast it to an ArrayListwhich is incorrect. so the method add throws the Unsu...

 
8:51 PM
And still has too many
</rimshot>
 
cM are you pursuing comedy now that your political career is a disaster?
 
It's comments like that which will keep you from being vice-mod once the people see how great I am
 
eww I don't want to be your sarah palin
 
Dave, 4 huh?
 
And...I'm out for awhile. Talk to you all later. Except Dave
 
8:55 PM
see you cM
 
get lost cya cM
 
\o cM
 
is there a cold shoulder emoji?
 
9:14 PM
o/ hi all
 
ASKHOLE:
Someone who asks many stupid, obnoxious or pointless questions
 
Is that a rethoric question?
 
why do you ask?
 
9:22 PM
Offroad
 
or was it just a statement
 
Have a good evening guys
am out
 
Bye een
 
10:20 PM
Anyone know how to stop the Android Device Manager from ringing your device? Or when will it stop automatically
 
10:44 PM
@DaveS !
 
@nana I SOLVED A PHP MEMORY LEAK !
 
+
Did you also solve the island?
 
no but I did it over remote desktop using nothing but google, notepad and task manager
on a virtual go daddy server
it's the stuff of nightmares
 
GoDaddy is seriously bad.
 
I know
guess who set up the server
 
10:49 PM
You?
 
China
 
Oh :)
Makes sense.
 
yup
 
So I was asking about the island because I am just ....buying the latest one.
 
oh that series you told me to watch
 
10:59 PM
Yeah!
 

« first day (1650 days earlier)      last day (3296 days later) »