@fmo@hachyderm.io
@fmo@hachyderm.io avatar

fmo

@fmo@hachyderm.io

Passionate about technology, Open source and long time Linux user. Into DevOps, self-hosting, home automation, retro-gaming, NixOS and Rust.

#FOSS #linux #rust #rustlang #bevy #selfhosting #grapheneos #nixos #demoscene

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

webframp, to linux
@webframp@hachyderm.io avatar

I love BSD in any flavor, but weird to see someone say zfs is developed Linux first. Is this really the case? #bsd #zfs
#linux

https://blocksandfiles.com/2024/04/08/ixsystems-no-one-is-getting-marooned/

fmo,
@fmo@hachyderm.io avatar

@webframp sounds like a question for @jimsalter 😄

monsieuricon, to random

I've been admining Linux systems for 25 years, and I still have to check which one it is every time.

fmo,
@fmo@hachyderm.io avatar

@corsac @monsieuricon same here 😁

conspiracyhu, to random
@conspiracyhu@graphics.social avatar

EMPIRES

Our new (well, okay, 48k) intro for @revisionparty

Download: https://conspiracy.hu/release/64k/empires/
Pouet: https://pouet.net/prod.php?which=96589
YouTube: https://youtube.com/watch?v=R-4wHUw_OdE

fmo,
@fmo@hachyderm.io avatar

@conspiracyhu @revisionparty great looking intro, awesome work!

ahl, to random
@ahl@mastodon.social avatar

What's the opposite of someone skilled at prompt engineering? "I'll ask ChatGPT why I might impl AsRef<T> xor Borrow<T>" I thought. 15 minutes later it's lied to me, apologized for the lie, and then told the same lie several times. I'm giving up and reading a Rust book. Written by a human.

fmo,
@fmo@hachyderm.io avatar

@ahl that has been my experience with Rust and chatGPT too, it seems to be a lot better at Python

hyde, to Blog
@hyde@lazybear.social avatar

What I did in January.

With this post I'm starting the for the 5th year in a row! If you have a , join the challenge !

https://lazybear.io/posts/january-2024

fmo,
@fmo@hachyderm.io avatar

@hyde I'm seeing a 404 on that link

scottslowe, to random
@scottslowe@fosstodon.org avatar

I have been trying, unsuccessfully, to containerize a command-line tool packaged as a Ruby gem. Maybe I should take a look at distrobox to help with this: https://github.com/89luca89/distrobox

Who else out there is using distrobox?

fmo,
@fmo@hachyderm.io avatar

@scottslowe I haven't started to use it yet, it's in the plans with move to NixOS but my understanding is that it's Podman running a more full fledge container, ie full OS inside, which makes running your tasks easier I guess. I'm surprised you can't get you Ruby gem going using an Ubuntu container + the ruby-dev package. I can have a look but I have doubts that if you didn't manage it, I will. Anyway the offer stands

fmo,
@fmo@hachyderm.io avatar

@scottslowe I will have a look, no judging 😀

fmo,
@fmo@hachyderm.io avatar

@scottslowe I'm not sure what's broken, it seems to work, I can run na from inside the container. Any more details?

fmo,
@fmo@hachyderm.io avatar

@scottslowe You can just replace CMD by ENTRYPOINT, then alias the na command in your shell with docker run &lt;container-name&gt; -v &lt;shared volume or file&gt;.
I would also suggest to change the default user, it's currently running as root and is going to mess your permissions.

fmo,
@fmo@hachyderm.io avatar

@scottslowe What's the error message?

fmo,
@fmo@hachyderm.io avatar

@scottslowe I did something like that for Python scripts quite a few years back, I just need to remember how I did it 😅

fmo,
@fmo@hachyderm.io avatar

@scottslowe So I went the ugly way and created a shell script called na--cli.sh containing:
#!/bin/bash
/usr/local/bundle/bin/na "$@"

Then I used an add command to the Dockerfile (and a chmod +x)

Then set the entrypoint to
ENTRYPOINT ["/usr/local/bin/na-cli.sh"]

With that, I can call the process and pass parameters like --version but it doesn't seem to fully work. It doesn't help that I don't know that tool, I guess, I get some "No database found"

sil, to random
@sil@mastodon.social avatar

Is it just me who thinks that the very beginning of Living On A Prayer sounds like Venus by Bananarama?

fmo,
@fmo@hachyderm.io avatar

@sil definitely not 😁

danjac, to random
@danjac@masto.ai avatar

What I'd like to see is a TV show like Grand Designs, but posh people who decide to build their own web app.

Kevin McCloud appears halfway through the show in his hard hat, shaking his head sadly.

