Testing code tags

Do note that the 
PHP tag
    works just fine.
	 m	 f
d	63	42
r	37	58

Hmmm… this works, but not as well. It may be a solution going forward.

However, it still doesn’t fix all the posts from the last 18 years that used ‘code’ tags and are now unreadable.

Yeah, I know. I just brought it up because people seemed to not know.

Personally, I wouldn’t bother. Anyone who wants to see that stuff should use the old theme for now. It seems they’ve stopped doing anything on the new theme, including the fixes we’d already worked out.

Reminder…


#!/usr/bin/env python3 
words = ["Fixed", "Still", "Not"] 
print(' '.join(sorted(words)[::-1]))

In other words, ‘If people want full functionality, they should use the functional theme instead of the new broken one.’

I’ve said this in other threads, but I’ll say it here too.

No, that’s not good enough. I already have my data in a nicely formatted table before I post. I already my Python code indented properly before I post. I don’t post here so I can read my posts. I post here so other people can read my posts.

Other people includes people who use the default skin by choice and those who don’t have a choice like people who read without signing in and lurkers.

I agree this needs to be fixed. In fact, I got the skin creator to fix it in his code, and posted that to Ed in his bugs thread. It may be an issue that if they update the skin, they lose all the changes that have made. But **BigT ** has also posted direct code to fix it to that thread as well.

I suspect this has fallen into the category of “things lower in priority”.


#!/usr/bin/env python3

def recoverSecret(trips):
    out = []
    while len(trips) > 0:
        chars = set([])
        bchars = set([])
        for t in trips:
            chars |= set(t)
            bchars |= set(t[1:])
        out.append((chars - bchars).pop())
        trips = [t[1:] if t[0] == out[-1] else t for t in trips]
        trips = [t for t in trips if len(t) > 0]
    return ''.join(out)

triplets = [
  ['f','e','d'],
  ['n','o','i'],
  ['f','x','e'],
  ['t','f','x'],
  ['o','t','d'],
  ['f','i','x'],
  ['n','o','x']
]

print(recoverSecret(triplets))

I’m not even going to try to be clever this week.

Still not fixed.

If your goal is to have code that people not logged in can read, I would use PHP for now, at least. The syntax highlighting works pretty well on other languages, so that’s a bonus.

Unfortunately, I can’t seem to override the colors with explicit numbers, so it will have colors, no matter what.

Many of my posts over the last eighteen years use code tags. My goal is that these posts, which were once readable and are now gibberish, become readable again for people using the board default.

There are thousands of posts, not just mine, in threads that might come up in a Google search that contain code tag posts that are now unreadable and may be part of this board’s first impression on a new potential user. Seeing as that the fix now involves a little cut and paste I don’t think I’m being unreasonable in harping on this.

I know. I’m not saying you’re wrong. I’m saying how to mitigate the problem for now. Because it’s clear that Ed has stopped listening right now.

At this point, I might recommend emailing Ed directly with the fixes that need to be top priority. I think this one and the spoiler quoting are the top two. And both are single line fixes.

I’m bookmarking this post for the Why C is better than Python thread !
My C code works even after it’s been Sultanthemized. :slight_smile:

  1. give us an example

and

  1. Are you TRYING to create source material for a sequel to The Da Vinci Code?!

The problem for now is that this post (and many others like it) used to be readable and are now gibberish to anyone using the board default settings. I appreciate your efforts, but nothing you have said mitigates that problem. Any suggestion that does not fix that post for some rando stumbling in from a Google search does not mitigate the problem.

(1) That Python depends on indentation destroyed when Sultan-theme gets its hands on it is not in dispute:

Here is some C code I posted recently

That function lacked a main() for test purposes, so I’ve appended one at the bottom, already sultanized.

Sultanize, copy-paste, compile, and type ‘a.out 23.14069263’ to verify that this code can withstand Sultan’s destructive efforts.

(2) I haven’t a clue what your point is. But with approximately 99% of the world’s writing now transcripts from inportant intellectuals like Alex Jones, and gibberish from social media, I don’t think future conspiracists will have lack source material!

I like the idea of personifying this Sultan. He’s just a programmer who hates semantic whitespace.



.__   __.   ______   .___________.         
|  \ |  |  /  __  \  |           |         
|   \|  | |  |  |  | `---|  |----`         
|  . `  | |  |  |  |     |  |              
|  |\   | |  `--'  |     |  |              
|__| \__|  \______/      |__|              
                                           
 _______  __  ___   ___  _______  _______  
|   ____||  | \  \ /  / |   ____||       \ 
|  |__   |  |  \  v  /  |  |__   |  .--.  |
|   __|  |  |   >   <   |   __|  |  |  |  |
|  |     |  |  /  .  \  |  |____ |  '--'  |
|__|     |__| /__/ \__\ |_______||_______/ 
                                           
____    ____  _______ .___________.        
\   \  /   / |   ____||           |        
 \   \/   /  |  |__   `---|  |----`        
  \_    _/   |   __|      |  |             
    |  |     |  |____     |  |             
    |__|     |_______|    |__|             
                                           


Just checking in.

Srsly, —

There are still a variety of residual buggies in the new skin, some of which seem just obnoxious enough that TPTB really ought to be dealing with it. But it does appear that TPTB have indeed given up on doing any more bug-fixing with the new skin, and they are not even doing us the courtesy of, at the minimum, responding to these complaints to tell us so.

These are the remaining bugs that I’m aware of that seem significant:

[ul][li] As per the topic of this thread, code tags don’t work.[/li][li] Also, spoiler tags within quote tags don’t work. The spoiler box is always shown open, and the “Show/Hide” button is inoperative.[/li][li] I’m still seeing banner ads after every fifth post. They are “dead” in the sense that there’s nothing active or clickable in them.[/li][li] The “New Thread” and “Reply” buttons are still totally invisible in some environments (e.g., mine). I can live with this because I know where they are located and I can still click on them, but it’s still a poor show.[/li][li] ETA: That business about sigs being displayed by default too.[/ul][/li]Any other non-trivial bugs anyone wants to mention?

I propose to expand this thread to become a compendium of still-outstanding and non-trivial bugs in the new skin, the OP’s complaint included, in the hope that TPTB will at the very least have the temerity to respond, even if only to say “screw it, we’re through with this”. To that end, I am reporting this post to force it to the mods’ attention.

Reported (soon-to-be).

/s/Senegoid

The last word I know of from TPTB was this comment, in the old “Major Bugs in SDMB re-skin fixed” (:rolleyes:) thread.

So, fixing the new skin is a low-ish priority. There was supposed to be a beta test of more fixes this week? I haven’t seen an announcement. Maybe the ads have been more intractable than anticipated. :mad: