« first day (1404 days earlier)      last day (3545 days later) » 

5:00 PM
:)
 
o/
I'm trying to decide weather to use canvas and bitmaps to modify images or is there something more simple
 
s/weather/whether
 
Hi, Android
 
o/
 
Did I miss anything?
 
5:04 PM
Nope, nothing at all
 
time to watch John Oliver
 
heh.. you haven't changed your avatar back yet Code?
 
lol
 
its annoying sometimes to deal with designers who dont really know android
like normally i just get an iOS design and freestyle it a bit to make it android-fied
 
You could have stopped with "its annoying sometimes to deal with designers"
2
 
5:07 PM
but every now and then we butt heads because they think its gonna be good for performance if something is in position X
even though it looks god awful on android
we have an invite friends flow you know and they want the search bar for the list to be below the "number of friends selected" and select all section
so its like
action bar
-----------
4 friends |select all|
------------
search
------------
list
 
I <3 my designer, she's super easy to work with
 
5:24 PM
i like my guys i just wish they were more receptive to my android-specific insight
overall theyre very good though
and its only in some cases really, most of the time im given free reign to make whatever android tweaks i need
 
that's cool tho
I don't think most companies would allow the developer to adjust the design lol
 
0
Q: Listview Inside scrollview android

Sumeet89Layout containing scroll view and other layouts or views and also one list-view. list-View should be able to scroll and should have convert-View functionality also.

This is a great app idea! There's going to be Views!
Sorry, Sumeet, but seriously?
 
5:40 PM
wat
seriously?!
that's not even a question
 
lol
how goes your epic struggle against foreign governments Ahmad? :D
 
This embassy is the most incompetent ever
well, it's not the embassy I'm struggling with
the indian embassy outsourced the visa application management to some shady company
can you imagine it?
I tried calling there at least 20 times
no one picks up
emailed them
waited 5 hours
 
Maybe their call centers are in the U.S?
 
and get a response, that sums up to "Yeah, it will be difficult for you to get a visa"
lol magic
 
Is it still because of your dual-citizenship?
 
5:43 PM
Indians outsourcing...
 
ikr?!
 
that's.. ironic or something.
 
LOL
however, it's because my "Pakistani origin"
 
Pakiterroristani origin you mean.
 
Yeah, that's what I was ultimately asking :P
 
5:45 PM
ARE THEY KIDDING ME?
 
Just claim to be adopted :D
 
they wouldn't find out, would they?
 
I don't know but if they did, I don't suppose you would do too much prison time
 
@CarlAnderson haha I laughed so hard my bombs fell out
:D
 
You could probably answer that question with, "IIRC, no"
 
5:47 PM
rofl
 
That way you aren't bound to any absolute statement
 
seriously, do I look a threat to anybody? it's not like I'm going to arrive in india and going to proclaim a new indian islamic state lol
Lol magic
however, going to try my luck
 
I got $1800 from the wikimedia foundation for this trip, hope by the time I (maybe) get the visa I can still afford the flight ticket
 
6:03 PM
 
LOL
 
> The Russian Government has better programmers than the FCC
 
more like better system administrators
 
6:43 PM
testing...testing...
 
o/
im wondering if you can save a view as a png file
 
yes
 
how
??
ps the ghost png didnt work with popup window class...
 
Oh, well that gets a little more tricky when you ask "how"
Let me try to find how I was doing it
 
is there anywhere where the MovementMethod is really explained well? I'm tinkering with my app's TextView subclass and it's setting a LinkMovementMethod, but I don't really understand what the ramifications of that are.
 
6:58 PM
this is nice
I didn't know there was such a thing as the MovementMethod
just looked it up :p
> This interface is intended for use by the framework; it should not be implemented directly by applications.
probably because of this heh
 
@jyoon Something like this? pastebin.com/ndquAYLZ
 
