« first day (3266 days earlier)      last day (1680 days later) » 

5:08 PM
o/ all
 
sup Dave
 
just the usual garbage
 
o/
 
5:27 PM
o/
@MehdiB. Here, we are devops :/
 
are you also design and QA?
 
he is magicman
 
hackerman
 
Sometimes, Dave
Is there somehow a way to update an emulators hosts file through the avd file?
The other stuff I've tried isn't working for me
Also, if someone wants to exchange knowledge for money stackoverflow.com/questions/58058931/…
 
5:42 PM
heya o/
 
\o
 
6:20 PM
found your issue cM
 
I think you mean "found one of your issues cM"
 
true
 
pebkac?
 
lmao, thanks
not using it though
 
6:22 PM
lol
 
damn, flag city
 
lol rekt
 
I'm running it through the terminal
 
well uninstall it through the terminal then
 
I suppose you could post it as an answer in case no one else answers in the next 7 days ;)
 
6:25 PM
lol
 
uninstall the thing that isn't installed?
 
does the simulator start?
 
no
 
check the path configurations
 
I tried a bunch of crap with different simulators, xcodes, and whatnots
it knows there are simulators
when I run appc --info
 
6:27 PM
I wonder if the error is because he spelled it titinium
 
open xcode and configure automatic signing
! Unable to find any valid iOS development provisioning profiles.
This will prevent you from building apps for testing on iOS devices.
You will need to log in to http://appcelerator.com/ios-dev-certs with your Apple Developer
account, then create, download, and install a profile.
 
for physical devices
 
oh, I don't use simulators, it's for poor people
 
or people who want to change the hosts file
or use my Mac's hosts file rather
 
why would you want to do that?
 
6:30 PM
because I need it to point to the api on a new server for testing before switching it out in the load balancer
 
just use a subdomain
or a 2nd load balancer
 
I asked. didn't get one
That's all more work than it needs to be. This should just work
 
can you just hardcode a static ip?
editing the hosts file on an emulated device sounds like more work than adding a DNS record
 
tried that. it requires a certificate
It shouldn't be really.
Well, the iOS simulator uses it's hosts hosts file
but I obviously can't get that to run
So I decided to test on Android
Searched and it should be simple to change
Except it's not, for me
 
do you have access to route 53?
 
6:34 PM
not sure
 
it's free to add a sub domain and you should absolutely have one for testing new APIs
 
actually, no not on that account. I don't have access to anything on that AWS account and I was hoping to keep it that way
 
that's the right way to do it and even if you configure your hosts file is it really going to validate via SSL correctly?
 
yes
 
I know when I try host tricks to redirect google on my co-workers computers it doesn't work
 
6:35 PM
lol
If it didn't work, I'd be in trouble by now. I've been effing with this box for about a month now
 
I see
 
It's only for our legacy mobile app (which was never right) that we are hoping to stop working on "soon"
It belonged to one of the other companies we acquired over the last couple of years and it was really one guy piecing shit together
it's all a shit show, really
 
well if it were me I'd get whoever has AWS access to add a CNAME record for the testing load balancer and you'd be done in 10 minutes
 
I just remembered my boss mentioning something about route 53 last week.
But I didn't know what it was at the time, so I ignored it
 
lol
 
6:44 PM
Right after I sent that, I was real life lol-ing hard. QA came over to ask a question and was like, "Are you laughing at me?" haha
 
lol
Our QA intern asked me this morning why her automated tests couldn't get past the captcha in our zendesk integration
 
oh, but it ended up being that it's not in the account with route 53 so didn't matter
haha
 
xD
sup magicman having fun?
 
I have to believe you messed with her before explaining it?
yo, CF...uh, no
 
no, she's struggling enough that I need her to learn quickly
don't have time to mess with her
 
6:47 PM
damn
 
you get messed with when you're competent enough to get it
it's no fun tricking my 1 year old daughter
kinda like that
 
ya, if she's having enough other issues then I get it
I mess with new people all the time expecting them to know I'm joking
That's how our newest engineer almost got a 37" Mac screen and, incidentally, someone else almost lost one
 
@codeMagic there is a way to disable ssl verification if you're using retrofit or okhttp
 
lmao
he's using appcelerator mehdi, so I don't think android libs are in the cards
 
damn appcelerator
 
6:50 PM
thanks, Mehdi, but we're using appcelerator, php, and other blackmagic
 
ah... reminds me of the Phonegap era :D
 
and what Dave said
right
 
appcelerator === php level shit
 
and we forked our new app off of this. So, I'm staying away from that team
 
