[HN Gopher] Pinephone - "Community Edition: PostmarketOS" Linux ...
       ___________________________________________________________________
        
       Pinephone - "Community Edition: PostmarketOS" Linux smartphone
        
       Author : fsflover
       Score  : 187 points
       Date   : 2020-07-15 18:09 UTC (4 hours ago)
        
 (HTM) web link (store.pine64.org)
 (TXT) w3m dump (store.pine64.org)
        
       | megous wrote:
       | Sad not to be mentioned, despite the update talking about a lot
       | of my independent work last month or so. (discovering the HW
       | issues, suggesting/verifying the fix, writing the USB-C/HDMI
       | driver enabling the whole convergence thing) But I'm very glad
       | about the progress PinePhone is making. The momentum is
       | incredible.
       | 
       | If anyone is interested in original info from the author of the
       | USB-C/HDMI work, I also put useful information/observations from
       | my work on the kernel and PinePhone here:
       | 
       | https://xnux.eu/devices/pine64-pinephone.html
       | 
       | The current thing on my radar is writing a power manager for the
       | modem. :) That will improve the standby from 24h with the modem
       | active to ~90h.
       | 
       | EDIT: All is well, btw. There's just a lot of pressure on
       | pine64's small team, and it's hard to keep up with everything.
        
         | voltagex_ wrote:
         | "All the current PP variants (1.0-1.2) have a major issue, that
         | prevents CC pins from working correctly. It's therefore not
         | possible to perform any kind of negotiation and communication
         | over the CC pins. It's not fixable in SW, other than via a
         | manual selection of power and data roles by the user. There's a
         | HW mod that you can do to fix CC pins from being hogged by the
         | VCONN switches by removing the switches."
         | 
         | It's a pity this requires tricky surface mount rework.
        
           | megous wrote:
           | Not necesarily. I've read someone just pulled those two
           | switches off the board with a screwdriver stuck in between
           | them and twisting.
           | 
           | Thankfully, just removing the switches will fix CC pins and
           | PP will be able to work with many USB-C peripherals after
           | that.
           | 
           | I have two pinephones that work nicely with two different
           | USB-C docks and an USB-C 4x USB-A adapter just with this fix.
           | 
           | There are probably not that many interesting
           | peripherals/cables that would benefit from supplying power
           | over CC pins. (which just removing the switches makes
           | impossible) A lot of peripherals will make do with VBUS
           | power.
        
             | tmzt wrote:
             | Thank you for your great work.
             | 
             | Is it possible to manually configure the port to work with
             | HDMI or as a host (in sysfs), or is the hardware change
             | required (on preorder/braveheart phone)?
             | 
             | Is there a single place with the most up-to-date kernel
             | sources with usb hardware drivers, audio support for modem,
             | etc.?
        
         | glenstein wrote:
         | Thank you for your work! I am so glad that you are doing what
         | you are doing, because I personally want something the
         | Pinephone project to succeed and its success makes me think
         | that there are forces for good in the world.
        
         | AsyncAwait wrote:
         | Awesome work! Thanks so much, should've definitely been
         | mentioned in the post.
        
       | anotheryou wrote:
       | Has logo on back and comes with a usb-c hub:
       | 
       | https://www.pine64.org/2020/07/15/july-updatepmos-ce-pre-ord...
       | 
       | imgur backup of the essential banner:
       | https://i.imgur.com/XteJmBp.jpg
       | 
       | > Introducing PinePhone Convergence Package with postmarketOS CE
       | featuring 3GB RAM/ 32GB eMMC and a USB-C dock for $199; available
       | alongside regular PinePhone postmarketOS CE for $149
        
         | MartijnBraam wrote:
         | Here's also a demo of the dock in action I recorded a while
         | back: https://www.youtube.com/watch?v=yBeza4UNOm8
        
       | josteink wrote:
       | So I'm done waiting, and just had to order one. Even went for the
       | convergence edition.
       | 
       | Not expecting a daily driver, but probably the most fun tech
       | gadget of 2020.
        
       | rapnie wrote:
       | Aral Balkan recently demonstrated running a web server from his
       | new Pinephone using the site.js framework he developed and live-
       | chatting with his viewers with it. Really cool.
       | 
       | He said the phone is definitely still not ready for everyday use,
       | but great for devs obviously.
       | 
       | https://ar.al/2020/07/12/live-stream-a-web-site-on-your-phon...
        
         | ipnon wrote:
         | The possibilities with an open phone are awesome.
        
           | boring_twenties wrote:
           | I don't think you need an open for this, you could just
           | install nginx under Termux, or even not under it.
        
             | AsyncAwait wrote:
             | We need open computing in as many segments as possible with
             | major corporations embrancing the AppStore model and
             | deciding increasingly directly what you can't and cannot do
             | with your own devices, often in the name of "security".
             | 
             | The ability to run the exact same OS on my phone as I do on
             | my laptop with a nice, mobile friendly UI while retaining
             | all the power is a remarkable achievement for the free
             | software community.
        
               | abawany wrote:
               | Plus with their announced usb-c hub, it seems that one
               | could connect to a screen+keyboard+mouse and work on
               | things for a bit if one forgot the laptop.
        
               | Shared404 wrote:
               | That's what I look forward to most.
        
             | sschueller wrote:
             | You do as Google is breaking termux in the next Android.
        
               | mathfailure wrote:
               | Your link doesn't work.
        
       | A4ET8a8uTh0 wrote:
       | I purchased mine a while ago, but the excitement with Covid
       | resulted in me still waiting ( although it is on the way now ). I
       | am excited. I am not sure it will be a daily driver, but we need
       | something outside current practical duopoly.
        
       | eointierney wrote:
       | This is an awesome piece of kit. I have one.
       | 
       | I used to have an N900. This is better.
       | 
       | Our community of doers who celebrate freedom by doing are
       | amazing. This is almost, but not quite, the last piece of our
       | autonomous puzzle.
       | 
       | Very soon now we'll have fully distributed jurisdictional
       | priority, and we'll use this kind of tech to measure we're doing
       | it right. We will demonstrate right of appeal to each other.
       | 
       | I love hacker news
        
       | LibertyBeta wrote:
       | Hopefully this will lead to an improved PineTab as well!
        
       | aquaticsunset wrote:
       | Ah, the HN hug. Poor site.
       | 
       | I have a lot of optimism for this phone. I don't know whether to
       | buy one of these, or wait for the "GA" version to come out. I'm
       | most interested in running Plasma Mobile but being able to
       | "distro hop" on a cell phone is pretty awesome.
        
         | megous wrote:
         | 1.2a feels to me like GA. There's not much HW wise that I'd
         | consider an issue anymore.
         | 
         | There are things that could be better, like having a different
         | WiFi chip, that would have a better [actual mainline] driver
         | support with working power management. Not sure how likely that
         | is. Probably not much.
        
       | kgwxd wrote:
       | Is there any kind of navigation app for this?
        
       | RealStickman_ wrote:
       | I ordered the UBports version a few months back and it recently
       | arrived. At the moment I'm running Mobian, basically Debian for
       | the PinePhone. There are a lot of rough edges still, but it just
       | feels great to have the ability to tinker with your phone in the
       | same way you tinker with your linux box.
        
       | anonymousiam wrote:
       | The preinstalled postmarketOS software build which ships with
       | this edition of the PinePhone is an Alpha software build. This
       | effectively mean that while core functionality of the PinePhone -
       | such as telephone calls, SMS messages, LTE, GPS, GPU
       | acceleration, etc. - is operational, it is also an ongoing
       | effort, and thus the device cannot be considered as a consumer-
       | ready product.
        
       | pengaru wrote:
       | _Still_ waiting for my UBports CE pinephone to arrive, which they
       | sent a shipping update for _weeks_ after I tried canceling my
       | order which they completely ignored without any acknowledgement.
       | 
       | Right now I am incredibly disappointed with pine64 in terms of
       | their customer relations.
        
         | AsyncAwait wrote:
         | It's worth noting that it's a fairly small team doing an
         | increadable amount of work. They've mentioned being overwhelmed
         | with queries, even it this update. It's not Apple or Samsung.
         | I'd be patient, maybe ping them once more just in case they
         | missed it, try the forums instead of email as well.
        
       | fsflover wrote:
       | If you are wondering, what you can already do with this phone:
       | https://www.youtube.com/watch?v=bH3RbrwhNd8 (but this is Ubuntu
       | Touch)
        
       | feteru wrote:
       | Woah, USB C dock included with the Convergence version looks
       | really cool. Definitely would close the convergence gap further
       | than just using all the same cable for my devices to actually
       | being able to use docks and similar distros/software!
        
         | boring_twenties wrote:
         | Dang it, now I want that.
         | 
         | Anyone want to buy my Braveheart?
        
           | yjftsjthsd-h wrote:
           | Sounds like you can patch the braveheart if you have a
           | soldering iron and bravery:
           | 
           | > While we're discussing this topic, let me tackle the
           | elephant in the room and acknowledge that a design flaw in
           | PCBA rev. 1.1 and 1.2 prevents this functionality (please see
           | relevant documentation related to CC pin) on Braveheart and
           | UBports CE phones. Thankfully the fix to the problem - the
           | removal of two small components from the PCBA - is relatively
           | simple to perform for someone with good soldering skills. At
           | the same time I recognize that many community members, myself
           | included, are not capable of completing this operation. To
           | this end, we will set up a chain of local (in your geographic
           | area) workshops, makerspaces or individual technicians
           | capable of performing this fix, so you can send your 1.1 /
           | 1.2 phone to them to complete the repair.
           | 
           | (https://www.pine64.org/2020/07/15/july-updatepmos-ce-pre-
           | ord...)
        
       | TekMol wrote:
       | Is there a way to run Debian on the PinePhone?
       | 
       | I don't mean a debian based OS that is maintained by someone
       | else, but something that is maintained by and can be downloaded
       | from Debian?
       | 
       | If it boots and gives me a shell, I would be happy. I don't need
       | a GUI or phone specific software. If I can have a real linux
       | computer in my pocket, that would be great.
        
         | slezyr wrote:
         | There are a lot of choices
         | 
         | https://wiki.pine64.org/index.php/PinePhone_Software_Release...
        
         | ThaDood wrote:
         | UBPorts, technically it is Ubuntu and not Debian, but Ubuntu is
         | based on Debian. https://ubports.com/
        
           | yjftsjthsd-h wrote:
           | Ubuntu is derived from Debian and UBPorts is derived from
           | Ubuntu, but by the time you get there it doesn't look the
           | same; ex. UBPorts has a read-only root filesystem
           | (https://ubports.com/blog/ubports-blogs-
           | news-1/post/terminal-...)
        
         | digi59404 wrote:
         | There Mobian which IMO is as close to a supported Debian OS on
         | Pinephonr as you can get. https://mobian-project.org/
        
           | TekMol wrote:
           | Regarding to my question, that means "No", right?
           | 
           | As far as I can see, Mobian is maintained by Matrix.org whom
           | I never heard of before.
           | 
           | The reason I would like to use Debian is that it is
           | maintained by the Debian foundation who have an excellent
           | history of trustworthiness and reliability.
           | 
           | Why can't one install Debian on the PinePhone?
        
             | connorgutman wrote:
             | Both the Pinephone and the Pinebook Pro recently received
             | mainline Linux kernel support with version 5.7. Debian
             | recently added support for the Pinebook Pro as well as the
             | RockPro64. They have daily builds available here for most
             | of Pine 64's devices: https://d-i.debian.org/daily-
             | images/arm64/daily/netboot/SD-c.... There's no Pinephone
             | build yet but IMO it's only a matter of time. That being
             | said, "Mobian" is just a DEBOS recipe with some custom
             | software included that a user by the name of A-Wei has been
             | maintaining. You could clone their repo and build it
             | yourself if you'd like, it's super polished! Here's the
             | Mobian repo: https://gitlab.com/mobian1/mobian-recipes
        
             | sfdsfdsf wrote:
             | >As far as I can see, Mobian is maintained by Matrix.org
             | whom I never heard of before.
             | 
             | I am not sure who is maintaining Mobian, but it is surely
             | not Matrix. Matrix.org is the website of a chat protocol,
             | where they have a support channel. Here you can see some
             | members https://liberapay.com/mobian
        
             | dsr_ wrote:
             | Because nobody has done that yet. Go over to debian-devel,
             | talk to the Debian ARM people and the Debian installer
             | people, and you can help bring Debian to the PinePhone.
        
               | slezyr wrote:
               | Actually, mobian does exactly this... That guy isn't THAT
               | interested to spend 5 mins of his time to solve HIS
               | problem.
               | 
               | https://gitlab.com/mobian1/mobian-
               | recipes/-/blob/master/root...
        
             | AsyncAwait wrote:
             | So, ehm, Mobian is just an ARM build of Debian. It
             | literally pulls from the same upstream package archives
             | etc. Also Matrix.org is a well-regarded free software
             | community making an open, privacy first, federated chat
             | software. It's the sort of people you'd want if you care
             | about free software, privacy, openness etc. I am honestly a
             | bit shocked you haven't heard of Matrix.org - they're
             | fairly well know in the community at this point.
        
         | megous wrote:
         | Debian aarch64 port rootfs + custom kernel. That's how I run
         | Arch Linux ARM on PinePhone.
         | 
         | There's really nothing else that's needed other than the kernel
         | to make any aarch64 distro run on the phone.
        
         | MartijnBraam wrote:
         | not directly from the debian project no, you can put a generic
         | ARM64 debian rootfs on it, but you'll need the kernel and
         | u-boot specifically built for it. There is pinephone support in
         | mainline linux but it'll probably 5.8 or 5.9 before you can
         | really use it on the phone.
        
           | yjftsjthsd-h wrote:
           | Comment upthread claims it was merged in 5.7:
           | https://news.ycombinator.com/item?id=23850034
        
             | MartijnBraam wrote:
             | yes the DTB is in 5.7, but if you compare the dtb file
             | merged there and the one in the kernel fork that's being
             | worked on you'll notice that a lot of stuff is not in
             | mainline yet, so those components are left out. For example
             | in 5.7 it doesn't support display yet.
             | 
             | A patch has already been accepted in linux-next for the
             | driver for the display and will be in 5.8, ther are a bunch
             | more components that are missing with a pure mainline
             | kernel.
        
       | ForHackernews wrote:
       | PostmarketOS is an incredible project worth supporting:
       | http://postmarketos.org/
       | 
       | They're trying to do for smartphones what PC-compatibles did for
       | home computers: deliver a standardized general-purpose operating
       | system across different hardware.
        
       | stx wrote:
       | This is what I had hoped Android would be when I first heard
       | about it before it was fully available. It looks like the OS
       | still needs polish but not bad. And only $200 with a dock.
       | 
       | Here is a video walkthrough I found on youtube. I am not sure how
       | up to date it is. https://www.youtube.com/watch?v=mjaJJ6o-mbM
        
       | osamagirl69 wrote:
       | I have the ubports version of the pine64 and it is still pretty
       | rough around the edges but the phone itself is very solid. It was
       | recently announced that there was an issue with the usb-c port
       | preventing it from being able to correctly negotiate with
       | devices, but they have already worked out a fix [1] which I have
       | carried out on my device and can confirm that usb is now working.
       | Furthermore they are working with makerspaces to help people find
       | someone who can do the soldering if they are not able.
       | 
       | Coincidentally, they also announced a soldering iron called the
       | 'Pinecil'[2] which is based on the venerable TS100 but with a
       | risc-v microprocessor running freertos for $25.
       | 
       | [1]
       | https://wiki.pine64.org/index.php?title=PinePhone_v1.1_-_Bra...
       | 
       | [2] https://www.pine64.org/2020/07/15/july-updatepmos-ce-pre-
       | ord...
        
         | AsyncAwait wrote:
         | Worth noting that there are other distros which seem to be
         | further ahead as of now than UBPorts is, for example Mobian[1].
         | They recently got even the camera up and running.
         | 
         | 1 - https://mobian-project.org
        
           | zozbot234 wrote:
           | Mobian is especially interesting because its work might go
           | upstream into Debian. Being able to run pure Debian on a
           | phone would make it even more of a Universal Operating
           | System.
        
           | qchris wrote:
           | I own the Pinephone UBports CE, which I've run UBports,
           | postmarketOS, and currently have Mobian installed.
           | 
           | Mobian is definitely my favorite of the three so far. Set-up
           | was really easy, I'm perfectly okay with the Phosh UI, and
           | being able to do package management with `apt` vs. `apk` is
           | huge, since I'm much more familiar with Debian's setup than
           | Alpine's. It didn't seem like something that would matter a
           | bunch, but it's ended up being a big quality-of-experience
           | improvement for me.
           | 
           | Documentation seemed better for Mobian too, and getting
           | everything set-up was very easy (user set-up vs. the pmOS
           | "demo" user). Plus, at least the image of pmOS I had (about
           | two weeks ago fresh .img file, plus regular updates), Firefox
           | support wasn't great because of auto-scaling vs. the Firefox
           | ESR on Mobian that just works. Like, open it up, log into my
           | Firefox account, then start playing a Youtube video with zero
           | tinkering just-works. I ended up calling a family member
           | across the country and talking with them for about 10 minutes
           | soon afterwards as well, with no issues. Plus, I was able to
           | SSH into it from my laptop and build/run a Rust binary. On a
           | phone. That was quite a fun moment. Still definitely a beta,
           | but for me it's the closest to a daily driver of the three.
           | 
           | I don't see myself switching back to pmOS or UBports unless
           | they suddenly make a huge leap.
        
         | erinnh wrote:
         | It wasnt really 100% clear in the article. Does the USB issue
         | apply to current/new orders from them as well?
        
           | JeremyNT wrote:
           | > It wasnt really 100% clear in the article. Does the USB
           | issue apply to current/new orders from them as well?
           | 
           | The new PMOS version gets a new hardware revision, 1.2a,
           | which is when the issue was resolved. The earlier versions
           | (including the Ubports/1.2 and Braveheart/1.1 revisions) both
           | have the issue.
           | 
           | I own the 1.2 (ubports edition) version of the phone, and I
           | really want the external display capability, but I've never
           | been any good at soldering something so small! It sounds like
           | there will be some volunteers helping to fix the issue on the
           | earlier versions, if you send them the device, which I very
           | well may do.
        
         | bhhaskin wrote:
         | Looking at those updates the pinecube looks pretty sweet! I was
         | thinking about trying to create a security camera using pi
         | zeros, but he cube looks way more cost effective and has pretty
         | much everything I could want!
        
         | Mediterraneo10 wrote:
         | The UBports version of the Pinephone isn't just rough around
         | the edges - that suggests that it will be a smoother experience
         | one day, but it still needs work. Rather, my impression is that
         | UBports is a dead end technologically. It is based inextricably
         | on some 2014-era Ubuntu-specific software that even Ubuntu
         | moved away from. The experience of SSHing into it, tweaking
         | system configuration, etc. doesn't feel like the "ordinary
         | desktop Linux on your phone" that everyone was hoping for.
         | 
         | As a former Nokia N900 owner, I was solidly disappointed by
         | UBports. I suspect that, for example, the PureOS port to the
         | Pinephone may eventually give users like myself what they are
         | looking for. Luckily, even if your Pinephone is branded for a
         | specific operating system, you can replace that OS with
         | whatever other OS of your choosing.
        
           | AsyncAwait wrote:
           | The beauty of the PinePhone is that there's literally nothing
           | tying it to UBPorts, I've flashed Mobian[1] on mine an am
           | supper happy with it. The Arch builds are also coming
           | together nicely. [2]
           | 
           | 1 - https://mobian-project.org
           | 
           | 2 - https://github.com/dreemurrs-
           | embedded/Pine64-Arch/releases
        
         | TekMol wrote:
         | How long does your battery last? I have heard it drains very
         | quickly?
        
           | osamagirl69 wrote:
           | Lasts about a day, but there are further software fixes on
           | the way to enable lower power states. Really excited to get
           | usb host working, pecking away at the touchscreen (with no
           | haptic feedback yet!) was getting very old very quick.
        
             | [deleted]
        
           | AsyncAwait wrote:
           | This was a thing before the crust firmware was implemented.
           | With crust it should last up to 24hrs and when you disable
           | the modem up to 100hrs.
        
             | OneLeggedCat wrote:
             | Wow. That modem is a hog. Do you know if there is still
             | room for it to be optimized, or is this about as good as it
             | will get?
        
               | AsyncAwait wrote:
               | Not sure, but given that this work is extremely recent my
               | bet would be that there's some room for optimiztion
               | still, but probably not anywhere close to the 100hrs
               | mark.
               | 
               | My guess would be the modem is the most power hungry
               | component of practically any smartphone and 24hrs is
               | already in line with mainstream smartphones so any
               | additional % squeezed would be amazing indeed.
               | 
               | EDIT: Maybe 90hrs?
               | https://news.ycombinator.com/item?id=23852043
        
               | MartijnBraam wrote:
               | I'm not entirely sure if modem sleep was used in that 24
               | hours calculation.
        
               | megous wrote:
               | I'm pretty sure it was not.
               | 
               | Modem in sleep, according to datasheet, consumes ~10mW.
               | 
               | Current state of the art power consumption of the whole
               | phone without the modem on at all is 110mW. (this is the
               | value on which the 100h figure is based on)
               | 
               | So when the modem will be actually in sleep, it will not
               | add much to the equation.
        
               | AsyncAwait wrote:
               | Well actually looks like I was way too conservative with
               | my original comment, apparently lots could be done:
               | 
               | "The current thing on my radar is writing a power manager
               | for the modem. :) That will improve the standby from 24h
               | with the modem active to ~90h." [1]
               | 
               | 1 - https://news.ycombinator.com/item?id=23852043
        
             | hellcow wrote:
             | Amazing. That's 4x what I get on a Pixel 3. :)
        
               | hpfr wrote:
               | Standby, not screen-on time
        
       | zerfall wrote:
       | As someone that has been waiting for their RMA process with a
       | Pinebook Pro for more than a month now I am incredibly
       | disappointed with their customer service.
       | 
       | Getting any kind of response from then can take two to three days
       | and all you get is "thank you for your understanding and
       | patience" while they "wait for the manufacturer to provide
       | replacement parts".
        
         | plus wrote:
         | While that's unfortunate, I think it would be best if you re-
         | calibrated your expectations. The Pinebook Pro is not a
         | consumer product; it is an enthusiast product being sold with
         | minimal profit margins. The PBP is produced in China and
         | shipped out from Hong Kong in batches rather infrequently
         | (maybe about once per month). To the best of my knowledge, they
         | don't really have a "customer service" team. Taken together,
         | these things obviously do not lead to an optimal consumer
         | experience, but this is to be expected for such inexpensive
         | low-volume niche products.
        
         | Shared404 wrote:
         | > When fulfilling the purchase, please bear in mind that we are
         | offering the Pinebook Pro at this price as a community service
         | to PINE64, Linux and BSD communities. We make no profit from
         | selling these units. If you think that a minor dissatisfaction,
         | such as a dead pixel, will prompt you to file a PayPal dispute
         | then please do not purchase the Pinebook Pro. Thank you.
         | 
         | From their store page.
        
       | ipnon wrote:
       | Maybe I'm showing my age, but this is the first release of a
       | phone I have been eagerly awaiting.
        
         | redisman wrote:
         | There was a Nokia Linux phone I remember being really excited
         | for and went to demo it in a store. This was maybe 10 years
         | ago.
        
           | pessimizer wrote:
           | It was wonderful. It's too bad we had to wait this long for a
           | replacement.
        
           | Funes- wrote:
           | That would be the Nokia N900, which used Maemo, a Debian-
           | based distro. It runs PostmarketOS, as well [0].
           | 
           | [0]: https://invidio.us/watch?v=eux9IcB2lfg.
        
             | pengaru wrote:
             | Or the Nokia N9
             | 
             | https://en.wikipedia.org/wiki/Nokia_N9
        
               | Funes- wrote:
               | His eagerness and excitement at the time could have been
               | more closely related to Nokia N900's novelty (2009),
               | since the N9 was released two years later (2011), and the
               | concept wouldn't be as surprising. That's why I went with
               | the N900 with my guess. In any case, considering both
               | phones flew under almost everyone's radar, you might be
               | right: it could be either one.
        
         | medium_burrito wrote:
         | Count me in. I refuse to buy into the Apple ecosystem anymore
         | after "courage" and the last few years of laptops, and I
         | develop in linux anyway, so I'm extremely interested. Perhaps I
         | just need to make the plunge?
        
           | ipnon wrote:
           | My current daily driver is getting old but it still works.
           | I'm going to buy the pinephone and try to use it as a
           | replacement for my daily driver. If it's not convenient
           | enough I will switch back and still have an interesting
           | device to hack on.
        
         | Shared404 wrote:
         | I'm young, and this is the first release of a phone I've been
         | eagerly awaiting.
        
       | svnpenn wrote:
       | Site is dead slow...                   PS C:\> Measure-Command
       | {curl.exe -I https://store.pine64.org/product-category/pinephone}
       | TotalSeconds      : 23.2096005
        
         | hundchenkatze wrote:
         | Yeah, their site has always been abysmal to use.
         | 
         | edit: to be fair as others pointed out, it's likely that I've
         | mainly ended up on their store after/during the hug of death
         | from hn/reddit.
        
           | Shared404 wrote:
           | I've only ever seen it slow directly following an HN/Reddit
           | post.
           | 
           | It may never have been _instant_ loading, but it's always
           | felt fairly responsive to me.
        
           | aquaticsunset wrote:
           | It's not usually _this_ slow though
        
         | fireTwoOneNine wrote:
         | (I guess now's a good time to actually register for HN -- we
         | end up on here often enough...)
         | 
         | Hi, Pine64 sysadmin here... yea, our store doesn't like the big
         | surges of traffic we get around product launches. As I speak,
         | we've been getting about 600 concurrent connections for the
         | last 30 minutes, and at least 450 for the last few hours.
         | 
         | We've done some optimization behind the scenes in anticipation,
         | but it's clearly not enough. We're going to be doing some heavy
         | upgrades right after these preorders close.
        
         | TheSpiciestDev wrote:
         | It looks like a Wordpress site, but caching or a CDN should
         | resolve a lot of what feels slow, right?
        
           | fireTwoOneNine wrote:
           | P64 Sysadmin here: We are using heavy caching, on WP and also
           | browser-side. It's still not enough.
           | 
           | We previously used Cloudflare, which obviously fixes most of
           | these problems, but people in these types of circles tend to
           | get pissy about CF.
        
             | lallysingh wrote:
             | I wonder if you can serve directly on a different domain
             | and put CF on the primary?
        
             | [deleted]
        
             | spurgu wrote:
             | PHP 5.4..?
             | 
             | I'd recommend setting up WP Super Cache (which you're using
             | now) to serve static HTML files (not sure what caching
             | method you are using). Then you need to configure Apache
             | (or switch to nginx) to actually look for those files,
             | otherwise the plugin won't do much (it generates PHP files
             | by default which are taxing on the server). Another option
             | would be to switch to the Cache Enabler plugin (along with
             | Apache or nginx configuration) - static HTML page caching
             | as simple as it gets. Oh and upgrade PHP.
             | 
             | Edit: For Cache Enabler, check suggested advanced configs
             | at https://www.keycdn.com/support/wordpress-cache-enabler-
             | plugi...
             | 
             | Edit2: CF would just by default cache your CSS/JS, wouldn't
             | really solve the issues you're experiencing (most likely
             | heavy PHP/MySQL load due to poorly configured caching).
             | That said I haven't looked into the site that much, might
             | be that you have a lot of portions of the site that can't
             | be properly cached but then again most users shouldn't need
             | to be logged in so doubt it.
        
               | MartijnBraam wrote:
               | since it's a webshop it will mostly be cache misses
               | anyway for the static generated pages, not sure that will
               | help a lot.
        
               | spurgu wrote:
               | Yeah that was my only reservation, but the per-user
               | customisation shouldn't be an issue unless you're logged
               | in or have stuff added to the cart, so a general spike in
               | traffic shouldn't (theoretically) affect it.
        
               | fireTwoOneNine wrote:
               | Trust me, PHP 5.x is going to be one of the first things
               | to go in a few days. Moving to PHP 7 should fix many of
               | our issues in one go -- I hope. Along with a move to
               | nginx (which the rest of our web infrastructure already
               | uses). There's a long story as to why all this hasn't be
               | done previously.
               | 
               | I'll look into changing the caching once we're over the
               | worst of this. Forgive me if I don't want to make
               | significant changes during a massive traffic spike. ;)
        
               | spurgu wrote:
               | Haha, of course. :) Hope it turns out well!
        
         | Nux wrote:
         | You sure it's not just powershell?
        
           | svnpenn wrote:
           | After some troubleshooting, it looks like it was actually
           | your computer that was slowing everything down. If you could
           | just stay off the internet forever I think it will be fine.
        
       | aitchnyu wrote:
       | Would this be killed by security requirements? My company allows
       | email on my Android only if I install MS Intune which made me
       | choose a longer passcode and doesnt allow unlocked screen while
       | charging. Banking apps prevent rooted phones. Will major apps
       | boycott this platform?
        
         | Shared404 wrote:
         | It's not android. I wouldn't expect major apps on this at all,
         | at least not any time soon.
        
           | ralls_ebfe wrote:
           | GloDroid may work:
           | https://github.com/GloDroid/glodroid_manifest
        
       ___________________________________________________________________
       (page generated 2020-07-15 23:00 UTC)