« first day (1782 days earlier)      last day (3158 days later) » 

12:00 AM
No effect, I'm going to try again
 
weird
 
Yeah no effect
 
do things break if you extend a Layout instead of ViewGroup?
like RelativeLayout
on line 311 it access the variable mItemMargin Are you setting it anywhere? If you change it to a number like 20 does it change the way it looks any?
 
It doesn't do anything
 
12:19 AM
I got no other ideas. If it were me here is where I would resort to manipulating the background to fake the extra space
 
Alright, I'll see
 
the widthMeasureSpec parameter that gets passed to onMeasure() is the only other thing that seems like it could be relavent
that seems like a dive into a rabbit hole though, that may not even pay off
 
I've gotten so the text is further away but the background stays.
 
if you use a 9patch it should be pretty easy to add the space. But then you probably lose some vectorness that the shape provides. And it be a bigger filesize
 
I almost figured it out
 
mr5
12:59 AM
o/
 
mr5
Why this ` character almost didn't work here
 
Stop
Don't post multiple lines of code, make a gist
 
mr5
that's it
that's only few
Why does the compiler still warns me about the scanner is never close?
 
1:05 AM
Warnings don't matter
 
mr5
It might hit sometime
I don't like warnings in my code
 
So close the scanner ;P
 
mr5
But there's already a scanner.close() before the function returns
 
Good morning
 
mr5
morning :)
 
1:08 AM
Sup mr5? How's life? Enjoying it so far? Cool
 
Is it inside an if block that would cause AS to think it might not be closed?
 
mr5
Yep, but I'm suffering for now
:'(
I'm using Eclipse ADT. Uhm, there's no if condition there, just that ternary operator for value
 
Whuut still using Eclipse?
 
mr5
Yeah!
 
No
Don't
 
1:11 AM
Why? That is the most suffering thing I can imagine
 
mr5
Because my life sucks
 
Switch
Now
Don't defend it, just switch.
 
Why are you not switching yet?
 
Don't hesitate
 
mr5
Haha I am more familiar with Eclipse
 
1:11 AM
Now
Just do it
 
Uhhhhh
 
Switch now
 
Fucking switch now!
 
You will not regret it.
 
mr5
Why you guys keep pushing me. Besides, Ant is still faster than Gradle
 
1:12 AM
We have all made the switch at one point, anyone here will help you through the process when you need help
 
mr5
No!
 
Ant is faster than Gradle? Lol
 
mr5
I have used AS before and it is waaaay too slow
yeah! I've seen it
Why do you have 2 AS there?
Ant is faster than Gradle
mmkay
Guess you guys couldn't deny that I am right, right?
 
Anub, what OS is that?
 
1:16 AM
Seriously though, you havent deal with a complex project. Gradle is much more easier, I can do programming with it.
Good luck when dealing with Android watch
Or fucking ndk
 
mr5
Yeah I think so. It is one of the reasons I'm still not switching to AS because I don't need it's vast and complex build system.
 
It is not how fast, it's the ease and flexibility
Time is money kid
 
mr5
@AnubianNoob one x86 and x64?
 
your estimates I bet includes Eclipse's complexity when dealing with multiple libraries from multiple guys, with a huge codebase
 
mr5
1:21 AM
@LawGimenez You know, just by building a simple project in AS would take me 10x slower than Eclipse ADT would. I'm working with simple project so I think it satisfies my need for now.
 
That's absurd
 
@mr5 No I just pinned it twic
 
Ive been using AS since 0.8, never slowed me down
 
mr5
In my situation, Eclipse ADT is faster atm
What platform do you use?
 
Right now Im on mac, before Im on linux
 
mr5
1:24 AM
Then I think AS is slow for both Windows 7 & 8 platform
 
I used it on Windows 7 at home too, it aint slow
 
mr5
It is
 
Slow you mean the build time?
 
mr5
Have you tried to compare them when building, let's say, less than 5k lines of code?
Yeah
Including the dependencies, but excluding support libraries(v4, v7).
 
Yes, I thought you mean starting a project and start coding
Yeh it's really not more faster than ant, but as I said it takes away the complexity that ant is doing right now
 
mr5
1:28 AM
Well, in my case, I always needs to debug/restart/rebuild that is why Eclipse ADT is my wisest choice for now
 
What is rebuild?
You mean clean and build again?
 
mr5
When some code changes...
 
I forgot how Eclipse works, do you still build when some resources are changed?
 
mr5
Eclipse does it automatically when you modify some files including in your project. I've done this in AS and it is way too slow. It would always take a minute or more to finish its build
 
Ow Eclipse has that feature already =)
You mean resource files right?
 
mr5
1:32 AM
I think Eclipse always tries to minimize the building when you just modify some of the files unless you explicitly triggered the re-build all which would take a lot of time.
All are resources
 
I mean res folder
Oh man dont try to be clever
 
yo what?
AS takes me 5 seconds to build the company app
 
Yeh that's why Im surprised with "slow"
 
Well it might be that we have more powerful machines
I haven't used eclipse recently, but when I used it for android dev, it was like 10 seconds
On the same laptop
So it's about the same for me really, but AS does feel faster
That said I don't really know any of this, just a generalized clouded biased interpretation of past observations
 
If I build a wordpress blog
do I need FTP?
 
mr5
1:35 AM
Yeah I think it is much faster when you have a nice specs in your machine but in my case, it isn't.
 
@McAdam331 Not to make posts or configure or stuff
You'll need to ftp to install wordpress on the server
 
So how much will word press do and how much HTML do I have to write myself?
 
And you'll need a database
 
Man all that stuff arguing, it all comes down to how powerful the machine is.
 
You can configure most everything through wordpress, and you really only need to write styles
 
1:36 AM
Fucking waste of time
 
Well I just purchased and hosted a website through namecheap. I'm trying to figure out the next step, which would be to install wordpress I suppose?
 
@LawGimenez So I think we should give mr5 the benefit of the doubt here
@McAdam331 Yup. I'd use Jeykll though, it's way simpler and more powerful, but slightly more customization on your end. But it's up to you
Namecheap might have configuration utilites, I've never used them for hosting so I don't know
 
I don't know enough to pursue top of the line hosting yet
I'd just like to start writing and get myself out there
 
mr5
I'm not an anti AS but I just tested them both and just happens that Eclipse surpasses AS in my current machine specs :(
 
I am nervous about starting a blog, but very excited.
 
1:43 AM
o/
 
\o
@McAdam331 heh I'm creating one too
But I don't have any expectations so it's chill
 
Okay. I have test stuff up.
I will share the name when it's ready ha
 
@AnubianNoob whats that platform?
 
ok I'm heading home now, be back in 45 minutes
Hyde theme for Jekyll
cya
 
mr5
1:53 AM
yo deadly
 
yo mr5
 
mr5
I don't get the picture in your profile
 
my pic?
lol
 
mr5
I'd like to know the story behind it
xD
 
nothing really special with that :D , thats a picture from AQ.com
 
2:01 AM
You need parens for the link deadly
ha you got it
 
mr5
o.O
I've played that one before
 
ah I see
 
mr5
But I don't know the names
 
I can still remember mine
 
mr5
2:06 AM
But what's up with the line "Skynner, what is wrong with you?"
 
one of the quest :3 , its just nothing at all :)
 
mr5
oh you killed my excitement </3
 
Why is writing about yourself so hard?
 
@mr5 have you seen fnatic line-up?
 
mr5
Yiis. They imported Chreezy
 
2:56 AM
Google got a new logo!
 
Yes!
You're hours ahead of us, and we already knew! ;P
 
 
2 hours later…
4:59 AM
GitUp client looks cool
 
5:39 AM
checked in, sitting at the gate
whup whup
 
mr5
Is there any CircularBuffer implemented in pure Java library only?
 
5:56 AM
eyyyo happy birthday @tristan!
 
Happy birthday bro!
 
mr5
Happy birthday! :)
 
happy birthday!
and good morning all
 
Yo Shinobis
Happy birthday @tristan
 
poeple downvoting in meta.stackoverflow.com/questions/303045/… without even a comment deserve the most painful death
i hope that -1 doesn't kick me out of having a fancy shirt.
and swag stack stickers.
 
6:34 AM
I know right
so awful
so many down votes in this thread
 
downvotes on a personal story. sounds rude, and it's impossible to be neutral to be impartial as it's a personal opinion thread...
 
o/
hm 1 upvote (from me) and two votes
 
i mean, upvoting here is like " cool story!" but downvoting doesn't make any sense... my story is not interesting enough? :( XD
 
mr5
How does this guy earns a high reputation without even posting?
o.O I think SO and Meta reps are shared
 
it's the reputation from SO
afaik there's no meta reputation
 
6:54 AM
\o
 
o/
 
\o
I am not good at writing well. But I tried to answer: Here ^^
 
good story!
and remember, if you're ever told to parse a json created from a SAP database, run
 
7:09 AM
Thanks Cpt
 
Sup with SAP databases?
 
mr5
I want to write there also but I'm afraid I may not express want I really want to say.
 
they are recurrent and weird. you end up parsing the same thing twice or thrice.
 
Really, thought theirs was good. They've been in the business kinda long
 
i've programmed in abap ( sap language ) and it's garbage.
they've been in business long because of the mouth-to-mouth between big bosses.
like a penis size competition, but in management software price.
 
7:24 AM
Assholes
 
it's greatest power is it's greater weakness, you can get 1 million rows in 1 second but you need atleast a whole workshift to correctly create and test a database query
a friend of mine does this all day. test the programmer's abap sql queries the whole day to check if they are gonna work or not. works in a big business.
 
Sounds boring
 
it is indeed.
 
I need to update my app, but I need to develop the web API first, and dadada
 
mr5
7:36 AM
Wow nice rate!
i r8 8 m8 8/8
 
nice stats, jyoon
 
thanks
 
Ahmad, flight on time?
 
8:17 AM
Morning!
I think
My boring little app is only 3.7 :P
 
o/
 
Hi OcuS
 
o/
 
hi
 
8:34 AM
@OcuS hi
> catBoy
 
8:51 AM
morninggg
 
'lo RED!
 
9:44 AM
fuck android
ª_º
>_<
manifest is broken for no reason
 
10:00 AM
fixed. apparently refactor refactored all my xml files
¬¬'
 
I just accidentally refactored a colour name, then did some changes, and realised too late to undo - going through 20+ files manually putting the colour back in right :(
 
i changed a class attribute called "name" to "language"
found all xml files now had <blahblah android:Language=""> etc...
 
Hah! Oh no!
Nightmare :)
 
You guys
 
0/
0
Q: Getting a null pointer exception in WebView on loading a webpage with embedded video

berserkI am opening a webpage in WebView. The webpage contains an iframe which has an embedded video in it. I cannot post the webpage link, so posting its code. Code of webpage: <html> <link href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" media="all" rel="stylesheet" type...

 
10:21 AM
samsung strikes back
 
yeah :/
I wonder how chrome browser can play it.
What extra stuff do they do?
 
9
A: Android webview cannot render youtube video embedded via iframe

Mikko OhtamaaAndroid browsers are utterly buggy what comes to video playback and embedding. It simply does not work across devices. Trying to get it working is just waste of your time. My suggestion is that you don't try to include <iframe> but simply provide a thumbnail of the video which directly links to Y...

i'ts an old answer
but i bet they haven't touched it.
 
10:35 AM
that moment when paris' airport wifi still remembers your credentials
how long have they been storing this cookie?! 😐
 
@CptEric Thanks for the link :)
But they just said stop using iframe lol
 
@Ahmad they will never forget about you.
or your interest in sweet beverages.
 
WTF?! O_O
9693 views in one day
 
25 more points. yeehaw.
 
yeehaw \o/
 
11:02 AM
I'm buying this
according to a friend at MS in dublin it's a must read
 
I am buying a google cardboard. Hooray! \o/
 
you have to memorize it
 
I hate memorizing things.
 
good berserk
gonna buy one too
which one?
 
umm.. not ordered yet actually
I checked, but I can't find any on google officially, I mean I found only like 3rd party companies
So, thinking where to buy from.
I bought nexus 5 recently. Toooooo excited for cardboard.
 
11:11 AM
cool.
 
11:22 AM
@Ahmad Lolwut
A book for an interview? Company isn't worth working for if that's the case
 
I'm kind of with Glitch on this - unless you find Interviews harder than the average bear, you shouldn't need a fancy book.
 
i don't like coding interviews.
 
How old are you Cap (out of interest)
 
i've had two and it's frankly enough. the 2nd one was great because it was more about me and my aptitudes
but the first one was just, write snippets on this paper.
22
 
They get radically easier as you gain experience and confidence in that experience. At least in this field (I don't know about others) you become gold dust if you're anywhere near competent.
 
11:27 AM
i'ts not about being easier, it's just that they are unconfortable.
atleast the 50% of the two i've had.
 
They get less so - it's all about your confidence (not that "act confident" stuff, the real actual confidence of "I'm good at my job")
 
worse part is that i passed it and they wanted to give me the job, but that job was too much for me frankly...
i mean, i wasn't mentally prepared at all with 19 years to lead and teach a full new PHP team for a platform change.
 
Sounds a bit full on
 
Should have done it. You are a captain after all :P
 
nah, i did good. they also wanted me to stop studying to work 8h/day ( full time )
 
12:06 PM
Can I get a madness check please
If i do arrayList.remove(1), the line after the item which WAS at 1 shouldn't be there anymore right...?
 
in listview?
 
?
 
or just in arraylist?
 
No, an ArrayList<RandomObject>
 
yes it will remove entry number 2
 
12:08 PM
Well... it isn't. And I don't understand how that's possible :(
 
O_O
Are you checking using debugger?
 
Yup
And logging
 
Have you tried taking some coffee? :P
 
I've tried both remove(1) and remove(objectAt1) and the list still contains the object in the same position x.x
 
remove(index) should work
 
12:11 PM
they should both work :P
 
hmm :P
Heya
 
What's it's like trying to get a pull request merged in when I'm in charge :P
 
I reached at second top answers
 
Can you share code?
congoz
 
12:12 PM
Thanks :D
 
pastebin.com/gB6ixHq2 <- Makes more sense without logging
 
Apparenly Collections.swap() is a thing. Useful to know.
 
oy
@Graeme I am not sure about remove(object), but I am sure about remove(index)
 
They both do similar things - or should. No idea what was going wrong but swap has fixed it :P
 
12:25 PM
lol
 
o/
 
\o
 
More and more these days I'm hitting bizarre logic problems and having to just go down a different route because I can't figure out why it's going wrong. Getting old :/
 
@MuhammadRehman this room requires a min 100 rep on SO
 
12:32 PM
Nice, TLN :)
I haven't written one yet
I planned to last night but concentrated on getting something else done until I fell asleep
 
Thank you :)
Do it now.
 
Do it now.
 
Nah, I want to be able to dedicate a fair amount of time to it and I don't feel like concentrating on that at work
Or at least not right now :P
 
Morning
 
Morning
 
12:40 PM
Good morning, Mauker
 

« first day (1782 days earlier)      last day (3158 days later) »