« first day (2837 days earlier)      last day (2103 days later) » 

2:38 AM
Me: Do that thing I like. Husband: *drops me off at Target*
 
2:49 AM
o/
 
 
2 hours later…
4:50 AM
@Code-Apprentice kind of now. Tired as hell
 
5:18 AM
@WarrenFaith I was streaming some more earlier. Found a headset I can use and also added an audio channel for some music.
 
5:45 AM
A I see
 
WTF brought twitter.com/realDonaldTrump/status/1021234525626609666 this on? Woke up to see people sharing this
 
6:03 AM
@SurajRao I have no idea. I'll have to check the news tomorrow morning
 
spam mails are getting agressive
 
Gooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooood Morning Everyone!!!!!! :D
 
\o morn
 
Didnt Google filtered it?
 
I have acquired strawberries
Kinda bland tho
 
6:21 AM
@Code-Apprentice well.. whatever it was. It seems to have created a dumpster fire in twitter
 
Twitter was already a dumpster fire
 
This one is a US president screaming
kinda bigger than regular ones
 
> Apple Seemingly Unable to Recover Data from 2018 MBP/TB When Logic Board Fails
@AdamMc331 Next time, you can actually pass on the blame for losing your keystore!
Because that logic board will inevitably fail after overheating
 
6:46 AM
This is a strategies news or real?
Always issues logical-raid storage on important/sensitive data
Use only trustable power supply or some of them might hurt HDD when peak throughput
 
7:01 AM
@SurajRao just another day right
 
Good Morning
 
yeah... cant be surprised by his antics anymore I guess
 
is it possible to link pricing template with subscription item in android ?
because when i create two in-app item (one is in-app purchase and other one is subscription). After i have created on pricing template and try to link with in-app item then what happen is i can see only in-app purchase item to link but subscription item is not available for link?
 
7:25 AM
Fragmented - Android Developer Podcast: 133: Dependency Injection and Service Locators in a Kotlin world with Danny Preussler
posted on July 23, 2018 by shows

A hotly debated topic at the moment is the use of a library like Dagger for dependency injection in the world of Kotlin. In this episode, we talk to Danny Preussler. Danny's a pro who's been around from the Java 1.0 days! He helps trace the history of dependency injection in Java all the way to today, in a Kotlin world where there exists alternatives like Koin and Kodine. We dive into how some

 
@DaveS oh, archer! Nice :3
wassup guys? o/
@CptEric reply with dick pick
The meaning of life - post a message that will remain in starred list of r15 for weekend :D
 
7:45 AM
@DimaRostopira have you any idea about my doubt ?
 
I don't even understood your question
And I'm still drunk, I guess
 
because of late night party ?
 
Nope, I'm nerd
I'm not going to parties
I bought ps4 pro on friday
 
wow
 
MORNING!
 
7:48 AM
Sup.
 
@nyconing yes it did. i check the spam folder for fun
 
actually what is my question is, I have create two in-app item in google play store.
one is in-app purchase and another one is subscription
 
> "your car is rated 8199€. sell it now on salesman_web_name now!"
goes to the tax agency rating site
searches up by national id + car plate
FALSE! my car is rated 8889€! wanted to scam me 600 buckaroonies. mhmhmh..
 
@Ninja and?
 
now i have created one pricing template and try to link that template with that in both in-app item
 
