Hacker Newsnew | past | comments | ask | show | jobs | submit | djxfade's commentslogin

PHP still rules the world, even though many doesn't want to realize it. It's still the biggest web language by a far margin

Phones don’t “rule the world” of cinematography, despite the majority of videos being from phones. The serious stuff, professional and personal, uses cameras.

Realistically, what would the business case for Apple be where it would make sense to make Linux a first-class citizen on their hardware? Their product is a combination of hardware and software that works together to form the final product.


You mean other than the fact that MacOS continues its slow decline? And the fact that giving your customers different options to use their hardwares would attract more even more customers?


This is pretty much what Tauri solves. It re-uses the systems WebView. So the built apps are tiny (kb to a few mb)


Anyone know why? Some of the tiers more than doubled in price, that's pretty insane.


Hardware prices, especially RAM, have skyrocketed. Priced out new baremetal servers recently and prices were 3-6x what we paid 4 years ago for the newer equivalents.


RAM prices, surely?


Was looking into a ram upgrade and the kit is 4x what it was even a year ago. I'm with you on this one


On macOS, I use a free app called Fluor, that lets me auto switch the Fn key behavior based on which app is active.


I disagree. What if, hear me out, parents actually parent, instead of relegating the parenting to companies, and ruining the internet for the rest of us?


Of course! Age verification laws for buying alcohol, tobacco (and firearms in the US) should be removed! They ruin our experience.

The same way, keeping driver license behind an age gate is unnecessary, parents should parents! I was driving tractors at 12yo, why couldn't I drive a car?

Parents should be the one responsible if they give money or a car to their kid


At least nobody is making a list of who, where and when bought the cigar. Now facebook wants to know at what time, for how much, which brand, from which referrer....


I'm concerned about these laws and their implications for privacy, but as a parent, I'm not sure what you mean to say parents should parent. How? What should the parent do? How would you recommend a parent protect a 13 year old who spends their time in their room and out with their friends on their phones?


Monitor computer activity, don't give them a smart phone at 13


Tell me you don't have children without saying you don't have children.

In many places it is essentially impossible for children (even younger than 13) to have a normal social live without access to a smart phone. Just some examples, many public transport providers are moving to apps as the only way to pay for fares, nearly all communication for sports clubs happens through messenger platforms, school information is typically distributed via apps as well and the list goes on (I have not even touched on the kids own social interactions).

The irony is that the people who say "parents should parent their kids online activities" the loudest, largely grew up with unrestricted computer use, in chat rooms, weird corners of the internet all by working around any restrictions that parents tried to put on them. Mainly because they were much more computer literate then the older generation.


They get them from their friends at school. I can’t be with my son every waking moment of every day and it’s a ridiculous stance to tel me to do so. I’m also not the only parent I’ve met who wants to be able to limit my child’s access to garbage like social media and Youtube online.

What you’re proposing is similar to a “Google Free Village.” What we need is something that lets parents have some control by proxy without violating the privacy of the child or anyone else. I believe it’s possible to do so.

The Internet that we grew up on has been totally subsumed by scumbag marketing to the point that it’s unavoidable. It’s an addictive substance now. Stop pretending like the ways of the 90’s and 2000’s are still accessible.


You should censor the Internet of your child, instead of having the government censor the Internet of everybody.


Translation: you can't parent your own child so you want the government to do it, as if they'll do it properly.


Who needs age of consent laws, you should just parent your kids!

If they are having sex with people they shouldn't, you've just been a bad parent


Freedom of speech and freedom to read that speech is not the same as having sex with people you shouldn't.


I have a different solution to your other repliers: do nothing, your kid will be fine in all likelihood. If you must satisfy the politician's syllogism, set some time limits and make them touch grass. But a thirteen year old oughtn't be parented like a three year old.


Age verification kind of disgusts me and your kid will probably be fine

Isis did manage to recruit young men in the UK via telegram (OK, you just said “in all likelihood“, maybe I’m tossing you the exception that proves the rule)


To be clear, I'm against age verification. Teenagers should just have access to all of the internet, like we did when we were teenagers.

> Isis did manage to recruit young men in the UK via telegram

Not sure why this is an age problem, and why it's ok for 18 year olds to be recruited to terrorist organisations but not 17 year olds...


