« first day (2523 days earlier)      last day (2647 days later) » 

14:00
How else could you possibly do it without some sort of AI image mapping which you couldn't verify as being correct
Hey Graeme, wanna hear my terrible question of the week? We talked about it earlier and you missed it.
Which would be super heavy weight, unless you're Facebook and you have nice server farms :P
I highly recommend cloudinary for doing that - we did that at TipRanks and it worked really well.
Sure Ben?
I have a WebView that's being run under root, and WebViews can't run under root (that's a good thing!) - but I'm an SDK and I'm stuck inside an app running as root.
I can bypass the exception thrown with reflection - but that's really ugly, and I would really want to avoid a WebView running as root (even though it performs no external internet access at all).
14:02
wait they can't run under root?
yup cant
could they even do anything malicious with it?
google
Can't is a big word, they explicitly check for the Uid and throw.
@Graeme layer clicks through an SVG
14:02
I'd imagine they're pretty sandboxed anyway
or a Lottie anim
WebViews are android aren't very well protected in that it's very easy to shoot yourself in the foot. I totally get their choice to block it for my legitimate use case if it helps prevent security issues for 99% of users.
Wait, what?
It's super easy to expose a JavascriptInterface
If there was a way to read them, ofcourse.
14:03
Ben - I have no idea what you're talking about as "WebView running as root"
i mean, it sounds pretty reasonable to be able to read a layered image file and detect layer user interaction
I have a WebView that I need in my SDK, I have a legitimate reason for that (honest), our SDK is being integrated in an app that's running as root on a rooted device.
Eric - SVGs? Aren't supported natively in Android. What are you on about :)
i'm not asking for rocket science plans
they are right? after 6.x?
even if they aren't, there must be a lib
Are you saying you have a layered image file, where you want the XOR'ed contents of a layer to be clickable?
14:05
damn that's a tricky situation ben
but in that case, could you not just block users who are rooted?
I don't know what you mean by "You have a WebView"
You mean, you have an Activity who's content is a WebView?
@Teffi welcome! please read the room rules
I have a WebView, as in new WebView - I have no activities in the SDK
My entry point is actually a ContentProvider
@Graeme yeah. no need for XOR, svg layers are like photoshop layers, it's actually just a crappy XML file
@Ahmad Thanks!
14:07
imagine this shit
but in android
and not a world map but any random svg image with layers
hold click to paint it
i don't want ot paint
i'd just need the click.
I have read and understood the rules. Thanks for letting me in
ºO7
\O/
welcome
Welcome Teffi!!!! :D
14:08
eric what after click?
Eric - yes, but you only want the clicks to hit the non transparent cells
welcome teffi
Hiya kabuto, Ahmad!!!! :D
@Graeme i'd filter by classname,tag,id, wathever
You should export the SVG as a selection of pngs. Then do a XOR click listener on each.
14:09
:i
heya womper
Why the :|
Thanks! By the way, are we allowed to post stackoverflow question links?
because something that looks so simple has so damn tiring and hard to mantain solutions that i just want to burn stuff up.
You're mistake was thinking it would be a simple solution. I would never think that was a simple solution unless you know the hotspots beforehand :P dynamic catching the hotspots is hard
14:12
i know the hotspots beforehand, but i don't want to do the calculations dance
i want to be able to throw a image / svg / wathever to an intern and tell him "look at image 1's code, and add ths new one right below it on the list".
~(-.-~)
with him understanding what he's doing
i don't want ot burn teenage brains with boilerplate "hotspot" image placing over scaled coordinates. that'd be illegal and sadistic
i mean, it is easy on ~JS.
Yeah, you need a selection of images layered on top of each other :P
might just put a webview and say fuck it
14:14
that would still not work
unless you could filter clicks by alpha layer
What wouldn't? A webview? Yes.
the overlayed images
i'm not sure a cick event on View ( or imageview) gives you the X Y coordinates
and i'm not sure if you can get a X Y pixel rgba value
and i'm not sure you can get the rgba transparency
but if you can, that'd be a clever solution
slightly mindfuck-y, but atleast readable, code-wise
any of you know if this is a viable solution?
@Teffi yep, just shoot away
14:31
@Teffi just don't be annoying about it. No pings. If your question interests anyone you will hear from them. Either outright answers or comments.
Son of a bitch! I had a very strong suspicion that Square will drop this morning. It was near an all time high at choosing bell yesterday.
The last hour erased most of my gains yesterday.
that's why you only invest in the meme market
14:47
@CptEric It is
onTouch to SimpleGestureDetector solution as an override to the onClick
(Inside of a custom View)
Override onDraw to draw from your source as a bitmap
Which allows you to dynamically check each pixel for opacity
And allows you to dynamically create a "non alpha" array
Which can then be checked in your on click
hmm interesting.
that's lovely help
It might not be ideal. However, it will definitely work and is technically possible.
Fact
Elegant too :) Should be pretty easy to read.
you should scramble it up of course, to impress your colleagues
scramble ~(-.-~)
scramble (~-.-)~
14:55
I knew you were trouble when you walked in~~
wait hwat
just came in spotify^
nice song
Sam
Sam
Guys, any feedback on this one?
Hiya Sam!!!! :D
Sam
Sam
15:02
Hi :)
Yay $65 for just helping someone recover their Litecoin
yay~~
yay nice~~
yay awesome~~
share loot
15:12
Never!
It's mine
All mine
my precious
raghav righ now
Lol
If the coin was silver, pretty much
damn that reminds me of GOT :(
when is season 8 coming :(
15:27
you'll be 27 when it comes out
:(
27 is so close
is it?
yeah TT^TT
it is
it's closer than far
15:32
it's practically here
Tim is already 27 so yes for him
CF give me a oneliner to show the keyboard in android
nothing is working
Yay I'm going to Vietnam in the morning
15:38
yay~~
LOL why you need to show the keyboard?
nice raghav the traveller
how much do you travel?
never mind
oh wait i get it
giving the code
(InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE);
.toggleSoftInput(InputMethodManager.SHOW_FORCED,0);
Me? Travel? Once a year
one liner^ @TimCastelijns
15:44
Maybe one and a half times a year
only one time a year
that sounds fishy
you just went to Australia new zealand
That's 2 lines, liar
Me? Travel? Inconceivable!
its oneliner
I'm a broke college kid
I can't even afford the bus fare
I walk to work
15:46
@TimCastelijns that's just him forgetting how to code
i hate travelling
incometax department will on you soon enough raghav
raghav work travel?
i've just got this email....
and my brain read Lord Voldemort before reading the real name
raghav any reason this guy is not given access here : stackoverflow.com/users/4843993/hussein-el-feky
he invited me to a room
15:48
@Raghunandan Yup
@ColdFire Yeah, I didn't see the request :P
lol lazy Ro's
@HusseinElFeky Welcome! Please read, confirm reading, and follow the room rules before you do anything else: room-15.github.io
@Veeshal You need at least 80 rep to get access here
bot required for accepting/rejecting requests
I have read and understood the rules. Thanks.
bring back the bot raghav
15:49
@RaghavSood you are travelling for work?
1 min ago, by Raghav Sood
@Raghunandan Yup
i would love to work somewhere i get to travel so many countries :)
Welcome Hussein!!!! :D
welcome
welcome
15:50
I was already here last year, but write access got removed, idk why. :)
yup we remove inactive users
Raghu why do you hate travel?
sounds fun to me
Thanks everyone. :)
Yeah that was true. I was inactive for a while.
@ColdFire you should work on sales, or have so much expertise to be requested by clients abroad
sales yuck
@ColdFire Become a hitman
15:53
sounds like a PITA job
hitman is not my type of job lol
cool. cf hitman
well i will prefer something along the lines of what raghav is working on
I just do regular coding
builds botnet
need a good company then for me :)
planting sleeping bots all around the world?
15:56
Shhh
Have you seen Guardians of the Galaxy 2?
no i have seen 1 i guess
Not yet, only the first
Yusss
what happened?
I'm the real life plot
15:58
kind of.... yeah
lol means ripping people of their bitcoins
Soon, I shall rule everything
And everyone
Time to go~~
Cya later peeps!!!! :D
later
16:03
Cya
o/
Does anyone use this rollbar.com it is good crash reporting tool for js and server apps
16:24
\o
o/
Idam yo
16:54
it doesn't work on windows
poor apple technology
download safari
you should be fine
uff
for one thing
not fair
lol
17:05
@Lamar not working
weird
17:57
i cant find a way to do a project wide diff not in console
like using intellij's version control
Apple keynotes are always so boring
yep
"Our phone has a camera"
"Battery Life"
"Rounded Rectangles"
lol true
*audience in tears* "marvelous"
18:06
wtf, I totally put in /giphy apple keynote
"We've developed a $500 flash light you can wear on your nose" Standing Ovation
accurate Tristan
Sam
Sam
"No built in mic"
"This year we've cut cell tower support and WiFi to improve battery life and make it 1mm thinner. We now sell a bluetooth cell dongle to carry in your backpack, no more bulky SIM cards."
user3956566
made it to 16K - let's celebrate!!!!
Someone in front of me is trying to watch the keynote
And the internet isn't working
I want to be like
"Dude, you're really not missing out on much"
18:09
@YvetteColomb congrats!!
glad to see you here
Buzzwords, buzzwords, buzzwords
user3956566
pops open champagne - cork blinds @AjayS
user3956566
@AjayS thank you and you also - even though you now only have one eye
God fucking dammit
China killed the market again
ProTip: Don't trade Crypto if you are smaller than China
lol
yay bitcoin falls again
18:23
Fuck Bitcoin
My NEO :'(
Fortunately, I was awake
Now we know your real intentions... Kim Jong Sood
4
18:43
lol
Well, came out on top overall
Maintained my NEO holding and managed to pick up a little bit of LISK as well
Anyone at Schiphol? I have time for a meet&greet
Let's be honest Tim, the apple keynote is boring, but not as boring as a Realm seminar
lmfao
False believer
18:56
1
A: Andoid Databinding view tag isn't correct on view:null

