« first day (2761 days earlier)      last day (2202 days later) » 

1:00 PM
Mark, have you ever been to a race where the announcer says :"On your marks" and had people jump on you?
10
 
much correct
 
w0mp right now.
 
@RaghavSood HAHAHAHA
 
LOL
 
xD
 
1:00 PM
who upgraded raghav's joke AI?
 
@Mauker something odd is happening. This is the file Uri /data/user/0/com.demo.app/files/ringtones/191678_3464493-lq.mp3

When using FileProvider.getUriForFile then it becomes like this content://com.demo.app.fileprovider/attachments/ringtones/191678_3464493-lq.mp3
 
why is that odd
 
Got no clue why it returns attachments path
 
@RaghavSood Which makes me think... I would hate to be named Will in a shooting range.
4
 
@RaghavSood :D
 
1:01 PM
And it doesn't work, the notification doesn't play the file
 
or a richard in an adult bar.
 
Thankfully not
 
@Shadow Not odd, it's the provider path
 
@Mauker Shouldn't it keep the /files/ path instead of changing to /attachments/ path?
 
Did you declare the authority on the manifest?
 
1:03 PM
Yep
 
can you show me how you did it?
 
sure, just a sec
 
@CptEric i don't upload stuff anywhere anymore
 
@Shadow gist it
 
ok
 
1:04 PM
@MarkO'Sullivan When you get married, you should get all your groomsmen vintage pistols with the crosshair sights so that they can be marksmen
4
 
@RaghavSood that was a good one
 
you should w0mp
 
uh, I have no github account -.- let me see an alternative
I thought it was account-less
 
i don't have anything new to upload xD
 
@RaghavSood :D
 
1:05 PM
W0mp-pressions
 
github can be accountless but not if you want to do stuff on the site
 
They stopped anonymous gists too recently
Gotta go to pastebin or similar sites now
 
github is as acountless as free is a supermarket. look but no touch.
 
welp
work time
 
1:06 PM
Hmm... That's about right.
 
Word
 
Excel
 
Access
 
Powerpoint!!! :D
 
Amazon west europe CEO resigns as the amazon crisis in spain and italy deepens
 
1:08 PM
hmm I have a file_paths.xml with "attachments" in it
 
also, Hiya Graeme!!!!! :D
 
@Shadow That could be the problem
 
yup, file provider paths only has that one path -.-
 
you have to point to the folder you want to use
 
I want to use the getFilesDir folder
so just add "files" I guess
 
1:09 PM
don't guess. Read the docs
 
(lazy generation being taught how to do things the right way) thanks Tim!
 
@Shadow Android/data/yourPackage.yourApp/files
 
tim is da booze.
 
"Failed to find configured root that contains /data/data/com.demo.app/files/ringtones/191678_3464493-lq.mp3"
(bangs head on table)
 
35
Q: FileProvider - IllegalArgumentException: Failed to find configured root

PivomanI'm trying to take a picture with camera, but I'm getting the following error: FATAL EXCEPTION: main Process: com.example.marek.myapplication, PID: 6747 java.lang.IllegalArgumentException: Failed to find configured root that contains /storage/emulated/0/Android/data/c...

I remember stepping on all of those problems the first time I used FileProvider
 
1:20 PM
Why can't android be easy? I believe the problem lies with the files path, there's something I must have done wrong here
 
ios is way way way way worse.
 
@CptEric Oh I had to deal with ios for two days here and I felt that pain
 
RIP
 
Now I'm back to Android, everything is beautiful
Also, Kotlin <3 (cc. @AdamMc331)
 
OkKotlin
adam's tech division
 
1:27 PM
I really hope the assistant devices in OkCupid have been renamed Cupid instead of Alexa / Google
 
@AdamMc331 [confirmation needed]
 
Finally got the fileprovider working, but the notification is not playing the sound I am setting
 
Ask Jeeves - The original personal assistant
 
It's playing something else?
 
Just before dispatching the notification I test the sound by playing the file from the Uri generated by the fileprovider, and it plays correctly
right after when creating the notification with that sound, no sound is played
 
1:33 PM
check notification settings, can be muted
 
on nougat?
Just checked, all is allowed
 
Be careful with doze mode as well
 
@CptEric Spain has an Amazon Crisis? Aren't you busy with a succession crisis?
 
notification.sound = URI?
 
Is your phone's ringer volume up?
 
1:34 PM
The default notification sound plays perfectly, it just doesn't play this sound I set it to
 
When you test play it it might play over the media volume
 
What Raghav said
 
