GravelPieceOfSword

joined 1 year ago
 

I wonder if this is heaven or hell πŸ˜…

[–] GravelPieceOfSword@lemmy.ca 23 points 4 weeks ago

It is finally upon us.

THE YEAR OF THE LINUX DESKTOP!

Terms and conditions apply. It could be the next year, or the year after, or not at all.

[–] GravelPieceOfSword@lemmy.ca 17 points 1 month ago (2 children)

Sounds like dogs barking at/with each other in the night back when I was growing up. You'd hear the occasional how-how-hoooooww from one of them, and others would join in. Wolf'ish in some ways. The city I grew up in was much less crowded back then.

Now: I guess self driving cars fill in the void left by dogs not barking at each other anymore.

🐺


πŸš—

[–] GravelPieceOfSword@lemmy.ca 5 points 3 months ago* (last edited 3 months ago)

Nominative determinism is pretty accurate. Steve Jobs did generate a lot of jobs. Bill Gates had a lot of gates to his name.

just in case it wasn't obvious

[–] GravelPieceOfSword@lemmy.ca 30 points 4 months ago (1 children)

Balls of plastic. Descended from balls of steel πŸ’ͺ

[–] GravelPieceOfSword@lemmy.ca 8 points 4 months ago* (last edited 4 months ago) (1 children)

This is the caveat for me for now.

To run locally a powerful graphics card with at least 6 GB VRAM is recommended. Otherwise generating images will take very long!

I've got decent RAM on an I9, but my graphics card, which is what matters here, isn't up to par.

[–] GravelPieceOfSword@lemmy.ca 1 points 4 months ago* (last edited 4 months ago) (1 children)

Linux Mint Debian Edition would be a pretty solid, pre-customized distribution.

I've had great experiences with Linux on Lenovo over the years: would be my first recommendation.

I currently use a Dell Inspiron, while it's works great, I had to do some extra work occasionally. I love that I can get fingerprint login with it on Linux though.

[–] GravelPieceOfSword@lemmy.ca 4 points 4 months ago

I second endless os. Parental controls, locked down system, comes prepackaged with many educational apps.

[–] GravelPieceOfSword@lemmy.ca 1 points 5 months ago* (last edited 5 months ago)

Sorry, good catch.

It had been a while since I had played briefly with kiosk mode in a VM: I misremembered the project (the one I played with was still available)

I had found it interesting, and had set it up... Probably been around a year or so.

The project I used was Gnome kiosk, not Fedora kiosk.

[–] GravelPieceOfSword@lemmy.ca 11 points 5 months ago

They do. They did. What do you do when a 'good guy' is really a bad guy? Happens outside of software too. Someone inserts themselves into an organization while secretly working against its interests.

Here's a good summary. However, you should read a few articles - plenty have been going around, including on Lemmy.

[–] GravelPieceOfSword@lemmy.ca 4 points 5 months ago* (last edited 5 months ago)

As with all definitions, there is a gray area where people will have different boundaries on exact meanings. To you - a supplier relationship needs an explicit payment, which is a fair definition.

However, the more widely used definition that most people, including me, refer to, is not necessarily focused on the supplier, but on the supply - what we use in our toolchains is a supply - regardless of how it was obtained.

When there is an issue in a trusted supply, even if it was not a commercial relationship (a prerequisite by your definition), it is a supply-chain attack by the more widely used definition.

134
submitted 5 months ago* (last edited 5 months ago) by GravelPieceOfSword@lemmy.ca to c/linux@lemmy.ml
 

Linux Firmware Update Utility Fwupd Will Use Zstd Compression for Future Releases

The devs are also considering enforcing signed commits in an attempt to prevent supply chain issues like the XZ backdoor.

Edit: note for downvotes: I understand some of you disagree with the need for a switch. However, are you downvoting the news itself (i.e. shooting the messenger?)

 

I've gotta hand it to the new GNU Linux mascot replacing Tux as of today, brabix. Love the matrix themed T-shirt!

Ref: this post celebrating the first of the fourth πŸ€

