News for hackers. Stuff that matters.
Re:PWA Store by blkhp19 on Thursday April 23, 2020 @10:43PM (#22964111)
I hate to say it but this just demonstrates, all in one place, how far behind PWAs are from native apps. Does anyone have an example of a PWA (hosted here or elsewhere) that rivals the best apps seen in native app stores? I’m talking about beautiful animations, native-feeling navigation, and an overall immersive, cohesive experience?
Re:PWA Store by kabacha on Friday April 24, 2020 @12:22AM (#22964604)
Pixelfed [1] - decentralized instagram alternative is a brilliant example of well developed libre PWA.

1 - https://pixelfed.social/

Re:PWA Store by backslashr on Friday April 24, 2020 @01:02AM (#22964813)
Weird how I can't join pixelfed.social. I tried looking up how to register and the registration link is supposed to be there on the homepage according to their help center, but all I see is a login form
Re:PWA Store by kabacha on Friday April 24, 2020 @03:59AM (#22965683)
The main instance is invite only for the time being but there are other open instances. Checkout full list here: https://fediverse.network/pixelfed?count=users

The most popular english open one seems to be: https://pixfed.com right now

Re:PWA Store by fidelramos on Friday April 24, 2020 @02:30AM (#22965242)
They might be at capacity and closed new signups for the moment. Being a federated network you can find a different instance, or set up your own if you want.

There is a Join link at https://pixelfed.org/ by the way.

Re:PWA Store by sefrost on Friday April 24, 2020 @04:45AM (#22965916)
How is my experience affected by being on a different instance to others?
Re:PWA Store by fidelramos on Friday April 24, 2020 @07:28AM (#22966847)
This being a federated network you should be able to follow and interact with users in other instances. That's what ActivityPub is about. I haven't checked Pixelfed specifically but it's how Mastodon works.
Re:PWA Store by pier25 on Friday April 24, 2020 @11:53AM (#22969357)
> I’m talking about beautiful animations, native-feeling navigation, and an overall immersive, cohesive experience?

A lot of people don't consider the economics of UI animation.

Smooth animation only makes sense in powerful devices. For the past 10 years we've seen an increase in UI animations which required users to buy newer and more powerful devices to achieve smoother and more complex animations.

Look at any phone/tablet review and you will see the reviewer try to open the app drawer or something similar to showcase performance. "Look how fluid it moves!"

Perfectly fine devices are constantly being replaced and thrown away because they can't keep up with more and more demanding UI animations.

Another aspect is energy consumption, battery production, etc, which I don't think is negligible when considering billions of devices being used for hours every day.

And the sad truth is, very often UI animation is overused.

Re:PWA Store by codegladiator on Thursday April 23, 2020 @11:53PM (#22964454)
There is flipkart (the Indian ecommerce site) which was also used as a case study by Google

https://developers.google.com/web/showcase/2016/flipkart

Re:PWA Store by adz_6891 on Friday April 24, 2020 @02:29AM (#22965238)
Yes, I think this example highlights a point many aren't picking up on. PWAs have been biggest in emerging markets. I think Ali Baba also used them to great effect.

Ever tried to get users in emerging markets on old Android devices to discover, download and update your native app? It's a world of pain.

Re:PWA Store by londons_explore on Friday April 24, 2020 @03:42AM (#22965600)
Old cheap android devices nearly always have no available storage space, which makes it almost impossible to install a native app. Freeing up 1MB of space isn't enough to allow you to install a 1MB app - typically you need to free up 1GB or more before the store will function at all, and there's a good chance on old devices that won't be possible at all, due to the way updates consume space, and old devices have a lot of updates...

PWA's aren't the perfect solution here - on those same old devices, theres a good chance your user is running a 5+ year old browser engine, with a lot of bugs that are hard to even test against, considering how many combinations of screen size, phone, and browser software version there are.

Re:PWA Store by kylemh on Thursday April 23, 2020 @11:21PM (#22964299)
Twitter's

The topics of judgement you mentioned are all entirely subjective, but they run near identically for me.

Re:PWA Store by dlbucci on Thursday April 23, 2020 @11:23PM (#22964313)
Does the native app also constantly fail to load tweets linked from Reddit? And then you click the "retry" button and it fails again? Cause that's my general Twitter website experience...
Re:PWA Store by saagarjha on Friday April 24, 2020 @03:59AM (#22965685)
I think that’s some sort of bug/poor interaction with anti-tracking features.
Re:PWA Store by dudus on Thursday April 30, 2020 @01:26PM (#23033441)
I don't use any anti tracking or ad blockers. I have the normal Reddit all and Twitter app on my pixel 3a and every time I click on a Twitter link it opens in an in app browser that can't log me in.
Re:PWA Store by alias_neo on Friday April 24, 2020 @04:13AM (#22965732)
I think this is correct. My experience has been that when it's using a tracking url it fails (I Ad block and Tracker block) and I see the tracker url in the address bar, but when I click again, it just goes directly to the real URL; presumably some fallback Twitter put in to deal with people like myself :D
Re:PWA Store by dudus on Thursday April 23, 2020 @11:32PM (#22964357)
Yes it does.
Re:PWA Store by blkhp19 on Friday April 24, 2020 @05:19AM (#22966123)
Just tried it, and the difference between Twitter native and Twitter PWA is night and day. The PWA has absolutely 0 polish. No animations, no transitions, nothing. The tab bar at the bottom misses hits if you tap quickly / right after the PWA opens. The pull-to-refresh doesn't use the native scroll physics. The search tab's tab bar horizontal scrolling can interfere / combine with the vertical scrolling, causing really funky interactions.

Does it browse twitter? Yes. Is it good? Well, maybe if all you ever uses are PWAs, this is considered "good."

Re:PWA Store by cstrat on Friday April 24, 2020 @01:26AM (#22964932)
Code-Server/Coder/Hosted VSCode

https://github.com/cdr/code-server

This is amazing. I mean it isn't a stretch considering the main VSCode app is Electron based, but having a hosted development environment like this has always been a dream...

Re:PWA Store by nattaylor on Thursday April 23, 2020 @11:13PM (#22964268)
The Instagram PWA is excellent
Re:PWA Store by jonnyscholes on Friday April 24, 2020 @06:59AM (#22966691)
This is particularly true on iPads. Instagram has clearly decided it's not worth the engineering effort to adapt Instagram (a multi billion dollar asset) for iPad. No matter - add the PWA to your homescreen!
Re:PWA Store by GrinningFool on Friday April 24, 2020 @02:19PM (#22971322)
> I’m talking about beautiful animations,

I turn off all the OS-level animations using my phone's accessibility settings. It is a much better usability experience and "feels" far more performant - I perceive less time spent waiting, anyway.

I wish I could do it in apps too, so that I the time it takes to complete an action wasn't bounded by the duration of the "beautiful animation" someone felt it was helpful to include.

Re:PWA Store by osrec on Friday April 24, 2020 @03:42AM (#22965599)
Take a look at Bx: https://usebx.com/app
Re:PWA Store by canada_dry on Saturday April 25, 2020 @06:40AM (#22977181)
+1 Very clean looking design. Am curious how well it's taken off. Also, how come you haven't shown it off via "Show HN"?
Re:PWA Store by osrec on Saturday April 25, 2020 @08:12AM (#22977511)
Thank you! I did, but it didn't get much traction, since Show HNs can be a bit of a lottery! After a fairly slow start, we're doing quite well in the UK now (7 figure MRR after 3 years).
Re:PWA Store by candiddevmike on Thursday April 23, 2020 @10:52PM (#22964166)
Checkout our product, Domestica. It's an offline capable PWA to help you manage tasks, budgeting, cooking, shopping, and more. You can even self host it.

https://domestica.app

Re:PWA Store by omniscient_oce on Thursday April 23, 2020 @11:17PM (#22964281)
The UI is not pleasing to look at all. Also I can't even see what your app does without registering - Major red flag.
Re:PWA Store by candiddevmike on Thursday April 23, 2020 @11:23PM (#22964315)
Sorry to hear that, I'd really appreciate your feedback if you're willing to provide it (mikeatcandid.dev).

There's an about button at the top that will take you to the about/landing page. I was debating on linking to that instead, but it's not a PWA, just a simple static site.

Re:PWA Store by nailer on Friday April 24, 2020 @09:33AM (#22967746)
VScode, Slack, Instagram and WhatsApp all have excellent web apps

* I don't make a distinction between 'manifest files and offline support' ('PWAs') and other web apps. I suspect most people don't either.

Re:PWA Store by tiborsaas on Friday April 24, 2020 @04:50AM (#22965956)
Re:PWA Store by kshowkat on Sunday April 26, 2020 @03:52AM (#22985389)
shameless plug, give our PWA a whirl! superjumbo.tv

(we're a daily prediction platform with cash prizes - think of us like a hybrid between HQ trivia, a sportsbook, and Jeopardy)

Re:PWA Store by steren on Thursday April 23, 2020 @11:18PM (#22964286)
Twitter
Re:PWA Store by Nextgrid on Thursday April 23, 2020 @11:22PM (#22964310)
Twitter is awful (slow, loses scrolling position all the time, breaks common functionality like copying URLs or opening in a new tab) but that's due to bad engineering and user-hostile design and not a flaw of PWAs.
Re:PWA Store by pxtail on Friday April 24, 2020 @05:21AM (#22966135)
> loses scrolling position all the time

I managed to convince myself that I'm not using twitter website correctly because it happens to me all the time - after digging into some comment/thread I want to return to 'main' thread and it returns to the beginning, after that I often give up and just close tab, this is incredibly frustrating and infuriating!

I'm pretty sure that's somehow my fault because it would be insane that one of most frequently used service in the world and company which employs most skilled 10x workforce is unwilling or incapable to deal with problem like this.

Re:PWA Store by Nextgrid on Friday April 24, 2020 @07:28AM (#22966846)
Twitter's criteria for using the Twitter website correctly is to be looking at ads. Seeing useful content in between the ads is a side-effect only necessary to keep you there so you can look at ads.

They have absolutely no incentive in making your usage of Twitter more efficient as it would 1) decrease the "engagement" metrics and 2) give you less opportunities to look at ads if you just see the content you want directly.

Social networks need to strike a fine balance between extracting the maximum value out of the user (profit) while giving them the least possible value (expense). They believe the current system achieves this balance, which I sadly have to agree with because the average user's bullshit tolerance is orders of magnitude higher than ours and they will put up with a lot of shit without leaving the platform.

> which employs most skilled 10x workforce

There are still scammers replying to high-profile accounts with obvious spam such as fake cryptocurrency giveaways, something which can be filtered out with simple regular expressions. I would like to add a very big "[citation needed]" to Twitter having significant skill in house, whether it's engineering or management. Whatever skill they had when they initially built & scaled the platform seems to be long gone.

Re:PWA Store by mattpearl on Thursday April 23, 2020 @10:45PM (#22964118)
PWA's have room to grow but have a lot of benefits over native apps
Re:PWA Store by Nicksil on Thursday April 23, 2020 @10:57PM (#22964194)
>PWA's have room to grow but have a lot of benefits over native apps

Just gonna leave us hangin'?

Re:PWA Store by p1necone on Thursday April 23, 2020 @11:01PM (#22964216)
Biggest thing for me would be instant installs and no/much less space taken on local storage.
Re:PWA Store by fidelramos on Friday April 24, 2020 @02:32AM (#22965250)
Most important thing for me is sandboxing, no abuse of the device's data and sensors. I hate how most native apps invade your privacy.
Re:PWA Store by Nicksil on Friday April 24, 2020 @05:23PM (#22973053)
>Most important thing for me is sandboxing, no abuse of the device's data and sensors. I hate how most native apps invade your privacy.

User abuse is rampant on the Web. For example, those APIs you mention are used to fingerprint machines. If you're genuinely concerned with abuse of privacy, you'd do yourself a huge favor by researching the history and current mechanisms for such abuse by websites and, by extension, PWAs.

Re:PWA Store by fidelramos on Friday April 24, 2020 @07:21PM (#22974003)
I'm well aware of browser fingerprinting, I take my privacy seriously and do my best to protect it.

Both on desktop and mobile I use an array of browser extensions to limit online tracking and fingerprinting. On Android I use Webapps Sandboxed Browser [1] to log in to webapps without leaking the logged in status to other websites.

I feel that with the web I get a fighting chance, while native apps are designed for tracking you.

[1] https://f-droid.org/app/com.tobykurien.webapps

Re:PWA Store by Nicksil on Friday April 24, 2020 @05:27PM (#22973098)
>Biggest thing for me would be instant installs[...]

That's relative to the size of the thing you're installing, no? Wouldn't it then be comparable to software of the same size being installed on the host system?

>no/much less space taken on local storage.

Isn't this, too, relative to the size of the application or the data it is persisting?

Re:PWA Store by buzzerbetrayed on Friday April 24, 2020 @01:20AM (#22964907)
In addition: not having to install at all to be able to try it out.
Re:PWA Store by torgoguys on Thursday April 23, 2020 @11:16PM (#22964276)
Single codebase for multiple platforms, no app store approvals/revenue share required, openable via a link, works to the webs' strengths, etc. That sort of stuff. It has its own set of disadvantages too of course.
Re:PWA Store by FridgeSeal on Thursday April 23, 2020 @11:25PM (#22964323)
Hasn’t pretty much every Silicon Valley tech company that tried to use single-condensed Cross platform apps essentially come to the conclusion that they’re not worth it, or better than OS-specific codebases and proper separation of UI and logic?
Re:PWA Store by Drew_ on Thursday April 23, 2020 @11:48PM (#22964432)
Native is obviously better and always will be. Making cross platform apps is not worth it only if you can easily afford to go native. This is obviously not true for everyone.
Re:PWA Store by Nicksil on Friday April 24, 2020 @05:14PM (#22972979)
>Single codebase for multiple platforms[...]

Native, cross-platform frameworks exist.

>no app store approvals/revenue share required[...]

Software was distributed long before those walled gardens came into existence. It is as possible as ever to install native software on your machine without having to go through a "store."

>openable via a link[...]

I don't follow. Do you mean a hyperlink from within a browser? I suppose, if one really wanted, it wouldn't take much effort to create such a thing for launching their native applications, but why would that be an advantage: "links" to open applications have existed as icons and various other actions for as long as graphical UIs have been in existence.

>works to the webs' strengths

What does this mean? What advantages do PWAs have, garnered from the Web, that native applications are unable to tap in to?

Re:PWA Store by scarface74 on Friday April 24, 2020 @07:08AM (#22966737)
No revenue share, sure.

What’s the likelihood that people are going to put their credit card information into some unknown website compared to using Apple/Google for payments?

Every “advantage” you mentioned is better for the developer not the user. That’s why PWA’s will never take off.

Re:PWA Store by filleduchaos on Friday April 24, 2020 @07:43AM (#22966924)
> What’s the likelihood that people are going to put their credit card information into some unknown website compared to using Apple/Google for payments?

Outside of HN's bubble, people do that all the time. Or at worst they will use PayPal or an equivalent to make payments.

Re:PWA Store by scarface74 on Friday April 24, 2020 @07:51AM (#22966982)
It’s outside of the HN bubble that people are less trusting of random websites.

If people were so willing to make payments on random websites, merchants wouldn’t be falling all over themselves to use Amazon’s marketplace and sell their self published books through Kindle.

Not to mention that micropayments on the web has been the holy grail that no one has found in over two decades.

Apple was the first to make $0.99 payments over the internet feasible with iTunes back in 2005. There is much more friction to buying something on the web than just clicking on buy from Amazon/Apple/Google.

Re:PWA Store by filleduchaos on Saturday April 25, 2020 @08:42AM (#22977663)
> If people were so willing to make payments on random websites, merchants wouldn’t be falling all over themselves to use Amazon’s marketplace and sell their self published books through Kindle.

People fall all over themselves to use Amazon's marketplace because

- it has a lower barrier to entry to setting up and managing a store themselves - it has a built-in audience they can access without trying to hustle their proprietary domain name into the public consciousness (SEO is hard)

What on earth gives you the idea that it has anything to do with people's willingness or lack thereof to make payments on random websites?

> There is much more friction to buying something on the web than just clicking on buy from Amazon/Apple/Google.

Again, low-friction payment platforms that aren't "use Apple/Google's in-app payment SDKs" are readily available in 2020. PayPal is one such, Flutterwave is another (in sub-Saharan Africa), etc. In fact, I use those far more in a month than I've ever used Apple or Google Pay.

Re:PWA Store by scarface74 on Saturday April 25, 2020 @08:15PM (#22982908)
because - it has a lower barrier to entry to setting up and managing a store themselves - it has a built-in audience they can access without trying to hustle their proprietary domain name into the public consciousness (SEO is hard)

So the same advantages that using the App Store had over going to random websites and installing J2Me apps back in the day....

Again, low-friction payment platforms that aren't "use Apple/Google's in-app payment SDKs" are readily available in 2020. PayPal is one such, Flutterwave is another (in sub-Saharan Africa), etc. In fact, I use those far more in a month than I've ever used Apple or Google Pay.

You realize Apple has had more users payment information on file than any other company since the iTunes heyday than maybe Amazon?

Re:PWA Store by kshowkat on Sunday April 26, 2020 @03:54AM (#22985393)
We have Stripe integrated on our PWA (superjumbo.tv), and have dozens of paying customers in our first few weeks of launch.

Stripe integrates with Google Pay, so not as janky as you might imagine...

Re:PWA Store by kevincox on Friday April 24, 2020 @07:42AM (#22966915)
You can take payments powered by Apple or Google on websites. The UX is quite similar for the user.
Re:PWA Store by kevincox on Friday April 24, 2020 @07:42AM (#22966921)
Cross platform support is nice for users as well. I have a number of apps that I can't use on my desktop which is quite annoying. When I use a PWA I know that I can access it from whatever device I am on.
Re:PWA Store by pier25 on Friday April 24, 2020 @11:59AM (#22969442)
- No store needed

- Crossplatform (in use and development)

- No store/developer fees to pay

- CSS and HTML are capable of things native can only dream of like real reusable responsive UIs across many types of devices.

https://medium.com/missive-app/our-dirty-little-secret-cross...

- Until SwiftUI web front end was way more advanced in terms of reactive programming of UIs

Re:PWA Store by Nicksil on Friday April 24, 2020 @05:04PM (#22972884)
>- No store needed

Software was distributed long before those walled gardens popped up. Native applications need no store.

>- Crossplatform (in use and development)

Cross-platform frameworks exist for native applications.

>- No store/developer fees to pay

Same goes for native applications

>- CSS and HTML are capable of things native can only dream of like real reusable responsive UIs across many types of devices.

>https://medium.com/missive-app/our-dirty-little-secret-cross....

This is just an incredibly odd statement. First of all, if such layouts are rendering on your machine then of course native applications are also capable of such a feat. Web browsers capabilities are limited to the resources being made available on the host machine. The same goes for any software running on the machine.

And second: Qt.

>- Until SwiftUI web front end was way more advanced in terms of reactive programming of UIs

I don't understand what you mean here.

Re:PWA Store by pier25 on Friday April 24, 2020 @06:38PM (#22973658)
> Native applications need no store

On iOS they do. On Android 99% of users won't use a different store.

> Cross-platform frameworks exist for native applications.

Nothing really good though. Best ones are RN and Flutter which do not get you there 100%.

A PWA will consume less memory and will be smaller than a RN or Flutter app.

> Same goes for native applications

Not on iOS.

> if such layouts are rendering on your machine then of course native applications are also capable of such a feat

Theoretically, yes.

> And second: Qt.

Remind me again how much a QT license costs?

> I don't understand what you mean here.

For the last 10 or so years UI development for the web has gone from archaic jQuery imperative DOM manipulation to a new paradigm with data binding and reactive data.

UI data binding in the native world exists but is extremely complicated and tedious. AFAIK the only thing that is similar to what we have now in web dev is SwiftUI.

Re:PWA Store by FridgeSeal on Thursday April 23, 2020 @11:22PM (#22964311)
Like inferior performance, support and integration with the rest of the OS.
Re:PWA Store by colordrops on Friday April 24, 2020 @01:20AM (#22964904)
There is no reason PWAs couldn't run as well as native in most cases. The issue is that there are orders of magnitude more developers and money behind native apps, and giant corporations making their access super simple through app stores. If we saw the same amount of resources going into PWAs, they would be as good.
Re:PWA Store by verandaguy on Friday April 24, 2020 @01:38AM (#22964994)
>There is no reason PWAs couldn't run as well as native in most cases

I mean, PWAs by definition run inside a VM that has to provide a very heavy runtime, don't they?

This isn't a (comparatively) minimal like the JVM -- this is usually a Chromium instance, with the full V8 engine, Canvas and DOM support, and sandboxing.

It's not reasonable to say that something with this much baggage should be able to run as quickly as a native application, which can often afford to have a much more minimal sandbox, no bytecode layer, a smaller memory footprint, and more deliberate and performant integration with underlying system APIs.

Re:PWA Store by z3t4 on Friday April 24, 2020 @04:15PM (#22972443)
If you do not count the browser itself - a single web app has a very small memory footprint. For comparison you can have hundreds of web apps running at the same time - taking up less memory then one native app! Then there are Electonr/nw.js apps that all come with their own browser, but PWA's will reuse and share the existing browser.
Re:PWA Store by colordrops on Friday April 24, 2020 @02:01AM (#22965122)
Which is why I said "most cases". It's a small percentage of apps that require maxing out a device's resources. I even mention elsewhere in this thread that they are not as performant as native. You can make vague statements about VM characteristics but in practice they won't have a real impact on most use cases.
Re:PWA Store by scarface74 on Friday April 24, 2020 @07:11AM (#22966757)
Most Android devices are cheap and underpowered. It is not hard to max out the resources of your average $225 phone.

That average includes the developed world. The average Android phone is even worse in the developing world.

Re:PWA Store by FpUser on Friday April 24, 2020 @02:10AM (#22965171)
Native application has level of access to OS features and computer peripherals that PWA can only dream of. Same about performance.

But yes there are classes of applications for which underlying implementation technology does not matter much while browser based access from anywhere is more important.