News for hackers. Stuff that matters.
Re:Safari's date-picker is the cause of 1/3 of our customer ... by andrewmcwatters on Tuesday December 27, 2022 @12:23AM (#34145368)
I hate these stupid parrots claiming Safari is the new IE. These people clearly had no idea what developing against Internet Explorer was like, or they have forgotten.

Is the included example bad? Sure. Probably. The date input field is undefined in the standard as to how to activate a picker. It's left to implementors.

Also, it sure helps when Google basically hijacks the WWW standards and adds a bunch of total garbage no one is asking for while ignoring basic requests for years. Then everyone else can look like they're behind! Masterstroke!

Re:Safari's date-picker is the cause of 1/3 of our customer ... by bioemerl on Tuesday December 27, 2022 @12:30AM (#34145422)
When I hear Internet explorer I don't hear about the monopoly Internet explorer 6, I hear about the Internet explorer 11 that had to be supported for years and constantly just had to be different from everything else in a way that was frustrating and infuriating whenever you were trying to develop a product.

Safari does not have the monopoly status, Chrome has that, but safari does have the IE 11 like constant fighting when you have to support it.

Also Safari has monopoly status for everyone using an iPhone. The people on iPhone simply can't pick another browser, because Apple won't let them.

Re:Safari's date-picker is the cause of 1/3 of our customer ... by tomxor on Tuesday December 27, 2022 @12:33AM (#34145443)
> but safari does have the IE 11 like constant fighting when you have to support it.

Yes, and is also very IE like in that it's not evergreen, various iOS devices stuck on specific revisions that Apple has left in various states of broken.

Re:Safari's date-picker is the cause of 1/3 of our customer ... by xcombelle on Tuesday December 27, 2022 @12:37AM (#34145477)
>Also Safari has monopoly status for everyone using an iPhone. The people on iPhone simply can't pick another browser, because Apple won't let them.

i have an iphone with safari, firefox, firefox focus and chrome, ...

Re:Safari's date-picker is the cause of 1/3 of our customer ... by bioemerl on Tuesday December 27, 2022 @12:38AM (#34145482)
Yes, but Firefox focus is Safari. Chrome is safari.

iPhones aren't allowed to have web browsers that aren't running Safari on the back end. They can have different names, different UIs, but at the end of the day it's the same browser.

Re:Safari's date-picker is the cause of 1/3 of our customer ... by adgjlsfhk1 on Tuesday December 27, 2022 @12:40AM (#34145495)
no you don't. you have safari with a re-skin to make it look like a different browser
Re:Safari's date-picker is the cause of 1/3 of our customer ... by atomicnumber3 on Tuesday December 27, 2022 @12:39AM (#34145484)
And all of those are using the Safari rendering/layout engine.
Re:Safari's date-picker is the cause of 1/3 of our customer ... by tomxor on Tuesday December 27, 2022 @12:43AM (#34145516)
And JS engine, the whole thing is basically safari with a different URL bar and ancillary stuff like bookmark syncing. As far as the code is concerned it's 100% Safari.

I don't know why non iOS browser play the stupid pseudo support game with Apple, it just makes it confusing for users like the parent comment... playing into Apple's hand, helping them pretend that it's actually a fair ecosystem with choices.

Re:Safari's date-picker is the cause of 1/3 of our customer ... by kitsunesoba on Tuesday December 27, 2022 @12:51AM (#34145572)
> I don't know why non iOS browser play the stupid pseudo support game with Apple, it just makes it confusing for users like the parent comment...

That's easy. Users want their bookmarks, history, passwords, etc synced across devices, and so if there's no Chrome, Firefox, Edge etc for iOS to accomplish that on iPhone/iPad, people who have multiple Apple devices would likely switch to Safari and those users would be lost. Additionally, in the case of Google and Microsoft, they'd be opting out of those sweet, sweet streams of user data if they had no iOS presence. And so, those browsers exist, just built around WebKit instead of Blink/Gecko.

Re:Safari's date-picker is the cause of 1/3 of our customer ... by echelon on Tuesday December 27, 2022 @12:56AM (#34145610)
Apple does not allow any rendering engines or runtimes apart from their own. Firefox on iOS is just Safari under the hood, and all Mozilla contributes is the user interface.