well, I guess my question is - since I'm setting the AutoLinkMask(0) because I don't want the TextView to automatically try to parse links (I'm parsing them myself), does setting the LinkMovementMethod make sense??
 
what the...
so i can create a custom class with this and make it like SaveView (root) ?
 
Should be able to. My root there was a LinearLayout
I was using it to save then later print. I haven't messed with it in awhile since that project got put on hold but it had been working
 
Carl, I did it here: gist.github.com/adamsp/7189623
 
7:05 PM
I was implementing OnGlobalLayoutListener or you don't get the width and height if it isn't drawn yet but there might be a better way to handle that
 
Web links in text in a Daydream don't fire an intent like you'd expect, so I had to set the movement method manually.
Then I have some other code for hiding the underlines or whatever: gist.github.com/adamsp/7189653
IIRC there's some problems with that code (hard coded values or something?) but eh. Not sure if it's what you're looking for.
 
what's a Daydream?
 
A screensaver, effectively.
 
ah ok
I already have this monster:
https://gist.github.com/MobileOak/6612c4dbbe61aa94a7ac
(now with updated java doc venting my feelings about it)
 
Oh geez.
 
7:09 PM
I'm trying to decide if line 99 is necessary or not
 
"Nowhere else where we use this class are @mentions supported."
 
 
yeah, this file didn't have more than 1-2 comments before today
and I didn't write it initially
why the fuck would you name something "LinkedTextView" and inherit from LinearLayout ???
 
or app developer tbh
 
Okay. So I think yes, you should be setting that.
 
7:14 PM
probably should move the setAutoLinkMask into that init() then too, instead of setting it every time I call linkify
 
LinkMovementMethod will click the link when, uh, the link is clicked in the text. :D And since your links are just trover:// urls, I guess your app handles those and you do whatever you do internally when you get a new intent with that.
If you don't set that, as far as I can tell, clicking the links will do nothing.
 
what actually creates the Intent though?
 
Any support for this? I don't want haphazard votes. Just wondering if anyone else would find this useful...
0
Q: See entire preview while editing a question

codeMagicMost editing doesn't take a tremendous amount of time especially when it's in a tag you are familiar with. New users typically don't use backticks properly or will leave logcat and other error messages unformatted. You go in and fix these things along with some grammar, spelling, and other format...

 
@Ahmad actual pakistani citizens can get here by boarding a bus
 
Then why can't German Pakistanis get in?
 
7:17 PM
addLinks goes through and creates a bunch of URLSpan objects
 
because of incompetent embassy employees
 
Then LinkMovementMethod handles the clicks in the text, and if it's on one of those spans then it calls "onClick" on the span
Since that span is a URLSpan, the onClick starts a new intent like so: android.googlesource.com/platform/frameworks/base/+/refs/heads/…
 
7:46 PM
o/
 
ahh, yes, there it is. Thanks Adam.
 
8:09 PM
\o
 
The last hour of work...fantasy football draft!
 
Hey guys... still haven't found a solution to this
4
Q: Android Create "Ghost" Image (Touch-through)

jyoonI have created a service which will overlay an image on top of the whole screen. This part is the code which will overlay an image on top of the whole screen: @Override public void onCreate() { super.onCreate(); windowManager = (WindowManager) getSystemService(WINDOW_SERVICE); img...

Here's the original app: play.google.com/store/apps/…
 
Eww, I think you might have to capture touches on the overlaid images, then translate the coordinates on the view behind to determine what is touched.
maybe you can transfer the focus to the view behind the image
but I don't see it being an easy native solution
 
I dont have control on the view below...
all of that didnt work
or is there a way to draw pixels on the screen instead of images
 
8:25 PM
 
oh thanks
then ill just use a view instead of an image directly
 
I find it very satisfying that googling for NPE gives stackoverflow.com/questions/218384/… as the SECOND hit.
second to the actual Oracle docs
 
8:47 PM
does anyone know if Intel's Extended Page Tablets (EPT) meet the windows 8 phone hyper-v SLAT requirement?
 
@Reno hehe, I wish it would be that easy for me
 
Lol
 
> Try to compress the SQL interface, maybe it will program the back-end hard drive!
now you just have to learn how to correctly pronounce "SQL"
 
lol
 
8:57 PM
shouldn't be too difficult. Sheequools? am I right?
 
squill
 
lol
 
Squill.
 
I'm debating whether I should buy <my-name>.codes or not
20€/year is kinda not free.
 
> 2.1.1 :017 > Faker::Company.bs
=> "envisioneer sticky initiatives"
 
9:12 PM
hahah
 
I can buy adilhz.co.uk for £3.49 8-)
 
yeah but can you buy adil.co.uk?
 
hey there!
 
I have <my-name>.de though
which is cool
hey gui!
 
ahmad.de?
 
9:15 PM
nope, ahmad is my middle name which I mostly use on the internet
 
patrick bateman angry face
 
:D
 
Wonder if there's a Java library copy of that Faker gem.
That'd be handy.
 
There's a python lib
Hmm I could port it over
would be a fun project
 
Someone already has! github.com/DiUS/java-faker
 
9:17 PM
ouh, nice
 
i wish Venezuela wasn't com.ve, I wanted www.da.ve
 
so last week DHL was charging me $50 to deliver a package worth $25.
today I guess they gave up me not paying that amount and delivered it for free
 
lol
@DaveS can you buy Venezuelan domains just like that?
 
9:18 PM
idk why. maybe they thought: it's not worth shipping it back to the USA, just give it to that stupid man
 
a lot of countries have restrictions
 
@PearsonArtPhoto Have you started the second assignment?
 
I wanted an iraqi domain, since my first name ends in "iq" but they don't sell domains :s
 
I'm working on it right now, matter of fact.
It's the last thing I have to do for the course.
So far I'm at 100/180 points...
 
> Exception in plugin Android Support. Today 11:31 AM. Occurred 41 times since the last clear.
 
9:20 PM
That Java port has far fewer options compared to the Ruby one.
 
where do you have that from, carl?
 
yeah it seems like it's a port of the python version
which also doesn't have the sentence builder
 
I've got just one big issue that I can't figure out, and I think after it's gone then everything'll be working smoothly.
 
Ahmad - Android Studio
 
9:22 PM
I only started looking at it. Haven't tried to code anything yet.
 
About half of the code is provided in the last example.
 
is this ahmad? atiq.de
 
The other half, mostly anything to do with likes and a few other things, is up to you.
 
I'm disappointed that after all the OAuth 2.0 theory in the videos, there is no code walk through for the example from the github repo.
 
nope, not me dave hehe
 
9:23 PM
There is, actually, the last one.
 
aniq.de ?
 
And the last assignment requires OAuth 2.0.
The truth is, most of it is managed by Spring, so...
 
keep guessing, you'll never get it lol
 
lol
 
I watched them all...I didn't see any code walk through in the videos
 
9:25 PM
I try not to use my real name here, since it's kind of an uncommon one and the chat gets indexed by google
 
terroristiq?
 
I'm paranoid like that
a friend of mind already found my SO profile through searching for my name and stumbling at my github
which linked to it
almost carl :D
 
I know this is not ahmad eriq.de
 
There's an example in the github repo, but the prof doesn't have a video for it like he does for all the other examples.
 
cloud mexican
 
9:26 PM
lol dave
 
Or did I miss something?
 
has anyone here done a masters in computer science?
 
Or even a BS?
 
I've got a BS in CS
 
I am BS in CS.
 
9:29 PM
I have a masters in Electrical and Computer Engineering.
 
Everything I say is BS...
 
would you say that it helped you in your career and whatnot?
 
Sometimes.
I've found that you rarely use what you studied in school, but those few times are helpful.
 
oh, thanks
 
@PearsonArtPhoto where? link?
 
9:30 PM
More important is learning what's out there, and how to solve problems.
The one called "9-VideoServiceWithOauth2"
 
yah, I see the example. There's no video code walk through, though, like he does for all the rest.
 
I like how he breaks down the code and explains what each line is for.
 
It's an interesting style.
I like the use of technology in Jules's lectures.
 
the pens?
 
9:33 PM
The other web applications course I'm in comes across as gimicky.
Writing on the screen.
It's a neat effect.
 
after going through this list babynamespedia.com/end/m/iq I've determined that ahmad is either a carpet cleaning company @ rafiq.de or a singer @ maliq.de
 
yah...I'd like to see how he has that set up
 
I think I saw a form post once on that...
I've got a couple of ideas.
 
he said he'd show his setup towards the end of class
 
@Adil it got me started in Java, helped me understand OO concepts. The biggest asset was the ability to pick up any language and knowing the underlying concepts just kind of go with it. Really helps understanding the stack etc when debugging.
 
9:35 PM
@DaveS wow you came pretty close, one of the names on the list is almost right
 
not all degrees from all schools are created equal though
damn thats like an extra bread crumb, now i gotta try custom variations
 
thanks
 
@PearsonArtPhoto Have you taken all the quizes?
 
Yes.
Alright then, I'm now up to 120/180 points... I think I'd pass the course at that, but I still want to try for 180...
 
I've missed like 2 points total on all the quizzes. It seems like too much effort to retake the quizzes where I missed less than half a point...
 
9:39 PM
@adil I think the most interesting aspect of my BS was algorithms/compression, always thought that stuff was cool, decent amount of security background too. At the end of the day though I need to teach myself functional things.
 
I have a BS in CS.
(late reply)
I would not have been employed by Amazon if I didn't know the stuff that I learned in college. Runtime complexity, data structures and their analysis, etc
 
if I want to store contact IDs (integers), is sharedPreferences' putStringSet the way to go?
 
yeah
 
thanks, I was also considering serialization with sharedPreferences or maybe even internal storage, but I'll go with putStringSet!
 
thanks for the replies guys
 
user457812
10:03 PM
 
user457812
Almost tempted to reply to this just to ask which purported python commits they're referring to and why they care enough to lie but not enough to lie believably.
 
lol I've had LinkedIn try to poach me on LinkedIn before
 
nil is that a scam or a serious offer?
 
user457812
Don't know. Possibly both.
 
hahaha
side question, is the strength of a company measured by the number of people who work there?
what unit is that? 15 ppl?
 
10:09 PM
imperial unit
doubt it's serious
 
user457812
I don't care if it's serious, the proposal starts off with blatant bullshit.
 
You could send him a facebook message facebook.com/nickhuzar
 
Andreessen Horowitz is kind of a big name in startup funding, if he would have funded something from this "Nick Huzar" then it would have been online somewhere
but I can't find anything about it
 
Yeah I only found a TechCrunch article about Clipboard that he commented on
 
"OfferUp" is from this Nick Huzar though
no lie there
maybe it's serious?
but the tinyurl link at the end of the mail makes me doubt that
 
nil, obviously it was your Android commits that impressed them and the recruiter forgot to search and replace.
 
totally scam, they said 15
 
ikr?
SCAM
but seriously, we have to find out nil!
you have to reply
@nil I think it's legit after all
that's from the one from the backend engineer post
 
He probably sent you the wrong job posting message but had you on the list for android?
 
10:23 PM
probably
he probably just sent the mails in bulk
 
he probably hates you and just wanted to spam you because he knows the pain it would cause.
 
it's most likely to be legit. the way that nil was selected and invited is what looks strange
 
@SamotKalop Rejected for now, please answer some more questions and request access back again
exactly gui
 
> ViewPager's onMeasure() attempts to execute any pending fragment transactions and alters the view hierarchy in doing so, but you can work around this by manually executing pending fragment transactions before exiting the validateView() function.
 
user457812
Back to work.
 
10:29 PM
what does it mean to "manually execute" a "pending fragment transaction" ?
is there something I need to call instead of just "commit()" ?
 
that sentence makes no sense to me.
is that from the docs?
 
that's the official response on the bug I filed against AOSP
 
You got a reply just now, @CarlAnderson
 
yeah was just reading it
 
executePendingTransactions()
I think that is what they mean @CarlAnderson
 
10:43 PM
yeah
how's it going Emm?
 
Just got home
Going out for dinner in a bit
How are you doing?
Better now that bug is resolved?
 
I'm doing ok. When you have time to critique my code/tabs I'd appreciate it
I feel like the situation is still a bit unresolved.
 
did someone say dinner? youtube.com/watch?v=9K8gTQ4S1UU
 
I really hate Windows 7
all I did was update it from the reformat and it broke my wireless connection
 
this is what politic campaigns look like in Brazil: youtube.com/watch?v=35TDNz67Yu8
4 years ago that man was elected. (part of) his job is to create and vote laws.
 
10:55 PM
what is he wearing? o.0
 
that's one of his typical clothes
 
and what the fuck is he doing?
 
he's a former clown
 
oh. yes of course.
 
seriously
he used to work on TV shows
 
10:56 PM
yes I think I heard of that before
 
then he got really into crystal meth
 
he's the current president of something right?
 
supposedly "making humor"
 
worst clown ever.
 
not president
let me google the exact term
a congressman, maybe
 
10:58 PM
okay, that's not to bad then. everybody can become a congressman.
It would have been pretty weird if he was the president tho
 
after being elected, people started claiming he is illiterate. I don't remember anyone proving he is not
 
the president of the green wing in the european parliament was a kindergarden teacher
lolol
 

« first day (1404 days earlier)      last day (3545 days later) »