« first day (3270 days earlier)      last day (1902 days later) » 

00:15
o/
sup nanana
nana is alive!
00:33
HE LIVES!
3
Hey guys
What's up nana?
Not much, fiddling with Flutter.
Finally managed to get multiplatform CI set up for both Android and iOS (without a Macbook) so that's pretty cool
Ohhh
Must've been hell to set it up
Mostly just because I never worked with iOS so I had ni prior understanding about the profiles, certificates and such, also the yearly $100 sucks, but whatevs.
It sucks indeed
it's a ripoff
00:44
yup, but everything is in that walled garden
true
01:18
LIES
you still have to pay the $100?
yikes
such an antique practice
yup
Yearly
Then 30% of 'all' profits
@nana I tried that briefly, then ended up buying a Mac Mini and an iPhone
I mean, we still have the CI for... CI stuff
But I found dev to be easier without extra stuff to jump through
So you test on it?
Unit tests, push to app store etc. is all still via CI
But having an actual Mac and iPhone makes dev a lot faster
01:30
I have an iPad, so I am testing on it but for daily dev I plan to use Android tablet emulator or my P2XL
For regular stuff I just test on Android, but still need both Android and iOS when dealing with the more iffy stuff like fingerprint unlock, secure storage etc.
Yeah I know it'd be more convenient, but I only have a 12" Macbook and I don't want to buy a MacbookPro now, waiting for the 16" model
Where the flutter plugins take different paths depending on the platform
Which is a fair portion of the app, so yeah
So you're using Flutter too?
Attempting to
If it all goes wrong I blame @MarkO'Sullivan
01:32
Well, I wish us both luck. I chose flutter in the end because the in app purchases should be doable for both platforms.
Did you try any other multiplatform solutions before? I checked out Ionic, and ReactNative, but parked myself with Flutter in the end.
Went straight from Native to no app dev to flutter
Flutter seems alright, tbh
I don't have any strong opinions on it yet tho
neither do I. The stateful hotl reload is nice.
I actually haven't got that to work yet
Lack of reflection kinda sucks...
Eh, don't really miss it
01:36
How do you deserialze your JSONs?
The backend comes with an openapi/swagger spec, so I just use the auto generated dart client
It handles all that
ah, cool
That'sa ctually a great idea I should define my odels in swagger and do that.
@nana Isn't a 12" Macbook enough to run dev tho?
It's enough to build every now and then, but not as a daily driver...
It's core-m from 2016, 8G ram and ONE! USB-C port
My approach is a little longer actually - I write the service and model specs in protobuf, then there's an autogenerated gRPC server to which I attach my implementation, then there's an auto generated gRPC->HTTP REST gateway which allows regular HTTP and JSON interfaces, which generates the swagger spec, which is then used to generate the language specific clients
It takes about half an hour to set up the first time, but works really well after that
The server side code is super clean, you can barely tell it belongs to a networked service at all
And you get the flexibility of communicating over HTTP or gRPC
@nana Yeah, the Mac Mini pretty much solely does this stuff now - my daily driver is still a T580
Company bought the mac and iPhone, so I'm not really complaining
But it works well enough
01:40
Interestin but way too involved for what I need ATM. I am reading one JSON from ASSETS for now and ave no backend yet :)
Uni wifi does not, took me forever to download xcode
Ahh fellow ThinkPadMan
My daily driver is now X1 Carbon 6th gen
Yeah, left Macbook Pros behind last year
I thought about that, but I wanted a bigger screen
The X1 Extreme came out like 2 months after I bought the T580 :(
Dual-boot, and in Ubuntu I got a Mac runing in VBox :D
Would have probably got that one if I'd known
01:41
I had the Extreme....you're not missing out.
I'm just running pure Ubuntu
It was just too Extreme
I have an X220 running qubes
I need W for some design/audio stuff unfortunately
github.com/essuraj/swagger-toolbox <- You can use something like this (or one of the hosted services if you want a better ux) if you're trying to move from existing JSON to swagger
01:42
@nana how did you do this?
im interested in ios part
Circle CI etc. support Mac build workers
That's what we use for iOS builds
Then you can take the resulting build and push it to a private/beta channel on the app store
@IvanMilisavljevic It was really pretty simple to setup, I used CodeMagic.io. You get 500 build minutes for free, at least. Now I am averaging6m per build/deply to Play and AppStore., all triggered automatically by GitHub.
There's also a way to sideload it in some cases I think, but I could never get the loaders to work on linux
@nana I have a desktop running Windows as of 2 weeks ago, mostly for games
Haven't played any games tho
aha this is for flutter
We do the same for actual iOS builds too, the other app is native
@nana That's actually quite nice, might try it out - seems less involved than CircleCI
01:45
@IvanMilisavljevic Yup, for flutter. We had it automated for Android and iOS, at my last comany but that was kind of involved, jenkins, fastlane, docker, kubernetes,....
Yeah this seem awesome
Holy shit I blinked and then there's 60+ new messages here
hello guys
i used Bitbucket pipelines/Gitlab ci and automating iOS builds was pure hell
How's Saturday?
If you blink that long it's called napping, Mauker
01:46
@RaghavSood I am thinking about getting back into gaming too, and for that I'd have to keep W too. The new Ryzens are beasts.
@RaghavSood lmao
true
I just bought frankenstein's desktop from one of the guys at uni who builds them to resell
Im currently working on kotlin multiplatform
i5 6th Gen, 16GB/ 1060 6 GB
its super awesome
01:47
Should be well enough, plus it's quite cheap for the price
@IvanMilisavljevic Yeah it was a hell too, some weeks I spent more time fixing the build pipelines that developing features :)
Never used Gitlab CI, but we never had much trouble with CircleCI - the most annoying parts were switching the build images to newer SDKs/updating the iOS certs
Gitlab CI is awesome because you can install CI runners on prem
and host rest of the code in the clod
@IvanMilisavljevic I looked at it, from a moving train, but if I understood correctly it's for building shared business logic not really the presentation layer, that is still written separately on each platform, right?
something like that yeah
there is no point in doing frontfacing stuff in kotlin
01:50
I really REALLY wanted to just write once run everywhere.
@IvanMilisavljevic Our devops guy would kill me if I told him we should move our CI on prem
well is better than running your CI in cloud
@nana Do you have a minute to talk about our lord and saviour, Flash?
also Gitlab Ci can run builds for external projects
@RaghavSood :) Did I hear OpenFL? I looked into that too :D
It's well and alive, surprisingly. And there are at least.. like 3 people... still using it.
01:51
TIL
lol tf is this
tf = the future
lol
flash is dead for a reason
Yes, to be resurrected
It had good parts. If you're bored look into the whole Haxe ecosystem.
01:54
4
Q: Is there any way to run PHP on Android

