« first day (3203 days earlier)      last day (1746 days later) » 

1:28 AM
@Code-Apprentice 13 ms ping? I got 27 ms ping
Everybody's internet here sucks XD
 
1:46 AM
Ribbit
 
No.
 
2:16 AM
Good Morning folks.
 
 
2 hours later…
4:07 AM
@ZarNiMyoSettWin It's good night over here
 
4:19 AM
Greetings!
 
 
2 hours later…
5:53 AM
github.com/material-components/material-components-android/…. Slider component is still pending and there is no timeline from google. @Mauker you have a similar lib right?
there are few others as well on github.
 
morning
 
eLi
Hi
 
6:09 AM
sup boiz
 
nothing much. just boring for me as usual.
 
hi frnds
i want to hide truecaller dialog after call is rejected
any idea
 
user443346
6:52 AM
#FREE #JORDY
 
user443346
Oh wait I'm already unbanned
 
7:05 AM
#justiceforjordy
 
jordy was banned? i am surprised!.
 
7:26 AM
\o/
 
7:48 AM
o/
 
Can I somehow open windows 10 settings from command line?
 
the first google result, using the keywords: "open windows 10 settings from command line" says that you should type:
start ms-settings:
 
y, right... I have been googling in my language and had no results, thx
 
morning!
everyone ready for the rugby world cup??!
it's this september <3
 
Oh, I forgot about it
 
8:04 AM
nerds
 
8:30 AM
juicy drama
-157
Q: We’re removing “Hot Meta Posts” from Stack Overflow's sidebar for now; moderators now fully control [featured]

Tim Post tl;dr: We're removing the "Hot Meta Posts" from Stack Overflow's sidebar while we work on looking at how Meta can better meet its goals. To ensure that moderators are able to bring important posts to the community, we'll be giving them exclusive access to the featured tag. "Featured on Meta" w...

 
perfect
where is the comment about police state
 
take your pick
So it's not just to allow controversial topics to be more easily sidelined then? — Richard 15 hours ago
This is a pretty transparent and cynical move. It's very obviously designed so that negative meta questions are not shown to the peasants. We see straight through this. — JK. 10 hours ago
Everyone's welcome if they bring a hard hat and agree with our choices. Because if you don't we'll take down meta next. — remy_rm 13 hours ago
This post is another way of saying "We don't want to listen to your feedback because it's negative, and would rather not have other people look at it either". Moderators, please feature the important stuff to keep the Stack Overflow that we all (those who actually are a part of the community) love alive. — MattR 13 hours ago
 
That guys name is Tim
Your name is Tim
coincidence?
 
I think not
 
matt has a good point
 
mr5
8:38 AM
hi
Does hosting an http server in an Android app slow down the overall performance?
 
melted kit kats are not fun to eat
 
doing anything impacts performance
 
but, to be honesyt
i think a vector drawable of a donkey impacts performance more than a http foreground service
but that's just because android and bitmaps.
 
why do you want to host an http server in your app? :O
 
@mr5 you really really dont want to to this
 
8:41 AM
@MehdiB. cheap hosting
 
XD
 
install apache on it and put a cheap sim card and you have the tiniest host for your website.
 
@TimCastelijns can you help me with something?
 
if it's easy then maybe
 
duct tape some huaweis and you have a rack.
put a couple of those racks near a fan and you can open your own cloud mainframe
 
mr5
8:43 AM
@IvanMilisavljevic why? we are running out of option for caching video streaming for Xamarin.Android since the ExoPlayer's out-of-the-box caching library is not yet ported.
 
> Redneck Engineering solutions INC
 
sounds like a good reason to dump xamarin
among the other trillion
 
wont compile
 
8:45 AM
and you can make it green and eco by making those phones be powered by solar panels
 
is this room? I never used it
 
you can always write java / kotlin code with Xamarin no?
 
yeah, but its more related to kotlin varargs
 
@CptEric 😂😂😂
 
21v solar panel array > 30mAh powerbanks > usb-c splitter > phone racks
 
8:46 AM
@mr5 lol you want to host video streaming service on the device
thats not going to work man
like ever
 
user443346
Morning classics o/
 
cmon kotlin nerds, sovle this
 
mr5
@IvanMilisavljevic no. the self hosted http server will serve as a caching mechanism.
 
map returns List<PollImage>?
 
