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

1:29 AM
Knock, knock. A race condition.

Who's there?
 
2:04 AM
hi
 
 
4 hours later…
Tom
5:56 AM
morning
 
Greetings, he-who-has-been-named
 
Goooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooood Morning Everyone!!!!!!!!! :D
 
Greetings, person-who-I-firmly-believe-jinxed-the-delivery-of-my-keyboard-which-still-is-not-here
 
@CarlAnderson They are fine!! All super cute and fluffy
D:!!
i didn't jinx anything
 
LIES
 
6:05 AM
¯\_(ツ)_/¯
ok
 
I'm glad you're taking responsibility for your actions
Your admission of guilt has been noted down in preparation for the AI judgement panel
 
i was already on the doomed list
i've got nothing to lose :3
 
We would have let you be for the sake of the pandas
Now, the pandas are off the table
(and into an incinerator)
 
nooo
the pandas nooo
 
Kinda like oversized marshmallows
 
6:07 AM
😭😭😭
 
 
2 hours later…
8:11 AM
@MwBakker actually no, don't want to total my car
check the youtube vids on that
 
8:32 AM
@nana this is gold
hm i have interesting thing that came to my mind actually
When android project is compiled, compilation is divided in 3 steps
1. bundling the resources
2. Source is compiled with javac
3. .class files are converted to dex
and actually 4th step which is kinda bundling all the pieces together
so my question is if classes are compiled to .class already, why cant we run android on the JVM
 
Greetings!
 
Hiya Murat, Ivan,Raghunandan!!!!!! :D
 
Hiya wonper
 
8:40 AM
Ivan did you get the offer from the German company??
 
good morning good people
 
i guess its because JVM is has no apis to the android system calls, like Activity Manager and stuff
@Raghunandan nah i was declined, they hired someone from the EU
 
racist
 
Online since 04-10-2019 08:40 (UTC). Running on develop@355b70d. Uptime: 0h
 
Hmm.
 
8:41 AM
it makes sense actually, i would need like 4 months to get the visa
 
4 months is too long
Get a dtourist visa and then work visa
 
right, there is new law coming after new year so its going to be easier
 
Hiya Tim, Mehdi!!!!! :D
 
please edit to "coming"
 
8:43 AM
autocorrect huh
 
reflex
@Raghunandan thats not really legal, and they wouldn't be able to pay me officially
 
Ok.
 
I did windows update last night and it broke my ethernet adapter
πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘
 
#rekt
 
next thing I should try is to manually download newer (or older) drivers but πŸ‘I πŸ‘haveπŸ‘noπŸ‘internetπŸ‘
 
8:57 AM
 
XD
make sure you use that warranty and support to its fullest Tim :D
 
I tried to chat with the support guys from the company but they are offline because they are only reachable between 9 and 17h and πŸ‘itπŸ‘is πŸ‘pastπŸ‘10πŸ‘
 
D:
 
isn't 9 < 11 < 17 ? :D
 
one would think so
 
9:02 AM
I'd spam their support if I was you
 
hi all
 
hi individual
 
i need one emergency help
I want to call JavaScript function from android using webview but i am unable to call
228
Q: Android Calling JavaScript functions in WebView

user163757I am trying to call some javascript functions sitting in an html page running inside an android webview. Pretty simple what the code tries to do below - from the android app, call a javascript function with a test message, which inturn calls a java function back in the android app that displays ...

 
🚨🚨🚨🚨
 
I am following this way
 
9:08 AM
did you enable javascript? setjavaScriptEnabled(true)
 
yes
let me share my code
 
and the exception you get, all in a gist
 
no
3
 
you ask too much mehdi
 
yeah seems like it XD
 
9:14 AM
@MehdiB. i am sharing my code which i have implemented
 
Why do you share the implementation but not the exception?
 
