Report Bugs Here

11011121416

Comments

  • Sup bitches, witches, Haters, and trolls.
    i never noticed that but what the fuck man
  • “I'm surprised. Those clothes… but, aren't you…?”
    Yeah, it changes my screen size. It is a bit annoying.
  • It's definitely one of those little things that doesn't really bother me anymore because of how used to it I've become, but I do agree that looking into it would be a good idea.

    Godspeed, Lee.
  • THIS MACHINE KILLS FASCISTS
    I might be able to fix that by changing the CSS, but I have to catch it while it's happening :|
  • kill living beings
    time to make a trillion robot users
  • THIS MACHINE KILLS FASCISTS
    oh, hey, it's bogus CSS in OnlineNow itself -_-

    I can just remove it and all will be well
  • “I'm surprised. Those clothes… but, aren't you…?”
    It works!

    I will have to check all the pages it appears on but it really seems to be working! Thank you, Based Lee.
  • THIS MACHINE KILLS FASCISTS
    ^_^
  • kill living beings
    much obliged, segnair
  • Looks like it's working for me! Good job.

    So recently gmail started chucking all my message notifications from HH into the spam folder. Apparently it's something to do with authentication, is there anything we can do about that?
  • THIS MACHINE KILLS FASCISTS
    Bump my thread and I'll see if my Gmail does it...
  • THIS MACHINE KILLS FASCISTS
    Oh wait, I was able to get it just by sending a message as root. I'm working on updating the DNS, which should make it stop happening.
  • THIS MACHINE KILLS FASCISTS
    Mail should be going through again. I need to reboot the server to update the hostname (which is set to localhost for some reason x.x), and we should be down only a few minutes.
  • THIS MACHINE KILLS FASCISTS
    And we're back.
  • THIS MACHINE KILLS FASCISTS
    All righty, SPF and DKIM are working. I should have a DMARC policy installed soon.
  • You are the end result of a “would you push the button” prompt where the prompt was “you have unlimited godlike powers but you appear to all and sundry to be an impetuous child” – Zero, 2022
    Speedy Pony Farts, Donkey Kong International Music, Dave's Married Asexual Rail Conductor
  • There no longer seems to be a mobile version of the site.  This is both a good and bad thing.
  • You are the end result of a “would you push the button” prompt where the prompt was “you have unlimited godlike powers but you appear to all and sundry to be an impetuous child” – Zero, 2022
    It works on my end.

    image

    You might have accidentally clicked through to the dekstop site from your phone. In which case, the only way to get back to the mobile site, unfortunately, is to clear your HH cookies.

    I admit this is a poor design decision on Vanilla's part.
  • Splat Charger Specialist
    Quotes and spoilers seem to be acting odd...
  • Both are known issues that we can't really fix.

    Quotes act funny if you have a space in your name.
  • THIS MACHINE KILLS FASCISTS
    Quotes also act funny in Chrome if you use, like, any sort of formatting at all. For some reason, Chrome's WYSIWYG editor sees fit to force-reset all the styles at the top of the comment, which obliterates the quotes plugin's classes. :P

    I was able to fix it before by dinking with the styles on the editor IFRAME, but I forget the details.
  • THIS MACHINE KILLS FASCISTS
    Okay, I refreshed my memory. The <body> tag in the IFRAME has a font style on it that Chrome thinks is part of what you types, and insists on resetting. The quick fix is to just remove the font style.
  • You are the end result of a “would you push the button” prompt where the prompt was “you have unlimited godlike powers but you appear to all and sundry to be an impetuous child” – Zero, 2022
    Not a bug, per se, but I didn't feel like this warranted a new thread.

    I'm going to ask Lee to change the link color to something that stands out against the text better when he gets some free time...but I need suggestions for just what color we should use.

    Anyone got ideas?
  • kill living beings
    just use a nice dark orange.
  • The same thing we have now, but lighter.
  • Munch munch, chomp chomp...
    Tiny said:

    The same thing we have now, but lighter.

    I like this the most. Keep it similar, just enough to blend in but also be easily distinguishable.
  • You are the end result of a “would you push the button” prompt where the prompt was “you have unlimited godlike powers but you appear to all and sundry to be an impetuous child” – Zero, 2022
    I also like Tre's suggestion.
  • looks like it's taken effect!
  • imagei will watch the heck outta this pumpkin patch
    oh, sweet

    this is gonna take some getting used to
  • Now let's rejoin the Heapers and see how they're settling into their forum.

    ...

    ...a change has taken place.  The forum's links appears to have taken on a different hue.  Perhaps the scientist forgot to lock down access to the forum's source code.

    Color, color.  What hast thou donst.

    Bless you, heapers.  Bleapers.

    *crashing noise*
  • You are the end result of a “would you push the button” prompt where the prompt was “you have unlimited godlike powers but you appear to all and sundry to be an impetuous child” – Zero, 2022
    Reminder: not a wonderposting thread
  • THIS MACHINE KILLS FASCISTS
    Wonderful. I dump some emoji into Vanilla on my Debian VirtualBox, and look at this shit:

    image

  • THIS MACHINE KILLS FASCISTS
    It thinks characters above U+00FFFF are bad UTF-8. :P
  • THIS MACHINE KILLS FASCISTS
    Or it's processing them, doesn't know what to do with a character above the BMP, and freaks out. I suspect someone may have written their own UTF-8 code (very bad), but I can't prove it just yet. I have to find out what gewgaw inside the JavaScript is handling the preview button.
  • THIS MACHINE KILLS FASCISTS
    Double neat, it doesn't seem to be the PHP code's fault in this case...the previewer's JS is unpacking the JSON wrong. :(
  • edited 2015-11-01 05:06:00
    THIS MACHINE KILLS FASCISTS
    As for Vanilla itself: Oh, goody, Vanilla is getting it right:


    [Sun Nov 01 01:01:44.485857 2015] [:error] [pid 4358] [client 192.168.1.14:50962] CommentModel::Save: array(10) {\n ["TransientKey"]=>\n string(12) "BKK5USY6R46S"\n ["hpt"]=>\n string(0) ""\n ["DiscussionID"]=>\n string(1) "2"\n ["DraftID"]=>\n string(0) ""\n ["Body"]=>\n string(35) "Yet another comment: \xf0\x9f\x8c\x80 \xf0\x9f\x8c\x81 \xf0\x9f\x8c\x82"\n ["Format"]=>\n string(4) "Html"\n ["DeliveryType"]=>\n string(4) "VIEW"\n ["DeliveryMethod"]=>\n string(4) "JSON"\n ["Type"]=>\n string(4) "Post"\n ["LastCommentID"]=>\n string(1) "3"\n}\n, referer: http://debian32.home/index.php?p=/discussion/2/sandbox
    [Sun Nov 01 01:01:44.487203 2015] [:error] [pid 4358] [client 192.168.1.14:50962] Fields before SQL calls: array(6) {\n ["Body"]=>\n string(35) "Yet another comment: \xf0\x9f\x8c\x80 \xf0\x9f\x8c\x81 \xf0\x9f\x8c\x82"\n ["DiscussionID"]=>\n string(1) "2"\n ["InsertUserID"]=>\n string(1) "1"\n ["Format"]=>\n string(4) "Html"\n ["DateInserted"]=>\n string(19) "2015-11-01 05:01:44"\n ["InsertIPAddress"]=>\n string(12) "192.168.1.14"\n}\n, referer: http://debian32.home/index.php?p=/discussion/2/sandbox


    So that means it's either MySQL or Vanilla's MySQL code that's stripping the trans-BMP Unicode. God dammit. -_-
  • THIS MACHINE KILLS FASCISTS
    Yup, we're fucked, unless I can convince Vanilla to use UTF-16 for bodies: 

    (*) Did I say utf8 can store any Unicode characters? That’s not really true. MySQL’s utf8 and ucs2 only store unicode from the basic multilingual plane (BMP), which includes “only” the characters U+0000 through U+FFFF. If you have MySQL 5.5 or later you have additional encodings to choose from: utf16, utf32, utf8mb4. These encodings You can read the details, as usual, in the official MySQL documentation.
  • THIS MACHINE KILLS FASCISTS
    though it looks like what we actually need is utf8mb4. Gimme a minute.
  • kill living beings
    UTF8 but not UTF8 wtf mate
  • THIS MACHINE KILLS FASCISTS
    Nope, that doesn't work either, because MySQL is stupid and has a hard limit on how long an entry in a primary key can be. >.< And of course, Vanillla doesn't support anything but MySQL; if I wanted support for, say, Postgres, I would have to write it.

    I'm going to have to use use a workaround. At this point, it's looking like "saving all comment bodies as Base64".
  • THIS MACHINE KILLS FASCISTS

    UTF8 but not UTF8 wtf mate

    Like I said: MySQL is stupid. :P For some reason, they decided that 3 bytes would always be enough for a UTF-8 character, never mind that UTF-8 is variable-length by nature. MySQL 5.5 tries to fix this by adding that funny type I mentioned above, but of course it breaks other stuff and it's not a drop-in replacement.
  • THIS MACHINE KILLS FASCISTS
    And I hate to say it, but if we want emoji to work, it will require modifications to Vanilla, modifications that won't be present upstream. I may have to keep a private copy in Git someplace and apply patches to it from Vanilla upstream manually, which is a pain in the ass, but hey, we wanted certain things to work properly.

    This will require data conversion if we go the Base64 route. Older comments would have to be Base64'd and put back. Doing it the less nasty way and just changing the character set may be less of a problem, but we will almost certainly have to shorten some of the name fields, in some cases by as much as a third, for MySQL not to complain about the field width.
  • THIS MACHINE KILLS FASCISTS
    In fact, this is enough of a project that I'd probably want U_E's opinion on t, and possibly even Vanilla's themselves. I get the feeling the MySQL limitations are why this still doesn't work upstream.
  • THIS MACHINE KILLS FASCISTS
    The other thing that would work is forcibly converting all Unicode characters to entities, which would be less obtrusive than Base64, and would not require any data conversion. I wonder if HtmLawed or one of the other libraries in Vanilla can already do it, actually.
  • THIS MACHINE KILLS FASCISTS
    Turns out there's a standard PHP function for that, and looky here:

    image
  • THIS MACHINE KILLS FASCISTS
    That's the entire U+1F300 block there. I'm using it for testing...
  • THIS MACHINE KILLS FASCISTS
    Okay, so it looks like i can get the SMP (and thus emoji) working with just 3 lines of PHP (one each for discussion names, discussion bodies, and comment bodies). That means that emoji will work just about everywhere.
Sign In or Register to comment.