8:47 AM
yeah
it used to work with list.toTypedArray()
 
the error is about the unpack thing? The *
oh yes I have that typedArray thing in a few places myself
 
yeah you have to unpack the array so you can pass it as vararg
 
@mr5 why not build a native bridge?
 
@mr5 caching servers usually have way more traffic than other devices
 
is list the problem? Works with array?
 
8:49 AM
nah
 
as in : working java/kotlin lib <> your bridge <> your xamarin app
 
mr5
@CptEric what's that?
 
typedArray converts the list to Array<T>
 
mr5
@IvanMilisavljevic can you explain?
 
yes but you don't use that
 
8:50 AM
a native written class that you can call from xamarin
 
Any reason why the spread operator is not implemented for other types of collections? — jivimberg Jun 29 '18 at 2:43
 
mr5
For the record, someone have already done this: stackoverflow.com/a/36538295/2304737
 
mr5
oh native bindings
 
8:52 AM
it's called bridge in some frameworks. yeah.
 
mr5
we have also found some library for XF that have already did the native binding so we could skip that work.
 
and i think RN calls it interfaces
 
@TimCastelijns yup
actually makes perfect sense
vararg is eqvivalent of Items ... in java
 
there you go then, it's easier to do the binding than to build your own cache system
 
which is of type array
 
8:53 AM
which is basicaly Array<Items>
 
yeah man, high five
 
speaking of streaming
 
yeah but the strange thing
 
why on earth did amazon prime web client turn shitty fron night to day?
 
it should work with .toTypedArray
 
8:55 AM
suddenly i am region locked on every single movie reccomended to me
but if i open my ps4, i can watch them all
 
same from phone or tablet, it's just the web that says "unavailable in your region, bugger off".
i don't want to report it to amazon incase i am really region locked and it's the platforms that don't take it in count ,but wanted to know if somebody has noticed similar behaviour
 
mr5
@CptEric but do you recommend doing it?
I'm thinking we could run the server in a separate process so it doesn't affect the UI performance that much
 
of course you should do it
 
i cant really get into deep explanation how should you approach to the backend architecture
 
9:01 AM
no one spins up an HTTP server for just doing this hack
 
but, caching servers are usually represented on edge locattions (used to serve already served content)
 
mr5
10 mins ago, by mr5
For the record, someone have already done this: https://stackoverflow.com/a/36538295/2304737
 
@mr5 so? does that makes it good?
 
Thir primary usage is like non persistant data storage, used to reduce load on main application stack
 
mr5
well, we're running out of option so...
 
9:02 AM
I sent you a post where they do it with java...
 
user443346
@mr5 Stopped reading at iOS
 
user443346
inferior shit OS
 
mr5
basically, the local server would do something like this:
onGet(request) -> {
	if (File.exist(request.path))
		return Ok(localStorage)
	return httpClient.request(fromExternalAddress);
}
 
This is bad because:
Android NIC-s are way to slow to stream web content to multiple users
Caching servers store large datasets into RAM (because they requiere fast access) - you cant do this on android
Its going to drain phones battery, super super fast
Its going to drain data connections, super super fast
You cant do networking in the background anymore (on later android updates)
ths is just couple of reasons why you should do this
you will loose time and resources
 
mr5
> Its going to drain data connections, super super fast
can you elaborate on that bit?
 
9:06 AM
yes, some users have data plans (instead of wify)
like when you connect to the internet over your providers internet
 
mr5
does requesting from localhost consumes data?
 
no
There is also synchronization issues, with dynamic IPs, dynamic content and stuff
 
mr5
@IvanMilisavljevic there will be a video playing in the foreground while the server is running
@IvanMilisavljevic so how does it will drain more data compare to a request from external source?
 
well real caching servers serve data to other users as well
 
mr5
we are not going to use dynamic IP. I'm assuming the port number would be one of the problem
 
9:10 AM
i think you want to implement local caching mechanism instead edge cache
local caching for ExoPlayer?
 
mr5
yes
 
thats totally different thing
 
i hate constraint layout
 
30
Q: Using cache in ExoPlayer

ilansasI'm looking for any example of implementing cache in ExoPlayer. ExoPlayer has in its library different classes concerning cache and Google explain in this video that we can implement it with the CacheDataSource class, but Google doesn't provide any demo on it. Unfortunately this seems pretty co...

 
why eric
 
