• Spotted in a drive-by on the web

    1
    5 Votes
    1 Posts
    131 Views
    No one has replied
  • A programmer had a problem...

    3
    5 Votes
    3 Posts
    459 Views
    donhoD

    @Alan-Kilborn

    It would have been more amusing if you had included an explanation of how this was you in trying to solve a current Notepad++ coding problem. :-)

    You’re not wrong.

    Here’s the whole story:
    https://github.com/notepad-plus-plus/notepad-plus-plus/pull/15681

    Long story short: I tried to remedy the network file disconnected hanging problem. So I used thread. It leads the zombie process after closing Notepad++. Of course, the thread solution has been abandoned partially.

  • Yet another old computer support issue

    1
    0 Votes
    1 Posts
    487 Views
    No one has replied
  • An updated list of Notepad++ "Easter Eggs"

    12
    3 Votes
    12 Posts
    4k Views
    Alan KilbornA

    @mkupper said in An updated list of Notepad++ "Easter Eggs":

    Npp’s code makes frequent use of hard coded values, negative logic, and path not taken style of coding. It keeps you on your toes.

    You state this like it is overall a “bad thing”. IMO, it in general is very typical code for its time.

    I’ll not agree with “frequent use of hard-coded values”, generally. The case you’re discussing, though, may be an exception with its introduction of -2. The use of -1 is fairly typical, though. I’m not a fan of it, as it often makes things “awkward”, but I did just use it myself in the code that returns the color id of a tab (where -1 signifies “no color”).

    For use of “negative logic” and “path not taken”, I can’t comment unless some specific examples are given, but again I think N++ code is pretty typical of most code of its era in this regard.

  • ASCII Art editor

    5
    8 Votes
    5 Posts
    4k Views
    Alan StuA

    @donho Easter egg! Now updated to “We come in peace”.
    May I add this text stereogram, it does work but expand to full lines in fixed font of course.

    md#WzV6K$YkTW6ad#WzV6K$YkTW6ad#WzV6K$YkTW6ad#WzV6K$YkTW6ad#WzV6K$YkTW6ad#WzV6K
    G%#Do%Rl&?NXUQC%#Do%Rl&?NXUQC%#Do%Rl&?NXUQC%#Do%Rl&?NXUQC%#Do%Rl&?NXUQC%#Do%Rl
    6Tf%gbQUmZ0YoOHTf%gbQUmZ0YoOHTf%gbQUmZ0YoOHTf%gbQUmZ0YoOHTf%gbQUmZ0YoOHTf%gbQU
    VdxBWReL8u7dTJ#dxBWRe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gO6ZxGWWoKsFK
    AXrVe6JHudUQnM#XrVe6JHudUQnM#XrVe6JHudUQnM#XrVe6JHudUQnM#XrVe6JHudUQnM#XrVe6JH
    s8pRbQEGM4qa?BQ8pRbQEGM4qa?BQ8pRbQEGM4qa?BQ8pRbQEGM4qa?BQ8pRbQEGM4qa?BQ8pRbQEG
    1baVCGo@1JfOufgbaVCGo@1JfOufgbaVCGo@1JfOufgbaVCGo@1JfOufgbaVCGo@1JfOufgbaVCGo@

  • Word of the Day

    3
    8 Votes
    3 Posts
    721 Views
    Alan StuA

    @donho The game of spending hours to change or add one character.

  • So is it really a bug or designed as a feature?

    4
    6 Votes
    4 Posts
    698 Views
    Alan StuA

    @Terry-R Seen a few of these pics.VW Bug.jpg

  • During the Xmas time, let me wish you...

    5
    6 Votes
    5 Posts
    591 Views
    Alan StuA

    @mkupper Best I can do is change the font.

  • Since I changed my coaster in the office...

    2
    0 Votes
    2 Posts
    304 Views
    Lycan ThropeL

    @donho ,
    Well, it’s not a concealed…umm…coaster so it can’t be a weapon. : -)

  • I couldn't agree more with Malkovich

    2
    1 Votes
    2 Posts
    330 Views
    Lycan ThropeL

    @donho,
    Amen to that. :-)
    I always seem to be needing to do something and I can tell when it slows up that something is up. Go get coffee or something to keep going and it starts updating or boots closing everything. I fully endorse Malkovich’s sentiment. :-)

  • And I listen it over and over and over again.

    1
    5 Votes
    1 Posts
    405 Views
    No one has replied
  • Are they serious?

    10
    8 Votes
    10 Posts
    2k Views
    mkupperM

    Welcome to the AI driven future…

    Are there web sites that will translate plain human languages into AI speak or Aiglish?

  • Yet another flowchart

    2
    3 Votes
    2 Posts
    482 Views
    Alan KilbornA

    @donho

    Took me longer than I’d like to admit, but…it looks like a wind chime!

  • Profile picture

    4
    5 Votes
    4 Posts
    690 Views
    supasillyassS

    It thought it was Admiral Ackbar, until I clicked on it and realised it was a trap.

  • 2 Votes
    3 Posts
    948 Views
    M

    @mkupper said in 0110001001101001011101000010000001110110011100110010000001100010011110010111010001100101:

    is there a way to do it in one shot within Notepad++.

    Yes, but only if you count running a pure python PythonScript script with no editor/notepad functions

  • An old rhyme about computers

    1
    6 Votes
    1 Posts
    613 Views
    No one has replied
  • notepad#

    3
    1 Votes
    3 Posts
    598 Views
    rdipardoR

    Believe it or not, “NotepadSharp” is the name of a (very obsolete) plugin with a long list of features, many of them now replaced by N++'s built-in capabilities.

  • Daily WTF

    8
    4 Votes
    8 Posts
    2k Views
    ThosRTannerT

    While looking at the win32 xml APIs, I found https://learn.microsoft.com/en-us/previous-versions/windows/desktop/ms762722(v=vs.85)

    Specifically the C API here:

    HRESULT load( VARIANT xmlSource, VARIANT_BOOL *isSuccessful);

    where

    Parameters xmlSource[in] An indicator of the source XML to parse. This may be an URL (String/BSTR), a Request object (in an ASP page), an IStream, SAFEARRAY of bytes (VT_ARRAY|VT_UI1), a DOMDocument object, or any object that supports IStream, ISequentialStream, or IPersistStream. See Remarks for more information. isSuccessful[out, retval] True if the load succeeded; False if the load failed. Return Values S_OK The value returned if successful. S_FALSE The value returned if the load fails. E_INVALIDARG The value returned if the isSuccessful parameter is Null.

    So you have to pass a pointer to a bool to hold more or less the same information as the return value of the function, and if you pass a null pointer, you get your hand spanked…

  • A programmer is walking along a beach and finds a LAMP...

    1
    9 Votes
    1 Posts
    575 Views
    No one has replied
  • ^[\w-\.]+@([\w-]+\.)+[\w-]{2,4}$

    1
    4 Votes
    1 Posts
    719 Views
    No one has replied