7:51 AM
I want to record audio as raw pcm buffer and wants to immediately playback either in kotlin or java. i can save as .mp3 but not as buffer :( any useful links?
 
I dunno what pricing template is
 
now when i try to link at that time i can see only in-app purchase item id only
 
if i ever do inApp stuff remember me to set up a backend linked to paypal instead
looks like google inapps and apple inapps are both a mess
 
not seen subscription id for link with pricing template
 
@SatizhJ Man, you are fucked up. Don't use goddamn androids default mediacodec
I've implemented such thing few weeks ago
use OPUS
 
7:52 AM
ok, Dima
 
Dima, what animal is the one in your pic?
 
hedgehog
 
@CptEric not allowed
 
really? looks like a chiuahua with a mullet
 
The long-eared hedgehog (Hemiechinus auritus) is a species of hedgehog native to Central Asian countries and some countries of the Middle East. The long-eared hedgehog lives in burrows that it either makes or finds and is distinguished by its long ears. It is considered one of the smallest middle eastern hedgehogs. This Hedgehog is insectivorous but may also feed on small vertebrates and plants. In captivity they may live as long as 7.6 years.Since the long-eared hedgehog is naturally parasite prone and can carry diseases as bad as plague, it is highly recommended that, if kept as a pet, it should...
 
7:53 AM
hedgehogs here are more hairy
 
Looks sharpy
 
oooh.
neat.
spanish hedgehogs look like punk beavers
 
@DimaRostopira Haha ... i know it already thats why asked for help. i will try OPUS.
 
7:55 AM
looks cute
didn't knew that there was a species with long ears
 
@SatizhJ this is what you asked for, already done github.com/martoreto/opuscodec/blob/master/example/app/src/main/…
 
anyone ever used an xml parser/converter with retrofit? I have to deal with XML request/response for an external API
 
@DimaRostopira omg. you are a life saver.
why i am seeing chiuahua's here
 
@SatizhJ IT'S HEDGEHOG
 
someone taught me wrong
 
8:00 AM
@WarrenFaith only on IOS sadly
you have a SOAP backend? sad :(
^maybe this
 
Karan Chunara requested access. Rep: 79 x - Questions: 2 - Answers: 13 (ratio 4:26.0 ✓) - Name: ✓
 
yeah, they work with simplexml too
I just read in a medium blog post that simplexml is not maintained anymore!?
can't verify that information
 
haven't heard about it in a long time
my last experience with XML on android was 7 years ago during my DAM degree classes
our SOAP client app is ios only, but it's a mess.
because they kept using restricted XML characters for content
:D
so once every now and then we get bug reports that 99% are because a new, unparsed-as-unicode character strikes against our reader
 
@KaranChunara you have access. Please read the rules first and confirm you have read them before saying anything else
 
8:18 AM
Who wants to join me in doing a project euler problem every day
 
project what
 
We should have an r15 does project euler series
Ideally, everyone could pick a language
And we can compare implementations and language specific benefits
 
> adults whose background was not primarily mathematics but had an interest in things mathematical
 
Dibs on go
 
totally not on this spectrum ^
i am really bad at mathematics
 
8:20 AM
They're usually pretty doable with basic reading
Some aren't, but by the time you get to those they others should whip you into shape
The really simple ones take like 5 minutes
 
> The Simple XML project is no longer maintained. We recommend switching to the JAXB converter.
also
> Note that JAXB does not work on Android.
 
sigh
 
I really hate xml for exactly those reasons... it is fucking outdated
 
welp
if you want to do it the fun way
 
external API will be moved to json until end of year so all I do now is outdated anyway
 
8:21 AM
this might do until the full change is done
it works
also lets it work backwards
and welp, anyway, you can hand-wave requests and parse results
it's ugly but it works
 
me_irl
4
 
congrats to pakistan btw for their tree planting project
dunno if anyone here has roots there
 
Ancestrally, I do
@Ahmad has legal ones too
 
TLDR: they have already replanted a thousand million trees and catalan biologists and geologists doing the follow up have confirmed it's working and it's turning the ground into fertile soil again
they are reducing erosion at a rate of 5.2% / yearly
 
Nawanshahr is in Punjab(India) too. Punjab is in Pakistan too. Too many cities cross between Pakistan and Punjab. Half of us there.
 
8:29 AM
some species have been planted also for profit of the farmers / landowners so it's not only green but also profitable: one of the 40 species planted is the mediterranean eucalypt, grows in <5 years to adult size and can be cut down for wood.
 
/o/
 
Hey guys
I have ALPHA_8 Bitmap
 
yeah?
 
and drawing it on canvas
on Android 8.1 it draws
on 5.1 doesn't
wtf
 
8:34 AM
@CptEric they planted them where?
 
pakistan
 
ah ok
 
mostly in regions deserted during the 60's-70's
 
5% is pretty good
 
@CptEric difference is 700* tho
 
8:38 AM
i accept them taking 100€ as comission :D
but not a whole 10%
 
@CptEric wow nice
oh ok
@RaghavSood your ancestor migrated from pakistan during partition?
 
oh nice >>> one of the new forests, years ago devastated by the war against terrorism, is now blossom green and holds over a hundred local species.
 
8:55 AM
RGB_565 works but ALPHA_8 doesn't 0_o
wtf
 
alpha_8 must be new mode
check which api version it was introduced
 
Yo Shinobis o/
 
o/
 
o/ long time no speak :)
Anyone has experience with onTrimMemory(15) being called immediately when the app starts? :D
 
> ALPHA_8 added in API level 1
@BenjaminGruenbaum I think, you should buy new phone :D
 
9:00 AM
@DimaRostopira It's an Android TV box, it has 1GB of ram so should be plenty :D
 
lol, 1gb
burn it down
and buy apple tv box
#DimonAdvises
 
apple? Yikes!
 
scienticious requested access. Rep: 109 ✓ - Questions: 9 - Answers: 13 (ratio 4:5.8 ✓) - Name: ✓
 
@scienticious you have access. Please read the rules and confirm you have read them before saying anything else
@KaranChunara access revoked
 
@DimaRostopira dump both, get a smart tv instead
one with netflix , hbo and amazon prime tv
no need for more
 
9:10 AM
@CptEric and youtube and <Some>Hub (I know, Tim is watching)
 
Hey RED_ long time!
 
I actually work with all smart TV platforms now, Apple is almost the worst (Roku is the worst)
 
@BenjaminGruenbaum Which app is it ? And what it does ?
 
I were joking about apple, I'm used to chromecast
 
i have a chromecast but i don't use it
i mean
 
9:11 AM
Would pick a solid Android TV box over Tizen and webOS in an instant, webOS is nice. Chromecast is also pretty nice though very limited.
 
what's the point of a chromecast really?
 
uuugh
 
@TheLittleNaruto my app or the STB?
 
I have read and understood the rules
 
serious question
 
9:11 AM
What's the point of android tv?
 
got one for free
haven't used it yet
 
forgot to put sugar in my coffee
 
@CptEric it's very easy to use the cast protocol and video players and apps typically have it integrated - so it's the easiest way to play music and videos on my TV from my phone and laptop
 
They are overcomplicated and almost always underpowered
 
(android tv) > not spending precious phone battery for youtube, netflix, or whatever, while coding on my laptop on my sofa
 
9:12 AM
@BenjaminGruenbaum the app which triggering onTrimMemory at the time of start.
 
Welcome scienticious!!!!!!! :D
 
@DimaRostopira you're thinking Android TV as in "I buy an Android TV to use apps" but a lot of providers use it for STB (set top boxes) - basically it's their cable.
@TheLittleNaruto my test app - which basically just shows a list of icons in an activity, the app does something both memory and CPU heavy but it hasn't even started yet at the point I get the warning :D
 
i have 0 apps on my android tv lol
 
@scienticious hello, welcome
 
0 apps aside of "HBO, *tube, Netflix, A-primevideo, youtube"
 
9:13 AM
@BenjaminGruenbaum Yeah, if there wasn't so crappy tv channels, I would use it, probably
 
Think mediaplayer.yupptv.com for example, there is a huge market for expats from certain countries in Asia (and otherwise) that want to watch their favorite TV on their TV and Android TV together with HTTP based streaming is a great way to give them that
@CptEric this is mostly for live TV, I personally don't watch a ton of live TV either but there is a huge market for sports for example. I just like live TV because it's an interesting technical problem
 
live TV trough an app?
usually there's tons of copyright issues on that
mostly marketing rights on countries
for example you can't watch sports trough the internet stream of most spanish channels
 
@CptEric yes, but we're working with the "legit" companies and copyright owners
 
bc exculsivity rights on the beer / drink / car company that paids for the half time show ads
 
through*
 
9:17 AM
oh nice
only asia or worldwide?
 
@CptEric the set top boxes show ads, I'm not a fan of that but as the ones doing delivery it's not really any of our business. Copyright and DRM is super annoying though.
 
would be nice to have a real lifestream to my tv of spanish football :D
 
@CptEric worldwide, I'm not sure I can talk about the sales stuff - probably not sensitive but we work with pretty big clients and improve the quality of experience.
 
neat ^^
 
Hmm, is there any way for me to detect memory pressure is "done"? That is, if I got an onTrimMemory and cleaned up everything is there a way I can check if it's OK to allocate?
That is, will ActivityManager.getMyMemoryState(RunningAppProcessInfo) at some point?
 
9:21 AM
not sure
when we have memory issues we usually go the agressive way
store everything - reload everything
 
Karan Chunara requested access. Rep: 79 x - Questions: 2 - Answers: 13 (ratio 4:26.0 ✓) - Name: ✓
 
no state management when state is inconsistent
 
@CptEric when I have memory pressure I go the super aggressive route and shut down the SDK entirely since our SDK can allocate ~300MB easily for caching and for performance improvement. I really don't want to "keep running" that when receiving onTrimMemory with a high value. It works on that particular box but I'm super afraid of it.
 
@BenjaminGruenbaum getMemoryClass() will tell you how much is available in your heap
 
That is, I am not convinced it actually works.
 
9:23 AM
But I'm not sure if that's much help if you're being trimmed as soon as the app is started
It's rare to get trimmed in the foreground
And allocating again may just stick you in a loop
 
@RaghavSood thanks, so would polling that help me figure out when there is memory available?
 
His STB RAM size is just 1 GB
 
Only within your heap, sadly
 
@RaghavSood not when playing 4K 60fps video and downloading at 20Mbps from a 1GB ram set top box.
 
getMemoryInfo will tell you about the device
 
9:24 AM
Also, it's not just my heap, it's the native heap - but I guess the only way forward is for me to do the work and check all the parameters. I can also pass a configuration to use a smaller cache size I guess.
 
getMemoryInfo should be helpful then
It will tell you about the entire device's memory state
Not just your process
 
Thanks for the advice everyone, I'll do some work and then complain about my incompetence when I'm unable to get it working :D
@RaghavSood does that require additional permission? Against my better judgment I am running as root in this particular case (I tried everything to not do that as an SDK but the particular customer has it as a requirement from the manufacturer of the box)
 
I don't believe so
It's part of ActivityManager
 
Thanks, will check it out
 
Check if it's deprecated while you're about it, it's been a while since I touched any of this :P
 
9:28 AM
It's not deprecated - the concerning part is that the onTrimMemory is not up to me, the box itself has some memory leaks or heavy allocations since it starts with level 15 sometimes.
It's like... I have 50 LoC to deal with unexpected cases for every 5 for actual logic :D
 
Sounds like Android, yup
You're already root, try allocating swap :D
 
oh that will do
get yourself a tiny bit of hard drive space
1gb will suffice.
make sure to tidy it up
 
Swap may actually work if you can allocated it, flash memory isn't that slow
 
I would really like to avoid doing anything as root :D In fact our code just disables itself if it finds out it's root by default.
 
Disable it after allocating swap :D
 
9:31 AM
YO i'm in the works of getting the new flat already
rent
no purchase yet
96m2 + 20m2 long (L shaped) balcony. 3 rooms , 1 bathroom
40€ more than what i pay, in the middle of the city center
and a motherfucking big assed kitchen
that i love.
since the first second i saw it
 
@CptEric how much is that a month? In Tel Aviv rent is crazy expensive.
 
> - So, what are you doing now?
> - Optimizing QR-code drawing
> - Why? Is it heavy?
> - Nope, but I thought that 128x128x4 bytes are way too much
 
390€ / month, all costs included
except electricity / gas / internet ofc
but gargabe costs, city tax, building costs, etc all-in
 
Wow, that is super cheap, I live in a similar but a tad smaller setup 86sqm, 3 rooms, big roof balcony and 1 bathroom - does not include electricity, gas and internet but they're really cheap and I pay 5 times as much.
 
the kitchen
out of pic there's 2 more metres of room
and a brand new oven
 
9:35 AM
:O
 
Mine works out to roughly 523.88 Euro
 
Actually just checked, I pay exactly 4 times as much :D
 
cool
 
For a room + share kitchen/living space
 
laughs/cries in lower salaries and lower costs of life
 
9:36 AM
Kitchen looks really nice too
 
yo raghav i can rent you a room now
i have 3 rooms and i just need 2
 
@CptEric This is outside of the city right?
 
no no. damn middle of everythin
 
is the last one you told us??
 
a newer one
saturday morning was the visit
 
9:37 AM
nice
 
notes down location
We will stop by for, uh, inspections
hides knife behind back
 
Yeah, I know you are happy but bro don't post too much info like that
 
no need to hide knife.
 
@CptEric my only tip is to visit the apartment twice - once during the morning to see the traffic and transportation, one during the evening to see the ambient noise levels and safety.
 
my coworker lives in the same building
gave the seal of approval
 
9:38 AM
Two for one!
 
user image
4
 
Knives are reusable
 
i've been @ his house twice for dinner
 
@MuratK. I don't really mind giving anyone my location, the internet can already figure it out :D We actually do that in the JS room on purpose and send pizza to each other.
 
pretty calm spot
 
9:39 AM
@CptEric whaaat the heeeck
 
it's 1 street away from the main avenue
so no traffic noise
again raghav: you have my doors and fridge open to you.
and my 3rd room for a modic monthly or bi-weekly price.
no need for knife.
 
How do you cut your food then :D ?
 
Ben since you are here, are you using Karma for testing?
 
with one of his multiple swords
 
9:47 AM
@BenjaminGruenbaum true
@BenjaminGruenbaum have you tried with large_heap ="true"
@BenjaminGruenbaum less space available higher the rent i guess
 
That's it, three strikes, time to put out the fire
 
Of course now that I'm trying it out the onTrimMemory never happens :D
@ColdFire I don't think that's something I can set up as an SDK but I may be wrong.
@ColdFire well, it's a larger financial issue here. The interest rate is low so people are buying real estate since it lets them leverage themselves with inexpensive loans on one end and can't invest in other 'solid' investments on the other
 
hmmm
 
That creates artificial demand (this problem is specific to Israel I guess)
 
@CptEric not for any other r15 memeber?
 
9:52 AM
That is, people are looking to invest and are getting real estate - this drives apartment prices up which in turn also drives rent up since people need to live somewhere.
 
make paella not war.
@ColdFire yeah for any
 
An apartment that was $200,000 15 years ago goes for $1,000,000 now in Tel Aviv.
 
wow
sounds like indian real estate
and forseeable bubble i guess :D
@CptEric yay~~
 
That's a problem, but it's not a bubble :D
A bubble implies that the asset prices aren't matching the fundamentals - that's not really the case here. It's strictly something the government can fix by increasing the interest rates.
It's funny, when I was in India in Delhi I told Indian friends where I went and they called me crazy and said it's dangerous there :D Cheap tourists from Israel are the worst never follow their advice :D
 
dangerous where?
 

« first day (2837 days earlier)      last day (2103 days later) »