Apple does this for a few reasons:

1) to prevent web apps from gaining a foothold. Modern web standards aim to provide native-like utility, performance, look, and feel. Apple purposefully holds their device back so companies are compelled to deploy native apps.

2) to prevent Google from taking over their platform. Chrome could give Safari a run for its money and "steal" user attention away from Apple's key platform pieces, providing a foothold for Google on iOS.

Re:Safari's date-picker is the cause of 1/3 of our customer ... by laserdancepony on Tuesday December 27, 2022 @12:33AM (#34145442)
Yes, we could just all use Chrome and stop competing. That would be far easier for everyone.
Re:Safari's date-picker is the cause of 1/3 of our customer ... by bioemerl on Tuesday December 27, 2022 @12:34AM (#34145450)
I mean, relative to having to support safari, yeah, as much as I hate to say it, it's preferable.

Firefox is the browser I want to see be the competition.

Re:Safari's date-picker is the cause of 1/3 of our customer ... by kitsunesoba on Tuesday December 27, 2022 @12:41AM (#34145505)
> Firefox is the browser I want to see be the competition.

Extremely unlikely unfortunately unless the planets align and Google ceases all promotion of Chrome and Mozilla dramatically improves their own promotion game. Firefox would probably need more tangible reasons for people to switch too, because realistically the masses aren't going to care about the privacy or marketshare angles.

Re:Safari's date-picker is the cause of 1/3 of our customer ... by newaccount74 on Tuesday December 27, 2022 @01:02AM (#34145650)
Google keeps showing alerts in their products (eg. Gmail) telling people to download Chrome.

I don't see how Mozilla could "improve their promotion game" to stand up to that.

Re:Safari's date-picker is the cause of 1/3 of our customer ... by kitsunesoba on Tuesday December 27, 2022 @01:14AM (#34145728)
Mozilla can't stand up to that, which is why I mentioned that Google would need to cease all promotion of chrome (including cross-promotions in other Google products).

But that alone wouldn't suffice. From what I've seen of Mozilla's efforts to promote Firefox, they don't have any idea of how to appeal to the broader audience, or really any audience beyond the privacy-conscious. That Firefox allows better control of one's data is great but it's not nearly enough to carry most people past the friction point of switching browsers. For that you need things like major advantages in battery life and features that fix common web browsing annoyances.

Re:Safari's date-picker is the cause of 1/3 of our customer ... by bioemerl on Tuesday December 27, 2022 @01:13AM (#34145726)
Pipe dream, but Firefox could be installed by default on iOS devices and Apple could invest a lot of money into Mozilla as a partnership.
Re:Safari's date-picker is the cause of 1/3 of our customer ... by realusername on Tuesday December 27, 2022 @01:24AM (#34145778)
Is Safari really competing anyways? They don't need to do any effort being bundled and it's very visible
Re:Safari's date-picker is the cause of 1/3 of our customer ... by simonw on Tuesday December 27, 2022 @12:36AM (#34145472)
The claim that "Safari is the new IE" has nothing to do with perceived quality of Safari's implementation of things.

It's that Safari is the only browser allowed on iOS. Which means that we are stuck with the subset of the standards that Safari has chosen to implement.

So Safari has outsized influence over which standards are actually feasible to build an application around.

One example: I've lost count of how long I've been waiting to build web apps that can send (user requested) push notifications.

Re:Safari's date-picker is the cause of 1/3 of our customer ... by least on Tuesday December 27, 2022 @12:58AM (#34145625)
> So Safari has outsized influence over which standards are actually feasible to build an application around.

Which, considering the alternative is Google having complete control over the web, I'm quite thankful for. It doesn't line up with how I'd like things to be in either case but it's much better for there to be some sort of check against Google. Google is far too aggressive about implementing new tech in the browser for very obvious reasons.

Re:Safari's date-picker is the cause of 1/3 of our customer ... by manigandham on Tuesday December 27, 2022 @12:38AM (#34145480)
Of course it's the new IE. What else would it be? It's all relative, and relatively it's the worst at implementing UX and standards (across mobile and desktop) compared to the rest of the field.

Just because it doesn't exactly match up to the same scenario of IE6 doesn't takeaway from the point that you can develop for everything else easily, then must deal with Safari's failures specifically.

