Home Page > IRC Logs > zerophone > Dec 05, 2018

irc.freenode.net #zerophone for Dec 05, 2018

Dec 4 2018  «  bottom  »  Dec 6 2018
pick another date | search


[07:38] <mozzwald> not sure if this has been brought up before. is there something that will handle push notifications from a central server (that you run yourself)?
[07:39] <mozzwald> similar to google cloud services. that way the phone doesn't need to check your email every x minutes and the server at home can push notify the phone
[07:39] <CRImier> ahha
[07:39] <CRImier> not yet, I haven't thought about this, actually
[07:39] <CRImier> didn't know such a thing existed
[07:39] <mozzwald> not sure if it does :)
[07:39] <CRImier> that's pretty cool. Any open-source client solutions you could suggest?
[07:40] <mozzwald> at least in the open source world
[07:40] <mozzwald> i did a search a few weeks ago, but all I could find was stuff that tied into google cloud services
[07:40] <CRImier> right
[07:40] <mozzwald> my search only lasted 3 minutes tho :P
[07:48] <mozzwald> Maybe mqtt could work? Phone can check in to server
[07:49] <CRImier> That sounds like an amazing idea
[07:49] <CRImier> I was myself thinking about "how do we decrease the amount of polling we'll need to do from network-connected apps"
[07:49] <CRImier> however, I'm certainly not going to be able to tackle that
[07:50] <CRImier> would you be interested in describing your idea in an issue in our discussion repo?
[07:50] <CRImier> https://github.com/ZeroPhone/Discussion-and-Research/issues/new
[07:51] <mozzwald> Sure, I'll create an issue
[07:59] <Swedneck> by the way, how are the kits going?
[08:00] <CRImier> I'm still in Lithuania, so not too quickly =)
[08:01] <CRImier> BTW, planning to email the components retailer today
[08:02] <Swedneck> 👍
[08:04] <Not>
[08:04] <Not> [ZeroPhone/ZPUI] CRImier 17859e4 - Adding bugreport tests (without sending), adding add_dir and add_dir_or_file methods to BugReport, changing bugreport app to use them
[08:04] <Not> [ZeroPhone/ZPUI] CRImier 9f94ccf - Including pytest output in logs in case of failure
[08:04] <Not> [ZeroPhone/ZPUI] CRImier dcf5ec3 - Adding PathPicker .rst docs, small fixes for Menu docs
[08:04] <Not> [ZeroPhone/ZPUI] ... and 2 more commits.
[08:04] <Not> [ZPUI] CRImier edited issue #80: Bug reporting - ZPUI log upload app - https://git.io/vN3bD
[08:20] <Not>
[08:20] <Not> [ZeroPhone/ZPUI] CRImier 856277b - Changing "logs" to "files"
[08:20] <Not> [ZeroPhone/ZPUI] CRImier 0bc88ec - Adding a hook to store bugreports in /boot if they can't be sent
[08:21] <Not> [ZPUI] CRImier edited issue #80: Bug reporting - ZPUI log upload app - https://git.io/vN3bD
[08:22] <Not> [Discussion-and-Research] mozzwald opened issue #24: Network push notifications - https://git.io/fpXhw
[08:26] <Not> [Discussion-and-Research] CRImier commented on issue #24: Network push notifications - https://git.io/fpXjk
[08:27] <Not> [Discussion-and-Research] CRImier edited a comment on issue #24: Network push notifications - https://git.io/fpXjk
[08:45] <Not> [ZPUI] CRImier opened issue #148: Bugreport TODOs - https://git.io/fp1ex
[08:46] <Not> [ZPUI] CRImier edited issue #148: Bugreport TODOs - https://git.io/fp1ex
[08:48] <Not> [ZPUI] CRImier commented on issue #80: Bug reporting - ZPUI log upload app - https://git.io/fp1vs
[08:48] <Not> [ZPUI] CRImier closed issue #80: Bug reporting - ZPUI log upload app - https://git.io/vN3bD
[08:56] <Not> [ZPUI] CRImier edited issue #148: Bugreport TODOs - https://git.io/fp1ex
[09:02] <CRImier> holy fuck =D
[09:02] <CRImier> https://en.wikipedia.org/wiki/Springboard_Expansion_Slot
[09:12] <Not>
[09:12] <Not> [vsftpd_log_box] CRImier 4faa8ea - Forgot to append directory for clear_sandbox .img cleaning paths
[09:12] <Not> [vsftpd_log_box] CRImier 0a601e5 - Compressing mailed ZIPs, trying to make the exception handling a little bit more resillent
[09:12] <Not> [vsftpd_log_box] CRImier 655a6ee - Making the sandbox size larger
[09:12] <Not>
[09:12] <Not> [ZeroPhone/vsftpd_log_box] CRImier 4faa8ea - Forgot to append directory for clear_sandbox .img cleaning paths
[09:12] <Not> [ZeroPhone/vsftpd_log_box] CRImier 0a601e5 - Compressing mailed ZIPs, trying to make the exception handling a little bit more resillent
[09:12] <Not> [ZeroPhone/vsftpd_log_box] CRImier 655a6ee - Making the sandbox size larger
[09:30] <louispi[m]> Hmm thinking about the reworking of the GraphicsPrinter I said I would try do. Are we allowing the user to use any screen size and image size with the GraphicsPrinter?
[09:30] <CRImier> for now, I think we only need to support 128x64 images and screens that are this size or larger
[09:31] <CRImier> when it will come to me and my 96x64 screen, I'll be figuring it out myself =)
[09:31] <louispi[m]> Okay, that makes it easier
[09:32] <louispi[m]> Shouldn't be that hard
[09:33] <louispi[m]> Allowing smaller screens to be used shouldn't be hard with my current method (PIL.thumbnail) which works from a bigger image and scales it down
[09:33] <louispi[m]> Presume we want to add borders rather than stretch an image
[09:33] <CRImier> then I won't mind if you add it, too
[09:33] <CRImier> can be untested for now
[09:34] <louispi[m]> The method is annoying though as it the image needs to be scaled up first, I might need to rework it
[09:35] <louispi[m]> Having two splash images in the ZPUI directory isn't ideal as well
[09:36] <CRImier> yeah, and developers certainly won't add double the images
[09:40] <louispi[m]> I can always scale up the image using PIL first before scaling it down or I can just completely abandon PIL.thumbnail and create my own resizing script which keeps the aspect ratio
[09:40] <louispi[m]> brb in 5 mins
[09:45] <louispi[m]> I think I have a plan, now time to code it
[09:46] <louispi[m]> You said you didn't want the script to rely on any part of ZPUI. However, I need to know the dimensions of the screen to resize the image
[09:48] <louispi[m]> It can't be posssible =(
[09:48] <CRImier> what isn't?
[09:49] <louispi[m]> You said you wanted the GraphicsPrinter to be primitive
[09:50] <louispi[m]> Can't resize an image if I can't get the screen dimensions
[09:50] <CRImier> oh no, not the GraphicsPrinter
[09:50] <CRImier> the splash.py should be primitive
[09:50] <louispi[m]> Oh okay
[09:50] <CRImier> wait
[09:50] <CRImier> you're working in ui/printer.py, right?
[09:50] <CRImier> the GraphicsPrinter is there
[09:50] <louispi[m]> Yeah
[09:51] <louispi[m]> splash.py relies on screen dimension atm
[09:51] <CRImier> so, just do 'o.width'
[09:51] <CRImier> yeah, splash.py is okay as it is
[09:51] <CRImier> don't worry about it
[09:51] <CRImier> we won't use GraphicsPrinter in it
[09:51] <louispi[m]> okay i wont =D
[10:30] <CRImier> https://hackaday.io/project/19035/log/156705
[10:31] <louispi[m]> Oooooh
[10:34] <louispi[m]> Great post!
[10:35] <CRImier> thank you!
[10:35] <louispi[m]> Found a spelling mistake though :)
[10:35] <CRImier> where?
[10:36] <louispi[m]> First line after the 'Delta-B PCBs ordered independently this year' accessible is spelt wrong
[10:37] <CRImier> thank you!
[10:38] <louispi[m]> No problem
[10:39] <ko_lo> o/
[10:39] <CRImier> hi!
[10:42] <ko_lo> how it's going there?
[10:42] <CRImier> good, sketching the newsletter
[10:43] <ko_lo> ooh
[10:43] <ko_lo> I'll have a read :D
[10:43] <ko_lo> I was going for my irc news letter :p
[10:46] <ko_lo> CRImier: Did you managed to contact my friend at my company?
[10:46] <CRImier> actually, not yet
[10:46] <CRImier> I've been thinking about the domain
[10:47] <CRImier> couldn't think of anything better than what you've proposed
[10:47] <ko_lo> hehe
[10:47] <ko_lo> he is used to deal with projects so maybe he will have suggestions for you too
[10:47] <CRImier> so, it's kinda hard to spell, but I think that's the best option so far
[10:51] <ko_lo> mmmh
[10:51] <ko_lo> lemme think again
[10:52] <ko_lo> there is also the .tel tld
[10:52] <ko_lo> not much expensive
[10:52] <CRImier> the tld is not a problem
[10:52] <ko_lo> yeah
[10:52] <ko_lo> using 0 instead of o might not be much convenient
[10:53] <ko_lo> if you have to read/type an url for example
[10:53] <CRImier> typing's not a problem either
[10:53] <CRImier> but telling it to other people is
[10:53] <CRImier> that's borderline nitpicking, of course
[10:53] <CRImier> but if I can pick now, I'd rather pick well =D
[10:53] <ko_lo>
[10:57] <ko_lo> haha
[10:57] <ko_lo> CRImier: there is a extension coming soon
[10:57] <ko_lo> you'd love it
[10:57] <ko_lo> .zero
[10:57] <ko_lo> :D
[10:57] <CRImier> ohh
[10:58] <CRImier> that's nice!
[10:58] <CRImier> probably expensive
[10:58] <ko_lo> well if you want the phone.zero
[10:58] <ko_lo> yeah
[10:58] <ko_lo> it will be crazy
[10:58] <ko_lo> :p
[11:34] <louispi[m]> Code needs cleaning up but my new Graphics Printer is working!
[11:34] <louispi[m]> Only tested once so far though
[12:03] <louispi[m]> You should be seeing a PR for it tomorrow. Just need to make a few small changes. It would be great if someone could test it on a different sized screen after I have submitted the pull request
[12:05] <CRImier> you can also add automated tests to ui/tests/test_printers.py
[12:05] <CRImier> which is what I will do either way
[12:05] <CRImier> I will test it on 128x64, for sure
[14:28] <louispi[m]> Oh okay will try that
[14:29] <CRImier> louispi: for pointers, check how Canvas tests are testing RGB inversion
[14:29] <CRImier> granted, they don't actually check the result - but at least you can test that display_image was called
[14:29] <louispi[m]> Okay
[14:30] <louispi[m]> So i need to code some tests?
[14:31] <CRImier> yeah
[14:31] <CRImier> you can likely add them in ui/tests/printers.py
[14:32] <louispi[m]> Oooh better start looking! Not something I know much about yet but I guess I can learm
[14:36] <louispi[m]> Will pr the code for you to scrutinize tomorrow then try add and then commit some tests for it after that
[14:36] <CRImier> Sounds like a plan!
[15:28] <Not>
[15:28] <Not> [ZeroPhone/ZPUI] CRImier 55a0129 - Merge branch 'devel' into grid-menu
[15:28] <Not> [ZeroPhone/ZPUI] CRImier a3abf7b - Refactoring grid_menu to depend on first_displayed_entry more, but isn't yet fully working
[15:28] <Not> [ZPUI] codecov[bot] edited a comment on pull request #123: Grid menu - https://git.io/fxiUH
[15:41] <Not> [ZPUI] derivmug opened pull request #149: Matrix client improvements - https://git.io/fp1SS
[15:44] <Not> [ZPUI] codecov[bot] commented on pull request #149: Matrix client improvements - https://git.io/fp19U
[15:50] <Not> [ZPUI] CRImier reviewed pull request #149 commit - https://git.io/fp19K
[15:50] <Not> [ZPUI] CRImier reviewed pull request #149 commit - https://git.io/fp196
[15:50] <Not> [ZPUI] CRImier reviewed pull request #149 commit - https://git.io/fp19i
[15:51] <Not> [ZPUI] derivmug reviewed pull request #149 commit - https://git.io/fp19D
[16:09] <Not>
[16:09] <Not> [ZeroPhone/ZPUI] derivmug 277adee - Make prefixes shorter again
[16:09] <Not> [ZeroPhone/ZPUI] derivmug e852a47 - Comment for prev_content
[16:09] <Not> [ZeroPhone/ZPUI] derivmug 0517a8a - Use contents_hook for show/hide join/leave messages setting
[16:09] <Not> [ZPUI] codecov[bot] edited a comment on pull request #149: Matrix client improvements - https://git.io/fp19U
[16:16] <Not> [ZPUI] CRImier reviewed pull request #149 commit - https://git.io/fp1Q6
[16:17] <Not> [ZPUI] CRImier reviewed pull request #149 commit - https://git.io/fp1Qi
[16:17] <CRImier> One more small code style change and I will merge =)
[16:19] <Not>
[16:19] <Not> [ZeroPhone/ZPUI] derivmug 7353f48 - Shorten line
[16:20] <Not> [ZPUI] codecov[bot] edited a comment on pull request #149: Matrix client improvements - https://git.io/fp19U
[16:21] <Not> [ZPUI] CRImier closed pull request #149: Matrix client improvements - https://git.io/fp1SS
[16:21] <Not>
[16:21] <Not> [ZeroPhone/ZPUI] CRImier 3801822 - Merge pull request #149 from ZeroPhone/matrix
[16:21] <Not> [ZPUI] CRImier commented on pull request #149: Matrix client improvements - https://git.io/fp17Y
[16:22] <Not> [ZPUI] CRImier edited issue #110: Matrix app improvements - https://git.io/fxspF
[16:22] <Not> [ZPUI] codecov[bot] edited a comment on pull request #149: Matrix client improvements - https://git.io/fp19U
[22:02] <piajesse[m]1> Almost 200 messages...
[22:02] <piajesse[m]1> Hows it coming?

pick another date | search
Dec 4 2018  «  top  »  Dec 6 2018