@Graeme lol. yeah, amazon crisis, apparently amazon's been playing the slave game in southern europe and workers have started striking
30-days temporal contracts renewed for years or revoked without warrant, low salaries, 4h contracts taht end being 12h contracts...
etc etc etc
so the 3 main amazon depots in southern and western europe have been striking for weeks making it loose buckets of cash.
 
I think it might be the file name because it contains underscores?
 
Huh
In Iron Man, the Afghanistan guys speak Hindi
Seems sketchy
I wonder why
 
1:38 PM
To be fair... that is very Spanish. You guys are treated like dirt.
Your government sucks
 
looks at dirt ... i wish.
 
@Shadow check the nofication builder docs for what sound file is allowed
 
Will do
 
You're close to making this work
 
dirt can't go deeper. meanwhile: nationaldebtclocks.org/debtclock/spain
 
1:39 PM
Keep trying ;)
 
107% of GDP as debt, ladies and gentlemen.
4% more than january.
1% more monthly.
make your bets
 
Nothing wrong with GDP as debt if people are happy and your economy is strong
 
yep^
 
check as nope | check as nope
 
Haha
 
1:41 PM
a country is not supposed to run on a profit
in some cases it doesn't even make sense to pay off debt
 
a country's not supposed to give free cash to private companies every month tho
 
that doesn't make economic sense, it's supposed to have a growing economy so it can eventually pay back the debt in the long run
 
growing debt < growth of economy
right now lending money is dirt cheap
so it makes sense to do it to invest in infra structure and public sector
 
check as nope | check as nope
 
this will yield much higher profits in the long run than paying back debt right now
obviously this only applies if you can actually lend on cheap conditions
germany can
greece can't
 
1:43 PM
Poor greece
 
every infrastructure is underfunded, workers and business see their grants revoked. money only goes to friendly banks and big corps.
 
I mean I'm not happy about it all going to banks either but it is how it is
 
Is Germany not one of the few economies working with a budget surplus and not deficit? Which is why they could help bail out a lot of countries during the '08 crash? It's mainly them helping out the European Central Bank is it not?
 
good question
 
IT WAS THE FILE NAME!
 
1:44 PM
I'm not sure
 
Lets face it though. All these countries terrible governments deserve it.
 
it was the darn underscores and something else...
Thank you Mauker, it is finally working!
 
I think I learnt that somewhere
 
Sorry, democracies with terrible governments deserve it
 
ahmad/warren/graeme/mark casos-aislados.com/en/stats.php
 
1:44 PM
governments deserve it - the people don't
 
don't know what it's like now
 
The people voted for the government - the majority of the population deserve what they get.
 
@Mauker and... porcupine has added support for "Multi-words wake up commands" :D
 
They didn't vote for the political landscape / system that they have though
 
they did
 
1:45 PM
@Shadow You're welcome! Don't forget to @mark the answer as accepted and... oh.
 
At least my generation didn't
 
in spain they did. reason #2-#3 for catalonia's secession is get out of the dirty mud the spanish electorate is
 
@Mauker Wanna do it? I can post the question for you to answer
 
I still find it hilarious how politicians justify voting on bills with a £60k salary
ok pal
 
It might be a dupe
 
1:46 PM
Ticking a yes / no box is hard
 
Mark - sure they did. Right now we have an unrivalled populous power to decide our government. But the majority of the population are garbage.
 
their salaries are not the problem
 
But who knows? If there isn't such a question, post it and I'll answer it there
 
Allright, give me a sec
 
i am ok with someone getting as much cash as they want, as long as they do their job according to their programme and without stealing money.
 
1:47 PM
@Graeme yeah but would people vote differently if they didn't have the mindset "oh if I don't vote for party x, then the party I hate the most will win"
 
they will vote worst mark
 
Doesn't matter what people think
 
atleast politicians are a filter.
 
Most of the population aren't capable of a level of critical thinking required to choose what's best for them
 
^
 
1:48 PM
A lot of people are dumb, I agree with you there
 
i'd say 20-25~, rather than "most".
depends on country tho.
 
(This is what Brexit taught me)
 
the PP got reelected with 8 million votes after crashing the country
 
At least 50% are garbage. Likely 75%
 
21.3% of the electorate
but as there was a 36% of abstention, they got the longer stick.
 
1:49 PM
@MehdiB. But it's still a paid feature
 
i don't know what's worst. people voting dumb options, or people not voting because people vote dumb options.
 
@MehdiB. I was talking to Nikolay the other day, and he said that if you have more than a few wake words it's better to use a transcription engine and search in lattices
 
@Graeme i'm afaraid we are excessively orwellian for this world.
 
or cynical. i think cynical is the right word.
as i said previously, i would gladly install a easy, 10 questions test to be able to vote.
 
