GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Niki Tonsky (nikitonsky@mastodon.online)'s status on Thursday, 16-Oct-2025 03:49:21 JST Niki Tonsky Niki Tonsky

    About syntax highlighting https://tonsky.me/blog/syntax-highlighting/

    In conversation about 4 months ago from mastodon.online permalink

    Attachments

    1. Domain not in remote thumbnail source whitelist: tonsky.me
      I am sorry, but everyone is getting syntax highlighting wrong
      from https://www.facebook.com/nikitonsky
      Applying human ergonomics and design principles to syntax highlighting
    • Embed this notice
      Niki Tonsky (nikitonsky@mastodon.online)'s status on Thursday, 16-Oct-2025 04:12:44 JST Niki Tonsky Niki Tonsky
      in reply to
      • Lobo

      @lt nice!

      In conversation about 4 months ago permalink
    • Embed this notice
      Lobo (lt@meemu.org)'s status on Thursday, 16-Oct-2025 04:12:45 JST Lobo Lobo
      in reply to

      @nikitonsky I've felt like this for a while, so much that I've been using my Emacs theme of choice (https://protesilaos.com/emacs/modus-themes) customized to be fully monochrome, but your theme inspired me to do add some color back with the backgrounds

      In conversation about 4 months ago permalink

      Attachments


      1. https://media.meemu.org/media_attachments/files/115/379/757/151/184/258/original/aef4dacb6837dab3.png
      2. Domain not in remote thumbnail source whitelist: protesilaos.com
        Modus Themes
        from Protesilaos Stavrou
        The Modus themes for Emacs meet the highest accessibility standard for colour contrast. This is their official manual.
    • Embed this notice
      Niki Tonsky (nikitonsky@mastodon.online)'s status on Thursday, 16-Oct-2025 05:21:00 JST Niki Tonsky Niki Tonsky
      in reply to

      @barubary for me, it puts text and punctuation almost on different planes. Helps me read names easier, stuff like parentheses and commas don’t stick to them. Easier to see where words start and end

      In conversation about 4 months ago permalink
    • Embed this notice
      Oriel Jutty :hhHHHAAAH: (barubary@infosec.exchange)'s status on Thursday, 16-Oct-2025 05:21:04 JST Oriel Jutty :hhHHHAAAH: Oriel Jutty :hhHHHAAAH:
      in reply to

      @nikitonsky

      Next, let’s tone down punctuation

      And now you've lost me. "Toning down" means lowering contrast means making it harder to read. Why would I want any part of the code to be hard to read?

      In conversation about 4 months ago permalink
    • Embed this notice
      Niki Tonsky (nikitonsky@mastodon.online)'s status on Thursday, 16-Oct-2025 05:21:55 JST Niki Tonsky Niki Tonsky
      in reply to

      Hell yeah, we have beaten Apple _and_ AI!

      In conversation about 4 months ago permalink

      Attachments


      1. https://files.mastodon.online/media_attachments/files/115/380/038/330/698/583/original/aadeb63e699ac69b.png
    • Embed this notice
      Sergei Smagin (smagin@mastodon.online)'s status on Thursday, 16-Oct-2025 17:29:28 JST Sergei Smagin Sergei Smagin
      in reply to

      @nikitonsky hey, good post, agree on most of the things.

      So one case of using bold and italic instead of background colors would be to use background color for search highlighting, e.g.

      In conversation about 4 months ago permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: cdn2.dan.com
        things.so - Domain Name For Sale | Dan.com
        from @undeveloped
        I found a great domain name for sale on Dan.com. Check it out!

      2. https://files.mastodon.online/media_attachments/files/115/382/900/538/347/921/original/3510627cbc3202f9.png
    • Embed this notice
      Niki Tonsky (nikitonsky@mastodon.online)'s status on Thursday, 16-Oct-2025 17:55:13 JST Niki Tonsky Niki Tonsky
      in reply to
      • Andrej

      @alberand yeah, I’m thinking what to replace them with. They were too distracting

      In conversation about 4 months ago permalink
    • Embed this notice
      Andrej (alberand@mas.to)'s status on Thursday, 16-Oct-2025 17:55:14 JST Andrej Andrej
      in reply to

      @nikitonsky Did the animals have to go? And cursors too :(

      In conversation about 4 months ago permalink
    • Embed this notice
      Niki Tonsky (nikitonsky@mastodon.online)'s status on Thursday, 16-Oct-2025 17:57:16 JST Niki Tonsky Niki Tonsky
      in reply to
      • Dimitri

      @eugensson yep. People are so used to it they never questioned the premise

      In conversation about 4 months ago permalink
    • Embed this notice
      Dimitri (eugensson@mastodon.sdf.org)'s status on Thursday, 16-Oct-2025 17:57:17 JST Dimitri Dimitri
      in reply to

      @nikitonsky this is literally my last rant on twitter

      In conversation about 4 months ago permalink

      Attachments


      1. https://mastodon.sdf.org/system/media_attachments/files/115/382/657/791/377/955/original/98083d0c79658764.png

      2. https://mastodon.sdf.org/system/media_attachments/files/115/382/657/968/633/112/original/ed1a596a5009662c.png
    • Embed this notice
      Niki Tonsky (nikitonsky@mastodon.online)'s status on Thursday, 16-Oct-2025 18:09:54 JST Niki Tonsky Niki Tonsky
      in reply to
      • aerique

      @aerique nice!

      In conversation about 4 months ago permalink
    • Embed this notice
      aerique (aerique@genart.social)'s status on Thursday, 16-Oct-2025 18:09:55 JST aerique aerique
      in reply to

      @nikitonsky I've also been using my own restrained theme for ages now: https://codeberg.org/aerique/emacs-theme-aerique#emacs-theme-aerique

      Another important aspect of what restrained themes do is partitioning the code into easily scannable pieces.

      In conversation about 4 months ago permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: codeberg.org
        emacs-theme-aerique
        from aerique
        Theme centered on minimal syntax highlighting and distinct but not too harsh or distracting colors.
    • Embed this notice
      Niki Tonsky (nikitonsky@mastodon.online)'s status on Thursday, 16-Oct-2025 18:10:47 JST Niki Tonsky Niki Tonsky
      in reply to
      • Oriel Jutty :hhHHHAAAH:

      @barubary there’s not a lot of cases in practice where someone puts `,` in place of `.`

      In conversation about 4 months ago permalink
    • Embed this notice
      Oriel Jutty :hhHHHAAAH: (barubary@infosec.exchange)'s status on Thursday, 16-Oct-2025 18:10:48 JST Oriel Jutty :hhHHHAAAH: Oriel Jutty :hhHHHAAAH:
      in reply to

      @nikitonsky Easier to confuse ( and {, or , and ., or ; and :, or >= and =>. If you find it hard to visually separate letters/words and punctuation, may I suggest giving them different colors? 😈

      In conversation about 4 months ago permalink
    • Embed this notice
      (λ. borkdude) (borkdude@mastodon.social)'s status on Thursday, 16-Oct-2025 21:06:55 JST (λ. borkdude) (λ. borkdude)
      in reply to

      @nikitonsky Has anyone made alabaster for emacs?

      In conversation about 4 months ago permalink
    • Embed this notice
      Niki Tonsky (nikitonsky@mastodon.online)'s status on Thursday, 16-Oct-2025 21:06:55 JST Niki Tonsky Niki Tonsky
      in reply to
      • (λ. borkdude)

      @borkdude I don’t know! Shouldn’t be hard though

      In conversation about 4 months ago permalink
    • Embed this notice
      Niki Tonsky (nikitonsky@mastodon.online)'s status on Friday, 17-Oct-2025 02:03:18 JST Niki Tonsky Niki Tonsky
      in reply to

      Peeked into comments. Without live cursors or google-style presence avatars, people went back to discuss background color. Well

      In conversation about 4 months ago permalink
    • Embed this notice
      Niki Tonsky (nikitonsky@mastodon.online)'s status on Friday, 17-Oct-2025 02:13:47 JST Niki Tonsky Niki Tonsky
      in reply to
      • netop://ウィビ

      @netopwibby ❤️

      In conversation about 4 months ago permalink
    • Embed this notice
      netop://ウィビ (netopwibby@social.coop)'s status on Friday, 17-Oct-2025 02:13:48 JST netop://ウィビ netop://ウィビ
      in reply to

      @nikitonsky Ever since I discovered Alabaster, I can't go back.

      In conversation about 4 months ago permalink
    • Embed this notice
      Jon Clayden (jonclayden@mastodon.online)'s status on Saturday, 18-Oct-2025 08:32:53 JST Jon Clayden Jon Clayden
      in reply to

      @nikitonsky Really interesting post. I've created an Alabaster port for the Nova editor, since there didn't seem to be one yet

      https://github.com/jonclayden/Alabaster_Nova

      In conversation about 4 months ago permalink
    • Embed this notice
      Niki Tonsky (nikitonsky@mastodon.online)'s status on Monday, 20-Oct-2025 01:18:22 JST Niki Tonsky Niki Tonsky
      in reply to
      • Simon Lhoir

      @Dark_Chyper I mean, I don’t spend my whole day in my blog. I hope you don’t, either

      In conversation about 4 months ago permalink
    • Embed this notice
      Simon Lhoir (dark_chyper@pouet.chapril.org)'s status on Monday, 20-Oct-2025 01:18:25 JST Simon Lhoir Simon Lhoir
      in reply to

      @nikitonsky Very interesting article, I am in the process of adapting the dark theme for PhPStorm to my needs. I note all the same the irony of the article which advocates parsimony in the use of syntax highlighting, on a web page with such a bright background 🌞😎

      In conversation about 4 months ago permalink
    • Embed this notice
      Niki Tonsky (nikitonsky@mastodon.online)'s status on Monday, 20-Oct-2025 08:06:00 JST Niki Tonsky Niki Tonsky
      in reply to
      • Tamir Bahar

      @tmr232 what’s the opposite of thank you for showing me this?

      In conversation about 4 months ago permalink
    • Embed this notice
      Tamir Bahar (tmr232@mastodon.social)'s status on Monday, 20-Oct-2025 08:06:01 JST Tamir Bahar Tamir Bahar
      in reply to

      @nikitonsky This was a fantastic read, thank you. And I'm definitely going to try this out.

      Also, have you ever seen Source Insight?
      Their highlighting and typography are _wild_!

      In conversation about 4 months ago permalink

      Attachments


      1. https://files.mastodon.social/media_attachments/files/115/402/644/839/618/761/original/e64934aea72fae6a.png
    • Embed this notice
      Niki Tonsky (nikitonsky@mastodon.online)'s status on Monday, 20-Oct-2025 18:27:42 JST Niki Tonsky Niki Tonsky
      in reply to
      • Tamir Bahar

      @tmr232 that is better, thank you!

      In conversation about 4 months ago permalink
    • Embed this notice
      Tamir Bahar (tmr232@mastodon.social)'s status on Monday, 20-Oct-2025 18:27:43 JST Tamir Bahar Tamir Bahar
      in reply to

      @nikitonsky can I make amends by sharing some good highlighting?

      These are from x64dbg (replicating OllyDbg themes)

      In conversation about 4 months ago permalink

      Attachments


      1. https://files.mastodon.social/media_attachments/files/115/404/668/444/024/143/original/1381c37072202a37.png

      2. https://files.mastodon.social/media_attachments/files/115/404/671/948/038/602/original/a4113985025b24b6.png

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.