News for hackers. Stuff that matters.
Re:Google’s new popup will further weaken Facebook’s adverti... by esrauch on Monday May 31, 2021 @11:59AM (#27345363)
There's several reasons why everyone wants you to install the app, some of which aren't sketchy.
Re:Google’s new popup will further weaken Facebook’s adverti... by prepend on Monday May 31, 2021 @12:15PM (#27345571)
I get pop ups from sites all the time asking me to try their site, every darn time I visit. Mai it stuff like Reddit, Imgur, most news sites. I’ve tried the apps and they’re worse.

I’m not sure there’s any explanation other than more ad/data revenue.

Are there apps that give superior experience than web sites nowadays? Even not accounting for privacy, the apps are generally just shittier with less functionality.

I used to give the Google apps as examples of apps being better, but the gmail app is more buggy than just using gmail in a mobile browser, not to mention the integrated phone mail app.

Re:Google’s new popup will further weaken Facebook’s adverti... by joe_guy on Monday May 31, 2021 @01:12PM (#27346164)
Our experiences overwhelming align but one counter example is Discord. The chess.com native client is also reasonable.
Re:Google’s new popup will further weaken Facebook’s adverti... by prepend on Monday May 31, 2021 @01:27PM (#27346321)
There are some apps that provide some functionality that genuinely works best and I use the Discord mobile app. Of course, I didn’t instal it based on the pop ups.

Similar, there’s quite a few chat/video apps and games where apps make sense. And none of them prompted me to download the app or show lies like “better in our app” crap.

Re:Google’s new popup will further weaken Facebook’s adverti... by jeffbee on Monday May 31, 2021 @08:26PM (#27349553)
I've always been on the fence a bit about Gmail's mobile site vs. the iOS app. The mobile site is really great and it has the usual advantage that it uses no data and no battery if you never load it. But many other Google apps are dramatically better or don't even have a web counterpart. Best example is Google Translate, that uses the camera and a bunch of CPU time to do some wild shit.
Re:Google’s new popup will further weaken Facebook’s adverti... by qualudeheart on Monday May 31, 2021 @07:32PM (#27349247)
Everyone should have a computer powerful enough to run vms for compartmentalisation.

If you can simulate 5 different phones it won`t matter if someone gets their spyware onto one of them.

Re:Google’s new popup will further weaken Facebook’s adverti... by zibzab on Tuesday June 01, 2021 @03:53AM (#27351713)
Sometimes we can solve problems with technology and as a HN reader that is maybe more interesting.

But it is always better to address the root cause of the problem. This often means a policy or legal issue rather than a technical, but has the advantage of not becoming a whack-a-mole technical race.

Re:Google’s new popup will further weaken Facebook’s adverti... by alsetmusic on Monday May 31, 2021 @06:06PM (#27348532)
> Are there apps that give superior experience than web sites nowadays?

The IMDB app is far better (to me) than the dumpster-fire that has become their website. Other than that, I agree with the sentiment that most apps for websites are not worthwhile to install.

Re:Google’s new popup will further weaken Facebook’s adverti... by sebastien_b on Monday May 31, 2021 @07:55PM (#27349393)
> The IMDB app is far better (to me) than the dumpster-fire that has become their website

Funny, to me the IMDB app is the perfect example of a dumpster-fire app, with every 3rd tap/action resulting in an “invitation” to sign up for an account.

Re:Google’s new popup will further weaken Facebook’s adverti... by judge2020 on Monday May 31, 2021 @09:06PM (#27349769)
Works for my use case, which is being signed-in and managing my reviews/watchlist.
Re:Google’s new popup will further weaken Facebook’s adverti... by 1vuio0pswjnm7 on Monday May 31, 2021 @06:51PM (#27348982)
It is not necessarily a dumpster fire if one uses something else besides a popular graphical web browser to make the HTTP request and view the text. The "modern" web browser is complicit in creating the dumpster fire. Web developers can provide the inflammable materials, but a "modern" browser that by default auto-loads resources and runs Javascript is required to ignite it. There is no fire unless the right (=wrong) HTTP client is used.

I use a text-only browser and write simple command line "apps" (scripts) to retrieve text from sites like IMDB. It works very well. Opening pages on these sites in a "modern" web browser is an entirely different experience. We cannot ignore the complicity of the "modern" web browser in degrading the "user experience" in cases like this one.

Re:Google’s new popup will further weaken Facebook’s adverti... by nr2x on Monday May 31, 2021 @08:12PM (#27349472)
My primary use case for IMDB is to figure out names of actors, for which I need to see the photos. There’s a lot to dislike about the modern web, but images are fairly useful.
Re:Google’s new popup will further weaken Facebook’s adverti... by 1vuio0pswjnm7 on Tuesday June 01, 2021 @02:41AM (#27351340)
1.sh takes an IMDb URL on stdin, saves the page temporarily and outputs a "lite" version, a more minimal page containing only actor photos. Of course, if desired, other film details could also be extracted and added to the output. 1.sh takes a single argument: photo size. Options are 140, 210 and 280. Requirements: curl (or quivalent), grep, sed, cut, sort, nl.

Example:

    # Don't forget the trailing fwd slash else 302 redirect
    echo https://m.imdb.com/title/tt9484998/ | 1.sh 280 > 1.html
    firefox ./1.html

    case $# in 1);;*)echo "usage: echo URL | $0 size";exec echo size options are 140 210 280;esac;
    read x;case $x in https://m.imdb.com/title/*/);;*)exec echo error: URL \(should end with fwd slash\);esac;
    x1=$(echo "$x"|cut -d/ -f5); 
    curl -H"User-Agent" -0 -4o "${x1}" "$x";
    (grep -o "<title>.*</title>" "${x1}"|sed 's/  */ /g';
    echo "<h3>Image size: $1</h3>";
    (exec grep -o "title-cast-item__actor\"[^<]*" "${x1}"|sed 's>.*href=><a href=\"https://www.imdb.com>;s/?ref.*\"/\"/;s[.*[<p>&</a><\/p>['|nl -s,
    exec grep -o "title-cast-item__actor[^<]*" "${x1}"|sed 's/.*>//;s/.*/<img alt=\"&\"[^\>]\*/'|grep -of /dev/stdin "${x1}" \
     |case $1 in ---////////////////////////---IMDb-CAST-PHOTOS-ONLY---\\\\\\\\\\\\\\\\\\\\\\\\\---)
      ;;140)cut -d\" -f1-2,7-8,15|sed 's[.*[<p>&/></p>['
      ;;210)cut -d ' ' -f1-3,9|sed 's/https:/src=\"&/;s[.*[<p>&\"/></p>['
      ;;280)cut -d/ -f1-2,18-21|cut -d\" -f1-3,8|sed 's/class=\"/src=\"/;s/\.jpg/&\"/;s/ 280w//;s[.*[<p>&/></p>['
      esac|nl -s,;
    exec grep -o "title-cast-item__char\"[^<]*" "${x1}"|sed 's/.*cast-item-characters-link..//;s/.*/<p>\&quot;&\&quot;<\/p>/'|nl -s,;
    ))|sort -n|cut -d, -f2- 
    rm "${x1}" 2>/dev/null;
Re:Google’s new popup will further weaken Facebook’s adverti... by scoopertrooper on Monday May 31, 2021 @08:49PM (#27349689)
Just disable scripts in the web browser you crazy cat.
Re:Google’s new popup will further weaken Facebook’s adverti... by pbhjpbhj on Monday May 31, 2021 @01:18PM (#27346227)
What are some of the none sketchy reasons for "everyone" wanting us to use their apps. Like for major companies, where the service is deliverable through a website, what benefits does the user get from an app?

I can see why GPS based apps, or camera apps with filters, or networking apps 'need' to be installed apps (I don't know if an easy way to do GPS through a browser; speed and fast access to storage) ... but Amazon, Reddit, newspapers, ... what am I gaining?

Genuine question as a one time web dev I've always considered web sites written as an app, shipped with a browser, to be a negative. What am I missing out on?

Re:Google’s new popup will further weaken Facebook’s adverti... by oauea on Monday May 31, 2021 @01:23PM (#27346278)
Easy access to push notifications (which can be sketchy, but doesn't have to be) and believe it or not: Letting users put a shortcut on their homescreen. Sure, you can place a shortcut to a PWA in the Chrome browser but most users won't be configuring that, even if you guide them through it.
Re:Google’s new popup will further weaken Facebook’s adverti... by ecshafer on Monday May 31, 2021 @04:22PM (#27347739)
These seem like reason that help the business, not the user. Are there any legitimate reason that help improve the user's experience for having an app? I can see this for some games and things that native access is usable. but a shortcut to the homescreen and push notifications are mostly an annoyance for users.
Re:Google’s new popup will further weaken Facebook’s adverti... by saurik on Monday May 31, 2021 @09:52PM (#27350003)
What? Those are pieces of functionality that some users actively want. The experience of having to hunt for Yelp in Safari sucks vs. having it as an icon. Being able to get push notifications is effectively the only thing messaging apps even do! If these features weren't important then why do they even exist?! The irony is that Apple knows if they provided push notifications to mobile websites then suddenly their catalog of apps would have a lot less value as people would be much more willing to just make websites.

Like seriously; compare your comment to this person: https://news.ycombinator.com/item?id=27348626 . You just so happen to be weird: that's all.

Re:Google’s new popup will further weaken Facebook’s adverti... by pbhjpbhj on Monday May 31, 2021 @01:57PM (#27346610)
In Brave/FF mobile you open then menu and click "add to home screen", do other browsers not have that? Push notifications are pretty common on the web now, aren't they? (I don't use them).
Re:Google’s new popup will further weaken Facebook’s adverti... by Leherenn on Monday May 31, 2021 @02:35PM (#27346924)
Both Chrome and Safari have the "add to home screen", but Safari doesn't have push notifications, not even for "installed" webapp.
Re:Google’s new popup will further weaken Facebook’s adverti... by greeklish on Monday May 31, 2021 @03:45PM (#27347484)
I remember the time when news were flooding the internet evangelizing iphones as the platform of the web, a platform that would allow websites do anything a native application could.

What a letdown...

Re:Google’s new popup will further weaken Facebook’s adverti... by alsetmusic on Monday May 31, 2021 @06:12PM (#27348604)
> I remember the time when news were flooding the internet evangelizing iphones as the platform of the web, a platform that would allow websites do anything a native application could.

> What a letdown...

The original iPhone demo showed the actual desktop version of the NYT website loading in Safari. Websites were the ones that later optimized for mobile.

And I don’t remember iPhones being promoted as giving websites anything approaching native app capabilities except when Apple tried to sell that line to developers before they had a public SDK. Nobody bought it, even then.

Re:Google’s new popup will further weaken Facebook’s adverti... by MatmaRex on Monday May 31, 2021 @06:04PM (#27348515)
Most of the non-sketchy reasons are related to iOS Safari being crippled.

For example, I worked on a rich text editor, and we wanted to put a bar with text formatting tools above the touch keyboard. This is not possible in the browser: your webapp cannot measure the keyboard or the remaining available viewport (and the keyboard's size depends on the input method and the iPhone model).

Another example I experienced is when we wanted to have full-screen dialogs with buttons at the bottom. If you do that, then the users have to tap your buttons twice, because the first tap only expands Safari's browser UI, and your buttons near the bottom of the screen only work while that UI is expanded.

Re:Google’s new popup will further weaken Facebook’s adverti... by burnished on Monday May 31, 2021 @03:15PM (#27347255)
I have an app for most sites, its called my browser. If the app isn't taking advantage of a feature on my phone then it doesn't make sense to package it as an app.. unless they are getting something out of it. Going to make a broad and sweeping generalization here: they are getting money from tracking.
Re:Google’s new popup will further weaken Facebook’s adverti... by drusepth on Monday May 31, 2021 @06:15PM (#27348626)
Counterthought: I've been running a popular web-only site for about 5 years now and I get a little under a hundred requests per month for it to be made "into an app". A lot of users just want to be able "to install it" or to "get to it from my home screen" or "to get to it faster" (even after pointing out they can add bookmarks to home screens). It's also tempting from my POV to make an app just for discoverability reasons (e.g. users browsing the app store discovering my site).

I haven't made an app (don't know how!) and I definitely wouldn't add a "download our app or else!" banner/wall, but I've been extremely surprised from the other side of the table to see just how many users seemingly just want an app for an app's sake, even if it's functionally no different from a responsive mobile view.

Re:Google’s new popup will further weaken Facebook’s adverti... by burnished on Tuesday June 01, 2021 @08:00PM (#27363038)
That is interesting!
Re:Google’s new popup will further weaken Facebook’s adverti... by qualudeheart on Monday May 31, 2021 @07:35PM (#27349268)
You can contract out the app development.

Freelancers are cheap if you hire from poor countries.

Re:Google’s new popup will further weaken Facebook’s adverti... by jfengel on Monday May 31, 2021 @12:02PM (#27345387)
Seriously, what are they? Every time I get pointed at an app, I can only think of https://xkcd.com/1174/
Re:Google’s new popup will further weaken Facebook’s adverti... by toast0 on Monday May 31, 2021 @12:49PM (#27345934)
Many (most?) apps don't do it, but the useful feature for me that's not possible with a web page is reliable, unobtrusive, background updates.

Things like weather (with or without current coarse location), sports scores, headline news benefit from up to the minute data fetches, but older data is still useful.

For communication apps, often people would like notifications on inbound messages, so that can fit with web push apis to get data; but if you don't want notifications, you can't consistently make messages available to read offline.

Re:Google’s new popup will further weaken Facebook’s adverti... by mrtksn on Monday May 31, 2021 @03:10PM (#27347226)
A few out of my head:

1) Shortcut on the homescreen by simply tapping 1 button(install) instead of hoping that the user will somehow remember you. WebApp shortcuts are quite involved.

2) Sign in once with a forever session. I hate apps where I need to sign in again because having an App is a great opportunity to have one time sign in that runs through generations of phone upgrades. Even better, the sign in doesn't have to involve the user, the data will be there and not accidentally deleted which means that the presence of the app is as good as username and password.

3) Immersive experience means better user experience. The UI becomes part of the Phone's UI instead of another App's UI's sub UI. A well designed app is very effective. I haven't seen a well designed mobile Web App, Web is great for websites and "possible to do" Mobile Web Apps.

4) Smaller download sizes, faster launches. A website would usually download a few MB of scripts and images, an App without bloated frameworks would be easily around that size and will download it only once. It will be ready to use in less than 0.5s every time.

5) Any advanced stuff is done much better natively even if it is possible to do through the browser. This is because the browser put extra boundaries around the boundaries that has due to the OS boundaries.

Re:Google’s new popup will further weaken Facebook’s adverti... by prox on Monday May 31, 2021 @04:35PM (#27347823)
Only 5 is really a legitimate reason, all the other things can be done on par with a website.
Re:Google’s new popup will further weaken Facebook’s adverti... by mrtksn on Monday May 31, 2021 @05:03PM (#27347997)
I think we need "Demand explanation" button for comments like this . It's a useless statement as is. It's essentially trolling and trolling shouldn't be happening on HN.

I know the reasoning of that statement but it's not providing an argument to refute. What am I supposed to say? "No. You can't, that's why it's not happening".

Re:Google’s new popup will further weaken Facebook’s adverti... by prox on Monday May 31, 2021 @05:44PM (#27348310)
I do not see how you could read it as such. Because the reason / explanation is already given, as all the options that were mentioned (1-4) can be easily matched by any website, I think it is rather self evident.

1) You can add websites as app icons to iOS and Android. 2) Websites can hold persistent identities, and devices can otherwise remember the login details. 3) Websites UI can be anything and have nearly all options that apps can have, depending on the quality of the UX, which depends on the designer in any case. 4) A professional website will not be any slower if properly designed.

Now on 5, that depends on the specifics of the app. Some types do benefit greatly from being boarded on a device. An example would be Procreate for instance, which can not be mimicked on par in webform.

Re:Google’s new popup will further weaken Facebook’s adverti... by mrtksn on Monday May 31, 2021 @05:53PM (#27348397)
1) As I said, it's too involved. Only a fraction of your users would know how to do it, you will need to teach them.

2) Websites do that through Cookies and Local Storage. These have limits and users would be purging them en mass. The data of the app doesn't disappear for no reason.

3) As I said, the problem is that it runs within a browser if not added to the homescreen. It is a window within a window.

4) Professional or amateur design, websites data is managed by the browser and not you. Caches get invalidated, you download everything again. It happens all the time.

Just being able to do something is not enough, Apps are much smoother experience.

Re:Google’s new popup will further weaken Facebook’s adverti... by egeozcan on Tuesday June 01, 2021 @02:20AM (#27351225)
As an android user, I personally hate having to use apps. Websites are much easier to use and I can zoom (and override if they try to block it). I can use extensions on firefox (yes it's possible) and modify the behavior when needed.

I also cannot bookmark pages from apps. I can, however, add websites to the home-screen. I don't see any reason to download fat binaries for a worse experience.

Are you an app developer? You seem to be very biased.

Re:Google’s new popup will further weaken Facebook’s adverti... by mrtksn on Tuesday June 01, 2021 @03:11AM (#27351474)
I do Web and Apps. I also hate apps on Android, it feels like invasion.

BTW, I’m not talking about websites(articles and forms) but Web apps(task achieving experiences). Of course it’s just as bad experience to have a website as an app. it’s even worse when you are being forced to.

Re:Google’s new popup will further weaken Facebook’s adverti... by beagle3 on Monday May 31, 2021 @03:23PM (#27347323)
6) notifications.

Though, (1) is wrong on iPhone; there’s an “add to home screen” action in the share menu.

Re:Google’s new popup will further weaken Facebook’s adverti... by Vrondi on Monday May 31, 2021 @04:39PM (#27347850)
This exists on Android browsers as well (and has for years).
Re:Google’s new popup will further weaken Facebook’s adverti... by mrtksn on Monday May 31, 2021 @04:56PM (#27347961)
>Though, (1) is wrong on iPhone; there’s an “add to home screen” action in the share menu.

As I said:

>WebApp shortcuts are quite involved.

Most people don't know about that functionality, you need to teach them. It would have been cool if Apple supported that, then I guess everyone would have been trying trick you into it like the good old days where every website was trying to trick you into making it you start page.

Re:Google’s new popup will further weaken Facebook’s adverti... by arcturus17 on Monday May 31, 2021 @12:23PM (#27345655)
> some of which aren't sketchy

I am as cynical about forcing apps down user's throats as anyone (Reddit, I'm looking at you), but the downvotes are a bit too much when this is a perfectly reasonable point, no?

Some cases for apps are perfectly legitimate, maybe the access to the phone APIs and the native experience is much better for a given product or service. I'm a firm believer in PWAs but as it stands I really prefer Uber or delivery apps to be native.

I really hope the people downvoting the parent comment are not the same people who are staunchly against web apps, though I suspect there will be some intersection. We can't have web apps, but we can't have native apps either... What can we have then, Geocities and MySpace?

Re:Google’s new popup will further weaken Facebook’s adverti... by pbhjpbhj on Monday May 31, 2021 @01:25PM (#27346306)
Without examples I think the downvotes are justified, note they said there are reasons and suggested that those reasons are widely applied. Which is different to 'there could be reasons' and 'it would be good if everyone moved to using those aspects that give justified benefits'.

The expectation is 'everyone wants you to use their app so they can track and advertise better' and the parent basically said 'nuh-uh'. We need more to be able to consider it substantive and benefiting the conversation, IMO.

Re:Google’s new popup will further weaken Facebook’s adverti... by rolph on Monday May 31, 2021 @12:32PM (#27345753)
we can have privacy, security, autonomy

and it is possible to do it with apps if we shift to apps being a service for the user, rather than a service for the developers sponsors