Just brainstorming. Human beings have trouble writing json, cause it is too annoying. Too strict. In my experience, for humans writing typescript is a lot better than writing json directly, even when the file is just a json object. It allows comments, it allows things like trailing commas which are better for readability.
So maybe an interesting file to have the LLM generate is instead of the final file, a program that creates the final file?
Now there is the problem of security of course, the program the LLM generates would need to be sandboxed properly, and time constrained to prevent DOS attacks or explosive output sizes, not to mention the cpu usage of the final result, but quality wise, would it be better?
In Ruby, I assume this is done by monkey patching, so yes, it would have all the issues you mention and fear.
In more modern languages like Kotlin, there is a notion of extension methods and properties, where you would be able to write a library that allows this syntax, but the .days property would only be accessible in files where you have explicitly imported it (so basically a synthetic sugar for a static function call).
It is literally done for strategic reasons to put a stranglehold on innovations on the web, so that there is no risk of web app technology developing to a point to threaten the dominance of native apps and the app store.
Anybody that thinks otherwise is hopeless naive, Steve Jobs himself envisioned a web app future as the future of technology; before Apple found out the gold mine that the app store became.
I think that's the hypothetical part, it's not reality. Safari continues to be a fully modern browser. It doesn't release new features quite as fast as Chrome, but it does generally adopt them.
If Apple were attempting to put a "stranglehold on innovations on the web", Safari's feature set would look very different. But that's not what's happening.
Like I said, Apple does lots of anticompetitive things. I'm not blind to what they do with the app store. I just don't think that the single browser engine policy is motivated by this, or has much effect on it, given how Apple does keep maintaining Safari as a modern browser.
It absolutely is reality. Safari is the worst browser by far, it's been compared to Microsoft's old Internet Explorer browser. But don't take my word for it, lots of people have written about it...
And Apple purposely will never implement lots of APIs that only their native apps allow (which other browsers implement), specifically to force many developers to create a native app to use these APIs, so that Apple can force the developer to give them a percentage of any purchases made through the app. They can't force a developer to give them a cut of purchases made through a web browser, which is why they purposely hobble the Safari browser engine and then force all other browsers to use this engine. If you can't see how bad this is, then you've been taken over by the reality distortion field.
It's spelled out in the DOJ lawsuit against apple, among many other anti-competitive practices.
Microsoft got sued and lost in an antitrust suit for bundling IE with Windows. Apple bundles Safari with iOS but forbids any other browser engine but their Safari engine. Can you imagine if Microsoft forbade any other browser from being installed on Windows? It's time Apple was brought to justice over their abusive anti-competitive practices.
I suspect it might have been motivated by antitrust concerns, but safari is really not that bad. Check out Interop 2025: https://wpt.fyi/interop-2025
They generally are pretty caught up on features. They have webgpu, they support the web notifications API (once a PWA is installed), lots of stuff. My main gripe is that they make it too hard to install PWAs, but we're still waiting for an actual API for that. (Maybe in 2027? [0])
> And Apple purposely will never implement lots of APIs that only their native apps allow (which other browsers implement)
Safari is the worst browser by far, especially on iOS. Apple also does things their own way, ignoring standards, so that I have to have a real actual iPhone to debug their platform-specific problems, especially around touch interactions.
>Can you give an example?
Web Bluetooth API, and lots of others. My product could use bluetooth but we're forced to work around Apple's Safari limitations and use Wifi instead, which drains the battery faster. We do not want to write a specific app for iOS (which costs us money to build and maintain), which then allows Apple to extort us for a percentage of sales through the app. Bluetooth would be the better option, but Wifi works although is a bit more cumbersome to deal with. So sorry Apple fans, you have to use wifi with our product because Apple reasons.
I am going to open a bottle of champagne when the DOJ finally forces Apple to allow other browsers on iOS.
Personally my feel is Safari at least isn't dead in the water any more, does ship some stuff. It's much better than 2 years ago. 4 years ago it was a travesty.
But there's still all sorts of wonkiness they just makes Safari non viable. If you don't PWA install, your storage gets cleared alarmingly quickly. If you do install it's still cleared wicked fast. Notifications seem to have incredibly unreliable delivery issues and require PWA installs to work at all. The features are closer to parity than before but the base functionality is still sabotaged deeply. 'The user is secure' with Apple is amazing doublespeak (the second meaning being securely in Apple's pocket with no where to go).
It's worth noting that Interop participants meet and decide via unanimous consent what they are going to work on each year. The anti-trust case against Apple would be far stronger if they didn't show up & find some stuff to work on, to agree to. And with apologies as I break out the tin foil hat, showing up also gives them some leverage to shape what doesn't get worked on too.
Interop 2025 is a subset of web features, but Apple gets a veto on which features get included in each Interop round, and vetoes heavily. It doesn't reflect interoperability in general. Safari also consistently starts out the worst each year, and improves the slowest.
They don't support notifications correctly, they have a semi-broken implementation. Only a subset of sites will work, even though they'll work perfectly on Chrome or Firefox or even minor browsers. Even if you put the site on the homescreen.
>> And Apple purposely will never implement lots of APIs that only their native apps allow (which other browsers implement)
>Can you give an example?
Web Bluetooth, Web USB, Web NFC, Web Serial...
Of course Apple will uphold its usual charade to claim that it's about pRiVacy & sEcuRiTy to maintain plausible deniability. They could easily implement it and keep it disabled by default, such that users could make the conscious choice to enable it or keep it disabled. Any adequate analysis of Apple's behavior and motivations must mention Apple's conflict of interest, because Apple will be biased against technology that could diminish the value proposition of "native" apps which Apple has been taxing so unchallenged for all these years.
Chrome-only non-standards. Note that Firefox is against these, too.
> Any adequate analysis of Apple's behavior and motivations must mention Apple's conflict of interest
I've yet to see an adequate analysis that doesn't pretend that anything Chrome shits, sorry, ships is immediately a standard that must absolutely be implemented by everyone immediately.
You're right that Firefox also opposes some of these specific implementations in its current form, and that Google often rushes features. However, that doesn't diminish Apple's conflict of interest at all, so sometimes their arguments happen to align with reality just as a broken clock is correct twice a day. Apple applies many double standards e.g. they allow native apps to access these hardware features (where they happen to collect a 30% tax) but block the Web from doing the same (where they collect 0%). If privacy was the only concern, they would work on a safe standard, but instead they block the capability entirely to ensure that any of the App Store's rivals remain constrained and thus inferior such that the App Store's revenue isn't threatened.
> You're right that Firefox also opposes some of these specific implementations in its current form, and that Google often rushes features. However, that doesn't diminish Apple's conflict of interest at all
Funny how you agree that Firefox opposes these non-standards, and how Google rushes things. And immediately turn around and basically say "no-no-no, Apple is to blame and Safari (and, by extension Firefox) must absolutely implement these non-standard features from Chrome".
The rest of demagoguery is irrelevant.
BTW literally the moment Firefox relented and implemented WebMIDI they had originally opposed, they immediately ran into tracking/fingerprinting attempts using WebMIDI that Chrome just couldn't care less about.
>Funny how you agree that Firefox opposes these non-standards, and how Google rushes things. And immediately turn around and basically say "no-no-no, Apple is to blame and Safari (and, by extension Firefox) must absolutely implement these non-standard features from Chrome".
There is nothing "funny" about me acknowledging facts, that's what a reasonable person should always do, try it. What's not funny though, is how you're butchering and misrepresenting my arguments to such a gross degree. I've never stated that everybody "must implement these non-standard features from Chrome", instead I've made a much more nuanced argument about how Apple's conflict of interest is motivating them to reject entire feature sets for competing technology instead of helping to implement a safe standard, which is indicative of their bad faith motivations. That anti-competitive strategy has been essential for Apple in collecting billions in app taxes by systematically hobbling any competition before it can emerge.
>BTW literally the moment Firefox relented and implemented WebMIDI they had originally opposed, they immediately ran into tracking/fingerprinting attempts using WebMIDI that Chrome just couldn't care less about.
So? Just as native apps give users certain freedoms that can have problematic aspects, web apps should have _equal rights_ and be able to play on a level playing field. The choice and freedom should be the users' and not that of Apple's finance division. None of this gives Apple the right to uphold its anti-competitive strategy with its corporate double speak. And the fact that you're so hyperfocused on specifics while failing to grasp the broader argument, so you can cheerlead for Apple's anti-competitive behavior, is revealing a clear bias.
> Apple's conflict of interest is motivating them to reject entire feature sets for competing technology instead of helping to implement a safe standard
It literally is "everyone must immediately implement anything Chrome shits out". You don't even accept the fact that both Safari and Firefox team reject the entire premise on the same grounds.
Nope. "They must work on better standards for these features that Chrome ships".
> The choice and freedom should be the users' and not that of Apple's finance division.
Funny how in the paragraph you respond to I didn't mention Apple once.
> And the fact that you're so hyperfocused on specifics while failing to grasp the broader argument
There's no broader argument. You literally dismiss Firefox as irrelevant [1], assume that whatever Chrome ships is good, and assumes that Apple is both a bad actor driven entirely by money an must implement whatever Chrome comes up with (under the guise of "should work to implement a safe standard").
It literally is "everyone must immediately not implement anything that cuts into Apple's bottom line"
Apple has veto power over what becomes web standards now. If they didn't abuse that power, and also forbid other browser engines on iOS, then there wouldn't be a problem. They abuse their power in a way that hurts everyone but Apple, and the DOJ took notice.
You say Firefox doesn't implement the same APIs that Apple won't as proof of something, but Opera and other browsers do implement those APIs, so that really cancells out whatever argument you thought you had.
Back in the day, Microsoft invented XMLHTTPRequest, and if Apple had veto power over web standards back then, the web might still be "Web 1.0", hypothetically speaking.
But now Apple can block progress in web browsers now, and the DOJ will likely prove that they are abusing their position to the detriment of everyone that uses a web browser, so Apple can make a few more dollars from their app store.
It should not be so difficult for anyone to understand.
>It literally is "everyone must immediately implement anything Chrome shits out". You don't even accept the fact that both Safari and Firefox team reject the entire premise on the same grounds.
It isn't factually and certainly not "literally" that. I've explicitly stated that the problem isn't the rejection of the specific implementation in its current form, but the wholesale refusal of features to deny rival technology equal rights, instead of helping to implement a safe standard. That is evidence of Apple's bad faith motivation to hobble competing technology in favor of their App Store tax funnel. You consistently refuse to understand this and resort to deflecting from and distorting that fact.
>There's no broader argument.
There is, it's the one you've been deflecting and distracting from, because it refutes your biased talking points completely.
No I don't. You're literally making stuff up and ignoring the fact that I have actually even started my response with an acknowledgement of that point: "You're right that Firefox also opposes some of these specific implementations in its current form, and that Google often rushes features. However, that doesn't diminish Apple's conflict of interest at all, so sometimes their arguments happen to align with reality just as a broken clock is correct twice a day." https://news.ycombinator.com/item?id=46457938
>and assumes that Apple is both a bad actor driven entirely by money an must implement whatever Chrome comes up with
There is no such assumption, only the fact that Apple has a conflict of interest, which manifests itself in anti-competitive behavior, for which I've provided documented evidence. I've also never stated that they "must implement whatever Chrome comes up with", that's a gross misrepresentation, which you are stubbornly repeating, despite me having refuted it several times now. Your bias in this matter couldn't be more obvious, due to your dedication to distorting any evidence that refutes Apple's propaganda narrative, so you keep blindly repeating the same tired and old talking points despite evidence to the contrary.
> You're literally making stuff up and ignoring the fact that I have actually even started my response with an acknowledgement of that point: "You're right that Firefox also opposes some of these specific implementations in its current form, and that Google often rushes features. However, that doesn't diminish Apple's conflict of interest at all
Rule of the thumb is "nothing you say before 'but' matters". Apple's opposition to Chrome features is not just echoed by Mozilla. It is repeated almost verbatim.
And yet, you completely ignore all that, and go to say "well, Apple is bad, and conflict interest, so Apple must work on a better safe standard for these features". You don't even for a second assume that two of the three browser vendors oppose these features for the same reason. No. Chrome shipped them, so they absolutely must work to implement these features (in some form) because Apple bad or something.
> There is no such assumption,
"the wholesale refusal of features to deny rival technology equal rights, instead of helping to implement a safe standard." Yup. "Whatever Chrome ships must be implemented no matter the cost and despite any opposition for any reason".
> only the fact that Apple has a conflict of interest, which manifests itself in anti-competitive behavior
Which literally has nothing to do with Chrome-only non-standards. Chrome wants them. It's on Chrome to design and implement them safely. Neither Apple nor Mozilla owe them anything regardless of the amount of demagoguery around their decisions. Both Apple and Safari pointed out the issues they have across many discussions. Chrome didn't care.
Safari has multiple issues, that's true. None of them stem from refusing to support every shitty thing that Chrome vomits into the world and calls a standard.
Speaking of "denying rival technology equal rights". Do you know that WebSQL was implemented by Chrome and had approval from Safari, but got killed due to opposition from Mozilla? Did Mozilla "deny rival technology equal rights"? Or perhaps, just perhaps, they had valid concerns that lead to rethinking of the approach?
You can't even come up with proper rebuttal of Mozilla's and Apple's concerns (you don't even know about their concerns to begin with) beyond "but native apps" and diatribes about Apple.
BTW here's Mozilla relenting on just one of the hardware APIs: https://news.ycombinator.com/item?id=33995022 (sadly, the twitter account has been locked)/ Original quote: "Just a day after shipping an impl to Firefox Nightly, this is the first discovered case of WebMIDI-fingerprinting... Chrome still allows web developers to enumerate attached MIDI devices without user consent or even a notification, btw."
>Rule of the thumb is "nothing you say before 'but' matters". Apple's opposition to Chrome features is not just echoed by Mozilla. It is repeated almost verbatim.
And yet, you completely ignore all that, and go to say "well, Apple is bad, and conflict interest, so Apple must work on a better safe standard for these features". You don't even for a second assume that two of the three browser vendors oppose these features for the same reason. No. Chrome shipped them, so they absolutely must work to implement these features (in some form) because Apple bad or something.
It's absolutely insane how you keep repeating the exact same argument with no additional information like a bot who is incapable of processing new information, because you can't understand how it has been debunked several times now. You insist on distorting nuanced arguments into gross misrepresentations, because that's the only way you can uphold the illusion that your underhanded Apple propaganda is anything other than a whitewashing of Apple's conflict of interest that motivates every single one of their decisions.
>Which literally has nothing to do with Chrome-only non-standards. Chrome wants them. It's on Chrome to design and implement them safely. Neither Apple nor Mozilla owe them anything regardless of the amount of demagoguery around their decisions. Both Apple and Safari pointed out the issues they have across many discussions. Chrome didn't care.
Your framing around this is absurd, you're the one turning a technical discussion into some team sport where you try to inflate your argument by pretending it's Google vs A&M, when it has been proven that Mozilla accepted new iterations of proposals which you yourself have admitted! This collapses your entire false narrative, since it's evidence that, just because a current implementation is temporary rejected by Mozilla, it is not an eternal rejection similar to Apple's, whose motivations are not guided by (faux) privacy concerns but by fear of losing their App Store dominance and revenue. You however, take this to underhandedly create anti-competitive Apple apologia, where you downplay Apple's conflict of interest by writing your own "Google vs A&M" screenplay.
>Safari has multiple issues, that's true. None of them stem from refusing to support every shitty thing that Chrome vomits into the world and calls a standard.
Wrong. That's a claim which you didn't even bother elaborating on, because if you were to elaborate, it would become clear that your claim is not only wrong, but outright deceptive. Your biased and shallow rhetoric is not a substitute for an actual argument.
>Speaking of "denying rival technology equal rights". Do you know that WebSQL was implemented by Chrome and had approval from Safari, but got killed due to opposition from Mozilla? Did Mozilla "deny rival technology equal rights"? Or perhaps, just perhaps, they had valid concerns that lead to rethinking of the approach?
Irrelevant and misleading. Not every single feature is directly relevant to establishing equal rights for competing technologies, but when Apple realizes that it does, then they fear that it might threaten their App Store's dominance and they act accordingly. None of that diminishes Apple's conflict of interest either, but it makes clear how you're consistently arguing in bad faith to downplay Apple's conflict of interest. No matter how hard you try, you will fail. Apple makes billions from their conflict of interest, so as long as that conflict of interest exists, people have the right to make other people aware how that poisons Apple's motivations in relevant decisions.
>You can't even come up with proper rebuttal of Mozilla's and Apple's concerns (you don't even know about their concerns to begin with) beyond "but native apps" and diatribes about Apple.
Your rhetoric is so vapid and detached from reality, that it feels like I'm arguing with a LLM that loses context and forgets that I refuted that specific narrative ad nauseam. Again, you yourself have admitted to cases where Mozilla initially refused a specific implementation, but later have accepted it. This alone debunks your whole biased narrative. Your entire rhetoric is a constant regurgitation of that single spiel, but you can simply not move on, completely incapable of processing evidence that has debunked it, that's why you fail to realize how hollow and misguided your Apple propaganda is.
>BTW here's Mozilla relenting on just one of the hardware APIs: https://news.ycombinator.com/item?id=33995022 (sadly, the twitter account has been locked)/ Original quote: "Just a day after shipping an impl to Firefox Nightly, this is the first discovered case of WebMIDI-fingerprinting... Chrome still allows web developers to enumerate attached MIDI devices without user consent or even a notification, btw."
Amazing, this is exactly what I was referring to above. I swear, you're like a bot who constantly and stubbornly regurgitates the exact same debunked points, regardless of how many times your talking points have been already addressed and refuted. Finally, you do not even realize how that anecdote and precedent you so enthusiastically shared, thinking it would support your narrative, actually undermines and invalidates it. Wonderful.
Are the Chrome features useful? Are they open? If it’s bad for users (e.g. some new ad tracking) or if it’s proprietary and thus expensive to license or reverse engineer that’s one thing, but if it’s not that, then refusing to ever adopt those standards (or to provide their own alternatives) is either foolish NIH syndrome on Apple’s part or it’s greed.
> If it’s bad for users (e.g. some new ad tracking)
Yes
> but if it’s not that, then refusing to ever adopt those standards (or to provide their own alternatives) is either foolish NIH syndrome on Apple’s part or it’s greed.
Firefox gets paid by Google. A lot. Maybe part of their agreement is to not implement some features because it would compete with Chrome. I don't really know, and I don't really care what Firefox does or doesn't do. I only care that Apple does not allow other browsers to use their own browser engines. Opera mobile also implements the APIs I need (on Android). Even MS Edge supports the APIs. Firefox can join Apple in being lame, I don't really care.
"Every browser that doesn't jump when Google says 'jump' is driven by malicious actors and intent that I can't articulate beyond some tin-foil conspiracy theories" is not as good an argument as you think it is
I really don't care what browsers do or don't implement. I only care that Apple doesn't allow other browsers to use their own browser engines on iOS. That's it, that's all, and it also got notice from the DOJ, which is one of many reasons Apple is getting sued by the DOJ.
Until Apple lets other browser engines on iOS, they are behaving like greedy tyrants.
> I really don't care what browsers do or don't implement.
Oh yes, you do. To the point of inventing contract clauses for Firefox.
It's just extremely unfortunate that Safari is now between a rock and a hard place (only because of Apple) as really they are the only web engine of note to withstand "whatever Chrome spits out is standard now"
Please stop this now. You are in breach of several guidelines, notably these ones:
Be kind. Don't be snarky. Converse curiously; don't cross-examine. Edit out swipes.
When disagreeing, please reply to the argument instead of calling names. "That is idiotic; 1 + 1 is 2, not 3" can be shortened to "1 + 1 is 2, not 3."
Please don't fulminate. Please don't sneer, including at the rest of the community.
Eschew flamebait. Avoid generic tangents. Omit internet tropes.
Please don't post insinuations about astroturfing, shilling, brigading, foreign agents, and the like. It degrades discussion and is usually mistaken. If you're worried about abuse, email hn@ycombinator.com and we'll look at the data.
I can't fathom how a subthread about browser engines became so toxic. HN is a place for curious conversation and it is only a place where people want to participate because others make the effort to raise the standards rather than dragging them down. Please do your part to make this place better not worse.
I mean, @lepton literally wrote this: "Maybe part of their agreement is to not implement some features because it would compete with Chrome" about Firefox. No smearing required.
> Your deceptive rhetoric in defense of Apple's anti-competitive business practices i
I literally say nothing avout Apple's business practices. All I'm talking are a bunch of Chrome-only non-standards that people on HN pretend are standards and claim that everyone must immediately implement them
>I mean, @lepton literally wrote this: "Maybe part of their agreement is to not implement some features because it would compete with Chrome" about Firefox. No smearing required.
Then you should have been more specific, but that is still not even remotely a conspiracy. It is a completely valid potential thesis. Thus, your attempt to hastily dismiss it as "conspiracy" is factually an act of smearing.
>I literally say nothing avout Apple's business practices. All I'm talking are a bunch of Chrome-only non-standards that people on HN pretend are standards and claim that everyone must immediately implement them
Your diatribes and foul language against the Chrome dev team have been in constant service of justifying Apple's actions at all cost, while outright ignoring and downplaying their evident conflict of interest. Furthermore, you need to stop with these gross misrepresentations of "HN pretend are standards and claim that everyone must immediately implement them" which is a distortion, that you keep forcefully putting in people's mouths, despite many people calling you out on it numerous times throughout this thread.
> but that is still not even remotely a conspiracy. It is a completely valid potential thesis
I dunno, man. It's claiming a literal conspiracy between Google and Firefox to make Firefox worse. In reality, it's an outlandish proposition because Google already holds such high market share for Chrome, they need Firefox as a viable competitor to avoid antitrust concerns. The idea that they'd contractually (or behind-closed-doors) engage in hobbling Firefox is fantasy territory -- literally conspiracy theorizing. Because of the huge legal and financial risks that would entail if ever discovered. So, when something's an actual conspiracy theory, it's right to call it out as such.
> Your diatribes and foul language against the Chrome dev team... you need to stop with these gross misrepresentations...
I'm Ctrl+F-ing here through troupo's comments and not seeing anything like that. Their points seem perfectly reasonable, that Firefox also doesn't implement these features, and therefore Apple's actions might be very reasonably explained as having the same genuine reasons.
On the other hand you're the one saying things like:
> Apple will uphold its usual charade to claim that it's about pRiVacy & sEcuRiTy
> Your bias in this matter couldn't be more obvious, due to your dedication to distorting any evidence that refutes Apple's propaganda narrative
> It's absolutely insane how you keep repeating the exact same argument with no additional information like a bot who is incapable of processing new information
> that's the only way you can uphold the illusion that your underhanded Apple propaganda is anything other than a whitewashing of Apple's conflict of interest that motivates every single one of their decisions
> Your rhetoric is so vapid and detached from reality
> It's incredible how you insist on being so obnoxious
> That reads like an #ad that Apple would pay for
It looks like you're the one imagining conspiracies in Apple's behavior -- "that motivates every single one of their decisions" -- and attacking others in your own "diatribes". And you're the one using incredibly insulting and inappropriate language. It seems to be your comments that have a lot of inappropriate tone for HN, which is presumably why I see a lot of them downvoted. Maybe you should think about whether this is really the best way to engage here, maybe re-read the HN guidelines?
> That's why you didn't even bother discussing the evidence I've provided
I don't engage in argument with people who accuse me of having another account. If you want to have productive discussions on HN, I suggest you rethink the way you go about them.
This is false and it's against the guidelines to accuse people of shilling/astroturfing/coordinated activity. You've posted enough in this thread, and the thread is days old. Nobody is seeing these comments other than us moderators. Please stop.
You seriously just link to a google search of people who agree with you?? Solid investigation. Hard disagree on safari being even in the same ballpark as IE; what’s your alternative, Google owns the entirety of the browser space?
I don’t really agree with allowing one monopolistic company to behave anticompetitively because we’re scared of their only competitor, another monopolist. They’re both menaces to consumer rights.
I included that link not as "research" but as proof that I am not the only one calling Safari "the new IE". It's been written about ad nauseum, and just because you think a google search is pointless doesn't mean my argument lacks merit - and if you were to do your own "research", I'd bet you would start with a google search. Thousands of people have written about it, so go see what they have to say, I am not the only one claiming it.
>Hard disagree on safari being even in the same ballpark as IE;
It's a crap browser, and Apple implements things the way they want to, especially around touch interactions. So I have to have a real iPhone to debug problems with Apple's implementations. Safari fucking sucks, it just does, and your trolling comment doesn't disprove it.
>what’s your alternative, Google owns the entirety of the browser space?
I don't care if they do or if they don't. All I want is an alternative to Safari on iOS. Is that really so bad??
> So I have to have a real iPhone to debug problems with Apple's implementations. Safari fucking sucks
You'll still have to debug it. Even when other browsers are allowed, Safari isn't going away.
"Safari fucking sucks" isn't an argument that Apple is being anticompetitive. There are a bunch of things that suck about Chrome too. And Firefox as well. No product is perfect.
Of course I have to debug it, but I develop for standards, not Apple's wonky implementations of touch events and lots of other things. So I should not need Apple hardware to debug a web browser. I can't install Safari on Android or any other platform, so if there's a bug that only shows up in Safari, then I have to buy Apple hardware. I'd rather not give Apple one goddamned cent of my money, they have already mistreated us - we actually sued them in a class action lawsuit and won (2011 MBP). So no, I do not want to pay for an overpriced phone just to fix their stupid proprietary bugs. Everything works great on Chrome and Firefox and Opera and a bunch of other mobile browsers.
>There are a bunch of things that suck about Chrome too. And Firefox as well. No product is perfect.
Google doesn't prevent Apple from offering Safari for Android, Apple just wouldn't be able to make money offering it through Google's app store the same way they can extort iOS developers that sell anything through the native app.
"Chrome sucks too" is very subjective. I've never had a problem with it. I'm curious what you think sucks about Chrome. Firefox - well, I used to use it a while ago, but not so much anymore. I will fix bugs there and they are easy and free to fix. I can't say the same about Apple's Safari.
Apple used to make Safari for Windows, but it sucked so badly, and they figured they couldn't make any money from it, so they discontinued it. So they could definitely make Safari for other platforms, but they would rather force developers to buy an iPhone instead. Fuck that.
I'm sorry iPhone users, but you'll forever be second class citizens in my product sphere, and you can blame Apple for that, until they allow other browser engines.
You have a very idiosyncratic take. I've never heard anyone else complain, as a dev, that Safari was harder to develop for because it was buggier. When I run into JavaScript API differences between Safari, Chrome, and Firefox (as I have many times), they just mostly do different things where the spec is underspecified. I don't assume Chrome is doing it the right way and Safari is the buggy one. It sounds like you just develop Chrome-first.
Yeah, if you want to test against Safari you need Apple hardware. If you can't be bothered to get some cheap secondhand Apple hardware for testing for your business, then that says more about the business decisions you're making. The idea that Apple ought to be obligated to make its browser available on other platforms seems pretty silly to me.
You sound like someone complaining they want to develop a Microsoft Word plugin on Linux, and they're upset Microsoft doesn't sell a Linux version of Office and that they have to get a copy of Windows. What do you expect? You develop and test on the platforms where your desired users are. If you can't accept that basic reality, then maybe you shouldn't be making software.
It's not idiosyncratic at all, it's a very mainstream, real thing. Just because you have your head in the sand does not mean it doesn't exist.
>If you can't be bothered to get some cheap secondhand Apple hardware for testing for your business, then that says more about the business decisions you're making.
I shouldn't have to spend any money for the privilege to debug Apple's crap browser.
>The idea that Apple ought to be obligated to make its browser available on other platforms seems pretty silly to me.
I never said they were obligated, only that they once did, and failed miserably, and couldn't monetize it, so they packed up and went home. They could, and once did have Safari on other platforms. Now they don't so fuck Apple, I don't care what they do or care about their users any more than Apple cares about developers.
>You sound like someone...
You sound like an Apple fanboi, and there seem to be many brainwashed similar to you in this comment section.
None of what you described is accurate, I only want Apple to allow other browser engines on iOS, and to not be anti-competitive assholes. That's it. And the DOJ thinks so too, so you're not in the right here defending Apple's tyranny.
>What do you expect? You develop and test on the platforms where your desired users are. If you can't accept that basic reality, then maybe you shouldn't be making software.
I expect Apple to be abusively anti-competitive and not block other browsers from using their own browser engines. Once they do that, then I will shut up about it. Until then, Apple are the assholes. Not me. Not other browser makers. Just Apple, and their apologists.
I’m truly curious: as either a user or a developer, how are you impacted by Apple’s behavior and decisions with respect to its web browser engine policy? What is it preventing you from accomplishing?
Specifically for me, my company has a product that could use Bluetooth, but Safari will never implement the Web Bluetooth API, where Chrome has for some time on Android. So the workaround is to use Wifi instead (my product supports both bluetooth and Wifi), which drains the phone battery faster.
No, we do not want to write our own iOS app where Apple can then extort us for a percentage of any sales through the app, and we have to pay for the priviledge to develop that app, as well as buy Apple hardware to do so.
So instead we use Wifi, where we can maintain one single codebase - the web application, which works on both Android and iOS, but has to use Wifi. If Apple allowed Chrome to use its own browser engine, we would simply tell users to install Chrome to interact with our device. Then we don't have to pay Apple for anything, nor should we have to.
Apple purposely won't implement some APIs so they can force developers to create an app for their app store where they can collect money from any additional sales through the app. It's all spelled out in the DOJ suit, why won't you just read it??
> Apple purposely won't implement some APIs so they can force developers to create an app for their app store where they can collect money from any additional sales through the app.
So then why doesn't Firefox support the Web Bluetooth API either? How can you jump to the conclusion that the lack of Safari support is about apps?
The reality is that the Web Bluetooth API is a draft. Not ratified. Not on the formal standards track. And Firefox doesn't even intend to implement it, due to security and privacy concerns around it and the fact that is it not ratified.
But go on assuming it's all about being anticompetitive...
> It's all spelled out in the DOJ suit, why won't you just read it?
I just did a Ctrl+F for Bluetooth and everything relates to smartwatches, not web APIs. There are only two references to Safari, none of which say anything about standards. The phrase "web standard" appears nowhere. The document is 88 pages long, and it's not immediately obvious to me where any of what you're talking about is spelled out. I hope you'll understand I'm not going to spend my afternoon reading the whole thing.
I don't really care what Firefox does. They get paid massively by Google, so who knows what their motivations are for what they do. Opera implements the same APIs in their browser, but that also doesn't work on iOS because Apple are dicks and force Safari on Opera too.
>Not on the formal standards track.
What a coincidence, Apple gets to vote on what the "formal standards track" is, and they have voted against anything that would hurt their app business.
>But go on assuming it's all about being anticompetitive...
Okay... Apple are anticompetitive and always have been. They forbid their OS from being installed on any hardware that isn't manufactured by Apple, even though it was easily possible to do. Their walled garden is very famous for being anticompetitive - banning any browser from using their own browser engine and forcing Safari is absolutely anti-competitive.
You know what? Just go fucking read the DOJ antitrust suit against Apple, it details the very many ways Apple is anti-competitive:
You seem to have lost the plot here. I started out by saying Apple is anticompetitive in plenty of areas.
But that's not what the conversation is about. I pointed out that in this area, it doesn't appear to be.
So I don't know why you keep pushing this PDF. It doesn't say anything about this specific area. I already checked.
And if you don't care about what Firefox does, then I think it's clear you're not having this conversation in good faith. You're not open to evidence or counter-argument, you just have a knee-jerk reaction that Apple is bad. OK, you do you. But I'm not going to waste any more time with someone who "doesn't care" about the most obvious counterpoint to their argument.
Unfortunately, many people here don’t enter the arena with open minds. Their opinions have congealed; there are good guys and bad guys; and they just want to rant and complain. They don’t want any solutions other than their preferred one.
What the hell? This is a completely unacceptable comment on HN. This is a discussion about Apple and browser engines. We've had to ask you before to observe the guidelines, and we have to ban accounts that continue to post abusive comments. HN is only a place where people want to participate because others make the effort to raise the standards rather than dragging them down. Please start acting like you want this to continue to be a place for worthwhile discussions.
It’s not alleged in the complaint that Apple cripples Safari in order to incentivize developers to build apps instead. Respectfully, did you read it?
Also, why would your company cut off its nose to spite its face? If using Bluetooth is a customer requirement (as opposed to merely a “nice to have”), why wouldn’t you go to the lengths to provide an app for them?
>Also, why would your company cut off its nose to spite its face?
That seems like victim blaming. Apple is the tyrant here.
> If using Bluetooth is a customer requirement (as opposed to merely a “nice to have”), why wouldn’t you go to the lengths to provide an app for them?
Because then have to hire an iOS developer and pay for everything to develop an app, which Apple can then use to extort a percentage of sales for anything purchased through the app. Or I have to write the app myself, and I'm already working 18 hours a day. FUCK THAT. Not going to happen. Apple users will always be second class citizens to me as long as Apple treats other browsers like second class citizens and forbids other browser engines. Making an iOS app isn't a clear pathway to riches, so Apple users will just have to use a more clunky wifi experience. That's just the way it is.
Rather than respond to competitive threats by offering lower smartphone prices to
consumers or better monetization for developers, Apple would meet competitive threats by
imposing a series of shapeshifting rules and restrictions in its App Store guidelines and developer
agreements that would allow Apple to extract higher fees, thwart innovation, offer a less secure
or degraded user experience, and throttle competitive alternatives. It has deployed this playbook
across many technologies, products, and services, including super apps, text messaging,
smartwatches, and digital wallets, among many others.
9. Apple suppresses such innovation through a web of contractual restrictions that it
selectively enforces through its control of app distribution and its “app review” process, as well
as by denying access to key points of connection between apps and the iPhone’s operating
system (called Application Programming Interfaces or “APIs”). Apple can enforce these
restrictions due to its position as an intermediary between product creators such as developers on
the one hand and users on the other.
16. Apple wraps itself in a cloak of privacy, security, and consumer preferences to
justify its anticompetitive conduct. Indeed, it spends billions on marketing and branding to
promote the self-serving premise that only Apple can safeguard consumers’ privacy and security
interests. Apple selectively compromises privacy and security interests when doing so is in
Apple’s own financial interest—such as degrading the security of text messages, offering
governments and certain companies the chance to access more private and secure versions of app
stores, or accepting billions of dollars each year for choosing Google as its default search engine
when more private options are available. In the end, Apple deploys privacy and security
justifications as an elastic shield that can stretch or contract to serve Apple’s financial and
business interests.
43. Developers cannot avoid Apple’s control of app distribution and app creation by
making web apps—apps created using standard programming languages for web-based content
and available over the internet—as an alternative to native apps. Many iPhone users do not look
for or know how to find web apps, causing web apps to constitute only a small fraction of app
usage. Apple recognizes that web apps are not a good alternative to native apps for developers.
As one Apple executive acknowledged, “[d]evelopers can’t make much money on the web.”
Regardless, Apple can still control the functionality of web apps because Apple requires all web
browsers on the iPhone to use WebKit, Apple’s browser engine—the key software components
that third-party browsers use to display web content.
60. For years, Apple denied its users access to super apps because it viewed them as
“fundamentally disruptive” to “existing app distribution and development paradigms” and
ultimately Apple’s monopoly power. Apple feared super apps because it recognized that as they
become popular, “demand for iPhone is reduced.” So, Apple used its control over app
distribution and app creation to effectively prohibit developers from offering super apps instead
of competing on the merits.
The allegation that Safari is holding back web development by its lack of support for key features is not new, but it’s not true, either. Back fifteen years ago IE held back the web because web developers had to cater to its outdated technology stack. “Best viewed with IE” and all that. But do you ever see a “Best viewed with Safari” notice? No, you don’t. Another browser takes that special place in web developers’ hearts and minds.
...even though Chrome is not the standard, it’s treated as such by many web developers.
No, I think Chrome is the modern IE. It has huge market share, to the point where developers often just ignore the other browsers or at best treat them as P2. Just like they did when IE was dominant.
I'm torn on this honestly. Safari (particularly mobile Safari) is literally the only thing keeping the web from becoming Chrome-only. While I would love to see Safari-alternative engines on the iPhone, I fear that the "open web" in terms of browser compatibility is cooked the day that happens: Commercial web developers are supremely lazy and their product managers are, too. They will consider the web Chrome-only from that day forward and simply refuse to lift a finger for other browsers.
I think when IE6 died, on one hand it was a relief for web developers, who (very quickly) deleted all the code needed to maintain compatibility, but on the other hand, it made the web worse by bringing us closer to browser monopoly.
Chrome is the IE in that it’s all the web devs target or test and the browser that every enterprise just uses as the assumed target. Safari is the late-stage IE that doesn’t add any features or modern standards that its (supposed) competitors add. Although Apple seems to have different and more strategic reasons than MS did. Apple just hates the Web because they can’t effectively tollbooth it, whereas I think MS just didn’t care about investing in IE after 2001 or so.
That's not true. It's not even available on most computers. IE was about Microsoft not following web standards and abusing its monopoly position; Safari is a minor browser by overall market share and is broadly standards-compliant.
> the fact that PWAs didn’t take off in the last decade js purely due to Safari.
So then why aren't PWA's super-popular on Windows and on Android? Since Safari doesn't affect those?
>So then why aren't PWA's super-popular on Windows and on Android? Since Safari doesn't affect those?
Says who?
"Yes, PWAs have become popular on these platforms. I work for Microsoft on the Microsoft Store (app store on Windows) and I work with the Edge team, and I work on PWABuilder.com, which publishes PWAs to app stores. Some of the most popular apps in the Microsoft Store are PWAs: Netflix, TikTok, Adobe Creative Cloud, Disney+, and many others.
To view the list of PWAs in the Store, on a Windows box you can run ms-windows-store://assoc/?Tags=AppExtension-microsoft.store.edgePWA" - https://news.ycombinator.com/item?id=46457849
If those are the extent of complaints, then I think Safari's doing just fine. That's nothing like the next IE, and shows that PWA still have their own problems regardless of Apple.
It's interesting how the "Apple can do no wrong" shareholders and "I will hate on PWAs no matter what" types, curiously converge and keep regurgitating the same talking points that have been addressed ad nauseam, even in this thread. Every technology has its "own problems" regardless of Apple, but it certainly doesn't help when Apple, being one of the biggest companies in the world, persistently engages in its sabotage.
I worked through the IE days and Safari definitely has a IE feeling that you can't shake off.
IE had a lot of browser features which officially were there but in practice didn't fully work.
I had issues with forms, zIndex, SVGs, backgrounds and localStorage with Safari. All of which I consider basic browser features which should always work.
Of course it's not as bad as IE but Safari is clearly lagging very far behind Chrome and Firefox
> Steve Jobs himself envisioned a
> web app future as the future of[...]
I'm not putting cynical motivations past Apple, but you're reading too much (or too little?) into what Jobs said at the time.
His remarks at the time of the initial iPhone release (with the benefit of hindsight) were clearly because they weren't ready to expose any sort of native API's.
Pissing on you and telling you it's raining was typical Jobs reality distortion field marketing, and not an indication that he actually believed it was raining.
This is inappropriate. People can reasonably disagree without being insulting to each other.
If you have concrete evidence that Apple is deliberately withholding some essential advancement in Safari or its support for Web standards so that it can sell more apps, by all means, cite it.
Just read the summary that Gemini provides for a good quick understanding, and follow up the multiple articles about it. Then please don't come back and say that there is nothing concrete about this evidence, that is just people speculating about a behavior that Apple has been engaging repeatedly and continuously for over a decade.
Look, I agree that Safari sucks, but with or without the AI overview (which I don’t believe is Gemini, rather that is a very cheap and dumb model that’s been told to summarize a few top results), linking to a search is not a strong debating technique. I could link to a search for “Safari has the best technology” and it would have the same zero value.
It is you that needs to cite the evidence, not some LLM, and with hard facts coupled with evidence of intent, not just referring to mere opinions.
You claim to know something with certainty, so one can reasonably expect you have the expertise and data to prove it. If you come to the kitchen claiming to be a chef, you’d better come with sharp knives, not photos of them.
Seriously, you expect people to click a Google search link for people who agree with you- and then read what the LLM has to say?? When did HN become a garbage dump where people don’t do their own research and/or thinking?
About 10 years ago, by my reckoning. The less people know about a subject, the more strongly opinionated and certain they are about it. It’s not just HN, though; it’s a very human condition.
So when a review channel goes and does lengthy and honest reviews of multiple brands of hardware, a consumer uses this resources to figure out what exactly they want to buy, clicks on the reviewers affiliate link to purchase, oh, thank goodness Honey is there to make sure the customer gets back 89 cents while it keeps the entire commission.
That is absolutely not ethical. And if it is legal, it shouldn't be.
Correct, the whole affiliate system is ethically dubious, and the idea that someone can be trusted to produce honest, complete information about a topic when their message is paid for is unrealistic. Meanwhile, paid shills crowd out every space, making it more difficult to find actual honest information. They reduce signal and increase costs for everyone. It also relies on pervasive non-consensual tracking.
Simple consideration: how likely is a shill to tell you that you could save that extra $.89 by buying it from a store through which they get no commission? By using Honey? If they know those things, only telling you about their worse deal is not honest. Someone who's job it is to sell you things can never be a reliable source of information.
I already block or avoid affiliate tracking when possible (so the seller can avoid a commission). I'm not going to install something like Honey, but I'm not seeing the problem with those who do. Affiliate marketers are basically arbitragers collecting on buyers who don't know that the seller is willing to take a smaller price (at best. They also work to convince people to buy things they don't need). Honey is an arbitrager that takes less of the spread. That's good for the market.
If the commission system was completely transparent, it could be part of a trust system.
A reviewer that said "I stand to receive $2.76 kickback if you buy the Magnavox TV, and $3.04 if you buy the Zenith, and I still recommend the Magnavox" would be a strong recommendation.
I'd also love to see the CPC/CPA price next to lead-generation ads. For example, that whole Medicate Advantage media blitz you see every year. I wouldn't be surprised if they generate triple-digit commissions per referral, and if customers knew there was that much money being thrown at the process, what impact would that have on their credibility?
The @ operator of php. In languages like Java, to silently catch all exceptions and do nothing with them requires at least some boiler plate.
PHP has an operator for something you should never do in a sane codebase.
You know that python wants good good to look good?
PHP was written in a way that makes bad code look good. And if we want Software Engineering to be a serious field that evolves, we have to be able to be honest with ourselves. It is a bad tool. Good programmers can even write good programs with bad tools. Doesn't mean you shouldn't avoid bad tools given the option.
There probably is a "PHP the good parts". But Javascript actually had a pretty nice core, and an utility of being in all web browsers that no other language could replicate. What niche does PHP have where it brings more value there other nicer languages can't be used instead?
You absolutely can use @ in sane codebases. And you give the example yourself: In other languages you often enough see that boilerplate where thrown exception is discarded, because there is no sane reaction to some edge case and you just want the program to continue, because you know it will work anyway. And that's @.
Note though that @ was already neutered in some earlier recent PHP releases.
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.
> The @ operator of php. In languages like Java, to silently catch all exceptions and do nothing with them requires at least some boiler plate.
The @ operator doesn't get rid of exceptions it get rids of "warnings" which are basically built in log messages.
It used to get a bad wrap for also silencing fatal errors, but it stopped doing that a while ago.
The @ operator is something that should only be rarely used, but it is no way comparable to catching exceptions and doing nothing with them. There are sane uses for it.
The claim was "PHP invites bad code" - but your point is for "bad code can be written in PHP" which is really not the same thing. A quick google for the @ brought up https://stackoverflow.com/questions/136899/suppress-error-wi... where the highest voted response is ~"NO, don't use it please".
No use case I've come across during the past 10 years has required or even nudged me in the direction of @. It's an ancient relic that the whole community considers a no-no. I'd be curious if you really want to argue that this state of affairs "invites" using the @.
The reason Microsoft held the web back is because it saw it has a potential threat to it's dominance as the main platform for applications.
And if you are actually concerned about the future of the web, instead of it's past, I would more concerned with Apple holding back development on Safari, to make people focus on writing native apps for mobile. There are so many apps that in the past would be websites, but end up being natively coded because that's the only way to get a good customer experience in mobile.
And it's also kind of hard to restrict shoplifting, people can just take products and hide it in their clothes. Doesn't mean that as a society we can't do anything, we can make it clear through regulation what is legal or not for manufactures to make and sell.
A lot of Americans don't consider countries in South America to be part of "The West".
Which is wild, cause Americans also love Rome and it's influence in western culture, and Latin America literally speaks languages that are direct descendants of Latin.
In that conception it's Anglos and the historic roots of Anglo thought. Latin America is a different branch, so it's not on the Anglo branch. But the common root (Rome, Western Europe) is on it. Seems straightforward.
Great point about web3. People always talk about during gold rushes, selling shovels instead of being the ones digging for gold. And it might be a reasonable idea, but there needs to be actual people getting rich from the gold to be an actual gold rush, if everyone is just selling shovels, it is probably a sign of a bubble.
There is formal recognition, and real world recognition. Although few countries formally recognize Taiwan, I would say that most of the world recognizes it in practice. Just look at things like countries that accept Taiwanese passport https://en.m.wikipedia.org/wiki/Visa_requirements_for_Taiwan...
So maybe an interesting file to have the LLM generate is instead of the final file, a program that creates the final file? Now there is the problem of security of course, the program the LLM generates would need to be sandboxed properly, and time constrained to prevent DOS attacks or explosive output sizes, not to mention the cpu usage of the final result, but quality wise, would it be better?
reply