me

@me@social.jlamothe.net

Programmer and free/libre software enthusiast. This is my primary account on the Fediverse. See my website for an authoritative list of accounts.
https://jlamothe.net

This profile is from a federated server and may be incomplete. Browse more on the original instance.

me, to random

To those who argue "my VPN can't track me because I pay them in bitcoin":

You know they have your IP address, right?

me, to random

What if the reason we've never seen a time traveler isn't because it's impossible, but because humanity is going to wipe itself out before anyone figures out how?

me, to rust

Building a small personal project in to teach myself the language. As I was looking over my code, I noticed a mistake I'd made that technically worked, but was kind of silly so I fixed it.

This got me to wondering if Rust had a linter (it does) because surely I'd made other similar rookie mistakes. I found the linter and ran it on my project. It came back with one result that I already knew about: a value in a struct that doesn't get read because I haven't written that code yet. That was it.

I was surprised. It's still a very small project, but perhaps I'm a more competent developer than I give myself credit for.

me, to rust

Newbie question time:

I wan to use the current_local_offset function from the time library, but I apparently need to import it into my project with the local-offset feature.

I assume I need to specify this in Cargo.toml but for the life of me, I can't figure out how. Can someone point me in the right direction?

me, to random

Story time:

I've been holed up in the (home) office for most of the day (not uncommon). I happened to look out the window and noticed that our building was surrounded by cops.

Interesting.

Turns out they arrested one of the downstairs neighbours... for what, I don't know.

Here's the interesting bit though: apparently, the landlord offered them the key to the apartment, but they couldn't legally use it because there was no warrant. I guess that makes sense, but while they weren't allowed to to that, they apparently were allowed to enter the apartment by prying a window open or kicking the door in. In what world does that make any sense?

me, to rust

People who don't like : why specifically don't you like it?

I'm in the process of learning it now. There are definitely some things about the language that I can see some as finding irritating (i.e.: the borrowing system). Personally though, I'd rather have a dozen complie-time errors than a single runtime error. This is the reason I tend to gravitate towards Haskell, for instance.

It's certainly not the right language for everything, but if you want better safety in code that needs to be highly efficient, it seems a reasonable alternative to C/C++.

me, to rust

Taking another crack at learning (sorry @screwtape ).

me, to foss

Just pushed two pull requests to #Friendica. I love that #FOSS gives me that option rather than just begging the vendor to fix something.

me, to random

Today while I was out, I saw a guy at a busy intersection holding a handwritten sign. Obviously, I assumed he was panhandling, because people frequently do that there.

As I approached, I saw that his sign only had a URL on it. Out of curiosity, I visited it. Turns out it was some bitcoin mining scam.

While this was definitely a novel marketing approach, I wonder how they figured this particular tactic would instill confidence in anyone...

me, to infosec

Sitting in a waiting room in a medical imaging place and they have an ad for their app to get your results on a mobile device. Among other things, it reads:
"Permanently store them with bank level encryption" (emphasis theirs)

In my experience, if banks are their gold standard of , I really don't want my medical data anywhere near this system. Just sayin'.

me, to random

Words I never thought I'd say while making a coffee: "hang on, I'll get the pliers."

me, to random

I have a complaint about #C.

I don't like that a literal 0 is accepted as a null pointer. I just spent an embarrassingly long time tracking down a segfault because in an attempt to zero out a buffer, I accidentally used memcpy(&buf, 0, sizeof(buf)) instead of memset(&buf, 0, sizeof(buf)).

The compiler should've been able to catch this.

me, to random

Katy and I have made the trek out to this little place downtown Kitchener almost every Sunday for the past several months now. Every time we do, We're once again shocked at how good it is. You'd think we'd have just gotten over it by now, but not so.

me, to random

Thinking about looking into Matrix, even though I still don't understand what it offers that XMPP doesn't, primarily because I can get an account as part of my @SDF membership. What clients do y'all recommend? I need one for Android, and one that will run in a GNU/Linux (Debian) terminal.

me, to random

It should come as no surprise to anyone who's been paying attention that I've grown disillusioned with capitalism over the past several years. What's interesting to me though is that any time I express this publicly, there are no shortage of capitalists who falsely assert that I am claiming that communism is the ultimate solution to everything. This is a false dichotomy.

I am not saying I have the answers to the world's problems. I just have eyes to see that the emperor has no clothes.

Edit: typo

me, to Bash

Dear :

Is there a tool that I can use in a script to sanitize a string for inclusion into a URL parameter (e.g.: "foo bar" becomes "foo+bar" or "foo%20bar")?

me, to random

Time to stop procrastinating and clean the kitchen...

me, to random

I get why Fosstodon's English-only rule is controversial (I don't agree with it for the record). What I don't get is why people are suddenly up in arms about it now. It's not like it's a new rule.

me, to random

This is extremely frustrating.

I host a piece of software on my server for my father. He connects to it via (using ). He just got a new computer, and wanted me to set it up so that he could connect, just like I did with his previous computer. No problem right?

I show up, generate the key, and authorize it on the server, but for whatever reason PuTTY refuses to acknowledge the existence of this key. I know it's not even trying, because it doesn't even ask for the passphrase to decrypt it.

Has something changed in the latest version of PuTTY that I just don't know about? Do I need to do something the enable public key authentication beyond simply specifying the path to the key?

me, to xfce

Giving a try today. I had previously been on , and the only thing I miss (that may well have an analog here) is the hotkeys for window tiling (Super+Left, Right, Up, Down, etc.)

me, to random

@thegibson I've been noticing a few conversation threads where I seem to be missing replies from hackers.town members. Am I correct in my assumption that this is part of an anti-scraping/indexing effort, and not that I've inadvertently gotten myself moderated?

me, to random

Why doesn't the F-Droid version of @nextcloud support push notifications?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • kavyap
  • DreamBathrooms
  • InstantRegret
  • magazineikmin
  • osvaldo12
  • everett
  • Youngstown
  • khanakhh
  • slotface
  • rosin
  • thenastyranch
  • ngwrru68w68
  • Durango
  • JUstTest
  • normalnudes
  • ethstaker
  • GTA5RPClips
  • modclub
  • cisconetworking
  • mdbf
  • tacticalgear
  • cubers
  • provamag3
  • tester
  • anitta
  • Leos
  • lostlight
  • All magazines