But there is no any exception :(
 
are you hiding something?
 
don't share your whole activity, just the portion where you configure your webview and where you call it and the output
 
9:18 AM
good job
 
@MehdiB. I that commented cod that i have used to call that JS function
 
ok, first thing, replace that webview client with a WebChromeClient
 
okay
 
because the JS support is way more developed in the webchromclient than the other
 
9:20 AM
now what?
 
now test
 
Okay, can update any code?
 
o yeah I hadn't read his question
 
then what is the output of that JS call?
 
its return like this
[INFO:CONSOLE(1)] "Uncaught TypeError: showPaymentForm is not a function", source: (1)
 
9:25 AM
well there you go
 
sorry ?? :| what??
 
it executes the js code
 
^ check your JS code, how did you declare this "showPaymentForm" function
 
Okay, but this html page is already developed and its working in iOS now i have to implement it in android
 
that's not relevant at all
 
9:30 AM
hello
 
Ok Mehdi B.
let me check it
 
So I found out about Freemarker which is so cool
Templates for the win
 
@grrigore yeah i have like a bunch of them for the MV* stuff
 
That's what I'm doing right now :D dagger, koin, fragments and activities
Is there a way to test them without Android Studio?
 
9:37 AM
Oh :(
 
also every time you make a change you have to restart android studio
 
That's time-consuming but worth it, I guess
I know
Any tips and tricks?
 
am yeah
like i guess you already know how to create xml files
 
I'm facing an issue with dependencies, how can I add Dagger dependency? Using com...dagger:+ won't replace the + symbol
 
there is speciala decleration for dependencies
 
9:42 AM
Yes, in the recipe file
<dependency mavenUrl="com.android.support.constraint:constraint-layout:+" />
 
right
and whats the problem with dagger?
 
<dependency mavenUrl="com.google.dagger:dagger:+" />
 
do you have google() at your repository decelration?
 
This one just added com.google.dagger:dagger:+
 
i guess dependency cant be resovled (and by that dependency version as well)
 
9:45 AM
@IvanMilisavljevic I do
and what about kapt? or other "apply plugin:" stuff?
 
nah you cant do that
well you can create a template for that file
 
and use merge? Like used in AndroidManifest, right?
Also, did you use templates for RV too?
 
@MehdiB. here is my html page
 
10:08 AM
Can someone help me in understanding how examples b, c, d make any sense? to me, nothing repeats there.
its from adventofcode 2018
 
which day?
 
day 1 part 2
just started doing something in kotlin for the first time
> +3, +3, +4, -2, -4 first reaches 10 twice.
but, frequency change is 0, 3, 6, 10, 8, 4; so 10 happened only once.
 
you loop the numbers
 
yes indeed ^
 
0 3 6 10 8 4 7 10 14 12 8
 
10:13 AM
> Note that your device might need to repeat its list of frequency changes many times before a duplicate frequency is found
 
you loop until you find the repeated frequency
 
Oh, I missed this! thanks.
 
np :3
 
couldn't have figured this out without help.
 
I got stuck around day 3/4 so I can help up to that point xD
 
10:15 AM
haha! i used to do things at hackerrank, but no competitions there these days.
 
make sure to read everything twice because the puzzles get really difficult really fast
 
yeah >.<
 
yes, thanks
 
10:40 AM
This was the most starred message last year on this day:
Oct 4 '18 at 19:01, by bluetoothfx
KO Tim wins
 
10:55 AM
@IvanMilisavljevic Did you ever get java.lang.RuntimeException: java.lang.NullPointerException ?
When trying to generate the files
 
11:14 AM
When I try to generate the file I get the error from above
 
11:28 AM
@MehdiB. Do you recommend any specific book on ML?
 
o/
 
o/
 
11:56 AM
@ColdFire are you seriously never going to learn?
 
12:09 PM
@ballBreaker That was for unrelated reasons, and before this mess surfaced.
@ballBreaker yup. /cc @TimCastelijns
 
yeah I figured, we were just messing around
trying to laugh the problems away
didn't work
 
I just run searches on my name across all three chat sites when I know I'm involved with stuff. Rarely look too much into context because I'm way too lazy
 
yeah you can also filter on highlights I think
 
@TimCastelijns haha
 
meh, chat search is awful
 
12:40 PM
@grrigore hey man, sorry i had to go
i guess there is something missing in the templates
 
No problem, yes it was URl instead of Url :(
 
right
on the tips and tricks, you can define your own variables
also merging xml based files is kinda straitforwad
you cant merge source files tho
 
@IvanMilisavljevic How can I do that? I tried to define them in the globals file but can't use them in .java.ftl or .kt.ftl files
I want to define this ${adapterName?split("Adapter")[0]}ViewHolder as a variable
 
eLi
Hi
 
@grrigore you can do this with class name
something like $className_ViewHolder
you dont need variable for this
gimme a seck
 
12:46 PM
Sure, take your time. The thing is I generate the ViewHolder name like that or any other stuff and I just repeat that part of code, I'd like to define it somewhere, but I can't find the place
 
take a look at core package for example
thats custom variable
 
That you have to input
oo I see
I think I got it :D
 
Thank you
 
yeah no probs
 
12:51 PM
@MehdiB. do you know of this? reddit.com/r/SubredditSimulator/top/?t=all a subreddit where only bots create content
 
really useful stuff, also speed s up development a lot
 
@TimCastelijns nope, only the posts or even the comment? :O
 
everything
no humans are allowed to post
 
wow!
> This subreddit is intended to be watched, not interacted with. Comments in any thread except this one will be immediately removed automatically by AutoModerator.
this is brutal XD
 
@IvanMilisavljevic Sure it does, creating 15 folders for an MVP activity and so on it's time-consuming. I have just one more question. I need to lowercase the first letter of a variable (viewHolderName) is there a function for this? I saw that there is cap_first
 
there is lower_case but for the whole string
 
second one is for lowercase
 
btw what language is this? :/
 
@Ninja I was out, so did you fix it or not?
 
groovy?
 
12:57 PM
this one?
thats apache fremaker
 
uncap_first, yes, didn't see that coming..
 
i think its run on java i think
 
so this is itself a language, I thought it uses other ones or something
 
more like a specification, not the actual language
as i said it uses java under the hood to generate files based on the template specification
 
Yes, useful stuff and it's quite easy to use once you get used to it or at least for some similar purposes
 
1:00 PM
yeah im usually generating, Activity,Presenter View, Dagger Component and Dagger Module
+ some kotlin extensions
 
But as an example I use the following structure: screen -> screenname -> view, model, presenter
 
but you could generate the entire project
 
The package that it uses is the one defined in the "box", the input one
right?
The package you're currently in
 
what do you mean exactly? like the one i sent you with the core package?
there is already a variable for that
 
Yes, but when you click New... MVP activity in package A
 
1:03 PM
yeah
this one
 
It's different than creating from package B
 
package ${packageName};
 
Yes
And can you force it to be in a specific package all the time
 
thats the current package yes
i think you can but im not 100% sure
i created an input for that "core" package that i need
because its different between the projects
 
Yep, that might be an easier solution
 
1:36 PM
@MehdiB. Yes I have fixed, thanks :)
 
what was the fix?
 
deleted project
 
@MehdiB. I have added addJavaScriptInterface() and call that JS function using Build.VERSION.SDK_INT condition
 
(y)
 
(y)
 
1:59 PM
seems like a very much needed skill Ahmad :D
 
Have a nice weekend, guys'n'gals! I'm off!
 
it's actually a nice and funny video :D
 
2:20 PM
@RaghavSood new game free on Epic Games Store :D
just so you know :3
 
@W0MP3R WHICH GAME???
 
minit
 
thanks
 
no prob
 
2:35 PM
@MuratKaragΓΆz I always wondered where is that gif of him clapping coming from :D
 
3:03 PM
Rust Cohle, one of my top favorite series characters
 
not enough gatis kandis
 
thanks for the reminder πŸ˜‚
 
I forgot my umbrella
):
am a sad panda now
 
you in hong kong?
 
why do you need an umbrella murat? no πŸŒŸπŸš— today?
 
3:11 PM
My better half took it )':
 
