ExtremeDullard

joined 1 year ago
[–] ExtremeDullard@lemmy.sdf.org 10 points 3 hours ago (3 children)

Here's a rule I learned the hard way a few decades ago:

  • If you type "rm", take you hands off the keyboard and take one deliberate breath before continuing your command.
  • If you then type "-r", do it again.
  • If you then type "-f" do it again.
  • In all cases, re-read what you wrote before hitting ENTER.
[–] ExtremeDullard@lemmy.sdf.org 11 points 5 days ago (1 children)

I hate Elon Musk as much as the next guy - and all the more now that he has this massive conflict of interest working in his favor and at the American public's expense.

But I will say this for the sake of exercizing critical thinking: everybody is happy to say AI hallucinates when what it says doesn't suit their narrative, and call AI intelligent when it does.

[–] ExtremeDullard@lemmy.sdf.org 33 points 1 week ago

People coming here to rant about Reddit isn't activity.

[–] ExtremeDullard@lemmy.sdf.org 13 points 2 weeks ago

Here's an interesting video about Zuckerberg's rebranding:

Why Zuckerberg’s Rebrand Shouldn’t Distract Us

[–] ExtremeDullard@lemmy.sdf.org 14 points 3 weeks ago

Je crois que j’ai perdu une heure.

Vous vous trompez. Au passage à l'heure d'hiver, vous gagnez une heure - ou au pire si vous voulez pinailler, vous répétez la même heure deux fois.

[–] ExtremeDullard@lemmy.sdf.org 0 points 3 weeks ago (2 children)

Not really. Only shaked my head in disbelief.

[–] ExtremeDullard@lemmy.sdf.org 19 points 3 weeks ago (22 children)

Have you ever seen a TikTok video? Why on Earth do we want that on the Fediverse? Not everything that exists deserves to be copied.

[–] ExtremeDullard@lemmy.sdf.org 1 points 1 month ago

Well yeah, I look at All too, to make sure I'm not missing out on something interesting. But I must do that every month or so.

[–] ExtremeDullard@lemmy.sdf.org 2 points 1 month ago (1 children)

That escalated quickly

That's too much credit to the poster.

I'd say it went down the sewer quickly, rather.

[–] ExtremeDullard@lemmy.sdf.org 1 points 1 month ago (3 children)

Ah right okay.

I only look at the ones I subscribed to myself. Different approach I guess.

148
submitted 1 month ago* (last edited 1 month ago) by ExtremeDullard@lemmy.sdf.org to c/linux@lemmy.ml
 

Earlier this week my company bought a LIDAR from Ouster. The LIDAR is a network device: it has an ethernet interface, it gets its IP from a DHCP server and then it talks to whichever machine runs the Ouster application.

The engineers and the marketing guy in charge of evaluating it installed the software on a Windows 11 laptop and tried to make it work for 2 days, to no avail. The software simply wouldn’t connect.

So they came to me, the unofficial company “hacker”, to figure it out. And I did: the culprit, as always, was the Windows firewall. Because of course…

But here’s the twist: because it’s Windows, you need some sort of additional antivirus on top of it. Our company uses WithSecure, which is phenomenally annoying and intrusive, and constantly gets in your way when you try to do any work in Windows that isn't Word or Excel. And of course, WithSecure wouldn’t let me punch a hole in the Windows firewall, because of course…

Anyhow, after trying to work around Windows and the hateful compulsory antivirus, I called IT and told them I needed WithSecure disabled, at least temporarily. They told me to fuck off because they’re not letting an unsecured Windows machine on the intranet.

Fine. I pulled another, older Windows laptop without any antivirus, connected it to an air-gapped router, configured DHCP in the router, connected the LIDAR to the router, launched the Ouster app and… it didn't work.

After 3 hours trying to figure out what was wrong, I finally found the problem: the stupid app is an Electron app built with an older version of Electron that had a bug in node.js that prevented it from working if it couldn’t resolve some internet address.

Sigh… Electron… Because of course…

This was getting too painful and annoying with Windows. So I blew away the Windows partition, installed Linux Mint on the laptop, configured the ethernet interface as a private interface, installed the DHCP server so I could do away with the router, connected the laptop to the guest wifi so the stupid Electron app could resolve whatever it needed to resolve to work, installed the Linux version of the Ouster app, and hey-presto, it worked rightaway.

So I made an account for the guys in Mint and handed them the laptop. They played with the LIDAR for a few hours without any problem, pulled records and files out of the machine on USB sticks without any problem, viewed some Excel files in Libreoffice without any problem.

Eventually the marketing guy asked me:

“So what was the problem then?”
“Windows of course” I said. “What else?”
“Wow. That Linux stuff is really good. We tried so hard to make this work but we never could. But it worked rightaway in Linux. That’s slick!”
“Well yeah, I keep telling you guys Windows is crap. There are reasons and this is one of them.”
“Yeah I can see why you don’t like it. And that Linux desktop is really nice actually. I might give it a spin at home.”

So hey, I managed to impress a marketing guy with Linux 🙂

It shows how polished Linux has become, if ordinary computer users can be convinced this easily now. It wasn’t like that for a long long time and it feels kind of rewarding to know you bet on the right horse all along and you're vindicated at last.

 