RicardoI don't think this is a good solution to implement a bottom navigation bar across your application since you are creating Activities, and it will be clear to the user that every time you change activity the screen will totally swap (bottom bar included) instead of keeping a fixed element in the b...

Heathen
I'm part of the new age sect, we believe Realm is a DB but that it's something that should be learned from, not literally used.
is there anyone can give input on this problem :/
yo mauker
@bluetoothfx Use a viewpager for tabbing
19:01
I used bottombar library
don't
the condition is I need to make it visible across all the page of the app
why?
all page in my app is using data binding
any they are activity not fragment
really don't know about data binding :( in android
API 25
I need backward support
It's in the support library
that's the medium link
19:04
can i use it to api 14 or 17 ??
yes, it's the support library, just include v25 of it
ok what's the benefit?
I really want to know
will it solve my problem
?
The benefit is, you're not using a random 3rd party library that most people don't use and asking for help with it, you're using an official android, well documented feature
ok
the I am giving you a scenario and please check this out.
If you click on blue circle then an activity will open and you must keep the bottom bar. thats it. And whole thing is data binding.
this is a card view list...
any theory will be appreciated @DaveS :) thanks for giving attention.
just duplicate the BottomNavigationBar in the new activity, pass any data you need to preserve the state or store it at the application level.
19:15
ok will try
20:06
some little bitch just went on a downvoting spree on my answers
I'm not little Tim
4
some average height bitch just went on a downvoting spree on my answers
20:13
why not create a base activity with BNB and just keep on adding layoutViews in its containers?
sounds like one massive activity
Because she's average height
nvm, new activity will have its own base though
Mehdi xD
20:37
I have a big demo tomorrow at a huge hotel in front of CIOs etc.. I'm already super stressed (14h before) XD
21:05
@Graeme Perhaps now and again ... I really only think about it when I'm in Stack Overflow and see a message in the tray
21:19
@MehdiB. run :D
considering it XD
\o netpo
any gradle gurus here?
21:21
mehdi have you had any epiphanies regarding mvp or rx?
not yet, was supposed to start beginning of Sep after this demo, but it got postponed
so most likely end of this week i'm back on track
oh ok
keep me in the loop
I will!
I am trying to use color resource from a library project and I get "No resource found" error. Tried cleaning, rebuilding the project. No luck. :(
Try to remove the content of all build folders, then do a ./gradlew clean assembleDebug, then rebuild and try
21:25
I have tried invalidate caches / restart. is that the same?
I'm not sure
but "invalidate caches / restart" never solved anything for me
mehdi, tried and still get the same error
might it be the library's fault
21:44
^ are they really included?
Thought this might be related, then I saw Tim's edit (y)
46
Q: What's the difference between implementation and compile in gradle

humazedAfter updating to android studio 3.0 and creating a new project I noticed that in build.gradle there is a new way for adding new dependencies instead of compile there is implementation and instead of testCompile there is testImplementation ex: implementation 'com.android.support:appcompat-v7:...

LOL
@MehdiB. NICE
no not nice, I'm freaking out XD
22:00
I know a guy who coded a PoC in Lisp instead of PHP just because I kept teasing him XD
8
Q: Why is PHP so hated?

GabrielLately I've been coming across several jokes and comics about how apparently awful PHP is. As a complete ignorant of the language, why is this? Is it my own perception or is this the overall general feeling on the programming community?

> Remember that everyone else's code always sucks. And if you have to deal with someone else's code in php - it sucks.
@MehdiB. yeah yeah never stop improving crap
22:17
xD
22:51
Test

« first day (2523 days earlier)      last day (2647 days later) »