Slim ShadyI've tried to open my PHP script in the built in Android browser, but I only see my code, as text, and the PHP doesn't run. Why is that ? How can I run PHP on my Android device ? Is there a way to set up PHP and a web server on an Android device ?

multiplatform
IMO we should write multiplatform frontend code in Curses
@nana this is similar to how kotlin works under the hood
Watchumean?
Like the VM part?
Kotlin uses LLVM toolchain for building different binaries
01:56
I love TUIs
A well built TUI is worth its LoCs in gold nuggets
its actually runing in the VM only in JVM and Dalvik
TUIs are ESPECIALLy awesomazing for touch screens with no physical keys.
Even for regular computers, a nice TUI with well thought out keyboard bindings is amazing
Nothing can beat MidnightCommander
I'm working towards a more cli based lifestyle, or TUIs where possible
Tasklist is already done, working on email and calendar
Need some more code to bind it all together
01:59
check this out
What do you use for tasklist?
email should be simple
@IvanMilisavljevic :)
Have you seen the documentary?
yeah like all of them
i mean documentaries + his videos on yt
02:00
@nana taskwarrior.org, with a selfhosted sync server, an RPi based always-on display showing the tasks, and a few bash aliases with common task templates/confitgs
@nana Have you tried nnn?
noope
@nana I'm interested in trying out DeVault's new email client, but haven't had time yet
im using Mailbird and the only thing thats actually god about it is non intrusive sound when you receive your email
@RaghavSood Never heard of this before, might install it and try it. I am now fine with jsut CLI, but mentioned MC because I grew up with DOS and basically lived in NortonCommander (which was based on MidnightCommander) but that's ancient history ( yet MC is still around)
I have nnn installed, but I only reach for it when I actually need to explore the filesystem (usually for external disks)
02:04
So you guys both still use e-mai lclients? I completely switched to gMail.
For my own stuff, ls/cp/mv/rsync work great because I know exactly where everything is
That is since Google took away my baby Inbox
I'm using gmail now, but I'm making an effort to move away
My goal is to be completely self hosted/independent by the time my current Android phone dies
@IvanMilisavljevic How do you like it? Is it one of those desktop web apps?
Yeah, its actually not that bad
you can connect like all of your social accounts
02:06
@RaghavSood I wish you god speed and if you succeed, you'll teach me. (Pretty sure it's impossible to avoid Google now)
im rolling with windows atm, and this native Windows Email app is literally killing me
I have most of the tools charted out, now it's just a matter of incrementally writing scripts to get everything working fine
@IvanMilisavljevic Are you sure it's not Windows that's killing you?
@RaghavSood you need some devops in your life
@RaghavSood And then making sure it stays functional...forever, reliable.
02:07
@nana yeah, but this is my home PC and i like to play some games occasionally
The tool list is really quite small, I'm running task warrior and eteSync
and cant be bothered to create a dual boot
I was running mailinabox and mailcow for emails, but keep running into issues with spam lists
So now I'm looking at using Amazon SES as the delivery agent
photos? drive? mail? search? youtube?
@RaghavSood dont
ses is kinda garbage
02:08
Photos sync to a NAS, I have backblaze B2 for archival backups, I don't really use Google Drive or Youtube
Search, I use ddg when possible
@IvanMilisavljevic It should be fine solely as a delivery agent, the rest of the stuff will still be mine
@nana In the end, I'm probably going to be stuck with search and maps, no real high quality replacement there
be sure to check the quotas, but i guess you wont receive that many emails
So at that point I'll move to using them in a qubes container with constantly cleared tracking data, and maps on an Android device with locked down settings and no personal data
SES would only be for outgoing mails
I thought Backblaze didn't support NAS backups
NSA backups
02:11
I am using restic - github.com/restic/restic
I need a cheap place to store 30TB
Hourly incremental backups to my NAS, and the NAS backs up daily to B2 via restic
It's all encrypted
I initially backed up directly to b2, but the pruning for incremental backups for a non-local destination is abysmally slow for now
So I had to move to a system where once stuff goes to b2, I shouldn't have to delete it
Plus, it is all encrypted so b2 can't touch it
Neither can anyone who steals my NAS
Interesting...I mean it is against their terms but hopefully they don't mind.
Is it? I'm not using the regular consumer B2
I'm using the business plans
Still really cheap
I'm currently paying like 5 cents a month
I don't even know why they bill me, it definitely costs them more to process the credit card charge
02:14
10GBs?
202GB
The most expensive part of B2 is the download bandwidth
I mostly treat it as a cold storage, so my download is really low
The pricing seems higher than AWS Glacier, which would still kill me at about $120 a month
Ah, my mistake, I'm paying $1 a month
Storage is $0.005/GB
So yeah, would be more expensive for you at 30TB
Although, for 30 TB, I would just build a massive NAS, and move duplicate drives offsite every month or so
You'll make your money back in a couple of years
The 30TB is the NAS drive, I would jsut like to back it up somewhere.
i have my data backed up at NSA
02:20
Buy 2x more drives, duplicate the data
Keep one drive in a vault
Just found out that MS Azure has lake storage for as low as $0.001 /GB
Every week, take the other one to the vault, bring the vault one in and sync it
@IvanMilisavljevic We all do ;)
02:22
shit its 4:20 overhere
im off boiz
night night
o/
I reckon for 30 TB you're probably not going to find a super cheap provider
If it is data that doesn't really change, I'd just stuff it on some extra drives and store it in two bank vaults that are in separate countries
I think you're right, also now that I am looking at it the toal capacity is just 24TB and I only have 7TB used.
So I could even create another volume and back into it or just pay the $30 a month, but I am too cheap for that ;)
Well, I'd definitely, at a minimum, copy it to an external SSD and store it offside
What happens if your NAS catches fire? :D
Any data that isn't in 3 locations, out of which at least 2 are geographically separated, is as good as non-existent
I know and kinda agree, but it's a hassle.
Maybe I should talk to some friends with NASes and back up to them and let them back up to mine.
02:36
True, but I remind myself it'll be more of a hassle to lose everything, and just do it
That sounds like a lot of work to save $30 :P
Then again, I'm building a password and totp manager out of a raspverry pi, so maybe I'm not the best one to talk about unnecessary effort
$30 * 12, that's a lot of Monsters.
Think of it as $30 a month for peace of mind
Man, you should get into sales :)
Sounds like a lot of effort, I'd rather just pay $30 a month to not think about it
03:00
Alrighty, just finished setting it up using AWS Glacier, if my calculations were correct it should cost me around $17/month for now.
That was fast
Good NAS ;)
I'm still waiting on parts from aliexpress for my password manager
Figured the easiest option was to take one of the game kits and swap the software
Is it going to be like authenticator or something?
Yeah, mostly just aiming for an authenticator + password manager hybrid
Pi Zero can act as a keyboard over USB
So I should be able to plug it in and have it type in the token or password
And if not, it has a screen so you can read it and type it out yourself
03:11
I'd be afraid I'd make it less secure than the ones I use. But it is a cool project.
I'd hope I have a pretty good handle on crypto stuff by now :P
We'll see in a couple of years.
Should be fairly straightforward, encrypted LUKS partition for data, data is further AES encrypted, any action requires an unlock
Other option is to use pass with a yubikey and pin
But would steal need option 1 for totps
I don't know some of those words, hence I am not building my own.
I'll sell you one for $100
$200 if you want it without backdoors
03:23
:D We'll see about that, first I want to see it built.
As do I, but unfortunately shipping stuff from China takes forever
Then again, this is NZ
Shipping stuff from NZ also takes forever
Yeah I presume it's twice as long..
@AdamMc331 Aren't you supposed to be live coding
Maybe we should facetime him
 