we flat out refuse any all-in-one applications unless they are react native
 
6:51 PM
lmao
 
we tell them it's cheaper to rebuild than work on that garbage
and it's true
 
yup
 
yup
 
I don't think xamarin is bad, though it's been awhile
I'd rather use that than react
 
we don't have any practical c# experience on our team
 
6:52 PM
oh, then that's different
 
so we refuse those
 
@DaveS VeryCloseToJavaJustWithMethodsStartingWithACapitalLetter
 
I better go. I'm starting to have too much fun and people are going to know I'm not working if I keep laughing :D
Back to trying to hack emulators to work
 
Good luck! :D
 
and, +1 to mehdi's ocmment
ha, thanks
I'll come back and share more of my misery soon
 
6:54 PM
hahaha
 
yeah I've done some C# mehdi it's not bad but I'm also the only one with any practical Java experience
 
did you have your team learn kotlin for native apps?
 
no one knows kotlin yet
I'm the only one who does native android
We haven't started a new Native Android project since Kotlin was officially supported
 
opposed to White-American Android?
 
most clients would rather spend half the money on React Native
 
7:04 PM
so your clients are educated enough to actually choose the stack?
 
We tell them it's a quality thing and tbh most of these apps don't need that level of quality control
it's a big investment to drop $200k instead of $100k on your little start up company app
 
true
 
true, it's more pragmatic at first and establishes trust when you show them all the options, hopefully they get back to you for a native remake when they raise funds or start making nice revenue
 
yeah
 
what's native android vs not native android
is not native = iOS forced into android?
educate me
 
7:18 PM
native means you using the android sdk supplied by google directly
not native means using 3rd party shit like cross platform garbage like phonegap ,appcele bla bla
 
oh interesting, I wasn't even aware of the 3rd party way
This makes sense now
 
basically in simple terms a wrapper over the android sdk is not native shit
(in very simple terms)
 
with "non native" also called cross platform, you can also target iOS along with Android
 
yes
 
ahh
Why isn't native android by default cross platform if the JVM was built to be cross platform?
 
7:21 PM
because ios is not based on JVM
 
if you were to use low level features, using cross platforms is a suicidal move though
for content and CRUD based apps, it's fine
 
low level meaning anything not UI
 
lol tim true
 
I guess my confusion then probably comes from the fact that android is both an OS and a language, is that correct?
or is android not really a language
because if you wrote the app in Java android SDK shouldn't that by default be cross platform
Since Java is cross platform? this is where my confusion is
 
its not really a language
 
7:24 PM
Linux -> Android OS -> Dalvik VM (a moile optimised like JVM) -> Android SDK + NDK -> Java/Kotlin + C/C++ app code
 
java is cross platform but it still requires the client to support JVM
ios doesn't.
 
but MacOS does
right?
 
you can install a JVM on macos
 
or is iOS the same as MacOS
 
yes , no
 
7:26 PM
I guess the root of my confusion comes from not really understanding the difference between iOS and MacOS lol
I get it now
 
both are not same
 
Right, I honestly thought there was one OS for all of the apple shit lol
the veil of confusion has been lifted
I think the easiest solution is to drop iOS support
be sure to let the executives in your company know!
 
- bb, 2019
 
@ColdFire this is kinda false
Java is cross platform because JVM is cross platform
 
I mean, technically, yes it's false, but as a high-level way to look at it, sorta okay
the JVM itself is crossplatform because it converts to assembly that all will udnerstand
Allllll will be clear with JVM
 
7:30 PM
@IvanMilisavljevic exactly, and that's exactly why Java shined when C was prevalent, the cross platform of the JVM
 
yee
 
@IvanMilisavljevic obviously how does it contradict my statement?
 
right, when it comes to android, Android is an OS, with linux kernel witch basically runs the sandboxed instances of Dalvik/ART (special kinds of JVM)
@ColdFire java itself is not cross platform to be precise
 
java is cross platform because it runs on JVM which is cross platform
 
right, thats right
semantics
 
7:33 PM
yesh
god damn it, I think I need to make an SO qustion
I'd prefer my rep to stay the smae
please downvote for every upvote
 
This is exactly how I like this room, talking about technical stuff not the usual garbage
 
Yeah says the guy talking about piss water and poo vegetables
;)
 
lol what did i miss? :D
 
the usual garbage
 
Fair, but that was a technical details of fertilizers :D
 
7:36 PM
lolz
 
6 hours ago, by Mehdi B.
just because putting a space before the parenthesis is an art masterpiece equalling the mona lisa
starts from here
 