9:20 AM
1) it has the same flaws as it's inspiration, iOs's Constraints
2) 1 but in red
on unrelated news, i just discovered decimal points in DP are a thing.
 
How is the work life treating you here
 
well, i can work, that's a big plus. back in spain i couldn't get near to my office without almost passing out.
 
Is he treating you well?
 
yeah, warren is a good lead :D
 
what flaws are bothering you my son
 
9:29 AM
I like how he is in the chat and is monitoring you :D
 
if you zoom in on that :D you can see a tear
 
😃 twin/double connections are not possible, so they gluecoded "chains", proper spacing rules is not possible, so they created "spaces", and much more
 
but space is a widget, it's been around forever :)
 
doesn't make it less worse that they didn't replace it with proper layouting rules
 
what do you have in mind
 
9:32 AM
sherlock kastanijes
 
for chains, just that -> allow double constraints, aka : A>toLeftOf>B>toRightOf>A = the same as a chain with horizontal bias of 0.5
 
for spaces, it's more complex, but that's why my arch enemy is paid for atleast 6x than me
i'd go with a flex approach
and rework margins and paddings according to it, to unclutter views
i know there's a flexlayout, it's just they abandoned it
 
the key when doing android is to stay hydrated
and to do a lot of antidepressants
 
maybe jetpack compose will make this easier. Or maybe the new layout framework they will announce next year
 
9:40 AM
compose stuff is going to be more or less based on current stuff
its going to look something like this
 
easier to write I mean
assuming you can reuse snippets and write extensions etc
 
its going to be full on DSL
we'll see
 
so yes
 
im worried about boilerplate
 
Boilers are so last era
 
9:47 AM
i kinda like this aproach
 
We're all about nuclear containment sarcophagus now
 
nuclear sarcophagus tea.
 
10:16 AM
 
I used stetho and now flipper
 
o/
 
This was the most starred message last year on this day:
 
user443346
Lmao
 
10:28 AM
@TaseerAhmad where are you headed?
 
i am still loyal to Realm
well tbh i'ts been long time since i had to do db stuff anyway
 
yes mehdi
is this possible?
- app module, uses FCM push messages that are sent by firebase project A
- library module, uses FCM push messages that are sent by firebase project B
- app is unaware that library is also handling push message from a 3rd party server?
 
i think so. unsure on how much do broadcast intents propagate.
i mean, sure, the lib is only registered to B's FCM api key, so theorically, yup, both unaware of eachother's push thingies. practically: no idea, intents are weird.
 
10:44 AM
you actually dont have to use broadcasts/intents
 
UDID requested access. Rep: 2047 - Questions: 1 - Answers: 70 (ratio 4:280)
 
firebase should handle everything for you
@TimCastelijns ouf
this is not going to work actually
hm
your manifest merger will remove one of the MessagingServices with same intent filter
 
!accept
 
@UDID welcome. Please start by reading the rules and confirm you have read them before saying anything else.
 
lovely
the sdk offers a pojo without setters
so i can not deseralize that shit
10/10 programming
how do i search for static methods in a java doc?
 
10:57 AM
Mustufa Ansari requested access. Rep: 134 - Questions: 3 - Answers: 6 (ratio 4:8)
 
@IvanMilisavljevic OK cool
 
11:10 AM
!accept
 
@MustufaAnsari welcome. Please start by reading the rules and confirm you have read them before saying anything else.
 
anyone ever worked with consumerProguardFiles?
 
I have read and understood the rules.
 
thanks & welcome
 
Any idea how to load system wifi or LAN in android emulator.
 
11:15 AM
@ColdFire UAE
 
other than default android network "AndroidWiFi"
 
@WarrenFaith I was just reading about it yesterday but have not yet used it
 
for me it does not work :/
I will try and create a test project setup to see if it is working with default setup
 
let me know. I plan to use it in the coming days
 
hm... someone has done that
 
11:24 AM
kind of half assed, he doesn't even have any entries in the proguard file
 
hm... so the only diff I see is that he is setting minify to true in release buildtype in the library
 
oh it looked like it was all commented
 
yeah, took me also a few seconds to see it
 
library modules are always built in release btw
 
yeah, that is why I have disabled proguard there as I thought it might actually do something like renaming public api methods
 
11:28 AM
ah ok
interesting thought actually
it should do that
but only after the app has already implemented them, right
 