"Unfortunately their decision to use Kubernetes has led to a very problematic deployment. Meanwhile, their offshore React contractor has left for another job, leaving Jocasta and Tarquin trying to write the JSX themselves..."

fmo,
@fmo@hachyderm.io avatar

@danjac I'd totally watch that 😂

jpaskaruk, to random
@jpaskaruk@growers.social avatar

So, this internet is great, but the government created it, and some governments have already neutralized it as an organizing tool for their dissidents.

One thing I know the tech people are into, is freedom, so...

What do we do if they lock it down where we are? Do we have, you know, mesh network firmwares for routers?

It's not at all far-fetched to think they could take this away, so how would we keep doing all this, if they do? We oughta be, you know, developing that now.

fmo,
@fmo@hachyderm.io avatar

@jpaskaruk Signal has a circumvent censorship mode, I guess you'd need to use Tor. There are a few peer to peer messaging apps on F-droid.

fmo,
@fmo@hachyderm.io avatar

@TheLastofHisName @jpaskaruk the technology exists it is out there waiting to be used

fmo,
@fmo@hachyderm.io avatar

@jpaskaruk @TheLastofHisName I didn't, seemed like a logical follow up of the madness going in social media

j3j5, (edited ) to Help
@j3j5@hachyderm.io avatar

Does anybody have experience with zipgrep? I'm trying to run a regex with alternation but for some reason it's not working. I run:

zipgrep -E "(wordA|wordB)" file.zip

on a zip file which I know it contains bot words within its files, but it returns nothing, if I uncompress the file and run egrep, it works fine 🤯

Edit: fixed the command again bc apparently I can't type

fmo,
@fmo@hachyderm.io avatar

@j3j5 isn't zgrep for gzip files?

fmo,
@fmo@hachyderm.io avatar

@j3j5 I just add a quicklook and it seems that zipgrep is just a shell script wrapper around unzip and egrep, I think it's just unzipping and grepping anyway, you could maybe replace it by some faster combinations using unzip+ripgrep maybe?

arstechnica, to random
@arstechnica@mastodon.social avatar

The iPhone 13 mini is dead, leaving small phone lovers in a lurch

One-handed phones are a dying breed. It makes sense, but it's also a bummer.

https://arstechnica.com/gadgets/2023/09/the-iphone-13-mini-is-dead-leaving-small-phone-lovers-in-a-lurch/?utm_brand=arstechnica&utm_social-type=owned&utm_source=mastodon&utm_medium=social

fmo,
@fmo@hachyderm.io avatar

@arstechnica I'm guessing that's top open the door to the iPhone SE new form factor, so maybe in March...

sil, to random
@sil@mastodon.social avatar

I gather from all the comments that Apple have dropped the mini. Sigh.

fmo,
@fmo@hachyderm.io avatar

@sil @bigcalm I'm betting on a new design for the iPhone SE in March that will cover that market

fmo,
@fmo@hachyderm.io avatar

@sil @bigcalm I think the only "small" recent Android phone at the moment is the Azus Zenfone 10 but they are not great with updates, and also their notion of small is like a Pixel 5 so still bigger that the iPhone mini

GossiTheDog, to random
@GossiTheDog@cyberplace.social avatar

Back in the 90s, when I was 11, I had a conversation on Usenet with this dude called Todd Howard, who said he wanted to make a space RPG. I am 41. Today, it arrived.

image/jpeg
image/jpeg

fmo,
@fmo@hachyderm.io avatar

@tony @GossiTheDog StarCitizen maybe? 😄

realestninja, to android

My current phone's screen refresh rate runs at 90hz.

Would I notice a downgrade when switching to a phone that runs at 60hz?

I don't play games on my phone. I just read news articles and use simple apps like calendar, maps, etc.

fmo,
@fmo@hachyderm.io avatar

@realestninja I would, it's particularly noticeable while scrolling

Edit: you can probably test by disabling 90hz mode in your display settings

soller, to random
@soller@fosstodon.org avatar

I wrote the first linux hwmon driver for a composite USB HID device. I tried to justify why it had to not return errors on the other HID interfaces (because they would then not probe the generic HID driver). The hwmon subsystem maintainer only had a misinformed, dismissive rant as a reply. I am not contributing to this subsystem!

https://patchwork.kernel.org/project/linux-hwmon/patch/4d3dff93-5c70-4ca1-b819-7f0eca3a8b38@app.fastmail.com/

fmo,
@fmo@hachyderm.io avatar

@soller I've been working in IT for over 30 years, I would say a few things, please keep in mind that IT people are not the best at communicating in the best of cases, add the fact that English is not their mother-tongue plus a sprinkle of cultural differences, and you can get easy upsets. I'm the manager of international team and I see it all the time. Please give people a chance before jumping to conclusions 🙏

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