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

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,
whitequark, to random
@whitequark@mastodon.social avatar

please tell me the most obscure joke you know

(feel free to explain or not explain it, depending on what you find more amusing to think of me reading it)

me,

@xgranade I simultaneously do not understand this, yet at the same time feels completely in-line with what I do understand about quantum mechanics (i.e.: take everything that makes intuitive sense and throw it out the window).

me,

Oh yeah, I can't see any practical use outside of educational, but for that purpose, it's a fantastic resource.

me,

Yeah, I found his videos by jumping down a 6502 rabbit hole.

jlamothe, to helpers
@jlamothe@fosstodon.org avatar

@helpers I updated my OS from Debian 11 to 12 (finally) and when I did, apache2 broke. I've got it reinstalled, but I'm 99% certain it's missing required modules. (see: https://social.jlamothe.net for the error I'm encountering). Is anyone able to help me hunt down which modules I'm still missing?

me,

@hypolite @jlamothe It's working!

Turns out I'd already fixed the problem, I just had to restart Apache.

It also fixed the problem with my Nextcloud instance!

evan, (edited ) to random
@evan@cosocial.ca avatar

What is your relationship with your instance owner?

me,

@evan Self doesn't seem to be an option, but I am rather strange, so stranger?

yogthos, to random
@yogthos@mas.to avatar
me,

@stux @yogthos Gul Dukat?

silverwizard, to random

I spent two hours this morning discussing recovery strategies, and now I need to figure out how to write that two hour meeting into a single document

me,

@silverwizard Sounds like you're in for a fun Monday.

xgranade, to random
@xgranade@wandering.shop avatar

How did webdev get to the point that repeating <h1 class="font-bold text-xl mb-2"> for every individual header is an incredibly popular approach?

me,

@xgranade We might as well go back to using <font> tags at this point. That said, procedurally-genetated code (which I assume is what this is) is usually ugly because debugging is typically done at a higher level of abstraction.

me,

@xgranade Oh, so it's just someone who missed the entire point of CSS then. No biggie.

Or they wrote it in a WYSIWYG editor?

me,

@secret300 bboard and com both take some getting used to, but they're both pretty great once you do.

me, to rust

Building a small personal project in #Rust 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.

Qyriad, to random
@Qyriad@chaos.social avatar

I like the thing where starting a message with @example makes it ambiguous if you started the sentence with a capital letter or not

me,

@mrconorae Reminds me of this:
xkcd.com/1813/

me, to rust

Newbie #Rust 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,

@hypolite I try not to attribute malice, but that does seem to satisfy Occam's Razor.

me, to rust

People who don't like #Rust: 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,

Found my first point of irritation. Crates.io requires a GitHub account.

I have one, but I don't like to use it.

That said, creating a crates.io account seems optional-ish...

atomicpoet, to random
@atomicpoet@atomicpoet.org avatar

Thanks to @deadsuperhero, I now know how to create an SVG logo that changes according to a system theme. Here’s how to do it:

  1. Open the SVG logo in a text editor
  2. Text editor will then display XML code
  3. Look for fill= and a colour hex code (the hex code is identifiable with a “#” prepended to it)
  4. Change the hex code to “currentColor” so that it says fill=”currentColor”
  5. Save

Now your logo will be adjustable according to a webpage’s dark/light theme.

On another note, I just learned that SVG logos are editable with a text editor.

RE: https://atomicpoet.org/objects/daeb8be5-d668-43ff-bc2d-e1a6ae360ea2

me,

@atomicpoet @deadsuperhero I've actually been meaning to do some digging into the SVG file format. I did know it was XML. I want to be able to programmatically create things like graphs and such.

Sure, such libraries probably already exist, but where's the fun in that?

me, to rust

Taking another crack at learning #Rust (sorry @screwtape ).

me,

@screwtape Yeah, Veilid is the reason I'm choosing to use Rust in the first place. The last time I read the documentation, I was generally able to understand the concepts (at least in theory). I just didn't really have a project in mind to put that learning into practice, so much of it has faded.

If I can learn Haskell though, I'm sure I can learn Rust.

me,

Just got to the section on Smart Pointers. As I recall, this is where things start to get particularly interesting/complicated.

NatureMC, to visibleMending
@NatureMC@mastodon.online avatar
me,

@NatureMC This kinda reminds me of Kintsugi, but more affordable.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • Leos
  • tsrsr
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • hgfsjryuu7
  • Youngstown
  • InstantRegret
  • slotface
  • khanakhh
  • rosin
  • ngwrru68w68
  • kavyap
  • PowerRangers
  • normalnudes
  • tacticalgear
  • cubers
  • everett
  • vwfavf
  • ethstaker
  • osvaldo12
  • Durango
  • mdbf
  • cisconetworking
  • modclub
  • GTA5RPClips
  • tester
  • anitta
  • All magazines