Discourse quirks
-
All of this is a barrier to Discourse on the internet. When stuff like that happens, I want to go smack Dickwood with a steelhead trout.
-
I was led to understand that they were the same code, albeit one running on V8 server side, and the other running under whatever Javascript engine you have in your browser. The idea being that they can't differ, because javascript is javascript, right?
The only possible reasons for a difference would be:
- the code tickles javascript "edge cases" in one or both engines
- environment differences client vs server
- either the client or the server has been updated, so the code is temporarily different
- it's a fucking stupid idea implemented by fuckheads
Options 42, 42 and 42 are unlikely, leaving only option 42
-
I was led to understand that they were the same code
I thought they weren't the same, but maybe you're right. I tried some searching to find @sam or @codinghorror talking about that but couldn't find anything.
-
I get less discrepancies by running two different implementations of a template rendering engine (JS and PHP). And even then, most of the time it's JavaScript being picky about which DOM elements it can inject where. Or, DOM being an asshole.
Pick one, at this point I stopped caring, all I know is it's a pain in the ass.
Also... well, let's see if this works:
Edit: Yup, not too similar now. TO WHAT?
-
If you were using the Discourse search function, I assume the only results displayed were entirely unrelated to anything even remotely close to what you may have been looking for? I CBA to look through their code, but I am pretty sure that their search function relied heavily upon a random number generator.
-
They weren't entirey unrelated. I also tried google, but wasn't much more successful. Too many false positives that contained the words I was looking for (stuff like markdown, server, browser). And not enough patience or motivation to look much longer.
-
Every time I have used the search function on Dicsourse, it has seemed worse than what I would expect a second year Informatics student to come up with, and Informatics students tend to be pretty fucking horrible
Another one for the Bad Ideas thread: Let's start a degree program where people only learn about scripting languages and browser functionality. Let's not teach them anything about how the fucking computer works. They can just assume the rest of it is magic.
-
@Intercourse said:
Every time I have used the search function on Dicsourse, it has seemed worse than what I would expect a second year Informatics student to come up with, and Informatics students tend to be pretty fucking horrible
Hmm....I don't think there's anything fundamentally wrong with the way they're searching at this point. It's the interface that makes it difficult to impossible to use. Especially for site-wide stuff. The in-thread stuff seems more reasonable, except that even there it cuts the list off.
-
Hmm....I don't think there's anything fundamentally wrong with the way they're searching at this point.
I must be Doing It Wrong?
-
Options 42, 42 and 42 are unlikely, leaving only option 42
I'm assuming the effect gained was the one intended...
-
There's a 3rd place that things can get jacked as well, the ember dom addition does its own manipulation as well.
like when you screw with a quote:
[quote=pjh]
eat my shorts
[/quote]
Or fake mentions: @pjh makes a link in the preview, @ pjh does not make a working link until posted.
-
<a @wotchootalkinboutwillis
Fuck. Hanzo'd by a ninja edit
-
Yeah i noticed it from my screenshot that i did it wrong
-
Are quote pyramids still broken on dom but working in preview? Yep.
[quote=pjh]
[quote=pjh]
[quote=pjh]
[quote=pjh]
[quote=pjh]
[quote=pjh]
[quote=pjh]
[quote=pjh]
a
[/quote]a
[/quote]a
[/quote]
b[/quote]
c[/quote]
d[/quote]
e[/quote]
f[/quote]
vs
-
how about auto-completed emoji if you don't type/click somewhere else after completing them?
-
How about sticking biting my shiny metal ass?
-
ORLY? I suppose that's totally not where TL;DR came from, right?
-
So... idea...
[quote=pjh]
[quote=pjh]
[quote=pjh]
[quote=pjh]
[quote=pjh]
[quote=pjh]
[quote=pjh]a
[/quote]a
[/quote]
b[/quote]
c[/quote]
d[/quote]
e[/quote]
f[/quote]
Edit: fascinating... did my c/p fail or did something actually change?
-
media="all"
div.cooked * * * * * * * * * * {
display: none;
}it's from my suggestion to stop abuse of nested elements.
so i guess I brought that one on myself ;)
-
Oh, that explains it, random nesting can't trick it since it's set to
*
.Damn you.
-
Oh, that explains it, random nesting can't trick it since it's set to *.
Damn you.
Sucks, my suggested fix is ironically doing its job to prevent me from abusing the system.
TRWTF is why it isn't inside a div.cooked in the preview box so the preview would match reality?
-
-
That's still wrong though.
The preview inserts a <p> element, which makes the display:none take effect 1 block quote too soon.You'd have to have a <div class="cooked"> inside the <p> for it to be the right count.
-
Yeah, but I did a quick hack in the inspector.
Surely the DC team can do it better than me?
-
-
@Intercourse said:
Y'ur not from 'round here, are ya' boy?
I just have some faith left in humanity.
Really! It's here somewhere!
One sec, maybe it's in my other pants...
-
https://www.youtube.com/watch?v=1tqxzWdKKu8
I feel a bit let down that YouTube did not have anything good for "Y'ur not from 'round here, are ya' boy?"
-
Appropriate:
See something missing under my post? And yet it updates on other people's posts, AFAIR from the "Likes" thread creeping down as likes get added.
I also think that numbers get increased properly, but the first like? Nope, not important.
-
Also, the notifications menu keeps marking the same "Nice Post badge awarded" notification as never-before-seen. I've seen it 1000 times. It gets marked as viewed, but then forgets about my viewing it.
Definitely a bug, not a quirk.
-
Just found another goddamn quirk related to "" quotes.
If I'm writing a paragraph like this, with some text text text text text text text text text "Quoted sentence" and more text, nothing weird happens.
But if I do the exact same thing but this time I try to italicise the "Quoted sentence" like this... wtf parser?
Do we have a "master list" somewhere of every quirk/bug we've found, so we can show it to other people when they ask what's wrong with Discourse? A Wiki-topic would work well.
-
Do we have a "master list" somewhere of every quirk/bug we've found, so we can show it to other people when they ask what's wrong with Discourse? A Wiki-topic would work well.
If we did, we'd really need infinite scrolling.
-
Basically, we have traded shitty bugs, for new shitty bugs. At least with CS, we had learned what they were and how to work around them. You don't really use Discourse. It is more like you try to trick it in to doing what you want it to do.
-
I'd say it tends to take orders as mild suggestions and then, sometimes, it even acts on them.
-
I used to have a Porsche from back when their suspensions were shit and basically all of the weight was behind the rear wheels. I always said it did not have a steering wheel, it had a "suggestion wheel". You would make suggestions, it would decide on its own whether it would follow them. Discourse is the software equivalent of that.
-
That ball is in @PJH's court.
-
To find all of Discourse quirks, please press F1
-
That ball is in @PJH's court.
That all started with the "lets break firefox" thread, and that div.cooked *{} rule is more lax than the default which is only about 2-4 levels IIRC.
-
-
That all started with the "lets break firefox" thread, and that div.cooked *{} rule is more lax than the default which is only about 2-4 levels IIRC.
Yep - it's my own fault that the super-nested dom items are broken.
However, dicsourse's preview window needs to have the same dom elements and classes as the real posts so it actually gets the same styles as the real post.
-
However, dicsourse's preview window needs to have the same dom elements and classes as the real posts so it actually gets the same styles as the real post.
Ill look into it sometime. And probably increase the depth a bit...
-
My samsung S4 lets me pinch zoom
-
- Expand 'users liked this'
- 'Accidentally' click on a user icon - realize you accidentally requested profile
- Click 'Stop' in the browser
3a) You can't. - Get taken to users profile
- Use back button
- Get sent to wherever the fuck you first entered the topic
SUCCESS!
-
Missing: ???? and Profit! list items.
-
There is no ??? or profit.
-
But you had success, therefore before that should have come both ??? and Profit!
Or has the internet lied to me again?
-
But you had success, therefore before that should have come both ??? and Profit!
Or has the internet lied to me again?
No, it's just Dicsourse breaking expectations again.
-
Do I really need to whip out the successful error screenshots?
-
No, it's just Dicsourse breaking expectations again.
Not defying my expectations.
Do I really need to whip out the successful error screenshots?
Please don't. I'm a shy naive person from England, I would likely be emotionally scarred by such things, or indeed pretty much anything being "whipped out".
-
Figure out this "quirk" for me.
-
I'm good but I'm not a miracle worker