I stand by this statement btw
 
realMenUseTwoSpaces  (String yolo)
omg markdown reduced it to one space
 
also on the stuff with kotlin native
it relies on platform specific implementations of low level stuff
using those exptected and actuall keywords
 
But that's like the JDK and low level stuff like the file system
That's why there are standards to be followed by low level APIs
 
7:40 PM
when i say low level stuff i mean like variables implementation and stuff
not actual system calls
 
Can you elaborate? I don't know anything about Kotlin native
 
this will a long one :)
The reason why kotlin native is so damn awesome when it comes to multi platform solutions
is because kotlinc is using LLVM compiler toolchain which is basically set of compilers for different languages
and it can be compiled directly into different binaries, without intermediates
also one reason why its super awesome, as i said those expected and actual keywords
 
what do they do?
 
Basically those 2 keywoards are like interfaces
you have a common definition of the interface/class whatever
and you let native implementations implement those with native stuff
for example you have something like this
expect class Something(){
fun do () {}
}
in the common module of the project
and than in the JVM module you have the actual implementation of the class
something like
actual class Something(){
fun do() {}
}
 
I'm confused, isn't it the goal to have the other way around? a common interface you (language) implement to have it run in that platform?
 
7:49 PM
nope
that common interface is shared kotlin code between all the platform specific stuff
and in that common module you actually only define the signature that relies on the platform specific stuff
and when you compile the project exptect is replaces with actual
maybe im not clear enought
i suck at explaining things
here is the docs
 
thanks :D I'll go through it
but in short, if you code in Kotlin native you no longer run on the jvm, you produce binaries for X platforms, right?
 
yeah thats right
 
that sounds awesome (as long as everything works) :D
 
yeah, as i said thats why its so fucking awesome
there are cons tho
you have to think about other supported platforms
for example you cant use annotation processing since there is annotation processing on ios
you have to use pure kotlin for everything basically
 
yeah coool
 
7:56 PM
on the other hand, there is a lot of support for pretty much everything you need, like IO, networking
Rx is supported i think, coroutines, flows, etc
 
anybody uses clean arch here?
or are people stuck with MVP or MVVM?
 
if no annotation processing, then no reflection either?
 
not sure about reflection, but im pretty sure you cant use it
or maybe you could if you used those actual and expect
and provide specific implementation in submodules
@ColdFire full on MVP
 
i think its time i give the chance to Uncle Bob
 
7:59 PM
hmm maybe i jumped fast to clean arch
 
mvvm is fine with me @ColdFire
 
but i kinda like it
 
wow
 
altho too many classes bs
 
@ColdFire please give a session on clean arch :D
 
8:00 PM
When it comes to clean arch i think it needs an update
 
tc guys
 
and i dont think it one-solution-fits-all
 
there are some stuff i disagree with clean arch
@bluetoothfx hmm you could download samples and learn its much better that way
 
JIC there are any HTML or JS or Chrome or IE experts in here...:
0
Q: HTML Input Text select() method not working with Chrome

ballBreakerISSUE: I have legacy code that runs with IE that I am trying to make cross-browser compatible. One of the features I have been struggling to get working on modern browsers (Chrome in particular) is the .select() function on Input Text. Currently users enter in a value into a field, and then hit...

 
tbh i couldn't make a simple HTML if my life depended on it
 
8:04 PM
xD dead
 
honestyly fuck html/JS and internet explorer
 
@ballBreaker i'm tempted to reformat that code
 
@ballBreaker yeah web sucks ass
why IE is not depricated? like 6 years ago
 
why do you put brackets on a new line and surround your conditions in parenthesis??
 
thats the standard style with a space after the function name and parenthesis
 
also do you know who nick crawer is?
 
@IvanMilisavljevic is he no longer working for the android core team?
 
o/
 
o/
 
8:11 PM
hey mauker
 
@MehdiB. i have no idea, i think he does
i think hes working on R8/D8
 
doesn't sound very ethical to trash the product of your company
 
he shits on them all the time
 
> Opinions expressed here are my own, not those of my company. They made me write this because I complain about Inbox going away so much.
 
yeah of course, I mean no company would trash itself XD
 
8:13 PM
Hey all
 
@ballBreaker I want my rep
 
he also posted a few days ago about how android holds back the usage of Java 8+, here twitter.com/JakeWharton/status/1174020113466568704
 
@IvanMilisavljevic yeah
@MehdiB. all hail Kotlin
 
> - JW:Happy Tuesday Android developers! Java 13 out today. Java 8 is now 5½ years old. Here's your bi-yearly reminder that Android is holding back the Java library and language ecosystem.
- Surprised not a soul here has mentioned Flutter, you all are such purists 😆
- JW: Well no one has mentioned Unity either. All these Macromedia Flash for Android frameworks don't really have business being in these conversations anyway.
 
i cant really remember the reason why android cant go 8+
 
8:15 PM
Savage 😂😂😂😂
 
i guess its the compiler, but can really remember why
 
@MehdiB. same lol
@Dave thanks amigol I had a feeling it might have been that bit
 
4 mins ago, by Dave S
@ballBreaker I want my rep
 
Let me make sure it works first you guy
you get an updoot for now
 
only 6 more upvotes to usher in the apocalypse
 
8:18 PM
@tim ^ what does the CoC say on this? upvote before testing
 
He gets the updoot for this
> createTextRange is not supported in Chrome
 
^
 
not convinced, see ya on meta :)
 
hahaha
why is it not registering my upvote
it keeps going back to 0
or is that just people in here serial downvoting dave
because, I mean, both are fair I guess
 
I see 1 upvote there
 
8:20 PM
now I need to post a long winded response about the intended purpose of the chat rooms and how we can combat cyber bullying as a community
 
maybe my ting is weird
I'm now downvoting, I clearly said my issue is with CHROME, DAVE
 
...
did you click the link?
 
hahaha
 
sorry Dave, but the proletariat who didn't get an upvote is on my side , I already win by popular support
 
or just read the url
 
8:21 PM
the firefox one?
 
they maintain compatibility and definitions for all major browsers
 
pssssh assuming I know that
 
if you're doing web development you should
upvoted you just to spite your rep
 
nooooooooo
I do internet explorer web development
lmao
 
lol
worst job title ever
"Internet Explorer Web Developer"
 
8:25 PM
worse than Samsung Mobile Development?
 
Dave, you got a new job?
Congrats!
 
yes, Mauker
 
hes special you know
 
lol
 
Dave got a new job?
what about your comrades?
 
8:26 PM
user image
2
 
im the blue one!
 
cM is just trolling me Mauker
 
I know, so was I
Ivan, what about Opera?
 
That picture reminds me of choosing a starting pokemon
Unfortunately I chose the retarded one that eats glue and needs a helmet even when sitting
 
netpork you should change your username to netsteve
 
8:28 PM
this always cracks me up
hes wearing a helmet
 
hahahah yeah
the best part for sure
 
@IvanMilisavljevic it's a tough world out there, gotta be protected
 
lol
lmao @MarkO'Sullivan^
> I don't hate Flutter. It has a great dev experience and innovative UI techniques. But the mechanisms by which it got there is trash and it deserves to lose. Dart shouldn't exist. Reimplementing rendering on all platforms is dumb. They should stop and invest in WASM/Chrome future.
 
LOL
What a roast
 
Dart Shouldn't exist lmao rolled over
 
8:33 PM
I actually don't recall ever seeing that image. I love it
 
> Yeah I used it back in 2013 for something before realizing it was (or should have been) a dead language. It's overwhelmingly average not unlike Go. But unlimited money means you get to live forever. Guess I'll work my way to CEO so I can kill both projects and bring back Reader.
which image?
 
with the kid eating glue
 
cM and CF talking at the same time confuses me
 
everything confuses me
 
Life's confusing cM
Should've known that by now
 
8:36 PM
I probably would have known it by now if I was always confused by everything
 
xD
 
lol i accidentally clicked on the js room
 
"accidentally"
 
@MehdiB. flag mod for suspicious voting ring-like behavior
 
😂😂😂
you scared bb and he left XD
 
8:41 PM
bunch of nerds
php room is fun
2
 
opening room in incognito 👀
 
lol i have no idea what are they talking about
everything sounds like a rocket science
imagine how many really awesome developers we could have if php was never created
 
@IvanMilisavljevic are you saying we're dumb here in this room?
 
xD ivan
 
@MehdiB. maybe a little ;)
 
8:45 PM
hahahahaha
 
nah man, we are supreme
 
seriously though, I don't know the php room, but the JS rooms has some gurus that talk about the depth of the JS language when explaining an issue
 
they also generate the most (usually, invalid) flags :D
 
XD
 
@MehdiB. this is actually awesome
its a little bit hard to explain android in depth
android is like a wild horse, beautiful and yet so unpredictable and crazy
and will kick you in the nuts every time it gets the chance
 

« first day (3266 days earlier)      last day (1680 days later) »