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-14 22:18

>>476
Let me clean up my anus first...

>>477
Aww, look at the cute groski with big sad puppy eyes.

Name: Cudder !MhMRSATORI 2014-12-15 14:48

>>477
There's too much fragmentation and bloaty stuff in the *nix world for UIs, you can just use WINE instead.

>>478
I can't see anything wrong with it from a quick glance, but that's not to say it's bad or good --- just that I don't really have the time at the moment to understand it. However, from how it closes tags, it's probably not HTML5-compliant.

>>479
Do you know British English? I think you'd like it more than English.

>>480
Idiotic use of memory has nothing to do with "portability".

Name: Anonymous 2014-12-15 14:54

>>482
Do you know British English? I think you'd like it more than English.
British English is the only true English. American English is like a heresy.
English by definition is the same as British English.

Name: Anonymous 2014-12-15 15:17

Check my palindrome GET.

Name: Anonymous 2014-12-15 15:19

This anti-american shit is a 4chan meme by the way.
britniggers think s is z what fucking retards and then z being ``zed'' da fuck

Name: Anonymous 2014-12-15 15:27

Yeah, fuck ``zed''

If you're going to insist on using a bastardized name of a Greek letter, why not call a ``Alph'' and b ``bed''?

At least ``zee'' is analogous to other letters like ``bee'' and ``dee''

Name: Anonymous 2014-12-15 15:47

a bee cee dee e f gee h i j k l m n o p q r s tee u vee w x y zee

Name: Anonymous 2014-12-15 15:54

>>487
Very interesting post, guy!

Name: Anonymous 2014-12-15 16:07

>>482
There's too much fragmentation and bloaty stuff in the *nix world for UIs, you can just use WINE instead.

Just use OpenGL ES. Everything supports it and it isn't that bloated, I believe. Will the non-UI stuff be cross-platform at least, so we can build a GUI for Linux based on it?

Name: Anonymous 2014-12-15 16:08

alf bed cam dild eebit diggem jam head yod jot cap lamb moo gnu onker pea cup row seam tow ulf wolf wub oobit zed

Name: Anonymous 2014-12-15 16:19

>>488
'll be honest, i'm addicted to anal sex with girls and all kind of anal games especially to huge massive gaped assholes hmmmmm!! I also like fucking girls (or womens) ass with huge toys, ass to mouth, double ass-fucking, ass-fisting, prolapse..... . And i'm not ashame for admit it because i love it to much! I also like to fuck with whores especially when they love it in the ass.
So girls and womens... if you wanna know more about me or my anal-interests, don't be shy just ask for it i will answer you with pleasure!!

And i also have ya_hoo for some horny naughty (anal)chat

Name: Anonymous 2014-12-15 16:32

Name: Anonymous 2014-12-15 17:47

Y'all niggas need ta shut the fuck up!

Name: Anonymous 2014-12-16 22:25

Hey Cudder, I'm on Linux and I really wanted to use your browser, will you really not develop a GUI for it? You can call X11 directly, if that's such a concern. Or use OpenGL as one person said.
Pretty please.

Name: Anonymous 2014-12-16 22:56

Palindrome GET

Name: Anonymous 2014-12-17 0:32

I stole the following code and it tells me >>495 is a LIAR. He didn't get a palindrome as he claims!

module Main

import Decidable.Equality

%default total

data U : List a -> Type where
nil : U (List.Nil {a})
one : (x : a) -> U [x]
two : (x : a) -> (u : U xs) -> (y : a)
-> U (x :: xs ++ [y])

index : (n : Nat) -> Vect k a -> Vect k a -> List a
index Z xs ys = []
index (S Z) (x :: xs) (y :: ys) = [x]
index (S (S n)) (x :: xs) (y :: ys) = x :: index n xs ys ++ [y]
index (S n) [] [] = []

build : (n : Nat) -> (xs : Vect k a) -> (ys : Vect k a) -> U (index n xs ys)
build Z xs ys = nil
build (S Z) (x :: xs) (y :: ys) = one x
build (S (S n)) (x :: xs) (y :: ys) = two x (build n xs ys) y
build (S n) [] [] = nil

postulate eq : (xs : List a) -> index (length xs) (fromList xs) (reverse $ fromList xs) = xs

toU : (xs : List a) -> U xs
toU xs = replace (eq xs) $ build (length xs) (fromList xs) (reverse $ fromList xs)

data Palindrome : List a -> Type where
p0 : Palindrome (List.Nil {a})
p1 : (x : a) -> Palindrome [x]
p2 : (x : a) -> (u : Palindrome xs) -> Palindrome (x :: xs ++ [x])

isPalinU : DecEq a => {xs : List a} -> U xs -> Maybe (Palindrome xs)
isPalinU nil = Just $ p0
isPalinU (one x) = Just $ p1 x
isPalinU (two x u y) with (decEq x y)
isPalinU (two x u x) | Yes Refl = p2 x `map` isPalinU u
isPalinU (two x u y) | No neq = Nothing