My main issue with this argument is that we never applied it to any other age gate created in the past. Why? Maybe part of it was control, but also because we know parents will fail their kids, and there were cases bad enough in the past that society decided to step in and protect kids even when parents fail.

If we really embraced this logic, then should we look at returning to the laws from before the 'protect the children' push of the 20th century. Compare this to some countries where kids can go buy beer. I've read stories from people in less regulated countries who use to buy beer for their parents when they were underage, and nothing was stopping them from buying it from themselves if their parents allowed it (or failed to stop it). Even a concept like child labor, why should we regulate that out to companies to control instead of depending upon parents to parent? When you consider web access as a person having some sort of transaction with a company, it generalizes to a very similar position of if a parent or the government should monitor that relationship for harm.


This is a common argument, but the problem is the kids who have deadbeat parents

Or even kids whose parents don't have the technical knowledge needed

Yes I do agree the responsibility is with the parents, but it's these kids who are majoritarily affected by (bad internet actors) AND (bad offline actors)


agree, also they should take into account that their children will be eventually an adult and will be living in such system. Goverments should only focus on educating parents (available tools, recommendations) and maybe provide some open source tooling for parents.


> agree, also they should take into account that their children will be eventually an adult and will be living in such system

We also have to consider that "children" covers anywhere from birth to approximately 18 years old.

It is reasonable to expect a parent or their proxy (e.g. caregivers and teachers) to moderate access to the Internet in the early years. Yet older children and teenagers gradually gain more independence. For example: they are able to go places on their own, get their own phone, etc.. In the physical world, we have laws that recognize this, things like forbidding the sale of alcohol and tobacco to minors. Responsibility is placed on the vendor to check identification when selling such products and the customer's age is suspect. It would be absurd to place responsibility on parents in this case since the most a parent can do is educate their child.

Now I understand the Internet poses problems when it comes to similar transactions. For face to face transactions, appearing old enough is often sufficient (perhaps with a buffer to avoid liability) for access without presenting identification. While it isn't truly anonymous, there are cases where it can be reasonably anonymous. Unfortunately, transactions are mediated by machines on the Internet. You cannot make any assumptions about the other person. Making matters worse: it is extraordinarily difficult to do age verification without disclosing identify information, and to do so in a manner that is easily recorded. Whether that information is provided directly or through a third party is a moot point. It is still being provided.

I don't know how we go about solving this problem, but I do know two things:

- Placing all responsibility into the hands of parents is absurd, and would ultimately prove harmful to adolescents. It is creating a nanny-state where the nanny is the parent. The youth would be unable to gradually gain independence, nor develop an identity independent of their parents' whims.

- We live in a world which is eager to age-gate things that should not be. Sometimes this is for semi-legitimate reasons due to how the Internet is structured. For example: there is no good reasons why children and youth cannot participate in things like discussion forums, but those forums definitely cannot look like the "social media" we have today. Other times it is for despicable reasons, such as making value based judgements based upon ideology. (The left and right are both guilty of this.)


> Placing all responsibility into the hands of parents is absurd, and would ultimately prove harmful to adolescents. It is creating a nanny-state where the nanny is the parent. The youth would be unable to gradually gain independence, nor develop an identity independent of their parents' whims.

Nonsense. What kind of nanny state? Of course parent is a nanny because they growing and taking care of their own children. This has been for this way for centuries. Nanny state is the oppposite when state is reponsible for growing your kids.

You didn't explain how "Placing all responsibility into the hands of parents is absurd," or how "would ultimately prove harmful to adolescents".

> It is reasonable to expect a parent or their proxy (e.g. caregivers and teachers) to moderate access to the Internet in the early years. Yet older children and teenagers gradually gain more independence.

its easy to moderate or at least limit access to internet for kids. - less than 5 years then have no own phone - less than 10 years most likely also don't have own phone if have don't need sim but only wifi (parent control wifi and router) - more than 15 years -> no control anyway and this age limitation trying not to limit above 15 years in most countries anyway - between 10-15 you can just not sell simcards for those ages less than 15. Parents decide if will buy such simcard for their kids. Allow buy kid like simcard that restrict access to social media. You need unrestricted simcard that you can get only if you are >15 years old or your parent will buy for you. Sure it wont restrict everything but will limit access significantly

