Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Why browsers are bloated

Name: Anonymous 2014-07-27 0:20

https://github.com/WebKit/webkit/blob/master/Source/WebCore/platform/Scrollbar.cpp
https://github.com/WebKit/webkit/blob/master/Source/WebCore/platform/win/ScrollbarThemeWin.cpp
Let's reinvent the fucking scrollbar, which every goddamn platform with a UI already has, and make it behave subtly different from the native one!

Right-click a native scrollbar in some other app:
- Scroll Here
- Top
- Bottom
- Page Up
- Page Down
- Scroll Up
- Scroll Down

Right-click a scrollbar in Chrome:
- Back
- Forward
- Reload
- Save As...
...

Right-click a scrollbar in Firefox and Opera:
Absolutely fucking nothing happens!

What the fuck!? How did these terminally retarded idiots get involved in creating one of the most important pieces of software to the average user?

Name: Anonymous 2014-12-12 20:24

>>440
"Her" is an inflection, it's merely the genitive and accusative form of "she". "She" is nominative, "her" is genitive. Cf. German "Sie"-"Seine", "Er" - "Sein".

Name: Anonymous 2014-12-12 20:31

OK, my German is pretty rusty. But that's beside the point. Look here:

http://en.wikipedia.org/wiki/French_pronouns
http://en.wikipedia.org/wiki/French_personal_pronouns
http://en.wikipedia.org/wiki/German_pronouns

In both languages the forms for case as well as for possession are still considered pronouns, or the inflected versions of them. English is shares a lot of its ancestry with French and German; it's lost most of inflection in nouns and adjectives, but kept inflection in pronouns. It's only logical to consider words "her", "him" and "his" inflections of pronouns in consistency with their purpose and role in cognate languages.

Name: Anonymous 2014-12-12 20:35

>>441
No, "her" is not genitive. "Hers" is the proper genitive. C.f. Latin's "tuus" and "tui" (nominative adjective, genitive of "tu" respectively.)

And yes, "her" is the objective form of "she", but that's a coincidence. Other possessive adjectives don't share the same form as their objective forms (like mine and me, ours and us)

Anyway, I'm not saying you're entirely wrong, just that this is debatable. A lot of linguists disagree with each other.

Name: TRIPPER 2014-12-12 22:31

444 GET

Name: Anonymous 2014-12-12 22:43

>>443
GENITALS! GENITALS! GENITALS! GENITALS!

Name: Anonymous 2014-12-12 22:46

>>442
ancestry
I'll flabbergast you, cunt!

Name: Anonymous 2014-12-12 22:47

>>444
444 Tripper

>>447
447 Skipper

come at me sis

Name: Skipper 2014-12-12 22:49

I'm landing dubs every day of the week. See if you can claim that, tripper. 4 dubs in a row!

Name: Skipper 2014-12-12 22:50

5 of dubs, GET

Name: Skipper 2014-12-12 22:52

>>444
5 dubs in a row

CHECK 'EM, BIATCH

Name: Anonymous 2014-12-13 6:17

>>442
French has a distinction between possessive adjectives and possessive pronouns just like English does, for instance, "mon, ma, mes" are adjectives, but "le mien" is a pronoun. This is the case with English. "My" is not a pronoun, it is an adjective. "Mine", however, is a pronoun.

For instance, "c'est mon frere" (this is my brother - adjective) but also "ce frere est le mien" (this brother is mine - pronoun.)

This whole argument could have been avoided if you simply checked wikipedia.

http://en.wikipedia.org/wiki/Possessive_determiner

Examples in English include possessive forms of the personal pronouns, namely my, your, his, her, its, our and their, but excluding the forms such as mine and ours that are used as possessive pronouns and not as determiners.

So yes, these examples are inflected forms of personal pronouns, but they do not act as pronouns, they act as determiners - thus they are adjectives. The true possessive pronouns are words like mine, hers, yours, etc.

Name: Anonymous 2014-12-13 9:03

>>451
Your post would be correct if you substituted "adjective" with "proadjective". "My" is not a full adjective because it's anaphoric. It's a proadjective.

Name: Anonymous 2014-12-13 9:20

>>452
Please elaborate on how it's anaphoric. I'm not saying you're wrong, I just don't see how it is.

