My cousin met Cudder at a party in London last year. They ended up fucking. He said it was totally sub-par. She got shit all over his dick, and violently queefed at the end.
I have come to take your lucky dubs. Give them up at once.
Name:
Anonymous2016-05-01 13:31
the problem is random snippets of Python sometimes don't work because where they were pasted didn't preserve the whitespace correctly – MkV Oct 31 '10 at 15:38
Name:
Forwarding email I received2016-05-01 14:58
The main issue is java/ecma script on the "www DOM" (Document Object Model): Between noscript www browser code requirements and script-able www browser code requirements, there is an abyss in size and complexity.
Additionnaly, the "modern" www tends to force the user to have a script-able www browser, even though many www sites could provide their services with a noscript www browser through a cleverly crafted main www portal or a dedicated noscript www portal on the side of the main (with all bells and whistles) www portal. ---------------------------------------------------------------------------- ^ | That's where the real fight is
For instance, youtube could provide a noscript www portal with <video> and/or <audio> html elements. EZ and reasonable to implement even for inexperienced coders around the globe. But no. You _must_ have a script-able www browser to enjoy youtube (the terms of use even forbid users to employ anything else in order to watch/listen to a video/audio stream). I have to admit, html needs a little extension to <video>/<audio> in order to support split video/audio streams. Basically, we would need a simple html-ed "DASH" manifest. But vp[98]/opus high/med/low qualities video/audio combined streams should be enough in most cases. (remainging cases would be handled with the standard "download then view" way).
Another example: online banking. http, xhtml1.1 and css2.1 with basic forms are hell enough to provide banking services to www users. But no. You _must_ have a script-able www browser. And lately, it does apply to "verified by visa" and online payments...
Sometimes, it does not work. For instance, soundcloud. Soundcloud needs a rich GUI to provide its services. But they could provide a simple http API to let people have their own GUI components. Many www sites have their www APIs, but need a redirection on a script-able www browser on the side for authentication... Ooops!
----
You have only 2.5 modern open source engines which "can run the www": - webkit (massive and c++ is brain damaged) - blink (webkit google's fork, see above) - gecko (firefox, massive and c++ is brain damaged)
BTW, I wonder if there is a http/mime way for a www browser to tell a http server: "noscript please".
----
There is a team working on a C implemented www browser: netsurf. I got a little chat with one of its devs: "www DOM dynamicity through script is insane".
Name:
Cudder !cXCudderUE2016-05-01 15:36
CSS matching: the best way to do this might be a two-dimensional regex-like state machine, which simplifies to an array and a queue of bits. One dimension for matching descendant and child combinators, and then another dimension for general sibling and previous-sibling. As far as I know, this is not something any other browser engine has discovered, although there's some mention of it elsewhere:
If there's 32 (64 for the 64-bit version) or fewer width/height combinators, which is very likely, we can store the state array entirely in a register and get even more efficient... but even the basic implementation should beat the backtracking (:facepalm:) that contemporary implementations do.
>>16 I find it really disappointing that something like NetSurf, which is both unusable and insecure, but also relatively well-written and infinitely far from "bloated," could get this kind of nitpicking, dismissive review.
Nearly 3k lines of disgustingly verbose, redundant C. Look at the functions handle_doctype_system_id_double_quoted_state and handle_doctype_system_id_single_quoted_state, or handle_attr_value_double_quoted_state and handle_attr_value_single_quoted_state for good examples of this utter idiocy. I refuse to believe that a programmer with a functioning brain could generate such filth. Did the thought "this state looks almost exactly like that state exact for this one thing, I should probably merge them" ever cross that retard's mind? Probably not, because there was no mind for the thought to cross!
The most valuable part of that file is contained within these 4 lines: // Initial size chosen by statistical analysis of a corpus of 60k webpages. // 99.5% of elements have 0 attributes, 93% of the remainder have 1. These // numbers are a bit higher for more modern websites (eg. ~45% = 0, ~40% = 1 // for the HTML5 Spec), but still have basically 99% of nodes with <= 2 attrs.
>>23 You are disliking that code for all the wrong reasons. You're butthurt that it's not C-ish enough. I don't even know where to begin with how fucked up your mentality is.
Instead of writing a browser in C which has already been done perhaps thousands of times, why not write it in something more advanced like Scheme, CL, clojure, or even elisp? You would be able to get done faster as well, since most of the parsing can be macros.
Name:
Anonymous2016-06-13 12:40
>>27 Cudder is making an efficient asm browser. You want an inefficient lisp one? Then do it yourself, bitch.