

Interesting. I wonder what the thinking is here? It’s almost like a really poor manual password hash. Here’s something derived from my date of birth. Store that instead of the actual date. Pretty weak though.
Interesting. I wonder what the thinking is here? It’s almost like a really poor manual password hash. Here’s something derived from my date of birth. Store that instead of the actual date. Pretty weak though.
In fairness, I remember a time when everyone smoked in Japan and flicked cigarette butts all over the place.
I can’t speak for others, but the python3 transition wiped the smile off my face for awhile there.
Oh I see. syncthing is more for keeping 2 directories synched between machines. I guess in a sense, it’s more of a Dropbox competitor while croc and sharr are for one-off file transfers. For awhile, I ran an owncloud server at work for internal use. It was pretty good for file synching, but required some port forwarding through the router. These solutions mentioned here seem to all have a public host somewhere to eliminate that need.
Cool. I’ve been using croc lately to move files around, but this differs in that they are supplying temporary off-site storage so that the host doesn’t have to remain online.
I suppose it depends on the language? For the most part I think you’re right. Exceptions are only used (if at all) in situations where a program diverges unexpectedly from its normal flow. But take a language like Python. They’re just everywhere. Even your plain old for
loop ends on an exception, and that’s just business as usual.
That’s pretty sad when you have to pirate a game just to make it playable. I probably shouldn’t admit to having cracked games in the past for this reason. Yarrr!
This is actually the first I’ve heard of Denuvo, but if Wikipedia’s page on it is any indication, it sounds pretty awful! Anyway, I’ve checked the dealbreaker box on the survey.
I haven’t done so personally. A lot of my old activity had to do with helping people with programming questions, so if it’s still useful to someone on occasion, I don’t feel inclined to remove it.
I left reddit a little over a year ago now, and I don’t really care about what goes on over there. I made my statement of displeasure by simply ending all activity on the platform. I figure whatever legacy I left will eventually descend into irrelevance without my having to physically delete it all. At this point, that just sounds like work.
Well that’s the way it should be. If they’re selling your data, they should compensate you for that in some way. Then it becomes a personal decision as to how much it matters to you.
Ah that makes sense.
I think another thing that might be uniquely Canadian is when you’re paying at a drivethru and you see the machine emerge from the pickup window taped to the end of a hockey stick. That was a big thing during the pandemic for social distancing. I guess more recently, they’ve been moving to less improvised solutions, which is a shame. I really liked the hockey stick!
The cash I have on hand comes exclusively from playing pub gigs in a band. That is still very much a cash-driven economy where I am. When I accumulate enough, I usually wind up spending it on music gear, so I don’t think this hobby of mine is major wealth-builder. But while many businesses are moving away from cash, it seems music stores are used to people like me and still allow fairly hefty cash transactions.
The other day I was settling my tab at the pub and the guy hands me a machine. I say, I’ll pay by cash thanks. He says really?!? Dude, you literally just handed me cash for the gig tonight. Oh yeah…
Canada has universal tap to pay also, but what surprised me about the UK—at least in the London area—was how quick it was? The payment processing was near-instantaneous. In Canada, I think the machines make a phone call behind the scenes to a bank or something? There’s a significant delay before it goes through.
The thing about the MPW Shell is it was sort of the only game in town if you actually wanted a command line with the classic Mac OS. (There’s an awesome little emulator called SheepShaver if you ever want to explore it btw.) Well, I suppose there was A/UX. I thought it was a miracle when that came out. You have to realize in those early days a good chunk of the operating system itself was actually baked in to ROM. (You had to do desperate things to squeeze a GUI out of such limited resources as existed back then!) So to this day I have no idea how they managed to spin off a 'nix despite that.
Anyways. I wonder, if you made some sort of template format today, to what extent you could write some sort of conversion tool that would scrape a man page or whatever to rough it in and then you could tweak it to get what you want? man pages aren’t super standardized in their format I guess, so it’s probably more trouble than it’s worth. I like to use Python’s argparse
when rolling out scripts myself, and its --help
format is pretty rigid given that it’s algorithmically generated. Might be more plausible with something like that? I had a quick look just now to see if you can drill down into the argparse.ArgumentParser
class itself to pull out the info more directly, but it seems a rather opaque thing that doesn’t expose public APIs for that. Oh well…
This reminds me of something from my ancient past. Back in the early-ish days of Apple, there was a development system called MPW (Macintosh Programmer’s Workshop) which included its own little kludgy shell.
The weird thing about it though was while you could enter commands on the command line like in any shell, you could prefix them with the word commando
(presumably a portmanteau of “command” and “window”) and this window would pop up showing various buttons, checkboxes, etc. correponding to command line options. When you ok’d the window, it would generate the command line for you.
I’m rather hazy about how all this worked, but I think there was some sort of template language to define the window layout if you wanted to add commando support for your own tool? And presumeably, as you say, you could restrict what’s possible with the window interface as you deemed fit?
You mean like the comment fields we’re using right here on lemmy?
As others have pointed out, it’s usually some markdown that’s embedded within the text. Lemmy is using a format that’s actually called “markdown” if I’m not mistaken, or a slight variation/subset thereof.
I’ve gotten used to the double-star for bold and what not to the point that it annoys me when some message client or whatever doesn’t support it. I share code snippets with people fairly often, and the code markdown is particularly useful to maintain its legibility.
I guess the MAC address guy is up next. 48 bits may not go so far if every light bulb is going to want its own.
Imagine if you were the guy who made the call on IPv4 addresses…
Falsehoods About Time
Having a background in astronomy, I knew going into programming that time would be an absolute bitch.
Most recently, I thought I could code a script that could project when Easter would land every year to mark it on office timesheets. After spending an embarrassing amount of…er…time on it, I gave up and downloaded a table of pre-calculated dates. I suppose at some point, assuming the code survives that long, it will have a Y2K-style moment, but I didn’t trust my own algorithm over the table. I do think it is healthy, if not essential, to not trust your own code.
Falsehoods About Text
I’d like to add “Splitting at code-point boundary is safe” to your list. Man, was I ever naive!
Interesting. I had never heard of LilyPond before. I do a lot of music scoring using abc notation and even wrote myself a GUI to help with that, but it’s interesting to see that there is another script language for generating sheet music.