Some middle-aged guy on the Internet. Seen a lot of it, occasionally regurgitating it, trying to be amusing and informative.

Lurked Digg until v4. Commented on Reddit (same username) until it went full Musk.

Was on kbin.social (dying/dead) and kbin.run (mysteriously vanished). Now here on fedia.io.

Really hoping he hasn’t brought the jinx with him.

Other Adjectives: Neurodivergent; Nerd; Broken; British; Ally; Leftish

  • 0 Posts
  • 40 Comments
Joined 4 months ago
cake
Cake day: August 13th, 2024

help-circle
  • Ctrl-/

    … and if you don’t like that horrible subversion of what a vi-user might expect to be the search feature*, there’s also Meta-G, which is slightly more similar to vi’s usage.

    You can also nano +L[,C] filename on the command line replacing L and C with respective line and column number, which I believe is a feature borrowed from vi.

    *The search feature is Ctrl-W for “where is”. Firefox users use this in the wrong window at their peril (it closes the current window). Find and replace is on Ctrl-\, which is even more of a subversion.

    I can use vi, but still prefer nano.


  • Hey, back in the late 90s I bought a laptop from a reputable seller and had literally no idea who the manufacturer was. Was a pretty good laptop for the era too. The badge on the back of the monitor said “Notebook”.

    I had to put the product ID code on the bottom into an online search engine - possibly very early Google - to find out it was made by Taiwanese company called Kapok.

    Kind of wish I still had it, but I donated it to a good cause years ago.




  • This is more programmer humour than a Linux meme, but I’ll bite.

    Over a decade ago I worked for a company where I was in customer support, and very much not on the dev team. A customer suggested a feature be added to one of the online tools the company provided. I figured it could be done with a simple bit of HTML and JavaScript, and mocked something up to send to the dev team as an example of what such a feature might look like and how it might work.

    My crappy code was copy-pasted wholesale into the site. I have no idea if it’s still there as, for obvious reasons, I don’t have access to that system, but at least one of their other interfaces - one where I retain an account - hasn’t changed visibly since I worked there, so it’s definitely possible.








  • Find yourself a language that allows negative indices to count back from the end of an array.

    In those languages, index 0 is usually the first element, but if you’re particularly perverse and negate your indexing, you can start at 1, or rather -1, at the other end and work backwards.

    0-indexing originally comes from needing to add to the array’s base memory address to locate elements. If you have an array at memory address 1234, you might expect to find the first element at that address, which would be 1234+0, and the next at 1234+1, etc.

    1-indexing started as either a deliberate abstraction from that idea, and/or else there’s something else stored at 1234 that the array data type needs and the real elements start at 1234+1.

    All that said, there’s at least one language that insists the indices of an array be of a subtype of some Integer type that must have a limited range. Then you can start and end wherever you like, and the whole 1 vs 0 business is meaningless (except to whoever writes the compilers for that language anyway).







  • 2K was my jam.

    The death of the DOS line of Windows (3.x, 9x, ME) lead to the decision to inject clown DNA into NT in order to appeal to the masses and that’s how we ended up with XP.

    Vista was an attempt to eradicate the clown, but it was still there, people hated it and because Microsoft thought they had eradicated the clown, they thought people wanted more clown, and that’s how we ended up with Windows 8.

    What about 7? The clown gene skipped a generation.