Apparently I installed that thing in 2006 and I last updated it in 2016, then I quit updating it for some reason that I totally forgot. Probably laziness...

It's been running for quite some time and we kind of forgot about it in the closet, until the SSH tunnel we use to get our mail outside our home stopped working because modern openssh clients refuse to use the antiquated key cipher I setup client machines with way back when any longer.

I just generated new keys with a more modern cipher that it understands (ecdsa-sha2-nistp256) and left it running. Because why not 🙂

 

I got into computers when there was no GUI.

Then years later I got a Win95 PC and I found the Windows GUI pretty good - although the rest of the OS was not. My personal Linux PC running Slackware 96 came with FVWM95 wich was a good approximation. So I switched to that.

That was just for graphical utilities of course - of which there weren't very many. I spent the rest of my time in the Linux console or in xterm using screen for convenience.

Fast-forward to today: I still do that. I still like the Win95 UI paradigm, so I run Mint / Cinnamon. But most of what I do with it is open a Gnome terminal, blow it up and start tmux - like screen but better.

And, ya know, for almost 3 decades, whether it's Mint or anything else I used, that's pretty much what I've been doing: running screen in a terminal in a Win95-like GUI. And it works fine for me.

I recently ordered a laptop that comes with Debian / Wayland and the Sway window manager installed by default. I learned a long time ago that it's often better to go with whatever is installed by default than try to reinstall everything and fight a system that wasn't designed for it.

The laptop will take a few weeks to get here. So to prepare for when it lands on my porch, I decided to get into Sway on my current machine, to get used to it. I figured even if I don't like it, at least that way I'll be comfortable with it, and I'll know whether it's acceptable as it is or whether I should spend the time installing something more Win95-like.

But my current machine doesn't run Wayland, just plain Xorg. 2 minutes of searching revealed that Sway is in fact i3wm for Wayland.

Great! I promptly installed i3 on my Linux Mint box, switch to it, fucked around with the config file for a few hours and... I love it! That's pretty much exactly what I do with Cinnamon anyway but quicker!

And just like that, I switch to i3. I felt right at home with it from the get-go. The whole Win95-like UI was just a familiarity: in fact, what I've always wanted was a tiling window manager.

And yes, I did spend a few hours - almost half a day really - configuring the thing exactly how I like. But if I'm honest, I probably spent just as much time with Cinnamon way back when I switched to that too. So it's no different really.

So the takeaway here is: even if you have decades-old die-hard habits and you don't want to change, you should expose yourself to change every once in a while: you might just get surprised 🙂

32
submitted 2 months ago* (last edited 2 months ago) by ExtremeDullard@lemmy.sdf.org to c/linux@lemmy.ml
 

I'm about to step into the wonderful world of ARM Linux. I work with ARM32 as an embedded developer profesionally (Cortex-M3 specifically) so I'm not a complete newbie. But I've never used ARM64, and I've never used it with a desktop OS. So I'm doing my research, as one does, to know roughly what I'll be dealing with.

I have a few questions regarding backward compatibility and architecture-naming. Maybe you specialists out there could shed some light.

From what I could find, I understand the following:

  • arm64 and aarch64 are the same thing: the former is what Linus likes to say while the latter is what ARM calls their own stuff.
  • arm64 / aarch64 really mean "compatible with ARMv8" as a least common denominator, meaning ARMv8.x-y (x being the extension, y being A for application or R for realtime) will run it, just without taking advantage of any extension or realtime instructions.
  • ARMv9.x will run arm64 / aarch64 kernels and applications, as it's (supposedly) backward-compatible with ARMv8, just without taking advantage of the ARMv9 ISA.
  • If I want to create arm64 software that takes advantage of this-or-that extension or realtime instructions, I have to compile it in explicitely. I'm not sure if gcc handles special instructions, I haven't checked yet, but I suppose it does since it knows about the Thumb mode for instance.

Do I understand correctly?

If I do create some software that relies on extended ARMv8 or ARMv9 features and I want to release my software as a package, how should I name the package's architecture? Is there even a standard for that? Will it get rejected by the package managers of the few ARM distros out there, or will it be recognized as a subset of the wider arm64 / aarch64 architecture?

1
Tethered plastic caps (lemmy.sdf.org)
submitted 8 months ago* (last edited 8 months ago) by ExtremeDullard@lemmy.sdf.org to c/mildlyinfuriating@lemmy.world
 

I know they're supposed to be good for the environment. But... Holy smokes they drive me up the wall. They really do!

I had no trouble adapting when aluminum can pull-tabs got replaced by push-tabs, because it was pretty much the same movement, and I could see the immediate advantage of not getting cut by a pull-tab.

But the tethered cap is fighting decades of muscle memory in me: I'm used to taking the cap off with one hand and keeping it there while taking a swig with the other. Now I unscrew the cap with one hand, but I still have to hold the cap so it's out of the way. It feels like drinking in handcuffs each and every time...

So unlike the pull-tab, the tethered plastic bottle cap is one of those compulsory eco solutions that constantly make you feel ever-so-slightly more miserable all the time, and I hate that because ecology only works when it brings something of value both to people and to the environment.

view more: next ›