isPalindrome : DecEq a => (xs : List a) -> Maybe (Palindrome xs)
isPalindrome xs = isPalinU $ toU xs

partial
main : IO ()
main = do
input <- unpack . trim `map` getLine
putStrLn $ case isPalindrome input of
Just p => "yes"
Nothing => "no"

Name: Anonymous 2014-12-17 0:48

SGML >>>>>>>>>>>>>JewSON>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> S-EXPS

Name: Cudder !MhMRSATORI 2014-12-17 14:49

>>489
I don't care about "cross-platform", really. If you want to do it right, you have to write something slightly different for each platform anyway.

>>494
Just use WINE. I'll consider writing something using libxt/xaw after the Win32 version is working...

>>496
Palin is failin'

Name: Anonymous 2014-12-17 14:54

>>498
I'll consider writing something using libxt/xaw after the Win32 version is working...
Thanks a lot Mister Cudder, I'll be anxiously waiting for it.

Name: Anonymous 2014-12-17 15:34

JACKSON 500 GET

Name: ARKANSAW YEEHAW 2014-12-17 15:53

AR REPREZENT

Name: Anonymous 2014-12-17 21:36

>>498
Just use WINE
OK, this finally and unequivocally proves you're a troll. Advocating ultraminimalism and ASM and mentioning this atrocious bloatware at the same time?

Name: Anonymous 2014-12-17 22:03

>>502
This is /prog/, everyone is a troll.

Name: Anonymous 2014-12-17 22:03

>>503
Well, I'm not.

Name: Anonymous 2014-12-17 22:12

>>504
lol, yer trying to troll me with that

Name: Anonymous 2014-12-17 23:00

>>502
Cudder would probably prefer you just use windows.

Name: Anonymous 2014-12-17 23:00

>>506
Cudder would probably prefer you just use windows.
OK.

Name: Anonymous 2014-12-19 10:28

Cudder, how would you feel about hosting the browser (when ready) on KolibriOS's repository and, later on, working on a port for it? I'm almost sure they would like this idea too.

Name: Anonymous 2014-12-19 12:25

MenuetOS has an 64bit assembly written broswer:

There are screenshots also:
http://www.menuetos.net

Name: Anonymous 2014-12-19 12:30

You could email to MenuetOS, since they have also the html decoder done, fully in assembly.

Name: Anonymous 2014-12-19 13:49

The KolibriOS have shown interest on writing a lightweight browser in assembly before. Maybe they'd be interested in helping.

Name: Anonymous 2014-12-19 13:58

>>511
I checked your dubs and have deduced that they are sweet, bro xD

Name: Anonymous 2014-12-19 14:25

YOU KNOW A PROBLEM I REALLY HATE THAT I HAVE WITH MY BROWSER, CUDDER?

WHEN I TYPE "www.bbs.progrider.org/prog" IN MY URL BAR IT TELLS ME THE PAGE IS NOT FOUND! I HAVE TO GO THROUGH ALL THE TROUBLE TYPING "bbs.progrider.org/prog" TO GET THIS PAGE TO LOAD!

YOU SHOULD FIX THIS GLITCH IN YOUR NEW BROWSER, CUDDER, IT IS SOMTHING THAT US POOR CATS WHO CANT GET A BREAK FROM THE TAXES AND THE INS AND OUTS OF DAY TO DAY LIFE SIMPLY CANNOT STAND!

Name: Anonymous 2014-12-19 19:25

unsigned int hash(const char *s){ return strcmp(s, "hash"); }

Name: Anonymous 2014-12-22 17:17

Cudder is a troll, he will never deliver anything.

But this might be a good start for someone interested in the project.

http://mermaja.act.uji.es/docencia/is37/data/MenuetOS32/apps_dev/HTTPC.ASM

Name: Anonymous 2014-12-29 11:26

The following solution already exist:

- Hubbub: HTML5 compliant parsing library
- LibCSS: CSS parser and selection engine
- LibDOM: implementation of the W3C DOM
- Libnsbmp: decoding library for BMP and ICO image file formats
- Libnsgif: decoding library for the GIF image file format

That's all in C and supposedly lightweight. All from the NetSurf browser. http://www.netsurf-browser.org/projects/

Just start from there, cleaning those stuff up and adding everything else that's needed (especially javascript and an intuitive and minimal GUI).
No need for Assembly.

Name: Anonymous 2014-12-29 12:46

Name: Anonymous 2014-12-29 13:05

Let's write a piece of software that takes huge complex input from untrusted sources.
ok

Let's do it in C!
*sigh*

I'm the only one who prefers slightly slower massively safer programs?

Name: Anonymous 2014-12-29 13:18

>>517
Remove the Tcl GUI in favour of OpenGL, add HTML5 support and firtehr the ECMAScript support and you'll get yourself the perfect web browser.

Name: Anonymous 2014-12-29 14:18

>>518
What does the language has to do with the safety of the programs? Except if you are using agda or something.

Newer Posts