News for hackers. Stuff that matters.
Re:Ladybird: A new cross-platform browser project by Cthulhu_ on Monday September 12, 2022 @08:42AM (#32809258)
Armchair defeatist here: Browsers are huge, complicated beasts, the standards are a constant moving target, and websites won't uphold standards.

I wouldn't be surprised if 80% of the work spent on current webbrowsers is spent on maintaining compatiblity and edge cases.

Re:Ladybird: A new cross-platform browser project by onion2k on Monday September 12, 2022 @09:04AM (#32809527)
I wouldn't be surprised if 80% of the work spent on current webbrowsers is spent on maintaining compatiblity and edge cases.

I don't really see anything wrong with a browser that doesn't fully support every website and every weird example of HTML and CSS that a developer decided to hack together. If a browser supports the standards well and does a pretty good job of rendering modern websites then I'd happily trade failing to render some ancient HTML for a web browser that was truly open and free and doesn't send swathes of data about me back to some corporation.

Web browsers are compatible with old HTML because we choose to make them that way. That is a choice. If the cost of having a free and open browser is a requirement to drop some backwards compatibility with old HTML then I think that's actually quite a simple choice. After all, if people want to view an old website then they can still use Chromium or something. It's not like people have to pick a single browser and stick with it.

Re:Ladybird: A new cross-platform browser project by shagie on Monday September 12, 2022 @09:19AM (#32809726)
> I don't really see anything wrong with a browser that doesn't fully support every website and every weird example of HTML and CSS that a developer decided to hack together.

Consider from the perspective of the user. They're using chrome and browsing the web - all their favorite sites work. They switch to a new browser and some of the sites stop working correctly. Is it the fault of the browser? or is it the fault of the site?

For most users, if site X works using browser A and breaks using browser B - then it is browser B that is at fault.

This is a lesson that Microsoft learned. https://www.joelonsoftware.com/2004/06/13/how-microsoft-lost... There's no refund involved, but switching back to the old browser is certainly possible.

Re:Ladybird: A new cross-platform browser project by Deukhoofd on Monday September 12, 2022 @09:28AM (#32809873)
Serenity and Ladybird aren't written from the perspective of the user though. They're written from the perspective of the developers, who write functions they'd like, and that they'd like to learn more about, or as the Serenity website states:

> This is a system by us, for us, based on the things we like.

Re:Ladybird: A new cross-platform browser project by vesinisa on Monday September 12, 2022 @10:01AM (#32810382)
And funnily enough, this is exactly how Linux was born. It was literally started as "just a hobby, won't be big and professional."[1]

Nowadays it runs in almost every home at least in the developed world.

[1]: https://www.cs.cmu.edu/~awb/linux.history.html

Re:Ladybird: A new cross-platform browser project by Andrew_nenakhov on Monday September 12, 2022 @12:26PM (#32812676)
Linux was inevitable as there was no GNU licensed kernel anger there was a need for one. If not Linux, something else would have emerged within months.

New browser is not inevitable, as the need for free-ish browser is already satisfied.

Re:Ladybird: A new cross-platform browser project by voidskull on Monday September 12, 2022 @01:05PM (#32813238)
Hurd was in development and it still is I guess. Hurd was a predecessor of Linux
Re:Ladybird: A new cross-platform browser project by Andrew_nenakhov on Tuesday September 13, 2022 @01:32AM (#32820953)
Hurd stalled precisely because Linux appeared: there was an urgent need for a GNU kernel, but there was no urgent need for another GNU kernel.
Re:Ladybird: A new cross-platform browser project by wpietri on Monday September 12, 2022 @11:25AM (#32811766)
This is correct, and it's why most open-source software will never have much in the way of users:

> They're written from the perspective of the developers

And I get it. A few years back I had an open-source project [1] get users and it was terrible. What had previously been a fun technical exercise became a pain in the ass that felt a lot like actual work. I was relieved when my hardware broke and I had an excuse to archive the project.

But that does create a huge gap that mostly gets filled by commercial interests.

[1] https://github.com/wpietri/sucks

Re:Ladybird: A new cross-platform browser project by onion2k on Monday September 12, 2022 @09:43AM (#32810111)
They're using chrome and browsing the web - all their favorite sites work. They switch to a new browser and some of the sites stop working correctly.

There are a couple of implicit assumptions here that I think should be unpacked;

First, you're assuming that users have favorite websites, and that those sites wouldn't work. As I said in my post, so long as the browser worked with standards compliant modern websites I think that would be fine ... and that would cover 99.9% of user's favorite websites. People don't carry on using old, unmaintained (or even maintained) sites for a particularly long time. I don't believe people return to old websites that haven't been maintained very much. I don't think many users would even notice if their browser stopped supporting things that browser developers consider edge cases that eat up dev time.

Secondly, you're assuming that users who choose a browser like Ladybird wouldn't understand the choice they're making. Of course they would. They could still make that choice though. The idea of trading out-of-standards compatibility for increased privacy is actually really appealing to a lot of people. Hell, a lot of people see out-of-standards compatibility as a bug rather than a feature.

Re:Ladybird: A new cross-platform browser project by astrobe_ on Monday September 12, 2022 @12:52PM (#32813036)
> First, you're assuming that users have favorite websites, and that those sites wouldn't work.

Both are true almost in my case. Browsers based on older Firefox versions such as Palemoon and Seamonkey don't work with GitLab and Github - which are not my "favorite" websites but rather, are hard to avoid.

> I don't think many users would even notice if their browser stopped supporting things that browser developers consider edge cases that eat up dev time

That's not the issue. The issue is that some websites use the shiny new features - probably through some new shiny framework - that older browsers don't support.

And this is a loser's game for browsers done from scratch, because by the time they implement one missing features, two others have been standardized. That will probably kill Firefox too.

Re:Ladybird: A new cross-platform browser project by andsoitis on Monday September 12, 2022 @10:15AM (#32810626)
> First, you're assuming that users have favorite websites, and that those sites wouldn't work. As I said in my post, so long as the browser worked with standards compliant modern websites I think that would be fine ... and that would cover 99.9% of user's favorite websites.

I wonder then why developers test on multiple browsers... Is it because website developers code not to standards per se, but rather how their top two browsers behave?

That being said, I think this is a cool project and since the goal is personal satisfaction and usability, there isn't the pull to satisfy hundreds of thousands of users.

Re:Ladybird: A new cross-platform browser project by bornfreddy on Monday September 12, 2022 @10:53AM (#32811235)
> I wonder then why developers test on multiple browsers...

Do they still? I find myself using only Firefox and I haven't had a Chrome-related bug for a loooong time. I do however avoid using latest features and wait until the support is good enough.

I agree with GP, seeing a new hobbyist browser enter the arena is awesome, I need to check it out. I for one don't care if some pages don't display, I can still open them in FF. I just hope that corporation doesn't "happen to it" too soon...

Re:Ladybird: A new cross-platform browser project by shagie on Monday September 12, 2022 @01:21PM (#32813523)
There are certainly "favorite" websites. You could use that as "sites that I use for professional work and track the latest features." Gitlab, Github, Gmail, and so on.

There are also the "Mom's cooking blog" that is running an ancient copy of Wordpress and mom still doesn't understand that <b><i>This is important</b></i> is not formatted correctly. Some browsers are able to handle this, but if you browse it with a "this browser only follows standard compliant html" you may get the entire page in italics or bold.

The article even acknowledges this - https://awesomekling.github.io/Ladybird-a-new-cross-platform...

> Fidelity of modern websites in Ladybird is steadily improving, but you’ll often see lots of layout and compatibility issues. For example, here’s Reddit right now:

> (mangled layout)

We could put Reddit in that list of favorite sites that need to work. And so, is it the fault of reddit or the browser that the page isn't rendering right? As reddit works on other browsers, surely its the browser's fault and not something janky that reddit is doing that the other browsers happen to work with.

And thus my post - if a page works correctly in a different browser but incorrectly on Ladybird, to a user it is always the browser's fault.

Re:Ladybird: A new cross-platform browser project by dmitriid on Monday September 12, 2022 @10:38AM (#32811017)
> so long as the browser worked with standards compliant modern websites

Define which subset of standards would qualify for "standards compliant". Don't forget that quite a few of standards (for example, HN's darlings like bluetooth) are barely drafts.

Re:Ladybird: A new cross-platform browser project by leidenfrost on Monday September 12, 2022 @10:06AM (#32810464)
Then let that user use Chrome and be happy with it.

If the average user wants to lean to a corporation and use its product because on the reliability it offers then that's fine. While the privacy concerns are there, I don't think it's wrong for a consumer to reach to a company to fulfill their needs.

Product mentality can be a problem on FOSS software. People forget that all of this started as a project made by volunteers because it was fun to them.

Re:Ladybird: A new cross-platform browser project by zibby8 on Monday September 12, 2022 @09:23AM (#32809794)
There would need to be a compelling reason to use the browser other than it being "different." For instance, the user experience you describe is exactly what it's like to use Firefox. Many websites don't support Firefox, even big ones like Vanguard. And yet, I continue to use Firefox when possible because I know uBlock Origin will continue to work in the future and I value privacy.
Re:Ladybird: A new cross-platform browser project by lhnz on Monday September 12, 2022 @10:03AM (#32810419)
Users often prefer it when sites don't work as the developer intended. Users like browsers that strip away adverts and that show undecorated content. If you make a browser that does this, you stand a chance against a browser that complies to the whims of corporations.
Re:Ladybird: A new cross-platform browser project by stefanve on Monday September 12, 2022 @09:29AM (#32809901)
you properly mean the average user. The average user would not download this browser. so the user of ladybird might want to live with the shortcomings. That being said , Firefox still exists and is a very good cross platform OSS browser
Re:Ladybird: A new cross-platform browser project by staticautomatic on Monday September 12, 2022 @12:49PM (#32813001)
I get that it’s a chicken and egg problem but this strikes me as, at least preliminarily, being more about developers than users in a world where devs often no longer even test for compatibility with Firefox.
Re:Ladybird: A new cross-platform browser project by leidenfrost on Monday September 12, 2022 @09:42AM (#32810093)
People focus too much on Google Chrome, and when they read "Open Source Browser" they instantly think of competing with Chrome.

Google Chrome is a product. But a new browser doesn't have to be a product. And doesn't have to compete with Chrome.

Linux as a project wasn't created to compete with other Unixes. And it wasn't deemed a failure when it lacked features compared to them 20 years ago

Re:Ladybird: A new cross-platform browser project by clairity on Monday September 12, 2022 @11:26AM (#32811777)
of course linux was created to compete with other unixes. it's literally baked into the name. competition transcends 'product' as you seem to be using it, which seems to be something akin to 'formal market offering'. linus meant to create an OS for a segment that he thought was underserved (OS hobbyists). it competed from the beginning with other OSes for mindshare and usage (but not necessarily for end-use). so you're really just distinguishing the segment served, not competition (other than to say it likely won't be competitive outside its niche).

more than that, i don't think this framing does you any good with the segment this browser is targeting, as developers still want others to recognize their (good) work. but that's fine, as there's plenty of time to develop the brand (and yes, brand also exists outside of being a formal product).

Re:Ladybird: A new cross-platform browser project by tannhaeuser on Monday September 12, 2022 @01:31PM (#32813728)
HTML isn't the complexity driver and relatively static; CSS and its myriad of microsyntaxes, layout models, and insufficient specification is, plus JS of course.
Re:Ladybird: A new cross-platform browser project by loudmax on Monday September 12, 2022 @10:38AM (#32811010)
If the goal is to compete with Chrome/Edge/Safari directly then yeah some spunky team of ragtag volunteers isn't going to be able to match what the megacorps can bring to the table. Even Firefox struggles here.

If the goal is to have something that's usable in limited cases for a self-selected set technically competent enthusiasts, then this is well within reason and not without value.

What I find particularly interesting is that there's an intent to support WebAssembly. That may turn out to be overly ambitious, but if they succeed there's a lot of potential upside to having another WebAssembly engine that's independent from the major browsers.

Re:Ladybird: A new cross-platform browser project by dmytrish on Monday September 12, 2022 @06:41PM (#32818163)
What's ambitious about supporting WebAssembly? It's very well-specified and minimalistic compared to almost anything in the web space.
Re:Ladybird: A new cross-platform browser project by cfcosta on Monday September 12, 2022 @08:47AM (#32809311)
Yes, they are. And even if the project fails (for any definition of failure), putting hundreds of people in contact with production quality core browser code is worth it.

Also, lightweight browsers have been a dying breed for a while, if ladybird ends up as a more modern alternative to surf and Dillo, I'm already satisfied.

Re:Ladybird: A new cross-platform browser project by rollcat on Monday September 12, 2022 @08:51AM (#32809371)
Surf[1] is merely a Webkit wrapper. If you mean NetSurf[2], it's actually doing OK in resource constrained environments, although it's been a while since a release, which is a bit concerning.

[1] https://surf.suckless.org [2] http://www.netsurf-browser.org

Re:Ladybird: A new cross-platform browser project by cfcosta on Monday September 12, 2022 @10:58AM (#32811324)
Seen it way too late to edit it seems, but you are correct, I meant NetSurf.
Re:Ladybird: A new cross-platform browser project by Deukhoofd on Monday September 12, 2022 @09:18AM (#32809698)
I'm fairly certain Andreas knows, considering he worked on Safari before starting Serenity.
Re:Ladybird: A new cross-platform browser project by IshKebab on Monday September 12, 2022 @10:21AM (#32810735)
Yeah the argument is just about the definition of "browser". Something that can pass Acid3 and render simple sites fine, or even complex specific sites? Totally doable.

Something that will work reliably on every site and support the gazillions of APIs that Chrome provides? Hell no. Even Microsoft threw in the towel on that. Mozilla barely manages it.

You can make a browser that people can use if they really really want to make a point of using your browser. You can't make one that the average person would choose.

Re:Ladybird: A new cross-platform browser project by zzo38computer on Monday September 12, 2022 @05:45PM (#32817440)
What we need isn't to make one "that the average person would choose", since they already have that.

What we do need is to make one that you may choose if you want to be able to fully control the system (with fine customization, and interaction with other programs including native codes in C), and is designed for advanced users who have read all of the documents, rather than trying to hide things from the user or believe they know better than what the end user specified, and also it must be one that avoids all of the bad stuff that Google put in.

Re:Ladybird: A new cross-platform browser project by IshKebab on Tuesday September 13, 2022 @04:02AM (#32821721)
None of that stuff is about the browser engine. If you want all that you'd just use an existing engine, which is what people do.
Re:Ladybird: A new cross-platform browser project by soheil on Monday September 12, 2022 @11:46AM (#32812051)
It's insane we let Google run the web and be the literal gatekeeper of it. Chrome is literally the gate you use to enter the web and its owned by Google. The solution is surely to make that monopoly illegal. After all we/government constantly blocks mergers that seem much more benign and less impactful (see Amazon/iRobot acquisition) just because they involve money? This is far worse.
Re:Ladybird: A new cross-platform browser project by aembleton on Monday September 12, 2022 @12:20PM (#32812584)
> Chrome is literally the gate you use to enter the web and its owned by Google.

I don't even have it installed and yet I'm typing this into a website.

Re:Ladybird: A new cross-platform browser project by soheil on Monday September 12, 2022 @12:30PM (#32812739)
Three quarters of the internet uses Chrome.
Re:Ladybird: A new cross-platform browser project by throw7 on Monday September 12, 2022 @08:57AM (#32809456)
Firefox can't even keep up/not tested by developers. We sometimes use roll20 to game, but things like blank screens make it unusable. I've had to just use chromium and not worry about it.
Re:Ladybird: A new cross-platform browser project by philote on Monday September 12, 2022 @09:13AM (#32809617)
Interesting, could it be plugins/extensions causing the issue? I've been using Roll20 with Firefox and with Edge for a while without any major issues.
Re:Ladybird: A new cross-platform browser project by throw7 on Monday September 12, 2022 @11:04AM (#32811419)
Our last game was about 2 weeks ago... two of us hit the same issue with the screen not "repainting" and being black. No issue with the chrome browsers, so it's easier to just switch rather than bog the game down with debugging/diagnosis.

It's usually "ok" and I can deal with performance issues; but these little niggles just makes you want to not deal with it.

Re:Ladybird: A new cross-platform browser project by cpeterso on Monday September 12, 2022 @01:24PM (#32813606)
Did you have an ad blocker or other privacy add-ons installed? Many "website doesn't work in Firefox" issues are related to ad blockers.

OTOH, if the page is black and not repainting, that might be a graphics issue (in Firefox or the GPU driver). Firefox uses the GPU more than Chrome for rendering and video decoding, which can be great for performance but unfortunately means users can be exposed to GPU driver bugs.

Re:Ladybird: A new cross-platform browser project by midoridensha on Tuesday September 13, 2022 @12:57AM (#32820800)
>Did you have an ad blocker or other privacy add-ons installed?

How can you possibly use any web browser without an ad blocker installed?

Re:Ladybird: A new cross-platform browser project by redredyupdy on Monday September 12, 2022 @09:52AM (#32810239)
It seems like there could be a nice middle man software project. Something that translated the non-standard compliant code on the web to something more standard compliant, and then you could have many different browsers each doing different things with the standard html it output. I wonder if such a tool is extractable from current projects? Disclaimer: I am not a browser scientist.
Re:Ladybird: A new cross-platform browser project by rtpg on Monday September 12, 2022 @09:33AM (#32809967)
I would say that HTML5 changed the game a lot. There are serious standards now that go into deep detail about how something should work, leaving relatively little on the margins.

There are still loads of cross compatibility issues and performance differences based on certain features of course! But I would say the set of "sites that require weirdness" is going down, not up, every day

Re:Ladybird: A new cross-platform browser project by A4ET8a8uTh0 on Monday September 12, 2022 @08:45AM (#32809295)
It is true, but it does not change the fact that it is a worthwhile effort just to force some level of differentiation on the browser scene.
Re:Ladybird: A new cross-platform browser project by godshatter on Monday September 12, 2022 @10:20AM (#32810713)
I was happy to see them state that influence over their browser cannot be bought. Mozilla taking $400 million+ a year from Google is the elephant in the room when it comes to browser competition. Not to mix metaphors, but this would give us a large competitor not beholden to Google, the gorilla in the room.
Re:Ladybird: A new cross-platform browser project by kornhole on Monday September 12, 2022 @10:59AM (#32811334)
Much of it is the other way around where the browser compatibility drives the development of sites. Everybody developing a site needs to test on the major browsers before releasing. It may take a while for Ladybird to make the list of browsers to be tested before release, but it can get there.
Re:Ladybird: A new cross-platform browser project by blablabla123 on Monday September 12, 2022 @01:50PM (#32814118)
> Armchair defeatist here: Browsers are huge, complicated beasts, the standards are a constant moving target, and websites won't uphold standards.

I think that's the irony here, the standards are pretty much set in stone and just incrementally grow. Some old cruft is beyond obsolete though. On the other hand nobody uses most of the bleeding edge APIs. But JS (and the part that is actually in use) is indeed growing at a solid pace.

Re:Ladybird: A new cross-platform browser project by divbzero on Monday September 12, 2022 @12:55PM (#32813077)
> Browsers are huge, complicated beasts, the standards are a constant moving target, and websites won't uphold standards.

This is all true.

On the other hand, operating systems are huge, complicated beasts, hardware compatibility is a constant moving target, and manufacturers won’t uphold compatibility guarantees.

Re:Ladybird: A new cross-platform browser project by Avshalom on Monday September 12, 2022 @10:35AM (#32810960)
One nice thing about html/css/javascript is that a lot of it works even when some of it doesn't. It's not an all (or even almost all) or nothing proposition.
Re:Ladybird: A new cross-platform browser project by einpoklum on Monday September 12, 2022 @08:51AM (#32809370)
> the Ladybird browser, based on the LibWeb and LibJS engines from SerenityOS.

So, the project does _not_ cover rendering web pages and tracking the HTML, CSS and JS standards. Those are separate projects.

What remains, then? I guess that would be the user interface and user experience.

Re:Ladybird: A new cross-platform browser project by resoluteteeth on Monday September 12, 2022 @08:59AM (#32809479)
> So, the project does _not_ cover rendering web pages and tracking the HTML, CSS and JS standards. Those are separate projects.

> What remains, then? I guess that would be the user interface and user experience.

To be clear it uses a novel rendering engine (libweb) that the creators of LadyBird develop, it's just that that rendering engine has its own name and exists as a separate library.

This is not just another skin around webkit or chromium.

Re:Ladybird: A new cross-platform browser project by trashburger on Monday September 12, 2022 @08:55AM (#32809424)
They're "separate" projects only in name; Ladybird is under the SerenityOS organization on GitHub.
Re:Ladybird: A new cross-platform browser project by einpoklum on Tuesday September 13, 2022 @09:55AM (#32824320)
But SerenityOS was started 4 years ago...
Re:Ladybird: A new cross-platform browser project by zppln on Monday September 12, 2022 @08:56AM (#32809440)
Doesn't Ladybird let you work on LibWeb and LibJS from a Linux angle though?
Re:Ladybird: A new cross-platform browser project by rhdunn on Monday September 12, 2022 @09:28AM (#32809869)
Yes. LibWeb and LibJS were written for the SerenityOS. As mentioned in the article, some work was done to make them buildable and usable on Linux in a headless environment. The Ladybird project is then taking that work and adding a Qt GUI on top of it.