Slashdot Mirror


Safari And KHTML May Never Meet

diegocgteleline.es writes "Announcing that Safari passes the Acid2 test has raised some voices in the KDE world. Apple, they say, isn't playing friendly. They don't provide a CVS history, just the modified files where nobody can understand how and when things have changed. It's quite likely that KHTML developers will have to write their own code to pass the acid2 test. Zack Rusin writes: 'All I'm asking for is that all the clueless people stop talking about the cooperation between Safari/Konqueror developers and how great it is. There's absolutely nothing great about it. In fact "it" doesn't exist.'"

80 of 765 comments (clear)

  1. Isn't that what opensource is about ? by AT-SkyWalker · · Score: 1, Insightful
    Well, Last I know apple is in the market to make money. KDE guys are not.

    When are people gonna understand that companies like Apple are not in the market coz they like it ???

    1. Re:Isn't that what opensource is about ? by francisew · · Score: 4, Insightful

      I'm not sure about that. From what I understand, open source doesn't mean you have to give other people everything verbatim, and explain the changes.

      You have to make available the source you based your code on. That's all. Apple would be under no obligation to make modifications publicly available. It's just a bit silly not to contribute back, otherwise they end up working off a completely different source tree, and lose most colateral benefits of having an open-source basis.

      Apple might simply plan to let the open-source crowd stay a few months behind their closed source implementation. That way the community still contributes useful bits, but doesn't ever get in Apple' face with competition for users.

    2. Re:Isn't that what opensource is about ? by abigor · · Score: 3, Insightful

      Please, just read the article. He's not complaining about Apple. He's complaining about people who think there is some big cooperation between Apple and KDE when there really isn't.

    3. Re:Isn't that what opensource is about ? by 44BSD · · Score: 3, Insightful

      " He's complaining about people who think there is some big cooperation between Apple and KDE when there really isn't."

      Complaining about idiots never works.

    4. Re:Isn't that what opensource is about ? by wchanley · · Score: 2, Insightful
      Hot-button fallacies aside, this is about how much time Apple should devote to making the lives of KHTML developers easier.

      If those developers absolutely want stuff like CVS histories and changelogs provided, they need to make sure it ends up in whatever license they're releasing under. Apple is a big company with about three thousand other things that need to take priority. Making the lives of open source developers easier may be warm and fuzzy, but it's not important.

      The flaw is in the GPL, if it doesn't provide KHTML developers with what they want.

      Apple are "giving back" what they're required to under the license for which they obtained KHTML source. The complaint here is that Apple isn't doing more than is required of them by that license.

  2. Is this a joke? by bconway · · Score: 3, Insightful

    Apple has abided by Safari's license and released their changes. This is what is required and expected. I don't remember reading anywhere that they have to hand-hold you through understanding their code.

    --
    Interested in open source engine management for your Subaru?
    1. Re:Is this a joke? by Silverlancer · · Score: 3, Insightful

      And doing the bare minimum counts as being friendly to open source developers?

      Even *Microsoft* does what they're legally required to do. If Apple wants to differentiate themselves, they have to do more than the minimum.

    2. Re:Is this a joke? by MankyD · · Score: 4, Insightful

      He's not saying that Apple is doing anything wrong. He's simply pointing out that there exists no cooperation, as many people would like to think.

      --
      -dave
      http://millionnumbers.com/ - own the number of your dreams
    3. Re:Is this a joke? by gowen · · Score: 2, Insightful
      Even *Microsoft* does what they're legally required to do.
      Only once they've exhausted every possible appeals process, and pressurised, threatened and cajoled the EU/foreign government into changing the law.
      --
      Athletic Scholarships to universities make as much sense as academic scholarships to sports teams.
    4. Re:Is this a joke? by Anonymous Coward · · Score: 1, Insightful

      Even *Microsoft* does what they're legally required to do.

      No, they don't.

      They weigh the cost of doing what they're legally required to do, weigh the cost of not doing what they're legally required to do, and weigh the cost of paying for law-changes/non-enforcement by the government. Then they keep doing whatever they want to do. That's the benefit of being an illegal monopoly the government suddenly decided not to meaningfully prosecute.

    5. Re:Is this a joke? by squiggleslash · · Score: 4, Insightful

      Actually I think he understands that. The issue is that people are under the impression Apple does directly contribute, and so start blaming the KHTML team when WebCore has features that KHTML does not. He's not criticising Apple so much as criticising the massive group of people, including many Slasdotters, who do not understand the issues involved and claim that KHTML is benefiting from Apple's involvement.

      --
      You are not alone. This is not normal. None of this is normal.
    6. Re:Is this a joke? by Anonymous Coward · · Score: 2, Insightful

      developers need to comment and document every single change they make

      Oh my god! Requiring developers not to write shitty code! No one will ever stand for this!

    7. Re:Is this a joke? by Roger_Wilco · · Score: 3, Insightful

      They're actually doing considerably more than the bare minimum, though I agree they should do more.

      The bare minimum would be to provide, on request, to customers, the source code of the product shipped to the customer. This means they'd only give you their code when you ask for it, once it's out the door. The fact that we even have this acid test code, which might never ship, is proof that they're doing more than the "bare minimum".

    8. Re:Is this a joke? by tshak · · Score: 1, Insightful

      If Apple wants to differentiate themselves...
      Differentiate themselves to who? For me, they have a superior browser, that's a differentiating asset. Not hand holding developers who choose to work for free has no direct relationship to the supperior products in which Apple ships. The KDE team should be happy that they have the huge investment that Apple has given them.

      --

      There is no longer anything that can be done with computers that is nontrivial and clearly legal. -- Paul Phillips
    9. Re:Is this a joke? by cowscows · · Score: 3, Insightful

      Exactly. People need to understand that Apple did not send a bunch of engineers over to join the KHTML project. They just used some source code that was available to them, and as is required, they give out the changes they make.

      Apple is developing "WebKit", not KHTML. They both have just evolved from a common codebase in the past.

      --

      One time I threw a brick at a duck.

    10. Re:Is this a joke? by THEbwana · · Score: 2, Insightful

      grep "4/29/2005" | awk '{printf $5}' | sed "s/'//g"

      ...working with crappy code for a living.. ;-) /m

  3. Re:Wow - vitriolic by masklinn · · Score: 2, Insightful

    No, it seems like they're doing everything they're legally bound to do.
    And that only, nothing more at all, which is the part that annoys the KHTML team.

    --
    "The way we can tell it's C# instead of Haskell is because it's nine lines instead of two." -- wadler
  4. Re:Isn't this the Apple way? by hunterx11 · · Score: 2, Insightful
    I'm sorta glad they didn't use Mozilla code now.

    What difference would it make to Mozilla if they had used Gecko? Absolutely none. RTFS, it doesn't even make a difference to KHTML. It would be nice if Apple contributed more to KHTML, but they're not hurting them any more than you and I are.

    --
    English is easier said than done.
  5. Re:This sounds like something SCO would say... by Chirs · · Score: 5, Insightful

    Have you ever worked on a large project?

    Without the revision history, it can be very difficult to track what effect particular changes actually have. Intermediate code cleanups, reorganizations, additional features, etc. can combine to make the code look much different in a fairly short amount of time.

    Looking at "what has been changed" makes it much easier to figure out "what does the changed code do".

  6. Re:License violation and legal action against Appl by Cheviot · · Score: 2, Insightful
    I think http://www.gpl-violations.org/ would really like to hear about this. Apple have been a bit too litigation-happy lately, it'll be nice to see them have to eat some of their own crows.


    Uh, just how is this a GPL violation? They're providing the modified source code. The GPL doesn't require you to explain how you wrote your code or how you got from the old code to the new.
  7. Hmmm... by gowen · · Score: 1, Insightful

    If you've got the modified files you most certainly can tell how they've changed. You do a diff.

    Now that diff can't tell you why they've changed, but for Pete's sake, you're a developer. You've got the code. You've got the standard. You've got the changes in the code. You've got the old code. You can see how behaviour changes in each. You've (hopefully) got an reasonable general understanding of the codebase.

    Given that some developers reverse engineer protocols by sniffing TCP packets, your task really doesn't sound that difficult...

    --
    Athletic Scholarships to universities make as much sense as academic scholarships to sports teams.
    1. Re:Hmmm... by kelnos · · Score: 4, Insightful

      Let me guess... you're not a developer, right? From what I understand, Apple doesn't send back patches for specific issues, they just periodically make a tarball of their webcore tree and lob it at the KHTML devs. A 'diff -u' would probably give you a 5-10MB patch file. Is it useful? Sure. But it's a royal pain in the ass to sort through it and figure out what does what.

      And why is this important, you ask? KHTML, like any rendering engine for a complex document format, is a complex piece of software. If you're going to change it, you need to be absolutely sure that the changes aren't going to have an impact on another part of the rendering pipeline. You can't do that when you have 5+MB worth of multiple possibly-unrelated changes to sort through.

      --
      Xfce: Lighter than some, heavier than others. Just right.
    2. Re:Hmmm... by Anonymous Coward · · Score: 1, Insightful
      On top of that it's unnecessary work, because there's no reason Apple wouldn't be able to hand over all individual patches seperately, which would make things immensely simpler for the KHTML guys.


      Dial down your rhetoric one notch. Just because the reasons are bad doesn't mean there are _no_reasons. Read the original comment this is a dupe of and you'll see that the main problem is that Apple's internal cvs history is peppered with references they can't open to the public.

      It's not a great reason and hopefully they'll fix it (the project has been around long enough for this not to be just growing pains), but it's not no reason.
    3. Re:Hmmm... by k98sven · · Score: 3, Insightful

      Even if the diff-logging process was made automatic someone has to script that and then make sure it doesn't break. Even if their VCS has easy-to-use changelist descriptions like Perforce someone still has to go extract them all for you.

      And obviously you have little experience of version control systems. I have yet to see one (including perforce) which can't export diffs and changelogs to some simple format. Why would they need to write a script for that?

      And you're completely missing the point: If Apple did cooperate more with KHTML, then that would be beneficial for Apple, too. It's not just a question of giving.

      What's happening now is a release is getting diffed against the previous one and the results shared - very simple and easy.

      Simple for Apple, and not very useful for the KHTML guys.

      I'm amazed at the whining that's going on here. How about Apple gives you NOTHING, and you get something real to complain about, eh?

      That's just trolling.

    4. Re:Hmmm... by shaitand · · Score: 2, Insightful

      "Apple is in it for the money"

      And how do you think the KHTML base that Apple got for free was worth? How much would it have cost Apple to replicate it (assuming they COULD produce a browser of equal quality on their own)?

      Cooperating with the KHTML team results in a more closely matched codebase. This means the work done by the KHTML team has a greater chance of being relevant in Safari and Apple benefits immensely from that. In the end that saves more work than it creates and therefore results in a better bottom line. Whether Apple is another mindless profit machine or the "good guy"s they would have their users believe, this is in their best interest.

      "KHTML developers ARE whining,"

      Yup, at users who are bitching at them for not having features/functionality that is in Safari. NOT at Apple. The REASON they do not have those features and functionality is that Apple is not playing ball. They are simply directing annoyed users to correct party to complain at.

  8. Re:Wow - vitriolic by Anonymous Coward · · Score: 4, Insightful

    I would agree. Nowhere does the GPL require you maintain and distribute CVS logs so everyone can see what changes have been made. Nor does it require you detail what has been changed from the original source. It's good enough to say "Here is the code after we made it do x y and z". If the original developer wants to see how they did x y and z, then he can diff the code.

  9. Re:Stop complaining by JanusFury · · Score: 5, Insightful

    I don't see how fragmenting KHTML is going to help it much... If people code for Safari, and Safari is the only KHTML based browser that acts lke Safari, the what good does it do for anyone else?

    --
    using namespace slashdot;
    troll::post();
  10. Sick of the complaining. by Anonymous Coward · · Score: 2, Insightful

    The code for the Acid2 test fixes was all given to you in a nice list of small easily applied patches (which was posted on /. no less), and you still can't manage to integrate it without having full logs of Apple's interval versioning system? Come on.

    I'm getting really sick of the anti-corporate bullshit that gets thrown around so copiously by a certain faction of the OSS community. And it's not just Apple being treated this way either.
    No matter how much a big corporation gives to the community in terms of money, code, paid personnel, free advertising, etc..., there's always some crank complaining that they're not giving enough, and they'll eventually turn on us.
    Well, given the way we treat them, I wouldn't blame them for turning on us.

    1. Re:Sick of the complaining. by inchhigh · · Score: 3, Insightful
      keep sucking at that corporate teet AC, and see how well it feeds you if nobody pushes them or if nobody buys their products.

      You seem to think they we, we the users, we the stockholders, we the buyers (and I'm all 3), can't ask a company for more, that we should be happy with whatever they offer. All this guy was saying is that the cooperation between apple and KHTML is basically the minimum required by the license, and people should characterize it as that.

      I can understand though how you would be scared of apple 'turning on' you based on their childish actions, like pulling books because a publisher is publishing a bio of Mr Jobs that apparently he doesn't like. Now that is a good move for the stockholders how? Seems like it's using corporate muscle to squash a personal dispute. All this KHTML developer was doing was informing the general public of the state of affairs between apple and KHTML, from the KHTML perspective. I think this is a good thing, Apple has multiple channels to spread whatever message it chooses to. Where besides /. will you get to see this side of the story? If all you want is the business side of the story I humbly suggest you are browsing the wrong site.

    2. Re:Sick of the complaining. by Blakey+Rat · · Score: 1, Insightful

      Well, if KHTML is upset with the patches they're getting back, maybe they should have changed their license to reflect that. If Apple's obeying all the licensing terms, then boo-fucking-hoo. They should have thought of this when they wrote the license.

  11. Re:Wow - vitriolic by Anonymous Coward · · Score: 4, Insightful

    This isn't true. They are legally bound to include a notice telling their customers that they are entitled to source, and they are legally bound to supply it to a customer of theirs, should they ask for it, for the price of shipping. They don't even have to send patches back to the KHTML team.

    They are doing more than the license forces them to. They are just getting criticised because some developer wants them to do more.

    Also, everybody whining about suing them for GPL infringement? You are clueless. Not only are they abiding by the license, it's LGPL, not GPL. You haven't even bothered to read the license and you are advocating suing them? Typical American attitude.

  12. Re:He posted patches! by Anonymous Coward · · Score: 2, Insightful


    This is open source. Other people can modify it how they choose. They then post back those changes. Tough shit if those changes aren't useful.

  13. Re:Wow, pick on apple day by francisew · · Score: 2, Insightful

    It's strange, where should we draw the line for what we expect from private companies?

    That they allow fair-use and backup?

    That they make file-formats public?

    That they go open-source?

    That they make all their software free?

    That they not make any money?

    hmmn...

  14. Re:He posted patches! by Anonymous Coward · · Score: 0, Insightful

    So what are Apple supposed to do? Not use OS X features? Wait for KDE to integrate their last set of patches before doing any more work?

    They have to supply their changes. They are. They *don't* have to do free work for KDE just to make KDE development easier.

  15. The Sky Is Falling!!!! by gowen · · Score: 3, Insightful

    1993 called, they want their flamewar back.

    Woe! Disaster! JWZ's changes to the Emacs codebase can't be easily folded back into GNU/Emacs. It's full of things that are XEmacs specific!

    It's called a fork, folks. It's very possible, albeit not very common, with Open Source software. You've given your code to people to use how *they* want, not how *you* want them to. Deal with it.

    --
    Athletic Scholarships to universities make as much sense as academic scholarships to sports teams.
    1. Re:The Sky Is Falling!!!! by Anonymous Coward · · Score: 5, Insightful

      So Safari is a fork of KHTML then? Fine. Again, I don't want to hear anyone talk about how great Apple is because they give back so much to the open source community. What they do is TAKE from the open source community, fork their code, and give next to nothing back. That is their right. But I don't want to hear anyone praise them for being CONTRIBUTORS to the open source movement, because it is clear they aren't.

    2. Re:The Sky Is Falling!!!! by Anonymous Coward · · Score: 1, Insightful

      The problem isn't forking. The (L)GPL explicitly allows for that. The problem is that hordes of people are under the impression that Apple is a great help to kthml while they are not, see for example this thread.

    3. Re:The Sky Is Falling!!!! by noidentity · · Score: 2, Insightful

      What they do is TAKE from the open source community, fork their code, and give next to nothing back.

      What was taken? Hardware? Printouts? People taken hostage?

    4. Re:The Sky Is Falling!!!! by Anonymous Coward · · Score: 1, Insightful

      So Safari is a fork of KHTML then? Fine. Again, I don't want to hear anyone talk about how great Apple is because they give back so much to the open source community. What they do is TAKE from the open source community, fork their code, and give next to nothing back.

      Your comments would apply equally to the people who forked EGCS from GCC. They didn't keep their tree in sync with GCC either. The same goes for a lot of forks.

      The important thing is that Apple are releasing source. If they wanted to be dickheads about it, there's a lot more they could do, but they aren't.

      Due to things like <canvas> support being Mac-specific, it's unlikely that WebCore will be taken up by the Linux community in place of KHTML, but there are a number of projects using it on the Mac. Your allegation that they aren't giving back is clearly false.

  16. Re:Diff? by irritating+environme · · Score: 4, Insightful

    You obviously work on a grand total of a couple thousand lines of code at work, if at all, and aren't working in a source control managed environment.

    Since Safari is a big fork, in order to know how to reintegrate the files, you need to know WHEN as well as WHICH LINES of code changed in order to reintegrate major changes into the source management, or you'll run substantial risk of overwriting previous patches the other fork doesn't have or need, especially if there aren't a lot of people and time to figure this out. Otherwise, the time to reintegrate is much more than...just writing it yourself from scratch.

    Your comment is so moronic and naive that it is officially a troll. If a key guy like this is complaining, then: THERE'S SOMETHING WRONG. He's not lazy and he's not whining, you dumb fuck, he's legitimately frustrated. I would say this is very helpful, since it straightens up all the iPod-hypnotized Apple apologists on this site. If there are a million consumers who buy Apple's marketing, fine. But this was supposedly a site for intelligent technical people.

    Apple is what it is: a talented amoral corporation led by a greedy egotistical amoral CEO. They aren't "Different", they aren't "feeeel-gooood", and they don't care about OSS unless it makes them money.

    --


    Hey, I'm just your average shit and piss factory.
  17. Why give back? by ShieldW0lf · · Score: 3, Insightful

    It's really simple. If you're going to release your code under a license that makes it easy for them to fork your codebase, you'd better be setting the pace.

    If KHTML was a strong, vibrant project that was making steady advances, there would be a motivation for Apple to fold their changes back into the trunk so they can continue to reap the benefits of other peoples improvements. If Apple aren't making an effort to fold their changes back in, it indicates that they don't feel having easy access to future KHTML improvements is worth the trouble.

    Improve the KHTML code enough that Apple is losing out by not being able to easily fold changes into the next version Safari and see their stance change. Complaining isn't going to get respect from Apple or from anyone else.

    --
    -1 Uncomfortable Truth
    1. Re:Why give back? by ShieldW0lf · · Score: 2, Insightful

      No, KDE developers aren't complaining about Apple...

      Comments like this are just an aside:

      We shouldn't be afraid of saying that yes, Safari works on maps.google.com and Konqueror doesn't, but this is so because somebody took thousands of hours of coding's worth of fine library code and threw heavy money at it in a diverging effort meant to instill mischeavious competition. (At least that's my interpretation of what happened even though I can't understand why they'd choose so).

      Who was the jerk again?

      --
      -1 Uncomfortable Truth
  18. Re:He posted patches! by masklinn · · Score: 5, Insightful

    For god's sake, RTFP, Rusin didn't complain about the fact that he couldn't merge the patches on the trunk, he is annoyed by the fact people think it is, and think Apple is all great and mighty and actually cooperates with the KHTML team, which is not true.

    --
    "The way we can tell it's C# instead of Haskell is because it's nine lines instead of two." -- wadler
  19. Re:Wow - vitriolic by gilesjuk · · Score: 2, Insightful

    It's like called courtesy?

    Someone spends years writing some code which X company uses to give their OS a severe boost in the browser department. An OS with a poor browser is a poor internet desktop, you would think Apple would be grateful for the groundwork done by the KDE team.

  20. Re:Culture conflict? by unixmaster · · Score: 3, Insightful

    Unlike Apple's own GCC team you mean who works side by side with other gcc hackers and even some of them takes care of gcc bugzilla.

    --
    Never learn by your mistakes, if you do you may never dare to try again
  21. Re:diff -uBwr KDE_KHTML/ Safari_KHTML/ by Anonymous Coward · · Score: 1, Insightful

    This story really separates the actual coders on the site from the wannabe's.

    Nothing like someone without a clue saying "just diff it" to help illustrate that most slashdotters can code "hello world" but would crumble if ever given a real program to write.

  22. This is natural by Calibax · · Score: 5, Insightful

    Apple, they say, isn't playing friendly. They don't provide a CVS history, just the modified files where nobody can understand how and when things have changed.

    First of all, anytime you fork off a large project like KHTML the source code bases will start to grow apart. When the new fork has a dedicated group of engineers updating it for their needs then it will quickly diverge to the point where it makes little sense to attempt to keep patches in lock step. In my career I can recall several times where this has happened, and it always seems to come as a surprise to the people maintaining the less active fork.

    Apple doesn't use CVS as their normal source control system. To provide CVS documentation, Apple engineers would have to maintain a CVS database as well as maintain their patches in their standard internal SCS. This used to be perforce, I believe, and probably still is as switch a SCS is generally a royal PITA.

    Because the sources have been diverging for several years, it's unrealistic to expect that the Safari patches will be directly applicable to KHTML, and I frankly doubt that even having the Safari patch documentation would help very much after several years of Apple patches. This probably isn't anything underhanded on Apple's part. It's just the way engineers work - they change the code to fit their needs, and rarely consider the impact on the old fork that they started from in the absence of an explicit mandate to stay compatible with the old fork. That level of compatibility would require the Apple folks to always have the current KHTML sources and be familiar with that source and particularly to understand the differences between the KHTML code and the Safari code.

    Apple does provide the modified files, and usually this is a huge improvement on starting from scratch in implementing a new feature or fixing bugs. It does require the KHTML engineers to be able to read and understand the Safari code. To say that nobody can do that sounds a little strange.

    It's quite likely that KHTML developers will have to write their own code to pass the acid2 test.

    Well, yes. Should Apple engineers be expected to maintain the KHTML engine also? Apple's engineers are probably focused on their code base exclusively. The KHTML engineers are the right people to modify their own code base. Does anyone expect Apple engineers to be responsible for maintaining compatibility between Safari and KHTML? Apple makes changes, and they provide the changes files to the KHTML team. The rest is up to the KHTML folks if they want to extract the Apple code they want to use and put it into their code.

  23. Re:Wow - vitriolic by John+Harrison · · Score: 3, Insightful

    It isn't because the KHTML developers want them to do more. That isn't the complaint. The complaint is that all the Slashbots read the Acid2 article and assume that those changes will quickly make it into Konq thanks to Apple's good will. That isn't the case. It is the misperception that is being complained about.

  24. Re:This sounds like something SCO would say... by mveloso · · Score: 2, Insightful

    The parent may seem like a Troll, but I've worked on Darin Adler's code before, and it's "messy."

    That said, the problem for KHTML is that they're working with Rolling Thunder. I mean come on, these dudes are cranking the stuff out. They're not going to take the time to go through Radar and pull their changelists.

    If you can't keep up, stay home.

    Doing stuff like this isn't going to win you any friends either.

  25. Re:This sounds like something SCO would say... by wed128 · · Score: 4, Insightful

    Pretty code is much easier to extend and maintain than hacked together 'the browser fucking works' code.

  26. Re:Has anyone asked Hyatt? by Otter · · Score: 4, Insightful
    I think part of the issue is patches like this, where Mac-specific code is used that can't easily be backported to KHTML.

    I understand why that can't simply be slapped into the KDE codebase but, c'mon -- is there now some obligation for everyone modifying GPL code to keep their modifications cross-platform? Apple's job is to improve and ship Safari, not to fix Konqueror.

    With all due respect to Rusin and any other KHTML devs complaining, I don't get what the problem is. They're getting diffs in manageable chunks (some of which look directly usable), they're getting bugs pointed out and solutions offered -- it looks pretty helpful to me.

  27. Re:Isn't this the Apple way? by coolGuyZak · · Score: 5, Insightful

    Bitch all you want, but Dave Hyatt's changes to WebCore stand a good chance of finding their way back into KHTML

    Do you even RTFA? Hell, do you even read the headline? It's written by one of the KHTML Developers.

    If you had RTFA, you would have noted that he's not complaning about Apple. He's complaining about you and your uninformed comments. He's asking you, in a more polite way than I will, to shut the fuck up. Because most of Apple's code is completely unusable to KHTML.

  28. Re:diff -uBwr KDE_KHTML/ Safari_KHTML/ by Anonymous Coward · · Score: 1, Insightful

    Actually, as has been proved many many times in previous threads, most Slashdoters can't write Hello World and get it right. I'm not even talking 100% C&V ISO C99 standards compliance, I'm talking basic just plain compiles. I'd be surprised if more than 40% of Slashdoters even know what "Hello World" is.

  29. Re:Stop complaining by labratuk · · Score: 4, Insightful

    Dont you think Apple has already done enough for KHTML?

    What have they done for KHTML exactly?

    At this rate, Safari will end up with a completely different engine from KHTML. How will n million installations of a distantly related browser help KHTML?

    --
    Malike Bamiyi wanted my assistance.
  30. Business Plan by mslinux · · Score: 5, Insightful

    1. Use FREE source code from BSD & Darwin.

    2. Get lots of FREE BSD & GPL Unix utilities.

    3. Use FREE browser source code from KHTML.

    4. Beg & plead with MS to continue making Office for Mac.

    5. Write the GUI in house and a few other cool apps.

    6. Bundle it up and sell it for lots and lots of money and take credit for it all.

    1. Re:Business Plan by zorander · · Score: 3, Insightful

      I wish I'd thought of it first. It's actually quite brilliant, if you think about it. They've leveraged existing technology (Darwin, CUPS, etc) to avoid writing lots and lots of drivers and doing other similarly unpleasant things while focusing most of their effort on UI interaction--what they do best.

  31. Re:Blog Entry by Cyno · · Score: 2, Insightful

    This is embarrassing for the Free Software community. You guys should be more professional. If someone doesn't want to hand over code in nice neat bite-sized packages with comments and documentation and a thank-you note, then shrug it off.

    It doesn't matter what they give back as long as they don't break the license. We may have to buy their product or know someone who did, but at least we have the right to get access to their source code. But whining that they aren't doing your job for you is stupid. We're better than this.

    khtml developers are lazy. Wheres the fun in that?

    First I would like to say _Thank You_ to all the KDE developers working on KHTML and Konqueror. Without you, well, we'd be stuck with Nautilus and Firefox. :P

    And being lazy is part of the fun. Writing code is fun. I love to do it while I'm stoned. I smoke a phat bowl and get to hacking on my objects and get this wonderful sense of accomplishment when I fix annoying bugs or add new features. I suck at writing C/C++, but Perl is so much fun for me. If I knew how to manage datastructures in C/C++ like I do with Perl I'd have just as much fun with it.

    NO STRESS!!! And deoxy.org/endwork.htm. Just relax and hang out with friends and play games and write up some colorful fun entertaining and encouraging documentation/tutorials/propoganda when you get code burn-out. Or take a break and come back with a new clear and focused perspective on getting standards compliance into KHTML or whatever your goals. There's no rush. We'll love you all the same. Just have fun.

  32. this is such a typical response... by MarcoAtWork · · Score: 2, Insightful

    users DO NOT CARE if your code is 'elegant' and 'easier to mantain', users WANT THINGS TO WORK whether or not they are 'elegant' or 'adequate'.

    I stopped using Konqueror ages ago because it just had way too many incompatibilities with sites I visited, I know the sites were non-standard, likely poorly written or written with IE in mind, but if I need them to do my work, I'll find a web browser that renders them properly.

    It's really easy for an OSS project to get caught up in 'elegance' and just keep rewriting and rewriting and rewriting things to make it 'clean' or 'modular' code-wise, while the users get fed up with the glacial features development pace and move on to OS/X or Win32 because they actually need to USE the product rather than look at the pretty code.

    --
    -- the cake is a lie
    1. Re:this is such a typical response... by FictionPimp · · Score: 2, Insightful

      Don't say renders properly. Say renders them in the way the crappy web designer intended.

    2. Re:this is such a typical response... by siliconwafer · · Score: 2, Insightful

      Of course the users don't care if the code is elegant. But after time, as your code quality goes down and is impossible to maintain, and fixing one bug causes 50 regressions, the users will care... because your application will be a steaming pile of crap. While I am not disagreeing with you, I'm just pointing out that code standards, code documentation, and modular code are all good things.

    3. Re:this is such a typical response... by Spy+Hunter · · Score: 2, Insightful
      In an open-source project, things are different. Since you can't force people to hack on the code, the elegance of the code has a direct impact on how many people are willing to work on it, which in turn has a direct impact on future quality. You can't say "damn the elegance, just make it work" because a year from now nobody will be working on the bloated mess KHTML has become anymore. Code quality eventually benefits the users too. (actually closed-source projects benefit from code quality as well, due to increased developer productivity, but they don't lose developers like open source can)

      Also, I'd like to point out that the reason Apple chose KHTML in the first place was its elegant, simple code. Perhaps for Safari 2 they might go back to the source and re-port the new KHTML, if their codebase becomes too intractable.

      --
      main(c,r){for(r=32;r;) printf(++c>31?c=!r--,"\n":c<r?" ":~c&r?" `":" #");}
  33. Re:Has anyone asked Hyatt? by Lars+T. · · Score: 2, Insightful

    From a cursory look, that simply turns off anti-aliasing for the following display drawings. If the Konqueror guys need help were to turn off anti-aliasing, maybe they should read the KDokumentation.

    --

    Lars T.

    To the guy who modded me down from perfect to terrible Karma - Apple haters still suck

  34. Re:KTiger by Plac3bo · · Score: 2, Insightful

    The reference here has tremendous potential, but you really dropped the ball on the "funny" part.

  35. Re:He posted patches! by gnuman99 · · Score: 3, Insightful

    If Apple does not publish revision histories (patches & description of each patch), then their code will not become part of KDE. Who loses? Well, Apple, KDE *and* users because all everyone ends up doing is redoing the same work over and over again. It kind of defeats one of the purposes of open source.

  36. Satan's Browser by brundlefly · · Score: 1, Insightful

    Safari is Satan's browser, as far as I'm concerned. It's hell to develop DHTML for once you get past intermediate DHTML and into more advanced stuff.

    I see nothing good about this browser:

    • It is bound to OS version (like MSIE on Windows) so if you want to do comprehensive QA testing on all versions you need a dedicated box running now-obsolete OS's just to test.
    • Its "performance" optimization have resulted in some DHTML oddities surrounding when and how things get loaded on the page which differ greatly from MSIE, Mozilla, ECMA and W3C.
    • It has the most god-awful script error messaging system I've seen since Netscape 2. Not joking about this, it's literally as bad as Netscape 2 in this area, just ten years newer.
    • And for fuck's sake, why does the world need yet another browser? Why not just re-skin Mozilla and be done with it?
    At work I refer to this piece of shit as "Satan's Browser" and everybody knows what I'm talking about. Go ahead and flame me if you want, but if you defend this thing, you're either bought and paid for by the Apple propaganda machine or you're not a client-side developer and don't know the pain I'm talking about.
  37. So are they ever going to do a resynch? by SuperKendall · · Score: 2, Insightful

    At some point it seems like they have to do a re-synch to get more in line with what you are doing, or they're not going to be able to patch in changes you make either - is that in the works at some point?

    --
    "There is more worth loving than we have strength to love." - Brian Jay Stanley
  38. RTFA by ElMiguel · · Score: 4, Insightful

    Or even read just the Slashdot summary. You will find this quote:

    'All I'm asking for is that all the clueless people stop talking about the cooperation between Safari/Konqueror developers and how great it is. There's absolutely nothing great about it. In fact "it" doesn't exist.'

    This KDE developer is frustrated because people misunderstand the contribution (or absence thereof) Apple is making to KHTML; he's not flaming Apple or suggesting Apple's duty is to be more helpful to the KHTML people.

  39. Re:Has anyone asked Hyatt? by Anonymous Coward · · Score: 1, Insightful

    The "Mac only" patch is in KWQPainter.mm, which is the implementation of the Qt drawing abstraction layer. The patch is properly contained in Safari's version of Qt. There is nothing wrong with this patch (the Konqueror guys probably don't even suffer from the bug).

  40. Re:Wow, pick on apple today by Qwavel · · Score: 2, Insightful


    You've got it backwards.

    We should pick on any company (or person) who merits it.

    We shouldn't give Apple a free ride because they aren't MS and have the most popular brand in the world (according to some article I saw here on /.).

    MS, Apple, Red Hat, IBM, etc. they should all be judged on their merits.
    Not to mention Linux, Gates, Elison, etc.

  41. Re:the drawbacks of open source by morzel · · Score: 2, Insightful
    They just are sharing diffs or telling you what the changes are. So what. Do they really have to?
    Since khtml is LGPL, they are obliged to release the source; even though technically they only have to release it on request to anybody who also has the binary.

    The cooperation is one way, Apple takes khtml and modifies it and makes it better
    Actually: Apple started out with getting a lot of code from the KDE team, so I wouldn't call it "one way". I can imagine that they are still integrating bugfixes/features that the KDE team is doing on khtml.
    its up to the khtml team to figure out what they did. That's what diff was for I though.
    Technically, that's possible. But due to the sheer size of the code and the fact that Apple isn't providing any supplementary information it is very difficult to integrate any changes without a lot o manual work. Apple's changes also include (understandeably) a lot of non-portable code, which just makes it harder.

    The gripe of the khtml guys is pretty simple: Apple is providing the required minimum, which makes it hard for the khtml team to integrate any changes. If Apple would cooperate just a little bit more, both parties would gain in the end.

    On top of this, a lot of end users seem to think that Apple is to be credited for a lot of development in khtml while in reality there's a lot of work done by the khtml team. A lot of OSS developers are doing what they do (partly) because of the recognition. Currently they're not getting that much...

    --
    Okay... I'll do the stupid things first, then you shy people follow.
    [Zappa]
  42. Re:He posted patches! by arose · · Score: 2, Insightful
    Speaking about David Hyatt, why does he have a Wikipedia entry?
    Because someone wrote one.
    --
    Analogies don't equal equalities, they are merely somewhat analogous.
  43. Bull. by CarpetShark · · Score: 2, Insightful
    Last I know apple is in the market to make money. KDE guys are not.

    Sorry, gotta call BS on that.

    For one thing, KHTML is saving them money, since it gave Apple a great basis for a browser by which they could (at least partially) unhitch themselves from their direct competitor, who otherwise had them by the nuts on browsing.

    Secondly, many computer science projects rely on academia for fundamental algorithms etc., and that generally works just fine.

    In IT, just as in science, cooperation works, and competition harms not only the wider IT culture, but the individuals who try to go proprietary. And no, MS didn't get where they by going proprietary, they did that by monopolistic practices which have been ruled illegal in courts of law.

  44. we do understand that by cahiha · · Score: 3, Insightful
    When are people gonna understand that companies like Apple are not in the market coz they like it ???

    Well, confusion on this point is probably the result of Apple using open source as a marketing gimmick:
    As the first major computer company to make Open Source development a key part of its ongoing software strategy, Apple remains committed to the Open Source development model.


    While it is doubtlessly good for Apple customers that Apple uses standard and high-quality open source components, they seem to have forgotten about the "contributing useful stuff back to the community" part that goes along with it. Oh, they put out a lot of code, but it's usually not useful: their gcc hacks haven't been useful, their KHTML hacks haven't been, Darwin isn't used much or very useful, etc.

    So, we people understand that Apple is a business and doesn't want to help other companies. Now, if only they could be more honest about it in their marketing materials.
  45. Re:He posted patches! by ajs · · Score: 2, Insightful

    So the concern here is that reproducing their work takes time and effort that is only aided in part by their source code?

    Isn't that a heck of a head-start?

  46. Re:Has anyone asked Hyatt? by Anonymous Coward · · Score: 0, Insightful

    No, but when Apple takes an open source code base and forks it to make new features OS X specific it makes them no better than Microsoft. Apple is specifically making it difficult for KDE users to gain from the benefits of this code. Yes, its ok to do this by the letter of the license, but you cannot deny that what Apple is doing harms the very people who gave them a helping hand in the first place.

  47. Re:He posted patches! by arose · · Score: 3, Insightful

    Wikipedia nothing more than a place for people to congregate and write about whatever they find is worth writing about. You don't think that he does not deserve an Wikipedia article, that's fine don't look it up, but if the article is factualy correct you have nothing to complain about (fix it if it isn't :-). If I wanted to know who Dave Hyatt is (if I read about him somewhere like /. first) and whoever wrote the article propably felt the same and ensured that I find what I am looking for. Anyway, do you have any evidence about the article beeing from Dave Hyatt himself or are you just full of yourself.

    --
    Analogies don't equal equalities, they are merely somewhat analogous.
  48. So get to work then smart guy. by Some+Random+Username · · Score: 2, Insightful

    Since its so easy to merge patches from safari into khtml, why don't you stfu and do it? Clearly you are so much smarter than the konq developers since you find this such a trivial task, so go ahead and do it. Prove how smart you are. Its open source, you are welcome to help. Or are you really only capable of critisizing others anonymously when you don't even understand what you are talking about?

  49. Re:Isn't this the Apple way? by CarrionBird · · Score: 1, Insightful
    Well the (as usual) badly written headline clearly is complaining about apple. With the not "playing nice" comment and all.

    Perhaps we should just omit the writeups and just post the TFA links. The /. main page is (-1 Troll) more often than not these days.

    --
    Free Mac Mini Yeah, it's
  50. impossible reasoning by abandonment · · Score: 3, Insightful

    as a developer that has worked with open source projects and developers (from the contributing and organizing sides both), this kind of 'requirement' would be absolutely impossible to enforce.

    as an open source developer, you either take what you can get (ie spend the time integrating the changes into the primary build) or you don't.

    having patches that are 'compatible with the rcs system used by the original developers' is absolutely ridiculous. this is what diff is for.

    trying to enforce things like specific commenting types and 'descriptions of the code' is just ludicrous - you should be happy people provide you with code, period - if it's too difficult to integrate, perhaps the original developers need a better revision control system that has a diff that works?

    i can't count the number of days that i have spent integrating code from random developers around the world into our own open source project - could i have developed said features from scratch?
    possibly, depending on what is being submitted.

    could i have better spent the time doing new development for the project? potentially...

    this kind of 'take what you can get' system is the foundation of open-source. you either take the contributions, or you don't.

    whining about it because you have a big company that happens to have adopted your program is ridiculous.

    there are hundreds of thousands of open source projects out there that would kill for a company like apple to donate code to them.

    open source simply requires that they post their changes, not that they provide you with a 1-step integration of their forked code into your who-knows-what-has-changed 'primary' branch.

    trying to force people to specifically donate their changes to the specific developer that happened to have posted the original code completely breaks the open-source model as well.

    our current generation open-source game engine has gone through multiple lead developers - several of which just 'disappeared' off the face of the earth. being open source, other developers picked up the ball and continued the development of the engine.

    in our case, the underlying graphics engine is owned by a company that has zero interest in supporting the open-source community (they bought the technology after it was open sourced) so this kind of forced submission process just will not work in the real world.

    not only will it not work, but if the 'official' development team decides not to implement the code changes, who knows - perhaps there is another team out there that WILL integrate the changes...

    this is the world of open-source. not every project has a linus at the top with the override of every step of the process.

  51. Talking crap. by g_lightyear · · Score: 5, Insightful

    Let's be frank, folks.

    - A bunch of developers finds a bunch of bugs and fix it in their source base.
    - They hand you their source base, along with loads of information on where the bugs are, and patches that you can't integrate into CVS HEAD.

    And the KHTML team is sitting around bitching about the fact that KHTML != WebCore anymore, and how none of the patches can be run against HEAD...

    Ok, I was *at* Netscape at the time. I have no doubt that he and his team continue to bust their asses to ship good code, and they're passionate about doing so.

    That is not to say that they:
    1) Should feel restricted to KHTML's API. That's not in Apple's best interest, and they're not doing this *for the KDE team or organisation*. It's also not fun - they don't run Linux desktops, or KDE, and don't feel like re-entering Netscape's cross-platform hell.

    2) Is KHTML nice and segregated? The whole reason WebCore happened was that KHTML was littered with KDE calls. Now the KHTML team is complaining that the WebCore code is littered with Mac API? Imagine my shock. Really.

    3) A bunch of people just gave you a ton of information, bug reports, and example code you can *LIFT OUT AND REWRITE*.

    Lazy? You're damn right you are. Disillusioned? Yeah, I'll bet. Apple didn't add developers to the KDE project - they added them to Safari. Any idiot can tell *from the starting point* that the only way the browser would happen was to do in WebCore what the KDE team did in KHTML; utterly fail to abstract platform-specifics from the rendering engine.

    Personally? I could wish that some big commercial development house would take an open source product I was on, commercialise the development, submit its source code quarterly for me to scavenge for ideas and code where possible, and for it to remain legal to do so.

    Is it "ideal"? What's "ideal"? A bunch of other people bend over backwards to make your codebase a nicer place to live in, so they can throw away their deadlines, fix the fact that you didn't separate out the platform dependency in the first place, and burn money on things in the codebase that don't have *any* outward impact except to make it easier for someone else to suck up the code into their tree?

    I'll bet you're frustrated. All those damn clouds keep getting in the way of your panoramic view.

    It may not be perfect - but it's more than just a little better than nothing; it's actually a hell of a lot of time and effort spent to give back to the community. Even if, in this specific instance, what's given back isn't instantly reusable by that community.

    Meanwhile, you can go back to KDE. Not a bad product, but strangely enough, it's hard to run KDE applications without running KDE. It's hard to develop a KDE application that would/could. If anyone has experience with writing applications in an environment that has to cross APIs with fundamental differences in how they perform simple actions, it's the person you're accusing of... of what? Of not being "helpful enough"? Of not being a KHTML team member? Of not being an Apple employee paid to work on a KDE-specific project?

    I'm having a really hard time imagining what the fuck is going on in your head, and I'm just not sure it's worth bothering; I suggest you start a rock band and burn off some of that angst on teenagers who are more likely to think that every word that comes out of your mouth is gospel, rather than the drivel it sounds like to those of us of older generations.

    --
    -- A mind is a terrible thing.