Re:Safari's date-picker is the cause of 1/3 of our customer ... by osrec on Tuesday December 27, 2022 @12:36AM (#34145466)
Safari 7-8 years ago was potentially worse than IE in my opinion.

Totally broken indexedDB implementation. Random rendering issues, especially if you happen to ever use z-index. Hacks needed to get the most basic events to trigger. Idiotic scrolling behaviour. Choppy animations that didn't adhere to basic CSS standards (even the ones that weren't added by Google).

Honestly, it was a mess, and sometimes felt like a deliberate ploy to stop web apps from becoming viable. Things are better now. Just waiting for them to finally add web push notifications.

Re:Safari's date-picker is the cause of 1/3 of our customer ... by realusername on Tuesday December 27, 2022 @01:27AM (#34145795)
Broken rendering issue with zindex still happens often.

Try to put something in absolute on top at width 100% and 100%, if you scroll down, the snapping goes further than the div...

Re:Safari's date-picker is the cause of 1/3 of our customer ... by tomxor on Tuesday December 27, 2022 @12:29AM (#34145414)
I was a web developer when IE6 support was still a thing. Safari is the new IE, it may not be as bad yet, but it's right on track, cumulative regressions being the norm.
Re:Safari's date-picker is the cause of 1/3 of our customer ... by bioemerl on Tuesday December 27, 2022 @12:33AM (#34145444)
I have heard they are improving in recent updates. I'm skeptical, very skeptical, but it's possible that Apple has heard all of this complaining and is trying to pivot to counter it.
Re:Safari's date-picker is the cause of 1/3 of our customer ... by rapind on Tuesday December 27, 2022 @12:37AM (#34145475)
> Then everyone else can look like they're behind!

I’m not one to defend google, but in the matter of a datepicker… it’s 2023 for crying out loud! A datepicker standard should have been solved and implemented about 20 years ago.

Admittedly it’s non-trivial dealing with dates across regions, time zones, DST, etc, but c’mon, it’s been clearly solvable for decades.

Re:Safari's date-picker is the cause of 1/3 of our customer ... by zeroimpl on Tuesday December 27, 2022 @01:02AM (#34145657)
I didn’t even know <input type="date"> was a thing, I rely on JS datepicker libraries in various places. However there’s usually plenty of configuration that goes along with that, so I’m not surprised it isn’t optimal in all cases.
Re:Safari's date-picker is the cause of 1/3 of our customer ... by lycos on Tuesday December 27, 2022 @12:35AM (#34145459)
Oh for sure, having to support IE 5.5/6/7/8 at the same time was a nightmare of conditional comments and css hacks, and testing as you typically could not run multiple versions side by side due to the deep integration into Windows.
Re:Safari's date-picker is the cause of 1/3 of our customer ... by lucb1e on Tuesday December 27, 2022 @12:39AM (#34145487)
That's literally what I'm now doing for Safari, though. There are very, very few things that don't work automatically across Firefox and Chrome/Chromium/Edgium, but quite a lot where Safari wants it differently. Having to type 'apple' (apple-touch-icon) or 'webkit' (-webkit-text-fill-color) literally into your code is a bad thing in my opinion.
Re:Safari's date-picker is the cause of 1/3 of our customer ... by lycos on Tuesday December 27, 2022 @03:34AM (#34146633)
I'm just gonna comment on this instead of everyone and I won't reply after this because I've said my part.

In my opinion this is not comparable at all, slightly differently or prefixed property/attribute names are really very acceptable to me compared to the hacks we used to implement. Having to hack for multiple IEs while also ensuring those hacks are not applied to other browsers was a special kind of evil to battle, and we are not just talking about "oh IE does not support this so we need to do this another way" but also things like "oh IE like to double the specified padding because why not" - and then at some point they removed conditional comments because they were like "IE is good now." which of course it wasn't.

I develop for Safari amongst other browsers daily and have for years, and do not share these frustration everyone else seems to have for it. Do I agree there should be more frequent updates of Safari (also for older MacOS)? Yes. Do I agree iOS should allow other browser engines? Yes. Is supporting older Chromium engines annoying too? Yeah of course, I've run into that as well (don't have any concrete examples right now unfortunately). People like to think that you can expect Chrome to always be the latest version because of the auto updating, but I have experienced multiple issues caused by users with a (very) outdated version. Whether or not you support these depends on your business / target audience, I had to, and it was frustrating.