1:53 PM
I'm not having kids, I'm focusing on keeping mine and Carlos (and loved ones) lives as suffering free as possible in a world being run by those put in charge by cattle.
 
easy as = primary school level
 
Gah, can't accept answer before 15mins have passed... gotta wait a bit now
 
user443346
@TimCastelijns @MarkO'Sullivan I loop through some data and save it to Realm, however the Coordinate object inside penetrations are getting saved occasionally (some do, some dont). What am I doing wrong? pastebin.com/4fQ0Zfjd
 
5 questions version:
0) 'Write down your name, national id number, date of birth and today's date'
1) 'choose between these 5 options the name of your prime minister'.
2) 'choose between these 5 options the name of your head of state'.
3) 'every how much are national elections held? (5 options)'
4) 'name the three powers of a state' ( 5 options)
every Q counts as 2 whole points. scoring below 8 discards you.
 
@Mauker nope! they just made it free yesterday :D
 
1:57 PM
0 is 2 points too??
 
> Hi Mehdi, We've updated the optimizer to allow user create multi-word wake phrases. now you can create keywords like "ok google" or "hey Mehdi".
 
@MehdiB. WHAT
 
@W0MP3R to avoid old people being carried on by their caretakers to vote for what they want.
or people not in their mind.
 
kay
 
you don't know what date it is or your own name, you don't deserve to vote. period.
 
1:58 PM
@Mauker yeah! pretty cool :D
 
2h to go
and i'm so tired
 
@Graeme opinions?
 
any firebase for android knowledgeable people
 
-ish
-ish*
 
2:03 PM
I observe changes to a logged in user's name, when I sign out of firebase it crashes because it has no permission anymore. Problem is it crashes before I can stop observing. How to handle
 
it has no permission anymore
what?
 
each user can r/w only his own data
 
ah, RX + firebase
can't help with RxMagic.
 
it's not about rx
 
stop observing before logging out.
don't call logout before cutting the observe
 
2:04 PM
can't
 
@MehdiB. Amazing.
 
-4
Q: Background service is not working on OPPO and Vivo phones but working on samsung

Zahid ChI have tried many solutions but no one working fine for me. Background works fine on phones like samsung but get killed on oppo and vivo etc.

cv pls
 
done
 
cv before jordy notices
 
@Shadow the answer got pretty big in the end haha
well, meeting time. See ya guys
 
2:15 PM
cya
 
Cya~~
 
user443346
Too late
 
user443346
;)
 
@TimCastelijns how are you observing? Sounds like it might be delaying killing the observer until after you've signed out of the user with permission
@Jordy maybe the loops are too fast?
 
user443346
Is that even possible lol
 
2:24 PM
Do you use the async method?
You should use it, log onSuccess and log where you're doing the saving
you might find it getting out of order
or something weird
idk
That's what I'd do to debug it
Also can use onFailure (or onFail or something)
 
Hello, Android!
 
user443346
In this case I'm using async indeed
 
hello CA
 
Hiya CA!!!! :D
 
user443346
Mark, I'll put a sleep in the loop. If that's really the problem, I'll call PHP officially better than Java.
 
2:31 PM
@MarkO'Sullivan naturally. It makes no sense to do it before
 
user443346
Good, it's not the loop
 
@TimCastelijns it makes complete sense to stop observing right before executing the logout.
 
@TimCastelijns but that's what your issue is, you're revoking the user permissions and still trying to access the same account details
Or at least that's what it sounds like, that it's crashing after you remove the user but before you kill observer
 
2:47 PM
you're trying to observe something you no longer have access to / that no longer exists
choose one but both will crash up :D
@TimCastelijns, lord of weird android code
how do taskschedulers work?
 
user443346
@RaghavSood Hahahahahhaha ffs <3
 
3:02 PM
anyone else can answer
 
oh lol... now i see the deviantart link
xD
that's how well i read
 
@CptEric is task schedulers the recommended one or is it job schedulers now?
 
@PetterFriberg hey petter
 
wathever is reccomended
 
@CptEric wow
 
3:16 PM
@Mauker RIP Will
 
new greece?
i think it was job scheduler mark
 
Job scheduler -> task scheduler?
 
never seen task scheduler is that a thing?
 
if it is i have no idea :D
 
3:17 PM
i am legitly void of knowledge in this field
any quick tutorial on jobscheduler?
 
Dont worry eric india was on the verge of bankruptsy in 1991 we pulled out somehow spain will also pull out somehow
 
i don't care for spain i care for me lol
 
@MarkO'Sullivan then jobscheduler it is
lol eric
 
Never used it myself so can't comment on it
 
