An amateur has tried to build a website in raw HTML

A place to discuss the implementation and style of computer programs.

Moderators: phlip, Moderators General, Prelates

User avatar
hotaru
Posts: 1036
Joined: Fri Apr 13, 2007 6:54 pm UTC

Re: An amateur has tried to build a website in raw HTML

Postby hotaru » Fri Apr 13, 2018 2:44 pm UTC

FlatAssembler wrote:That's a "recommended hardware configuration". It doesn't really mean anything. It can't possibly take 512 MB of RAM to install Firefox when Firefox itself is 200 MB large. It takes 512 MB of RAM to install Windows 7, which are 16 GB large. Try it in a virtual machine, I distinctly remember I did it (installed Firefox 43 on a virtual machine with around 150 MB of RAM running Windows XP) without running into problems.

I'm not talking about just installing it, I'm talking about actually using it.

FlatAssembler wrote:Yes, if you try to run the newest version of Firefox on Windows XP, you get a BSOD.

that's what I'd expect from an unusable operating system.

Code: Select all

factorial product enumFromTo 1
isPrime n 
factorial (1) `mod== 1

speising
Posts: 2182
Joined: Mon Sep 03, 2012 4:54 pm UTC
Location: wien

Re: An amateur has tried to build a website in raw HTML

Postby speising » Fri Apr 13, 2018 2:46 pm UTC

FlatAssembler wrote:OK, I've tried to add some JavaScript trickery to remove those circles under Internet Explorer. Does it work?

it does indeed. although now the background image is gone.

FlatAssembler
Posts: 28
Joined: Fri Oct 27, 2017 7:42 pm UTC

Re: An amateur has tried to build a website in raw HTML

Postby FlatAssembler » Sat Apr 14, 2018 4:39 am UTC

speising wrote:
FlatAssembler wrote:OK, I've tried to add some JavaScript trickery to remove those circles under Internet Explorer. Does it work?

it does indeed. although now the background image is gone.

Now you understand why people hate Internet Explorer, don't you?
It works in mysterious ways. When you tell it to do something, it does something else instead or in addition to that. As if you were working in Microsoft Office Word, but in code instead of the GUI.
You have to do all sorts of weird hacks just to make your site or a web-app look right. Making your web-app actually work right in Internet Explorer is almost an impossible mission.

What do you guys think about the Android Webkit Browser? I think it's quite a good browser. It appears to obey the standards almost completely (it scores 100 points on the Acid3 test and correctly renders the Acid2 test), while Chrome appears to rather try to be compatible with poorly written scripts. It appears also to become unresponsive much less often than Chrome does. Too bad it got deprecated.

User avatar
Xanthir
My HERO!!!
Posts: 5270
Joined: Tue Feb 20, 2007 12:49 am UTC
Location: The Googleplex
Contact:

Re: An amateur has tried to build a website in raw HTML

Postby Xanthir » Sun Apr 15, 2018 3:19 am UTC

The Android browser was just Chrome, occasionally forked and then fiddled with, so that by the time it was released in a new Android version it was several versions behind real Chrome, and thus was always missing whatever latest features had been added.
(defun fibs (n &optional (a 1) (b 1)) (take n (unfold '+ a b)))

FlatAssembler
Posts: 28
Joined: Fri Oct 27, 2017 7:42 pm UTC

Re: An amateur has tried to build a website in raw HTML

Postby FlatAssembler » Wed Apr 18, 2018 3:39 am UTC

Android Browser uses the Webkit engine, while Chrome uses the Blink engine. I don't know how it is with browsers, but if you want a 3D game to use a different engine, you have to almost completely rewrite it. Using a different engine is almost like using a different programming language.

User avatar
Xanthir
My HERO!!!
Posts: 5270
Joined: Tue Feb 20, 2007 12:49 am UTC
Location: The Googleplex
Contact:

Re: An amateur has tried to build a website in raw HTML

Postby Xanthir » Wed Apr 18, 2018 3:43 am UTC

Blink forked from WebKit a few years back; they were the same engine before that. Android Browser "uses WebKit" because it hasn't been updated since before the fork; since then we've just shipped Chrome itself on Android.
(defun fibs (n &optional (a 1) (b 1)) (take n (unfold '+ a b)))

User avatar
Soupspoon
You have done something you shouldn't. Or are about to.
Posts: 2963
Joined: Thu Jan 28, 2016 7:00 pm UTC
Location: 53-1

Re: An amateur has tried to build a website in raw HTML

Postby Soupspoon » Wed Apr 18, 2018 4:42 am UTC

(I'm probably never going to solve the problem, but something in Chrome keeps grabbing the tablet's audio. Listen to other media in the background (e.g. BBC iPlayer Radio, VLC) and browse even sites like this with no obvious attempt for web-pages to load and play sound media and yet the background audio is terminated in 'preference' to the silence of thr browser. Sit on a page, nothing happens and listening enjoyment is uninterupted. Often as soon as a link is followed/page is refreshed, though, it cuts it out. I'm going to assume it's the HTML renderer (Blink, perhaps) being pre-emptively greedy in order to serve potential noises. Even though autoplaying audio is an anathema1, second only to autoplaying video!)


1 Unless it was the Yvette's Bridal Formals site, in which case the bagpipe/etc midi music was the least weird design aspect. Hey! Apparently it's back! It had been kapput for so long that I thought I'd only get third-party critiques! Anyway, this is now usefully back on topic. There are bad ways of designing websites, and YBF is so much the epitome of such bad ways that it's almost getting good again!

FlatAssembler
Posts: 28
Joined: Fri Oct 27, 2017 7:42 pm UTC

Re: An amateur has tried to build a website in raw HTML

Postby FlatAssembler » Wed Apr 18, 2018 10:43 am UTC

Out of curiosity, what happens if you try to run the PacMan game on my website in Internet Explorer 11?

speising
Posts: 2182
Joined: Mon Sep 03, 2012 4:54 pm UTC
Location: wien

Re: An amateur has tried to build a website in raw HTML

Postby speising » Wed Apr 18, 2018 12:53 pm UTC

FlatAssembler wrote:Out of curiosity, what happens if you try to run the PacMan game on my website in Internet Explorer 11?

seems to work fine, although he swallowed the first ghost unharmed (but not the next).

FlatAssembler
Posts: 28
Joined: Fri Oct 27, 2017 7:42 pm UTC

Re: An amateur has tried to build a website in raw HTML

Postby FlatAssembler » Mon Apr 23, 2018 6:53 pm UTC

I seriously doubt that the mouth-opening-and-closing animation is rendered correctly in IE11, it's not rendered well even in Android Webkit Browser or in Opera.
In my experience, the Internet Explorer JavaScript engine works as long as all you are doing is string and array manipulation. For example, my web-app that converts arithmetic expressions to i486-compatible assembly works even in Internet Explorer 6. Yet, when you try to do something graphics-related, no matter how simple, it won't work even after hours of trying to do all sorts of trickery.

Can somebody tell me does the PacMan game work on iPhones? The only smartphone I've tested it on is my Samsung Galaxy S3 Mini.


Return to “Coding”

Who is online

Users browsing this forum: No registered users and 7 guests