Different browser engines will always be different and implement standards at different rates, and standards are often implemented before they are finalised and some do this with prefixes and others do not. Supporting multiple browsers is part of the job, if you don't like it you should not be doing front-end web development.

I for one would hate living in a world that is run by Google (Chromium).

Re:Safari's date-picker is the cause of 1/3 of our customer ... by tomxor on Tuesday December 27, 2022 @12:36AM (#34145462)
Yup, it's not like we have to support Safari 15,14,13 ... wait
Re:Safari's date-picker is the cause of 1/3 of our customer ... by lycos on Tuesday December 27, 2022 @03:35AM (#34146647)
Re:Safari's date-picker is the cause of 1/3 of our customer ... by tomxor on Friday December 30, 2022 @02:55AM (#34182938)
Yea, it's not like they substantially diverged from the iframe spec and then abandoned that idea but left it active in a major version that needs support... wait
Re:Safari's date-picker is the cause of 1/3 of our customer ... by realusername on Tuesday December 27, 2022 @01:28AM (#34145805)
That's exactly how it works for safari, a bunch of ifs for each version of Safari having issues because they don't even have the same issues on desktop and on mobile
Re:Safari's date-picker is the cause of 1/3 of our customer ... by lycos on Tuesday December 27, 2022 @03:35AM (#34146646)
Re:Safari's date-picker is the cause of 1/3 of our customer ... by realusername on Tuesday December 27, 2022 @03:46AM (#34146733)
Interesting but I disagree, yes Safari has a lot of missing features & stuff behind prefix but it has also a lot of pure rendering bugs and that's where the "if safari" comes into play and the analogy with IE comes from. And Safari is still an outlier compared to the other modern browsers.

I've experienced zIndex bugs, border radius bugs, form bugs, svg bugs and even dom event bugs.

Re:Safari's date-picker is the cause of 1/3 of our customer ... by lycos on Tuesday December 27, 2022 @06:19AM (#34147691)
I've ran into issues with every browser I developed for (even to the point of the computer freezing in some Chrome bugs I remember) and have never felt like Safari was as annoying or frustrating as IE was back in the day (and _that_ is the main comparison being made in this post). In my 20+ years of front-end development with work supporting millions of users worldwide I can say without doubt, IE was much much worse than Safari is.

I don't know how many of the people making this comparison actually had to deal with IE 5.5/6/7/8 support on a daily basis back in those days or what exotic things people are doing now.

Safari does feel like it has more rendering bugs yes, but I did also say in my comment that I believe Safari should have more frequent updates because bugs hang around longer. But then again, you are still not guaranteed that people always have the latest version anyway, even in Chrome.

I just don't get this comparison to IE and this is the first time I thought I'd comment on it, but in the future I will not do it again. The era of IE sucks, but IE was IE and Safari is Safari, Firefox is Firefox and almost all other browsers are Chrome. We are all allowed our own views on this and I should not have commented at all I guess.

Happy new year!

*: p.s. Apple should allow different browser engines on iOS

Re:Safari's date-picker is the cause of 1/3 of our customer ... by throwawaaarrgh on Tuesday December 27, 2022 @12:26AM (#34145392)
Does Safari have 90% market share and a proprietary plugin ecosystem now and nobody told me about it?
Re:Safari's date-picker is the cause of 1/3 of our customer ... by Uninen on Tuesday December 27, 2022 @12:35AM (#34145458)
On iOS devices Safari (WebKit) has 100% market share.
Re:Safari's date-picker is the cause of 1/3 of our customer ... by thefounder on Tuesday December 27, 2022 @12:42AM (#34145514)
Just try to develop an offline app on safari. Last time I tried it was unusuable. Safari is just bad and on iOS it's the new IE.
Re:Safari's date-picker is the cause of 1/3 of our customer ... by echelon on Tuesday December 27, 2022 @02:12AM (#34146083)
> Edit: I have removed this comment due to post-specific moderation downweighing.

> https://github.com/minimaxir/hacker-news-undocumented/issues...