And if it is anaphoric, why would that make it no longer be a determiner? (Determiner and adjective are commonly thrown around interchangeably, but let's stop that right now, since determiner is more specific.)

Name: Anonymous 2014-12-13 9:34

>>453
How is it not anaphoric? Please see Wikipedia which you so cherish:

http://en.wikipedia.org/wiki/Anaphora_%28linguistics%29

In linguistics, anaphora /əˈnæfərə/ is the use of an expression the interpretation of which depends upon another expression in context (its antecedent or postcedent). In the sentence Sally arrived, but nobody saw her, the pronoun her is anaphoric, referring back to Sally.

When you say "my house burned down", the house that "my" refers to is determined entirely by the context, i.e. by the person speaking, i.e. by you. Is someone else said "my house burned down", then it would be a different house (unless he used to share a house with you).

On the contrary, if you said "a green house burned down", then the meaning would be independent of context: the house would be just as green if someone else said the same thing (barring the rare possibility of color perception diseases).

Thus, the word "my" is anaphoric, and not an adjective any more than "I" is a noun. If pronouns are words that anaphorically stand for nouns, then the words that do the same for adjectives are simplest called proadjectives. No need to invent superfluous entities like "determiners" or inconsistent rules like "I is not a proper noun but its inflections are proper adjectives".

Name: Anonymous 2014-12-13 10:20

>>454
There is no need for the hostility in your opening line. I asked you a question politely. Yes, I know what anaphora is. My way of thinking was that something like "my house is brown" couldn't refer back to something that was previously mentioned if it was never mentioned to begin with. That is why I doubted it was anaphoric. I had not thought of your perspective, which is why I asked for it. Having considered it, I think you make a solid case for anaphora.

Furthermore, I didn't invent the term "determiner". Any foreign language student/linguist must learn their determiners: articles, numerals, demonstratives, quantifiers, etc. Many people consider possessive "adjectives" (or "proadjectives") to be determiners as well. I hope you realize that the term "proadjective" is used a lot less than "determiner" is.

Name: Anonymous 2014-12-13 12:14

>>455
Proadjectives are a subset of determiners, obviously.

Name: Anonymous 2014-12-13 13:14

>>455
That is why I doubted it was anaphoric. I had not thought of your perspective, which is why I asked for it.

Nice dubs bro xD

Name: Anonymous 2014-12-13 14:08

What about the GUI, Cudder?
I hope you call the windowing system directly. Or at least use OpenGL ES. All so called "toolkits" are bloated and disgusting.

Name: Anonymous 2014-12-13 14:11

>>456
No they're not. Proadjectives replace adjectives and govern the verb as a subject or object. They do not modify nouns.

Consider the following examples:

I am stoned. Much more so than I wanted to be.
My cat is white, but my dog is more so.

We can tell they're not determiners because determiners are allowed to take other adjectives, but proadjectives cannot, since they take the place of an adjective to begin with. (I can't even come up with an example of this - it's too ridiculous and nonsensical.)

"My" cannot stand on its own, nor can it replace adjectives. In all contexts, "my" replaces nouns, and it must be behind a noun when governing a verb... otherwise the pronoun "mine" is used.

Name: Anonymous 2014-12-13 14:13

>>458
Use the framebuffer of get the fuck out!

Name: Anonymous 2014-12-13 14:17

SVGALib is the way to go.

Name: Anonymous 2014-12-13 14:18

Just access I/O ports and PCI/VGA memory directly.
No bloat.

Name: Anonymous 2014-12-13 17:32

>>462
That's a good idea but I don't want to be forced to run my browser in kernelspace.

Name: Anonymous 2014-12-13 17:45

What is needed to draw a pixel through the web
1.) Parse some URI.
2.) Connect to the webserver.
3.) Send a state-less request adding pixel state through cookies.
4.) Retrieve the HTML.
5.) Parse the HTML.
6.) Do the same steps for all the dependencies.
7.) Parse CSS/Javascript/whatever.
8.) Run the required dependencies in your runtime and interact via the
big DOM model.
9.) Somewhen draw something for the user. Do premature optimisation by
outputting half-drawn layouts because dependencies haven’t been
downloaded yet.
10.) ...
11.) Be the main cause of global warming. (Not really.)

Name: Anonymous 2014-12-13 17:45

>>459
But proadjectives can take other adjectives:

her green pubic hair

"My" can replace adjectives:

What sort of fucking monster dog is this?
This is my dog, this is my boy

Proadjectives are considered determiners, source:

http://learnenglish.britishcouncil.org/en/english-grammar/determiners-and-quantifiers

The specific determiners are:
the definite article: the
possessives: my, your, his, her, its; our, their, whose

Name: Anonymous 2014-12-13 18:05

What about libhtml? Why not convert it?
https://code.google.com/p/plan9front/source/browse/sys/src#src%2Flibhtml

And Mothra or Abaco? Aren't they good enough?
Mothra was written by Tom Duff

Name: Anonymous 2014-12-13 18:08

Name: Anonymous 2014-12-13 23:01

>>465
You still think "my" and other possessives are proadjectives, when they are not, and your argument fails since it is based on this ground. Good job proving to me that "my" is a determiner: now prove that it's a proadjective.

A proadjective is "so" or "too" in the following sentences:

The dog is stoned and so is the cat. (Antecedent: stoned)
My cat is high and my dog is too. (Antecedent: high)
My penguin is blazed; but less so than me. (Antecedent: blazed)

Proadjectives substitute adjectives, and they function like substantive adjectives: they govern a verb as a subject or predicate. Determiners do not substitute adjectives. In the instances where a determiner is allowed to stand on its own (this, that, those) it substitutes a noun. Not all determiners can stand on their own, but all determiners must be able to modify a noun or adjective. "My" can only modify a noun, it can never substitute and refer backwards to an adjective, and it certainly can't stand on its own (which is what all pro-forms can do.)

So yes, you provided reasonable examples, except they are all examples of determiners and you thus proved my point.

Name: Anonymous 2014-12-14 0:02