pm me it to messenger please
<3
i gotta upgrade one of our services
currently uses a ScheduledExecutorService
time 2 go home
 
3:25 PM
cya
 
lol
 
xD
 
o/
🙋🏻‍♂️
 
Hiya Tristan!!!! :D
 
3:32 PM
o/
 
How's it going Womp?
 
Is there a live stream link yet? I know we have 1.5 hours still
 
o/ tradam
3
live stream for what adam?
 
It'll be here, but no link yet afaik
 
thanks fam
 
3:35 PM
<3 np
 
I'm sad I didn't go. Next year for sure.
 
:(
is fam a shortform for family?
 
Room 15 trip to I/O next year
 
I'm totally down
 
Lock up your iOS fan boys, Room 15 is about
 
3:37 PM
yay
 
@TristanWiley cheer up Tristan
 
yeah cheer up adam is here
 
This will most likely be my reaction for a large majority of Google I/O
 
I'm excited for .app TLDs
 
3:42 PM
ooooh
Hopefully they wont be stupidly priced
 
oh
I gotta remember to grab some of those
 
Oh no
 
awaiting the android p stable release.
 
I think they'll be around $12 a year
 
When are they available to purchase? I got an idea for a couple of names I wanna claim
 
3:43 PM
@AdamMc331 Google asks you to sign a message from a keystore for each of your apps before registering the .app domains, what will you do?
2
 
There's a talk later and I assume that's when. Considering today is their release date.
 
@Ahmad Are you awake?
 
AYY
 
@ColdFire \o Cold, sorry I had a call so I had to run..
 
@LavanyaVelusamy Welcome! Please read our room rules!
 
3:45 PM
np
 
all ok?
 
fancy seeing you here
 
@Ahmad Thanks
 
@Ahmad Just checking (pinging) lol
 
you had flags ;), so I dropped by...
 
3:45 PM
We might have more if someone (Lavanya) doesn't read the rules pronto
 
oh
 
wait
 
Yeah that happens, important is only to take actions with Tim's new rulez
 
is google io today??
wow
 
I'm hungry
 
3:47 PM
Me too
 
YES AHMAD
 
But nothing here is open at 0347
 
GET HYPED
 
damn
I have no idea why I didn't know
 
You're no longer one of them, Ahmad
You're like me now
No Android, just hang around for the people
 
3:47 PM
LOL
tru
but I want to do android again soon
just a hobby project on my own
 
I don't
 
That's too relatable...
 
I'm happy without it
 
I need to do more Android dev.
 
Tristan you're 6 let us have our quarter life crisis in peace
 
3:48 PM
It's good to broaden your spectrum
 
:O
 
lol
 
Oh, I have garlic bread
I can eat that
 
Hi..I have some doubts.I stuck in that for a week.I am doing an app to get all reviews from a playstore.Its for all end user who have account in playstore.
This documentation specifies that i need to create oAuth and i need to link project id in my developer console
for accessing review api
i tried that and its working fine..But for all end user its odd for them to create oauth and link project id into their dev console and then accessing my app
i dont get any soln
if anyone knows pls reply
 
@Ahmad You wanna or should I
 
3:52 PM
;_; ay
I'll do
Lavanya: please read the room rules, and please post the question on the main site
and then just link it here
 
yeah okay
 
tho emphasis on actually do read the rules room-15.github.io
@raghav how do I maximize hotel points while not having a good credit card
(can't get any good points card in europe)
 
I have read and understood the rules
 
great, thanks!
 
Put it on whichever card gives you the most flexible points or largest cashback
If you don't have a clear winner, more or less any decent card (among what you have) works best
 
3:55 PM
you have any recommendations for europe?
 
@PetterFriberg I have rules?
 
Hmm, not really
 
well I meant Tim Post, but you will do as well :D
 
I know some people churn with UK cards
 
I'm going to be travelling a lot for the next 3 months + staying in hotels 4 days a week
so I wanna milk this
 
3:56 PM
Haven't read about most other countries yet
Get an Amex plat, that's pretty universal
 
damn you think I could get a UK card without being a resident?
 
Should get you centurion lounges too
No idea, haven't tried
You might be able to sneak a few US ones, you have an SSN
Getting hotel points from the cards is rare, most people try to optimize for cards that give them hotel status
So that when you stay at the hotel, you get upgrades and drinks and stuff
 
@Tim this but I guess you already saw it.. meta.stackexchange.com/questions/309645/…
 
The points you'll earn will usually be negligible
 
3:58 PM
aaah gotcha
I think I can actually get insta gold(?) status on starwood and hilton if I sign up with my corp email
 
Time to go
Cya later people!!! :D
 

« first day (2761 days earlier)      last day (2202 days later) »