Can you elaborate on this? How does this happen, and is it a permanent de-buff?

Re:Safari's date-picker is the cause of 1/3 of our customer ... by dang on Tuesday December 27, 2022 @02:15AM (#34146104)
That's an abusive use of editing. You've deprived the entire subthread of the context people were replying to. This is unfair to the other commenters in the thread, and is no different from when people rage-edit their comment because they don't like being flagged or downvoted.

Please don't do it again.

p.s. A comment beginning with "I hate these stupid parrots claiming Safari is the new IE" obviously broke the HN guidelines and therefore did not belong at the top of the thread. The moderation here was correct; your comment and laster destructive edit were out of line.

Re:Safari's date-picker is the cause of 1/3 of our customer ... by culi on Tuesday December 27, 2022 @02:49AM (#34146301)
thanks for the context. I can see how the comment broke the guidelines, but can also imagine the frustration a user feels knowing they've been secretly screwed by the mod team. Couldn't the comment have simply been flagged instead? Just feels more honest
Re:Safari's date-picker is the cause of 1/3 of our customer ... by dang on Tuesday December 27, 2022 @04:14AM (#34146923)
I don't think anyone has been "secretly screwed". HN is a complex system consisting of different factors, including community, software, and moderators, that all have their proper place and do things the other parts can't do.* If there's a way to modify the system to function better, I'm certainly interested, but I don't think mods doing their jobs properly is screwing anybody.

On the contrary, the things mods do—including downweighting top subthreads when they break the guidelines or aren't in the intended spirit of the site—are vital to why HN functions as well as it does (not that it functions particularly well; just that it could and would be worse). In fact, that process of downweighting top subthreads is probably the biggest thing we've ever figured out to improve thread quality, at least in recent years.

* Btw, if there were a way to have the community and software alone do what mods do, and thus eliminate the need for mods, that would be a day of great rejoicing on our part.

Re:Safari's date-picker is the cause of 1/3 of our customer ... by andrewmcwatters on Tuesday December 27, 2022 @11:44AM (#34150321)
It's unfortunate, because there was more value in the discussion than the obvious sentence he posted, but because I simply didn't curb a word or two, the entire conversation is naught.
Re:Safari's date-picker is the cause of 1/3 of our customer ... by andrewmcwatters on Tuesday December 27, 2022 @11:01AM (#34149797)
If you’re going to include my words, which I chose to remove, go ahead and post the whole thing instead of being rude and taking my post out of context by only posting the part you wanted everyone to see.

Don’t do that and tell me I’ve deprived people of context. You've already taken away from otherwise valid discussion about development with an industry and why this sentiment has proliferated by pushing my post to the bottom.

I could have also simply replaced the sentence with, "I don't like it when people repeat that Safari is the new IE," but HN doesn't have a recorded policy of restoring posts from downweighing.

If this is the only offending sentence, it seems like pretty shallow moderation to me.

“Edit out swipes” is a part of HN guidelines. I removed the post because clearly moderation found it fulminating, I agree it was, and now you seem to think you own my words.

If you have a problem with edits after silent moderation and believe this to be abuse, which contradicts current guidelines, just update the guidelines to include such a statement.

Re:Safari's date-picker is the cause of 1/3 of our customer ... by pvg on Tuesday December 27, 2022 @02:06PM (#34152416)
“Edit out swipes” is a part of HN guidelines. I removed the post because clearly moderation found it fulminating, I agree it was

Perhaps it's unclear but the guideline there is about taking that stuff out before you post. The whole set of subsequent problems just goes away entirely if you do that which should be straightforward given there's agreement on the root cause - the posting of yelly comments.

Re:Safari's date-picker is the cause of 1/3 of our customer ... by dang on Thursday December 29, 2022 @04:29PM (#34178258)
Sorry for the delay in replying to this! I appreciate that you were intending to follow the guidelines and apologize that I didn't pick up on that and instead interpreted your edit as abusive. I thought you were rage-editing, which is sort of the message-board equivalent of turning over the chessboard and storming off. That happens quite a bit and I erroneously pattern-matched your comment to that behavior.

The "edit out swipes" guideline is intended more along the lines of "please edit out any guideline-breaking swipey bits from your comment, while leaving the substantive point intact."