HN user

JayGuerette

127 karma
Posts0
Comments21
View on HN
No posts found.
SSH Secret Menu 4 months ago

I use ProxyCommand in edge-case devices where key auth is not an option and the password is not controlled by me. ProxyCommand points to a script the retrieves the password from the vault, puts it on the clipboard for pasting, reminds me via stderr it's done so, and then proxies the connection.

Also -X or --no-init

" ... desirable if the deinitialization string does something unnecessary, like clearing the screen."

I prefer to not clear the screen. I usually want to continue to refer to something or even copy/paste from the content to my current command line.

About 8y ago we were looking at a used Mini Cooper. Car Fax reported no major problems. I went to the bank to get a loan. They reported 2 minor and 1 major accident that the car had been in that were NOT reported by Car Fax. Once we knew where to look we were able to see evidence of the damage & repairs to the car.

I think that if lending institutions don't trust Car Fax then we probably shouldn't either.

"I'm not sure why it is that Windows 3.1 is the go-to when people name a Windows OS of this era."

It's because business was the primary market for PCs and Windows 3.11 added a network stack and changed everything. Networking was no longer an arcane science that required 3rd party software. Office networks became almost trivial to set up. The impact of this on the world is impossible to overstate. Everybody who used Windows in this era used Win 3.1(1).

Apple isn't creating neural hashes for CSAM detection, as they'd have to be in possession of source material to create them, so they're getting them from someone else. Since it's indistinguishable in it's hash form, when the supplier becomes interested in looking for something else, nobody will ever know.

XFCE 4.18 4 years ago

I've used XFCE seemingly forever, at least 20 years.

In recent years I've grown to dislike Thunar and a variety of other things that were mostly GTK issues and some XFCE issues. I was really frustrated with clicking on the system tray and having that click register as a click on the menu that popped up, that just so happened to be 'Quit', and closing the app.

Then I upgraded my computer in a huge jump. Sure, games were faster, but I wouldn't enjoy the results of my investment at any given moment. So I switched to KDE for the first time ever, with animations and sexiness everywhere. It's got it's issues, and it's multi-monitor support is really sub-par, but so many things suddenly work better.

Best example: The flow of clicking on a ZIP to download and ultimately looking at the extacted output in new folder is suddenly effortless and intuitive.

I love the polish of KDE and while I'm tempted to give XFCE another try, the thought of giving up on the effortless sanity of KDE for GTK funk makes me shudder.

"... a terminate-and-stay-resident program (or TSR) was a computer program running under DOS that uses a system call to return control to DOS as though it has finished, but remains in computer memory so it can be reactivated later. Needless to say, this was extremely unreliable."

There were very likely some hacky TSRs that caused problems, but in my experience most were extremely reliable. We used an off-the-shelf TSR to enhance a motion control system that laser scribed ceramic vacuum checks for silicon wafer fabrication. Those things cost $5k in 1990, and took ~20h of processing, increasing their value to $15k; we wouldn't screw around with something that was inherently "extremely unreliable".

I've used pushover for years as well. I wish they would charge me $5/y instead of a $5/lifetime. I've asked them to do that. I want this service to last.

I set up Tasker on my phone such that when a specific low-priority (no visible/audible alert) message from pushover, containing only a hash key, is received it picks it up and does an HTTPS request to my self-hosted server to retrieve the actual notification text.

I have a bash/websocat client connected 24/7 to wss://client.pushover.net/ as well that I should probably put up on git for other people.

Pipe Viewer 4 years ago

pv is a great tool. One of it's lesser known features is throttling; transfer a file without dominating your bandwidth:

pv -L 200K < bigfile.iso | ssh somehost 'cat > bigfile.iso'

Complete with a progress bar, speed, and ETA.

My version, better alignment, grayscaled icons, eliminates duplicates on navigation:

    // ==UserScript==
    // @name     hacker news favicons
    // @match  https://news.ycombinator.com/*
    // ==/UserScript==
    for (let link of document.querySelectorAll('.titlelink')) {
      if (link.attributes["hasIcon"] != 'true') {
        const domain = new URL(link.href).hostname
        const imageUrl = `https://icons.duckduckgo.com/ip3/${domain}.ico`
        const image = document.createElement('img')
        link.attributes["hasIcon"] = 'true'
        image.src = imageUrl
        image.width = 16
        image.height = 16
        image.style.paddingRight = '0.50em'
        image.style.paddingLeft = '0.50em'
        image.style.verticalAlign = 'middle';
        image.style.filter = 'grayscale(1)';
        link.prepend(image)
      }
    }

"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." - Brian Kernighan

His claimed inspiration, Hillel Wayne’s post “Why Python is my Favorite Language”, is a piece of fluff that basically says "I only like the things I already know". I was so uninspired, I couldn't read further.