Other solutios are treating flu with HIV.


Anyone should be allowed to buy/do anything at any age, why have any restrictions that's a parent's responsibility! /s

A proper society raises their new generations.

Yes, rights and responsibilities fall mostly to parents, but I see no reason to make licentious activities difficult for parents to inhibit.

What is it you want to do on the internet?

We can have systems that allow anonymity (between client and server), but still put hardcore porn, gore, financial frauds and such out of reach of those without proof they're over 18.

Now, don't get me wrong, Palantir and it's ilk are a danger to society. But just because the military-industrial complex wants to use any excuse to control people, doesn't mean all of those excuses are wrong.


This.

One common use case for the @ operator, is when "destructuring" array members into variables. In some cases, you can't know if the member will be available, but it's not important if it's missing. In that case, you can silence the warning.

$array = ['apple', 'pear']; @list($mainFruit, $secondaryFruit, $tertiaryFruit);

Since I suppress the warning that would occur due to the third member not being present, the program will continue executing instead of halting.


It was implemented in some of the earlier Leopard beta's iirc. Possible speculation from my side, but it was probably removed due to licensing once Oracle expressed interest in acquiring Sun Microsystems.


As a side note, I personally HATE apps that opens links in an in-app web view (apps like Instagram, Facebook, etc). I really wish Apple could have a system wide preference where it could force in-app web views to open in the browser.


It has frustrated me for a LONG time that we have all collectively seemingly decide to break links.

It used to be that you could click a link in an app, it opens in your web browser where you're already logged in to the relevant service, so you get to see the content the link points to.

These days, you click a link in an app, it opens in an in-app web view where you're not logged in, so you just see a login screen.

Not even the "open in Safari" button works, since by the time you have the opportunity to click it, you've already been redirected to the login page. You literally have to long-press on the link, copy it, switch to your browser, and paste it in to the omni-bar. I don't understand how this god forsaken industry's UX "experts" have all agreed that this should be the universal user experience.

It's especially bad in apps like Slack, where 99% of the links I'm ever interested in are links to our internal gitlab, some internal knowledge base article, some internal tool, or some other thing that requires being logged in to view any of the content. Links just plain do not work almost ever in Slack without the manual long-press -> copy -> switch to Safari -> paste dance.


This behavior (as far as I can tell) has broken the Expensify iOS app for us at work. We have a conditional access policy that requires a “compliant” device to succeed the SSO login. However, only the iOS Edge browser can prove compliance and Expensify refuses to hand over that login process to the Edge browser preferring to use its own built-in browser. So login fail and as far as I can tell there is nothing we can do about it except for exempt that app from the conditional access policies.


The reason Expensify does that is because they want/need access to the cookies from the login flow. The in app browser provides the hosting application access to those, but they can't access Safari's cookiejar. The modern way of doing it is to put the login in Safari (or iOS's dedicated "in app browser for logins") and then redirect to something like expensify://login_complete?token=xxxxxx, which pops back over to the app. This is mostly tech debt on Expensify's part, but it might not solve the Edge vs. Safari issue.


I wonder what iOS Edge does which iOS Safari doesn't do, considering both are just UIs over WebKit...

Not that it matters, it's still an excellent example of stuff not working because links don't work as links anymore.


> I wonder what iOS Edge does which iOS Safari doesn't do

Being a "Managed App" through MDM/Intune. Typically it's used when installing corporate apps in a BYOD scenario. The managed apps are isolated from information sharing with unmanaged apps, e.g. policies can be applied preventing copy/paste, access to Files.app, etc. It (and it's isolated storage) can also be remote wiped without nuking the whole device. Edge.app still uses the Safari rendering engine, etc. like is generally the case with 3rd party browsers on iOS.

You can't do this with Safari.app unless the whole device is managed, which doesn't work well for BYOD.


We have this policy at work and it’s infuriating. I had to install edge once to access some work resource and immediately uninstalled it. I can’t even access our GitHub without it, even through the official app.


Maybe what breaks that process is what Edge does not do and Safari does. There is more to a browser than the rendering engine. Furthermore, does Safari still uses an optimized JS engine that the other browsers cannot use?


> I wonder what iOS Edge does which iOS Safari doesn't do