time to get a Renault Kangoo for yourself
 
posted on October 04, 2019 by lfy

Emulator 29.2.3 is now available in the Canary and Dev channels. Changes: Windows MSVC build: Fixed incorrect optimization flags.Google Maps UI: Fixed issues around GPX/KML route playback.Keycode forwarding: We now maintain a mapping of host keyboard type to Android keyboard type, and only forward host keycodes when both the host and Android keyboard type can be determined and correctly mapped

 
time to get another star
 
rip the bank account :D
 
3:59 PM
o/
 
4:41 PM
o/
 
@MehdiB. which series it is?
 
True detective season one
 
So are they just going to leave their "apology" at that?
 
Well her rep was reduced to 1 so she can't comment anymore
 
5:01 PM
they own the source code and database. They can do whatever they want.
 
more meta drama?
She asked to be removed so it makes sense that her rep is 1
Flag central in meta room as soon as I cam in here. haha
 
it's been such a cringeworthy set of events so far
I was hoping they'd try and turn the ship around a bit
 
It doesn't appear so from what little I've seen
I still am not completely sure of the issue. At one point I saw something about "trans people" but no idea how that fits in
 
there's 25 mods who have suspended their activity pending the outcome of the current events and nothing the SE staff has done is indicating they give a fuck
 