Edit: The Big Day is over. For those of you (I'm kinda guessing there were quite a few) who weren't sure what this was (and for everyone else too, thanks for being a sport) (Happy??) April Fools! (please tell me you already knew this!)

 

I'll need to mirror print stuff regularly (flip across the vertical axis), and I'm trying to make the process convenient.

The manual way to mirror print would be by invoking lp, e.g.

lp -o mirror myfile.pdf

Invoking lp would work for images, PDF, ps etc. But but for application (open office draw) files. Unfortunately, I don't see an obvious way to mirror print within the application itself.

I'm thinking of setting up a mirror printer in CUPS that would automatically apply the -o mirror to any documents that hit it.

I suspect this would require some tinkering with CUPS filters - I'll dig into it sometime.

I can't be the only one who's needed this at some point in time.

Has anyone here done something similar? Looking forward to your thoughts!

 

I recently ran across SpiralLinux - GitHub page, and found the concept of how the maintainer is packaging it very cool.

The maintainer has been maintaining Gecko Linux for a while now - it has the same underlying concept.

The gist is - you're basically installing Debian, but with customizations that the maintainer(s) thought would be very helpful. Basically - better out of the box experience for new users, but also less work to do even for experienced users, and it comes with different download flavors - Gnome, Plasma, XFCE, Mate, etc.

Bit more detail by the maintainer in this Reddit comment:

Exactly. It's like I went over to your house and installed and configured Debian on your computer, and then you kicked me out of your house as soon as I finished. ;-) The installed system no longer has any connection whatsoever with me or the SpiralLinux project, which is good because you wouldn't want your entire system to depend on a random single developer maintaining it.

(original Reddit comment has more details).

I thought this was pretty cool. I'm still trying to read up online on trying to find how the package lists are maintained, etc., and I might be interested in contributing if I'm able to in the future.

Just wanted to share!

36
submitted 1 year ago* (last edited 1 year ago) by GravelPieceOfSword@lemmy.ca to c/selfhosted@lemmy.world
 

How are y'all managing internal network certificates?

At any point in time, I have between 2-10 services, often running on a network behind an nginx reverse proxy, with some variation in certificates, none ideal. Here's what I've done in the past:

  • setup a CLI CA using openssl
    • somewhat works, but importing CAs into phones was a hassle.
  • self sign single cert per service
    • works, very kludgy, very easy
  • expose http port only on lo interface for sensitive services (e.g. pihole admin), ssh local tunnel when needed

I see easy-RSA seems to be more user friendly these days, but haven't tried it yet.

I'm tempted to try this setup for my local LAN facing (as exposed to tunnel only, such as pihole) services:

  • Get letsencrypt cert for single public DNS domain (e.g. lan.mydomain.org).. not sure about wildcard cert.
  • use letsencrypt on nginx reverse proxy, expose various services as suburls (e.g. lan.mydomain.org/nextcloud)

Curious what y'all do and if I'm missing anything basic.

I have no intention of exposing these outside my local network, and prefer as less client side changes as possible.

 

Two main points:

  • no one unified distro to keep things simple (thread OP)

VS

  • people don't care. Someone else needs to advocate, sell, migrate, and support (medium term) Linux (whichever distro they want) for the intermediate term (few months at least) - thread response).

I think a lot of the 97% desktop market share is like this, instead of the hands on 2-3%.

 

I never imagined I'd like playing Tetris on the command line, on a terminal on my phone (termux), but here I am!

I couldn't find any Tetris app on fdroid, and just checked if pkgs had one. Lo and behold! It asked me to run pkgs install vitetris, and when I did, the tetris command was there to launch the game.

It's a two step process, as opposed to just launching an app, but it is very lightweight, no tracking, and FOSS.

For anyone with termux already installed and feeling a bit nostalgic, might be worth trying it out.

 

I couldn't find a nix community, so I'm hoping it is ok that I'm posting on the nixos one instead. I'll switch to mailing list/discord if necessary, but I have a lemmy app on my phone, and it is much easier to have an ongoing conversation from here, so I decided to give it a shot. Here goes!

While I have a NixOS laptop, I primarily use other systems (e.g. OpenSuse Tumbleweed) as of now.

I love the ability to define the packages I want installed, with home-manager managing my command line utilities (e.g mtr, dig, protobuf etc).

I've been playing around a bit with protobuf recently, and after generating some c++ code using protoc, I loaded up the generated code in vscode, which understandably wasn't able to find the development headers for protobuf (since they are in the nix store - /nix/store/h2h5fs8iv2a8rmlkfhr6id6y4jxwd5i1-protobuf-3.21.12/include/google/protobuf/io)

I tried to compile the code anyways on the command line, and got some errors.

I might need an OS specific protobuf install just for the development headers, but I'm pretty sure I should be able to, and just don't know how. Here's what I get when I try to compile:

$ g++ searchReq.pb.cc
In file included from searchReq.pb.cc:4:
searchReq.pb.h:10:10: fatal error: google/protobuf/port_def.inc: No such file or directory
   10 | #include 
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

Any tips/pointers would be appreciated. Thanks in advance!

===========================================

Edit: Thank you all, particularly @Xephopiqua@lemmy.ml and @chayleaf@lemmy.ml for the help. After setting the include path (compile) and LD_LIBRARY_PATH (link), things work great.

I ended up writing a small Makefile for convenience in the short run:

INC_FLAGS:=-I$(HOME)/.nix-profile/include -Icpp
LD_FLAGS:=-L$(HOME)/.nix-profile/lib -l protobuf

run: task
	LD_LIBRARY_PATH=$(HOME)/.nix-profile/lib ./task

task:
	g++ $(LD_FLAGS) $(INC_FLAGS) main.cpp cpp/searchReq.pb.cc -o task

regen:
	protoc --python_out=python --cpp_out=cpp searchReq.proto

That's enough to get me going for now.

TODO - read up the NIXOs Wiki C page in more detail

 

fortune | cowsay -f turtle | lolcat is a fun thing to have in your .bashrc

 
view more: next β€Ί