I don’t know whether that’s right, but I read “We have a conditional access policy that requires a “compliant” device to succeed the SSO login. However, only the iOS Edge browser can prove compliance” as “our access policy does not allow logging in from Safari”. If that’s true, it’s not something Edge or Safari does or doesn’t do.


> I wonder what iOS Edge does which iOS Safari doesn't do, considering both are just UIs over WebKit...

"just" is not an appropriate word here. There's a ton of functionality in the native UI and non-WebKit code.


I hate in-app browsers, too, but there is a Slack setting that will let you open in Chrome or Safari (choosing Safari opens whatever your default iOS browser is).

You can change the Browser Application setting under Preferences after tapping on your Avatar in the Slack app.


> you click a link in an app, it opens in an in-app web view where you're not logged in

But you could be. You could log in from the in-app web view, and it would be remembered and compartmentalised in that app, so that next time you click a link you’re logged in.


Nowadays most providers (and IT teams managing SSO) log out stale sessions quickly, so by the time he clicked another link to it in Slack he'd probably be logged out, again.

It really is a bad user experience all around.


If it happened that fast, then logging in outside the in-app browser wouldn’t make much of a difference, you’d have to be constantly doing it anyway.


I could be, but I'm not. And I don't want to compartmentalize logins to Slack.


To be clear, what I meant is that the logins inside the in-app browser do not affect the other in-app browsers and the main browser. I understand this is not your preferred solution, but it is a way to make the situation suck less.


This sounds like a fantastic way to get phished.


That makes no sense. Are you getting phished from clicking a link someone you know posted in your internal company Slack? And use a password manager, those make sure the domain is correct.


Every app and their mom uses the webview bullshit - it's not just your work slack.

Now you're logging into the same thing in multiple different places. Obviously, the odds of you getting phished go up significantly.


I also love that app sizes get super bloated (several gigs per app) due to cached safari data from the in-app web view. Seems the only way to clear it is to go into settings and wipe the website data for safari entirely. I don't believe app developers can clear this themselves either, despite it appearing as their app taking up so much space when really it's just due to safari cache that seemingly doesn't clear on its own.


THAT is the source for the bloat? Oh dear. Absolutely shambolic. It is embarrassing that iOS gives no way to just completely nuke an app's cache, short of reinstalling the app.


Some apps have a setting to clear data and I swear I’ve seen cached data in that before but I could be mistaken


I know they do, but the effectiveness of these "clear data" settings varies wildly and it's mildly infuriating. For instance, in my experience Telegram's works pretty well, X's not at all.


Oh absolutely, and a lot of apps don’t seem to offer the option at all anymore from what I can see.


I get more frustrated from when they go the other direction. Google Maps, for instance. When I go to the website, it asks if I'd like to use the app instead, with the usual dark pattern of having the "no" button greyed out. But after I tell it no, as soon as I touch the search bar, it automatically opens the app anyway. I wish there was a setting in Safari that disabled websites from opening apps.


Add to that list:

- showing focus-stealing modals when loading the page/app, which breaks the quick look functionality on iOS

- interrupting your workflow with tutorial popups (especially multi-step ones that point to different parts the screen) that demo or upsell a new feature, requiring you to dismiss them to continue

- not having an option saying "I'm a power user, stop explaining shit I already know"

To be honest, if the concept of growth hacking was erased from the universe, pretty much none of this crap would exist. Atlassian, Browserstack: I'm looking at you.


> I wish there was a setting in Safari that disabled websites from opening apps.

This has been one of my biggest iOS peeves for a long time—I really wish that installing an app wasn’t a commitment to letting it handle all of the links it wants to.

It’s particularly annoying because a lot of apps are terrible at actually handling the link: the app will show a login screen or some kind of interstitial and then just forget where you were going. That stupid behavior isn’t limited to web links either, it’s really great when it’s the app’s own push notification (thus irretrievable once tapped), but which the app will not even open properly 100% of the time.

There are a couple of imperfect workarounds (long pressing, incognito), but mostly I’d just rather have an option to limit or disable this behavior entirely—in the absence of that I’ve actually just uninstalled all of the worst offenders, I’m sick of having a million damn apps.


Not sure about iOS Firefox, but on Android you can disable that altogether. Turn off "open links in apps".