3 hours later…
06:08
Aight, I am out o/
 
1 hour later…
07:28
ok, now for reals
07:39
LIES
 
2 hours later…
09:20
hello
Greetings, faceless-one
do you accept any form of sport activity? New Zealanders are doing well on currently going on Rugby World Cup
I don't follow any sports
09:52
@Harshapps Welcome! Please read, confirm reading, and follow the rules before you do anything else: room-15.github.io
10:22
@Harshapps Access revoked for leaving without reading the rules.
eLi
eLi
Hi Zucc
 
4 hours later…
14:22
anyone with some experience on android p2p Wifi-direct?
14:46
well, apparently can't transfer files using wifi-direct sigh..
what do we usually use for p2p communication and file transfer between android / raspberry pi? bluetooth not being an option because of the small bandwidth
bluetooth and wifi-direct would have been perfect because of the devices discovery and pairing
15:20
who is calling my name
:/
15:42
'sup
You can't transfer files using wifi-direct?! What is it good for then?
Do you think, this one line is enough to read cookies?
val cookieString = url.openConnection().apply { getHeaderField("set-cookie") }
16:21
nvm, I found a conflicting doc about wifi direct and files developer.android.com/guide/topics/connectivity/… apparently it's possible
posted on September 29, 2019

Android Weekly #381 📱😃 #outlook a{ padding:0; } body{ width:100% !important; margin:0; padding:0; } body *{ -ms-text-size-adjust:none!important; -webkit-text-size-adjust:none!important; } body,.wrapper{ background:#ffffff; color:#505050; font-family:Arial, sans-serif; font-size:12px; } table,table td{ border-colla

16:40
@buncis Welcome! Please read, confirm reading, and follow the rules before you do anything else: room-15.github.io
I have read and understood the rules
thank you & welcome! :)
 
1 hour later…
17:47
o/
 
3 hours later…
20:34
o/
20:50
o/

« first day (3270 days earlier)      last day (1902 days later) »