« first day (2590 days earlier)      last day (2342 days later) » 

12:01 AM
So after a full work day and some time this evening I can't say (other than the built in screenshot support) that I see any major advantages to Firefox over Chrome. Speed is about the same. Briefly looking at activity monitor it's just as much RAM usage tbh. Also I've heard the add on support isn't nearly as nice as it is in Chrome but I have yet to run into that problem (except for rlemon's not being on FF).
 
I use Firefox and Chrome for separate cookie stores
and do test browser shit
 
sorry you lost me at stores
6
 
the upgrade is nice as someone who's already used Firefox but I still develop with Chrome
 
@Ben You need 20 reputation for chat and 80 reputation for this room. More here - room-15.github.io
 
happy game to all hockey fans out there!
crickets
 
12:09 AM
o/
 
so far it feels nicer to me
going to give it a shot and see how it goes
so far I don't really miss anything from Chrome except for my Dictionary add-on
 
installed quantum firefox a few days ago. pretty fast so far
 
12:41 AM
lmao adam
@AdamMc331 :(
chrome sucks too much RAM tbh
yay felix
 
 
4 hours later…
5:12 AM
@ColdFire yes it does. My 8 GB desktop swaps a lot when I wake it up because of all the tabs I have open in Chrome.
 
 
1 hour later…
6:26 AM
 
 
2 hours later…
user443346
8:32 AM
HAPPY BURFDAY @CptEric 💕
 
8:44 AM
@CptEric Happy Birthday!
 
Many More Happy Returns Of The Day @CptEric
 
9:21 AM
HAPPY BIRTHDAY @CptEric captain
 
 
2 hours later…
11:43 AM
 
12:33 PM
Dropping here, in case someone wants to support these guys republic.co/coding-autism
 
 
1 hour later…
1:44 PM
o/
user image
4
user image
6
 
 
2 hours later…
mr5
3:59 PM
halo
suppose I get a SQL unix timestamp in UTC +0000 from server, how do I convert it in client's local date?
 
4:18 PM
what's the client?
 
Unreasonable, as always
 
mr5
the one who do requests
 
haha!
mr5, yeah that's what a client is..
 
mr5
hehe!
hihi!
 
I meant Android or Js?
 
mr5
4:19 PM
hoho!
huhu!
Jaba
it's always Jaba
 
19
Q: How to convert UTC timestamp to device local time in android

cavalloI need to convert the UTC time stamp that i get from the server to local device time. currently i get 5 hrs difference in my time. for example when i post to server the post time says 5 hours ago instead of a second ago. How to fix this issue. thanks Below is the code that i do long timestamp ...

if it's js, use moment.js
 
mr5
hmm
but how can I avoid this -> timestamp * 1000?
does SQL store timestamp in milliseconds?
 
I'm not sure, but I think it's depends on the Database System used
 
o/
 
o/
 
4:36 PM
Gah, trading is hella stressful
 
yup
 
Yay, another 2 LTC
 
Raghav - have you got a good password regex?
 
Wat
Password and regex are not words I enjoy in the same sentence
What are you trying to do?
 
mr5
String.isPassword()
"*********".isPassword() would yield true
 
4:49 PM
I mean a backend regex (backend validation), some regular one
 
mr5
while "I'm a password".isPassword() would yield false
 
+ 8 chars, 1 uppercase, 1 lowercase, 1 special character
 
mr5
@MehdiB. hey. that's my task last week
what I did was 3 regex!
 
you got it?
if you don't have it ready don't bother, I'll write it
 
mr5
"[A-Z]" contains at least 1 capital
"[\\d]" contains at least 1 number
"[a-z]" contains at least 1 small
then you go string.Length
 
4:51 PM
You can do something like ^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[!@#\$%\^&\*])(?=.{8,})
That's 1 lower case, 1 upper case, one number
And minimum of 8 characters
That's from one of my JS validations, not sure if it'll work out of the box in Java
 
mr5
"[^a-zA-Z\\d]" for special chars
 
Perfect, Thanks!
That's what I had, then I had an edge scenario and I forgot which one it was
^(?=.*[A-Z])(?=.*[!@#$&*])(?=.*[0-9])(?=.*[a-z]).{8,}$
 
mr5
y u no lyk simplification?
 
Because I'm old
 
mr5
In my sol'n, you could pin point which one is missing
 
4:54 PM
jk, I'm just tight on schedule and don't have time to test all edge cases
 
mr5
it's easier to test
than a oneliner regex
 
I need prod ready things :D
Anyway, Thanks (y)
another question, how do you make this message shorter "Password should contain 8 characters or more, contains at least: 1 upper case letter, another in lower case, one numeral and one special character" ? XD
 
mr5
lool
we have that same tasks
what I did was, is I convert one into 1
 
"Password should contain 8 characters or more, at least: 1 upper case letter, 1 lower case letter, 1 number and 1 special character."
 
mr5
perfect!
 
5:03 PM
(y)
"Password should contain at least: 8 characters, 1 upper case letter, 1 lower case letter, 1 number and 1 special character."
shorter :D
 
5:23 PM
o/
 
o/
 
Yay
1.65x on an ICO
I can live with that
Although I can't cash out yet
 
dude wat
 
I blame Coldy
 
why can't you cash out?
 
5:33 PM
Because trading hasn't started yet
Next month
But tis fine
Made just over $600 today
So I'm happy anyways
 
cash out and bro down
 
6% gains in a day is nice
 
but will you find buyers
 
Sure
 
damn nice
:)
 
5:41 PM
lol wut
 
o/
 
\o
@CptEric happy birthday!
 
Wooo!
 
Please spend wisely though :D
 
6:01 PM
o/ adam
 
Where are my manners
o/ Ahmad - Adam
 
6:20 PM
sup my dude
 
working when I should be exceptionally partying, how's it going?
 
why?
 
why what? :D
 
 
2 hours later…
mr5
7:57 PM
So I have uploaded my app in alpha release and noticed there's video of an automated test of UI before the full roll out. My app has a login so basically, the test cannot go further, and I have noticed that it entered "text" on email field and maybe on password too.
So I immediately input a text,text in my db.
 
Very interesting! do you know if their automated test has access to hardware features?
 
mr5
I'm not sure but the automated testing is very verbose on its logs of the entire event. It includes the ids of which button has been pressed, the parent views, sensors being used, etc...
 
Nice!
 
mr5
So the remaining two automated UI test devices seems to have failed on its task because it didn't put any values in the EditText. How unfortunate I didn't witness it logged in successfully
 
8:12 PM
what would be the reason it fails on setting values on your input fields?
 
mr5
I'm not really sure
Maybe because their script failed to execute
 
but if their was a crash they would have raised it, right?
 
mr5
8:39 PM
HAHA!
It proceeds to the MainActivity!
 
hahaha
Nice!
 
mr5
I just created another release just for that. lol
 
- what's remaining for me: Backend integration and errors handling...
 
9:19 PM
@mr5 grats!
I want to get back to my baseball card app. I'm working on a REST API for it to use.
Writing the first version of the API didn't take long...trying to work out all the kinks to host it has taken much longer
nice! I'm getting 3MB/sec download speed at the coffeeshop
now down to 90KB/sec ;-(
 
9:40 PM
@Code-Apprentice using which technology?
 
 
1 hour later…

« first day (2590 days earlier)      last day (2342 days later) »