haha you faggots are so stupid
fucking undergrads
my professor say's so!

Name: Anonymous 2014-12-14 0:10

>>469
Nice 69-GET, bro. I'd like to smoke weed with you, bro.

Name: Anonymous 2014-12-14 0:35

>>469
Your a dum fucken NIGGER!

Name: Anonymous 2014-12-14 1:20

420 BLAZE IT!

Name: Anonymous 2014-12-14 4:59

▄░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░▄
░░___________________0__________________░░
░░__________________00__________________░░
░░_________________0000_________________░░
░░_____0__________000000___________0____░░
░░_____00_________000000___________0____░░
░░______0000______000000__________00____░░
░░______000000____0000000_____00000_____░░
░░___0_____0000000_000000_00000000___0__░░
░░__00______000000_00000_0000000____00__░░
░░__0000_____000000_000_000000____0000__░░
░░___000000000__0000_0_000_0_000000000__░░
░░______000000000__0_0_0_00000000000____░░
░░__________000000000000000000000_______░░
░░________________000_0_0000____________░░
░░______________00000_0__00000__________░░
░░____________00_______0_______00_______░░
░░_____________________0________________░░
░░░░░░░░░░░░░░░░.░░░░░░░░░░░░░░░░░
░░░░░░░░░.▄██░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░.▄███░░▄███▄░░░▄▄▄▄░░░░░░░
░░░░░░░.██▀██░░██▀██░░██▀▀██░░░░░░
░░░░░.▄██▄▄██▄░░▄██▀░░██░░██░░░░░░
░░░░░░░░░░.██░░███▄▄░░██▄▄██░░░░░░
░░░░░░░░░.▄██▄░░░░░░░░░▀▀▀▀░░░░░░░
░░░░░░░░░░░░░░░░.░░░░░░░░░░░░░░░░░

Name: Anonymous 2014-12-14 5:04

────────────────▒▒────────────
───────────────░░▒─░▒▒────────
──────────────░▒───░░░░───────
──────────────░▒──────░▒──────
──────────────░░░▒▒──░░▒──────
────────────────░░░──░░░░░▒▒──
──────────────────░────────░░─
──────────────────░░░░░░░░▒─░░
──────────────────────────░▒─░
──────────────────────────░░─░
█████████████████████████▒─▒─▒
█████████████████████████▒─▒─▒

Name: Anonymous 2014-12-14 11:45

.....................,-'´ . . . _,,,,,';:-,...................
....................,-(c\ \`;-=´,_,-~-, \`...............
..................,/ . . .¯'\, º ,/.'-~°,' .¯`'-,...........
................../ . . . . . .¯,_ ~--~',, . . .'\..........
.................| . . . . . . . . ¯¨¨¨(̅_̅_̅_̅((_̅_̲̅¬¬¬¬¬¬¬м̲̅¬¬¬a̲¬̅я̲̅i̲̅j̲̅u̲̅a̲̅n¬̲¬¬̅¬a¬̲¬̅¬̅¬_̅_¬̅¬_¬̅() ڪے
.................| . . . . . . . , . . . .`'-, . . . |..........
................/\ . . . . . . ."-,,,-'~-~' . . . '|..........
.............,/'`\,`'-, . . . . . . . . . . . . . . /\..........
░█▀▄░█░█░█▀█░░█▀▀░▀█▀░█▀▀░█▀█░
░█░█░█░█░█▀▀█░▀▀█░░█░░█▀▀░█▀▀░
░▀▀░░▀▀▀░▀▀▀▀░▀▀▀░░▀░░▀▀▀░▀░░░

Name: Cudder !MhMRSATORI 2014-12-14 12:41

>>429
Give me some time to clean it up first...

>>458
Yes, native Win32.

>>466
https://code.google.com/p/plan9front/source/browse/sys/src/libhtml/lex.c#594
- Nearly 1.5K lines of C (my tokeniser is <1K lines of x86 Asm)
- Allocates (and presumably frees somewhere else...) every single token - how in $deity's name can anyone think this is necessary?
- Tons of reallocs (not even exponentially growing the buffer, only linear, so quadratic time overall!) I showed how bad this could be in >>131,133
- Doesn't look compliant with HTML5

Then I look at
https://code.google.com/p/plan9front/source/browse/sys/src/libhtml/build.c
and the first thing I see is a fixed-size array for an element stack, one thing that certainly deserves to be dynamically allocated/resizeable?

This one may be "simpler" than something like Gecko or WebKit, but seeing these elementary mistakes in presumably more "efficient" and "less bloated" software (these Plan9 guys should know more than me...?) is still a big... FAIL!

Name: Anonymous 2014-12-14 15:27

>>476
Yes, native Win32.
What about Linux? And BSD?
No support for us?

Name: Anonymous 2014-12-14 15:29

>>476

What about http://plan9.stanleylieber.com/src/html.tgz ?
It is smaller and written by someone else.

Name: Anonymous 2014-12-14 15:31

>>476
Do you know FASM? I think you'd like it more than x86 Asm

Name: Anonymous 2014-12-14 20:03

>>476
some people value portability more than ur premature optimisation shiet

Newer Posts