Community
    • Login
    1. Home
    2. Popular
    Log in to post
    • All Time
    • Day
    • Week
    • Month
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • All categories
    • pbarneyP

      Need clarification about "built-in" language lexers

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      4
      0 Votes
      4 Posts
      326 Views
      pbarneyP

      @PeterJones said in Need clarification about "built-in" language lexers:

      So I asked ChatGPT why,

      Why would you believe that atrocity?

      It was probably an off-the-cuff question, but I figured I’d take it seriously. I know that this is going off-topic, so feel free to cull this response if you like.

      To tweak the old Russian maxim, it’s very much a case of “distrust until verified” (which is why I posted my question instead of just swallowing what the thing spit out.

      I’m not particularly a fan of them, and I honestly believe that in time, we (as in humanity) may come to regret their invention and our likely inevitable overdependence on them.

      But I’m also not an ignorant neophyte. I’m actually very well aware of the limitations and problems with LLM’s, probably more than most people, and despite that, I’ve found them to be useful in some contexts.

      First, you’re not wrong to call them “random text generators,” but that really is an oversimplification. It’s not just a flat index of word frequencies. Tehy’re trained with billions (or even trillions) of parameters that encode patterns across syntax, semantics and reasoning heuristics. From a purely mathematical point of view, it’s actually pretty intersting. But saying it’s “just statistics” is a bit like saying the human brain is “just firing neurons.” Yeah, it’s technically true, but it misses the interesting part.

      So yes, because they are probabilistic sequence models, they are perfectly capable of fabricating “facts” (i.e., hallucinations, especially with multi-dimensional requests or as the context window gets filled up), making overgeneralizations like missing edge cases, or have issues with compression bias, shallow chain-of-reasoning (although this one is getting a little better), ambiguity drift, context inference biases, fidelity drift when repeatedly iterating through details, context window size limitations for long conversations, etc. I have some experience dealing with each of these limitations to some extent.

      So I know all that going in, and since I do, I know not to rely on them as primary sources, and also how to account for many of those problems and a number of strategies to somewhat limit and mitigate the problems (e.g., authoritative source anchoring, chunking, forcing tabular output, explicitly prompting for blanks instead of it making guesses, etc). If I’m doing anything serious, I’ll use all the tools at my disposal, but I still know that if the output isn’t testable, it’s not trustworthy and I know not to rely on it for expertise; it’s just a tool I use to speed up my info gathering. I think of it as supplementary rather than authoritative.

      So it’s an occasionally useful tool that’s saved me some time by giving me a starting point to quickly gather ideas and point me to things I might not have thought of before I check with reliable sources (like you) that can actually confirm or invalidate them.

      I don’t expect to change any minds about it, and in truth, I don’t really even want to, but you always take the time to thoroughly answer people’s questions, and I wanted to respect that in turn.

    • MidnightGardenM

      Separate file association names?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      5
      0 Votes
      5 Posts
      262 Views
      NicholasN

      Here is my post about changing file type icons in the registry. It also changes the file type descriptions.

    • Neko_KaiohN

      Multiple lines merging when saving as HTML - Want to stop that

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      8
      0 Votes
      8 Posts
      176 Views
      Neko_KaiohN

      @pbarney Finally, some actual assistance on this forum. Thank you!

      The code I mentioned that was spat out included the <pre>, just in a different format. So I guess my fiddling was on the right path. I appreciate you taking the time to reply though, it gives me more info on what that code is/does.

    • donhoD

      Notepad++ v8.8.5 Release

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      12
      2 Votes
      12 Posts
      10k Views
      hdtythgd sgxgxvbH

      @PeterJones
      Thanks.

    • Zhane HernandezZ

      notepad++ flagged as malicious, should i worry?

      Watching Ignoring Scheduled Pinned Locked Moved Security
      4
      0 Votes
      4 Posts
      2k Views
      Zhane HernandezZ

      @xomx Thanks for your input, the analysis does seem to be a bit on the… overly cautious or paranoid side.
      maybe it’s time to find a new resource for risk analysis!

    • Sam CemS

      WebEdit Plugin for NPP x64 ?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      6
      0 Votes
      6 Posts
      1k Views
      Richárd StockingerR

      Hello again!

      Small update: it looks like I got the repo (discussed in the PR), so in the future I’ll try to keep the WebEdit plugin up to date. 🎉

      This is a huge honor for me, as WebEdit has been a cornerstone of Notepad++ for me for a very long time, and I still actively use it!

      Although I’m primarily a PHP developer, since Modula-2/Oberon-2 is a PASCAL-like language (no offense intended!), and C# is hopefully close to my plugin written in C++ (I’ll continue this too!), I hope I can rise to the task. 🫡

      So the v2.7.rc.3 release above (with a slightly different approach) ;) is still alive.

    • CoisesC

      SCI_GETCODEPAGE is NOT always either 0 or 65001

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      2
      2 Votes
      2 Posts
      368 Views
      Vitalii DovganV

      @Coises
      Yes.
      This is why CNppExec::convertSciText uses the actual Scintilla’s encoding nSciCodePage to convert Scintialla’s text to a desired encoding:
      https://github.com/d0vgan/nppexec/blob/develop/NppExec/src/NppExec.cpp#L2516