> letting it handle all of the links it wants to

It doesn’t. App developers have to verify that they own the corresponding domain names that they want to handle with their apps: https://developer.apple.com/documentation/xcode/supporting-a...


I understand that, what I was getting at is more that I, as a user, have little insight or control around when or where my phone will decide to open an app when I click a link, vs continue to work like a normal browser. The app developers declare their associations and url patterns and that's it.


I agree, it’s pretty obnoxious… But there is the same problem on Android, app handlers for verified domains cannot be disabled there, only the handlers for unverified domains (which are unticked by default, so opt-in).


From what I can tell, Kagi’s Orion browser will let you control app launching.


My favourite part is when it opens a form or something to fill out but if you navigate away from this in-app web view to another app and back (say to get a password) you lose the session. It’s incredibly frustrating


Yeah Gmail does this on Android. Super annoying. You basically have to remember to always click "open in chrome". It's not like it even does anything different because it's already open in chrome, just in a tab that it will throw away at the drop of a hat.


That's generally annoying though — web sites that can't preserve your session if you should click a link and then try to go back.


I couldn’t agree more.

I find gmail to be the absolute worst offender in this category.

1. They dark pattern you into downloading their browser (they give three options, two of which are chrome)

2. In not launching iOS, I’m not logged into the session I may already have open in safari. Which is incredibly painful for any product that sends notifications via email, which id like to action.

And if I do login, and it asks for an email verification code… fail. I can’t access it in gmail without closing the browser…

3. Their in app browser (or the way they re-write links?) doesn’t seem to play nice with opening the corresponding app. Never seems to work.

Incredibly user hostile.

Is there a better alternative mail client I can use with gsuite?


I use the Gmail app and just have it set to always use the default browser?

Gmail app -> hamburger menu (top left), scroll down to settings, Default apps, Browser = "Default browser app (Configure in iOS settings)".

I think I must be misreading your concern - if so, not intentional.


What does "better" mean to you? The native Apple Mail app works with Gsuite.


I’d think it was about tracking if I didn’t know that the ios api most apps use gives no access to what the user is doing. I feel like it must be some folk wisdom among app developers about “keeping people in the app”. It’s especially bad since the implementation always seems to struggle hard with self-links, eg if you open a web link in X then follow a link in the story to a tweet you get a broken result in most apps.


This small technical annoyance is one of the biggest issues… of modern society. They do that deliberately to keep users within their apps to drive up engagement. Which in turn drives down exposure to different opinions by keeping the user within the app driven by the same algorithm uninterrupted. If they to change default opening of web links as you would expect it, their revenue numbers would drop dramatically.

The lawmakers should be competent enough to recognise this problem and have laws against keeping people within the apps for no reason. (The only reason may be to use the web sign-in).

Imagine on desktop computer os, you click a link within WhatsApp app and it opens a window within that app and load the webpage there, without your login cookies, and makes you login if you need using mouse with on-screen keyboard only…


Gmail insists on doing this and always screws it up.


On iOS I have the chrome and gmail app installed and it always opens my links in chrome. Does it use the built-in browser if you don't have chrome?


Yes I don’t have Chrome just Safari and it used to still insist on doing this. So it had none of my passwords saved etc. and was some brain dead Gmail browser.

I just tried again and it opened Safari, so maybe at some point they enabled a way to tell it to not do that? I see in the Gmail settings I have a setting checked for use default browser app.

So if you fixed this Gmail or iOS people thank you!


Gmail is the worst for this


The main point of it is to force ads and tracking links. It's just anti-privacy. Any app that does it without a permanent way to disable it doesn't respect its users.


I wouldn’t mind if it didn’t break OAuth flows on _some_ webviews on _some_ operating systems. Miserable rabbit holes mitigating all the edge cases.


Same thing in Android... I'd just prefer to launch the default browser (Brave in my case).


Not the same thing.

Every link I click on my Android phone opens up and uses my preferred browser; Firefox.

What are you seeing different?


By default in X, Facebook and even Google News, you get an in-app browser by default.. you can change the behavior, but it's definitely the default. Just switched to a new phone and have been updating a lot of the settings as I notice them.


What if I just simply promise to not enjoy it?


good one =)


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: