Main » Projects » amethyst (text editor) » New reply
    Alert
    You are about to bump an old thread. This is usually a very bad idea. Please think about what you are about to do before you press the Post button.
    New reply
    Post help

    Presentation

    [b]…[/b] — bold type
    [i]…[/i] — italic
    [u]…[/u] — underlined
    [s]…[/s] — strikethrough
    [code]…[/code] — code block
    [spoiler]…[/spoiler] — spoiler block
    [spoiler=…]…[/spoiler]
    [source]…[/source] — colorcoded block, assuming C#
    [source=…]…[/source] — colorcoded block, specific language[which?]
    [abbr=…]…[/abbr] — abbreviation
    [color=…]…[/color] — set text color
    [jest]…[/jest] — you're kidding
    [sarcasm]…[/sarcasm] — you're not kidding

    Links

    [img]http://…[/img] — insert image
    [url]http://…[/url]
    [url=http://…]…[/url]
    >>… — link to post by ID
    [user=##] — link to user's profile by ID

    Quotations

    [quote]…[/quote] — untitled quote
    [quote=…]…[/quote] — "Posted by …"
    [quote="…" id="…"]…[/quote] — ""Post by …" with link by post ID

    Embeds

    [youtube]…[/youtube] — video ID only please
    Thread review
    CaptainJistuce
    Posted by Kawa
    Geez, I dunno.
    Looks good to me.
    Kawaoneechan Geez, I dunno.
    ‮strfry("emanresu") Just use <div> for everything. HTML is inconvenient and overly-complex.
    CaptainJistuce
    Posted by Kawa
    If I ever write another forum software I'll keep that in mind.

    Just use <table> for everything. CSS is inconvenient and overly-complex.
    Kawaoneechan If I ever write another forum software I'll keep that in mind.
    neologix Very much right, yea. And if everything that wasn't that was wrapped in a <section> element then theoretically you could put the breadcrumbs and pager in that section's <header> and the bottom pager and breadcrumbs in that section's <footer> and it would be valid. :)
    Kawaoneechan So basically the entire part above the breadcrumbs and pager on this very page would be <header>, and the credits and such below would be <footer>. Did I get that right?
    neologix Yea, no. The header element was added to semantically denote a section's/page's header area, regardless of whether Hx elements exist in it or not, AND can contain non-Hx elements. The Hx elements technically already HAD semantic meaning, it's just that people generally didn't care and used them mainly to size text in a silly way.

    Back when byuu first did the fully custom stack I complained a bit about some of the HTML and CSS in use (nothing major to my recollection), but the guy in that comment certainly came off as one of those "um, actually" overly pedantic nerds who (whom? I honestly don't care at the moment, so don't call it out pretending to point out irony but really just looking to try to invalidate the point) nobody likes because he tries to foist his supposed facts upon people obnoxiously and without prompt.
    funkyass the header tag was added in HTML5 to give semantic meaning to the Hx tags. so header is supposed to contain hx tags(but optional per the standard), rather than just plain text.
    the way byuu was using it was technically correct, just not fully implemented.
    ‮strfry("emanresu") The intermediate step between the law of the jungle and proper civilization, which is known as ...?
    Kawaoneechan Of course it's not "whatever Chrome does". The First Webpage is perfectly valid HTML as Sir Tim Berners-Lee first drafted it!
    ‮strfry("emanresu") Sure, but so does that abomination I just posted. That doesn't make it not broken, unless your idea of standards is "whatever Chrome does".
    Kawaoneechan And yet it renders perfectly fine.
    ‮strfry("emanresu") Yes.
    Kawaoneechan Is it broken if it's by the man who came up with it in the first place?

    http://info.cern.ch/hypertext/WWW/TheProject.html

    Note how the header element in this page is today's head.
    ‮strfry("emanresu") Using <header> to indicate a heading is arguably just as broken HTML. Neither example uses the elements as stipulated by the standards, both render correctly in modern browsers given adequate CSS and choke on standards-compliant but strict browsers. What's the difference?

    Posted by https://html.spec.whatwg.org/multipage/sections.html#the-header-element
    The header element represents a group of introductory or navigational aids.

    A header element is intended to usually contain the section's heading (an h1–h6 element or an hgroup element), but this is not required. The header element can also be used to wrap a section's table of contents, a search form, or any relevant logos.
    tomman Note that I said "design rules" as in "stuff preached by a design visionary", not "intentionally produce broken HTML even if a browser can render it".

    Will you stop moving the goalposts, pretty please?
    ‮strfry("emanresu")
    Posted by Kawa
    You do realize you're talking about byuu here, right?
    Point taken.

    Posted by tomman
    Webshit UX designer confirmed.

    Seriously, not every website has to follow "design rules" as long as the information is clearly laid out in a readable fashion. KISS. byuu's websites are an excellent exhibit of this (his design choices may look weird in this era, but our eyes and bandwidth bills greatly thank sensible designs like those - who cares if you're "Doing It Wrong™" with ancient HTML tags?!)

    You've got to have some kind of standards. Writing substandard HTML is going to cause all sorts of issues later on down the line. It's like going too hard with the idiomatic C and invoking UB, and then claiming it's not UB because it compiles. Civilizations abandoned the law of the jungle thousands of years ago, when will technology follow suit?

    If the goal is just "ooga booga grug want text in browser fast," then why bother generating valid HTML at all? Then you could use a far simpler regex-based conversion. If you just write the elements you want and save as .html, Firefox/Chrome renders it just fine. There's no need to use the "real" tag names either. You can just make them up and use CSS to style them, and it will look as normal. No need for garbage like meta, head, body, or html, you can just start writing.

    Here, try pasting this into a HTML file and opening in your browser. It renders fine, so it must be valid HTML.
    <h1>grug want big text</h1>
    <header>ooga booga</header>
    <p>Seriously, not every website has to follow "design rules" as long as the information is clearly laid out in a readable fashion.
    <span>KISS. byuu's websites are an
        <style>
    red {
        color:red}
            header{
                font-size:2em;
        </style> excellent exhibit of this
    </p>
    <red>(his design choices may look weird in this era, but our eyes and bandwidth bills greatly thank sen<title>FAST WEB DEVELOPMENT - CONTACT          SUREANEM NOW</title>sible designs like those - who cares if you'
    re "Doing It Wrong™" with ancient HTML tags?!)</text>
    <html><!--


    Granted, there is something to be said for this style of web development as a deliberate statement, but you should probably at least try to use the tags they give you as far as possible. Consider text browsers, for instance, or browsers without such sophisticated parsers.
    tomman
    Posted by creaothceann
    https://www.reddit.com/r/emulation/comments/ciy5tj/bsnes_v108_released/evbi18r/?context=3

    Also the pages lack the first-level heading element — h1, incorrectly using the header element instead. The header element has a totally different meaning than heading elements like h1, h2, etc.

    Webshit UX designer confirmed.

    Seriously, not every website has to follow "design rules" as long as the information is clearly laid out in a readable fashion. KISS. byuu's websites are an excellent exhibit of this (his design choices may look weird in this era, but our eyes and bandwidth bills greatly thank sensible designs like those - who cares if you're "Doing It Wrong™" with ancient HTML tags?!)


    Posted by Kawa
    You do realize you're talking about byuu here, right?

    Unfortunately no cure has been found for Reality Distortion Fields yet :/
    creaothceann https://www.reddit.com/r/emulation/comments/ciy5tj/bsnes_v108_released/evbi18r/?context=3
      Main » Projects » amethyst (text editor) » New reply
      Get an ad blocker.