well, you should be able to obfuscate internal library stuff...
 
Warren, \o
 
Do you use markdown for documentation on Studio ?
 
11:39 AM
No.
 
oof
@TimCastelijns these new tools and APIs make me feel like i miss a lot on android dev :D
 
@MustufaAnsari your access has been revoked because you did not respond
 
same mehdi
 
isn't that what you do, like... on a daily basis? :D
 
12:06 PM
nice
 
12:21 PM
yeah but it's impossible to keep up
 
12:33 PM
ah yes, everytime I see something posted by Ivan, the idea of the regular "android dev stack which you'll catch up in 2 months" strays
 
user443346
Thank god it's only 37C outside
 
user443346
That moment when it's hotter in Frikandellenland than Turkye
 
eLi
12:47 PM
lol
 
Ribbit
 
user443346
BREAKING: Hottest outside temp ever measured here in NL
 
user443346
38.8
 
user443346
Hell on earth
 
heh
how does it feel
 
user443346
Cancer
 
1:21 PM
38.8 is ok.
my city's 40ºC
 
user443346
39.1 now
 
https://www.google.com/search?client=firefox-b-d&q=paris+weather+forecast

check tomorrow
but the difference of 20 degrees in 2 days is deadly
 
deadly?
 
metaforically*
 
it's all probably due to them renewable energies
 
1:28 PM
hmm
 
yeah
damn leftists
 
o/
 
user443346
Climate change is a hoax anyways
 
ಠ_ಠ
Why do we allow Jordy to stay here?
@Raghunandan I do, but I forgot to publish it lmao
 
user443346
Orange man bad!
 
1:42 PM
damn u guys are dying
by heat
 
ooo its Jordy drama again
 
The past 3 days have been our coolest all summer 😃 we exchanged our heat to you guys
 
user443346
If you call this drama I would hire a psychologist
 
hehe
 
Then you go hire a psychologist, idc
 
user443346
1:44 PM
Where can I send him to?
 
user443346
I'd hire him for you obviously
 
You don't know where I live
 
user443346
No shit
 
user443346
That's why I ask where I can send him to
 
1:45 PM
this is so ridiculous it's funny XD
 
Jordy If my internet speed is higher than yours I tell you where
 
pitter patter guys
 
nice tim
a reference I get
It's a miracle
 
1:47 PM
well done
 
It's all on you
 
just thought I'd share with you guys some wisdom today:
> Those who take a joke just as a joke, and seriousness seriously, they have actually understood both poorly - Mahatma Gandhi
 
user443346
@InsurgentPointerException Pretty sure I'm fucked then
 
user443346
Giggidy, give me a moment
 
1:50 PM
Gandhi was dumb
 
ooh i got 166. cool
 
user443346
 
so you live on minnesota?
 
@ballBreaker here the seriousness was the joke :/
 
1:51 PM
I want a result link @Jordy
 
drop the .png
 
user443346
In that case you have to wait till tonight since I'm not home (at the office)
 
user443346
Oh wait, maybe I have some results in my phone
 
1:52 PM
1 min ago, by Tim Castelijns
drop the .png
 
gandhi was an idiot mehdi
face the facts
 
@CptEric Yeah, please don't nuke MN
 
those who take facts just as facts understood it poorly
 
@Jordy How about your home internet?
 
1:54 PM
my country can't even into diesel submarines, so nukes are out of the question.
wait, i'm in germany now. does germany have nukes?
 
> Although Germany has the technical capability to produce weapons of mass destruction, since World War II it has generally refrained from producing those weapons.
generally
 
Yeah they've just been creating weapons of ass destruction instead
 
is comparing ones internet speed the new alphaness barometer?
 
ikea stools?
thought that was swedish.
 
user443346
1:56 PM
@InsurgentPointerException That is my home
 
@Jordy huh normal temp here
 
@MehdiB. whats your internet speed 😂
@Jordy No way
 
user443346
My office connection is much slower
 
You probably stole that result from somewhere
 
xD
actually no his internet is fast
 
user443346
1:58 PM
Yeah that's why I have 2 different results from the same IP
 
user443346
Pancake
 
you pick the wrong guy to fight exception
 
user443346
Indeed
 
What Jordy so thats not your result?
 

« first day (3203 days earlier)      last day (1746 days later) »