They will take a big hit if that's the case
But, in reality, there's enough users who don't care about any of that (or even know) who will continue to use it. Especially the help vampires
 
5:10 PM
My understanding from limited reading is that SO wanted to change the CoC to make it so that people who go by alternate gender (they? he/she?) pronouns would be respected on the site, and Monica tried asking a bunch of questions trying to get clarity on things (and whether just gender neutral responses were ok)
and that instead of actually having a conversation and dealing with the edge cases they just fired her instead
there's a lot of speculation (and outright claims by SE) that there's more than that that's occurred but SE isn't even giving a single detail about it,
and so I don't believe them at all
 
ah, that's where the trans stuff comes in. Ugh, really surprising and sad
So, we need to include everyone except those who ask questions about how to properly include everyone. Got it
 
That's a decent summary from what I've read
 
Would all of us storming Area 51 help out at all?
 
I'm not sure how to storm area51.stackexchange.com
 
Good job, I forgot that was a thing
 
5:14 PM
o/ all
 
Hi, Dave
 
Sorry Dave, you're fired, we don't want to deal with your questions anymore.
 
thats fine I wasn't hired to begin with
 
we don't have to hire you in order to fire you
 
that's.... arson
 
5:19 PM
lol
 
5:45 PM
> She asked to be removed so it makes sense that her rep is 1
@codeMagic what does that mean?
She is stepping down as Director of CMs ?
 
I guess I'm not sure who we are talking about in that conversation. I just kind of stopped by and jumped in :/
I think it was Yvette who changed her name to that and I thought that's who they were talking about
I can't find relevant posts on meta now but I remember that being a thing that if you wanted to be removed then you changed your name to that
and I thought the system automatically did some things from there
There's Ahmad
 
@CarlAnderson underrated joke from carl
hello yes here i am
 
You're youtube video was hilarious
 
what's up my friends
 
hey Ahmad
 
5:51 PM
@codeMagic i have good taste in memes
 
I gave him an attaboy for it
 
the entire youtube channel is great
 
It was like the odd ones out. It kept feeling like it was going somewhere but never did. Haha
 
I'm still at work so I probably shouldn't click that and allow myself to get lost in youtube world
 
There, bookmarked :)

Casually explained videos

1 min ago, 1 second total – 2 messages, 1 user, 0 stars

Bookmarked 24 secs ago by codeMagic

Slightly an abuse of chat bookmarks but I don't care
 
@codeMagic Your*
 
yours
our
 
I forgot what your native language is, codeMagic
it's good that you're here to practice your English though
 
duolingo is pretty good for that cm
you should check it out
I miss inboxed tweets
 
5:58 PM
Even someone as skilled at the English language makes a mistake from time to time in haste
 
Hey babes
 
PeeHaa!
 
Long time. How is my second favorite room doing?
 
I was just considering coming to your room
 
@codeMagic ohhhh okay I thought you meant sara
 
5:59 PM
How ya been?
 
Good and busy
 
As effed up as normal
 
@Ahmad this series is hilarious
love this guy
 
he's canadian that's why he's so cool
 

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