« first day (3585 days earlier)      last day (1364 days later) » 

8:45 AM
distant cricket sound
 
Imagine being so pointless even the crickets stay away from you
 
Thank you.
 
 
1 hour later…
9:49 AM
Is this a new client side error standard I'm not aware of? :P
 
10:25 AM
This was the most starred message last year on this day:
Aug 10 '19 at 17:41, by Mehdi B.
then if you see the right port mapping on the output of Ivan's command, go into the container "docker exec -it containerId bash"
 
 
2 hours later…
12:53 PM
is it possible to implement a code based firebase authenticator? as an example, I get the code MKV1234 and I can use it to auth on a website
 
1:18 PM
You mean as a text?
 
yes
like a short auth token
 
1:48 PM
Yeah, that's just an SMS 2fa at that point, don't see why that'd be particularly hard
 
hmm I don't know if I can integrate this with firebase
 
but that uses a phone number
 
So where would you want to send the code?
 
To the ether
 
1:51 PM
Email? Post? Runner? Write it in the sky using chemtrails?
 
to the ether
no, I'd like to auth the user using a code
instead email/password
 
What about google authenticator?
 
Yes, but the user needs to receive the code somehow
 
so the user would insert 1234 and I will know it's the user
might be a stupid approach
 
Yes, but how does the user know they need to insert 1234?
Where are they getting 1234 from?
 
1:53 PM
I generate it for the user
 
But how do you share it with the user
 
the mobile app should generate it based on the email password
 
Now we're making progress
2
 
but on the website I'd like the user to use 1234
1234 it's his own code, from the app
 
Mawk mawk is right, the sanest approach here would be to use a totp - when the user signs up for your app, create a totp secret for them that is stored locally, as well as on the server
Then, just show the user a totp
As long as you have less than 50k users, odds of collisions are low
 
1:55 PM
You should put a 3rd-factor authentication. Blood sample each time you use the app
 
blood is for the weak
 
But if you already have an app, and want to just show a temporary code once, and have the user enter it on the website, you probably can't do it out of the box with firebase
 
I didn't say it should be your blood
 
yea, I don't think firebase supports that
 
You'd have to write something that creates a code on the backend, sends it to the app, and shows it to the user, and expires the code automatically after a minute or two
 
1:56 PM
yep, something like that I guess
so firebase is useless
imma need a server
 
An easier solution to code would be:
1. Have the user enter their email on your website
2. Send a push notification to all apps registered to that user
3. If the user clicks accept sign them in
You should be able to handle it with realtime database or something without an actual server
But why are you doing all this?
 
Cause he can
 
What in the last 30 years of username/password conditioning for users is not living up to your standards?
 
I wanted to do that in order to allow the user to upload a file to firebase storage without login
so the website would just do that
upload a file for a user
and adding login for such a simple thing was too much
request the user to login to only drag and drop one file and click upload
 
So.... why not just ask the users to visit grrigore.com/123456
And have that link tagged to a user
 
2:00 PM
how do I tag that to a user?
in the db?
 
have the app store something on Firebase realtime db or whatever their storage offering is
 
i wanted the user to add the file and insert 123456
 
But if they're already on 123456, they can already upload it and be tagged to it automatically
 
how do I tag them?
 
Use a paintball gun
 
2:02 PM
.... read the code from the url
 
I mean how do I authenticate user X using grrigore.com/123456
 
The number at the end is unique to each user
 
get the last section of the url
there's even an utility method for that
 
hmm I don't know if I can upload a file to firebase storage like that
I mean I know 123456 is user X
 
Read 123456 into a hidden form field that's passed to firebase storage or however you pass data as part of a file upload
 
2:07 PM
yea I got that
well I give it a try
thank you
 
 
2 hours later…
4:25 PM
posted on August 09, 2020

Android Weekly #426 🤖 #outlook a{ padding:0; } body{ width:100% !important; margin:0; padding:0; } body *{ -ms-text-size-adjust:none!important; -webkit-text-size-adjust:none!important; } body,.wrapper{ background:#ffffff; color:#505050; font-family:Arial, sans-serif; font-size:12px; } table,table td{ border-collaps

 
4:41 PM
I no longer jam on Android. iOS all the way!
Apple > Android
 
5:09 PM
Ban him
 
5:46 PM
^
 
6:29 PM
^
 
^
 
6:58 PM
Kevin Paul Montealegre Melo requested access. Rep: 25 - Questions: 7 - Answers: 2 (ratio 4:1.1)
 
 
1 hour later…
8:19 PM
bernie wouldn't be happy
 
 
3 hours later…
10:58 PM
\o
 

« first day (3585 days earlier)      last day (1364 days later) »