HackerTrans
トップ新着トレンドコメント過去質問紹介求人

MrMetric

40 カルマ登録 2 年前

コメント

MrMetric
·14 時間前·議論
I've had to batch-rename files many times over the years. That means:

1. I do it manually over however many minutes. Works if there aren't too many (especially if the pattern is too complex to trivially automate).

2. I make a Python script for it. No way I'm renaming a thousand files by hand.

3. I don't do it. Too much work. The problem lingers forever.

Or these days,

4. I make an AI datacenter eat another town's water supply.

I've never used Emacs. I tried vi(m) nonconsensually and had to google how to exit. A while later, I tried it intentionally and hkjl navigation didn't work because I use a custom keyboard layout, so I never touched it again. Sublime Text and its many cursors for the win!

I'd love a way that isn't miserable to do such a common basic task.
MrMetric
·先月·議論
Yes, they're way better now! The quality was poor because they were using decades-old original IBM tooling, and injection molds don't last forever D:. But, they made new molds in, I think, 2020? I bought a New Model M in 2021. Mine has a custom-printed layout, and it looks stock, not just some one-off. The plastic chassis is sturdy and doesn't need any sort of filing. It's been my daily driver ever since and is my favorite keyboard I've ever used, so I happily recommend them to any typing enthusiast. Sooo much better than Cherry switches (or, dog forbid, "office" keyboard rubber domes).
MrMetric
·3 か月前·議論
An internal combustion engine may be complex, but it's not fancy. I can see and touch and understand every part of it. I can maintain and modify and repair it. This is not true for fancy electronics and certainly not locked-down proprietary firmware.
MrMetric
·6 か月前·議論
The difference is this isn't an inherently hard problem. It's just stupidity. The difficulty is not inherently interesting, because it's all made up.
MrMetric
·7 か月前·議論
Change your network name. When the TV prompts you to connect, join the renamed network. Then, rename it back so everything else can connect again and the TV can't. I can think of a few potential problems with this, but, it might work?

Or blacklist the TV's MAC address in your router settings. Didn't think of that first for some reason.
MrMetric
·7 か月前·議論
Simple: A version specifier, or feature specifiers. Backward compatibility concerns vanish when I can opt-in to a newer spec. Old code keeps working, and new code doesn't suffer for legacy nonsense.

For example, the Circle compiler extends C++ with its `#feature` directive: https://github.com/seanbaxter/circle/blob/master/new-circle/...

Sadly, the closest I've personally seen to this sort of thing in widespread use is `"use strict";` in JavaScript, which is only a single binary switch. You can't, say, turn on a new keyword, disable a keyword, switch to a different incompatible version of some browser API, etc.

I encourage all language designers to include a feature mechanism in a forward-compatible way. Don't overthink the difficulty: It doesn't need to do anything at first, it just needs to not be a parsing error. Treat it like a comment. FYI, this is the same as having a version number or header size in a binary file format's header, which all sane formats have (there are a lot of insane formats out there...).
MrMetric
·8 か月前·議論
My mobile phone's data connection isn't free. I'd prefer it not be wasted on sloppily-made websites.