Spyke

Replies

Comment on

I decided that I will update the nextcloud (windows) desktop client once or twice a decade

Ok, I'm prepared to be downvoted today so here goes.

Nextcloud is an enterprise cloud suite. The one you run in docker on your rpi (or whatever) is the same one that is run at a company, albeit with more high availability and redundancy, but the same application, proxies, caching, db, etc. Nothing is stopping you from running the stable channel and testing your upgrades, or even rolling out specific stable client versions to your devices.

Said companies often have teams (more than one person) to run it, stage upgrades, automated testing, automated backups, monitoring, etc. They go to work and do just that, maybe not every day but at least a couple times a week their focus is Nextcloud and only Nextcloud.

What many people in the self hosting community do is spin up docker, without ever having touched docker before, and try to run Nextcloud, forget that it exists, and then upgrade it a year later across multiple versions without maintaining the database. Then they obsess about how fast an app loads by refreshing it a whole bunch, and then complain on internet forums that it sucks. This, like many posts, doesn't have a specific problem for us to help with, no logs or stack traces have been posted, and the subject of the complaint shows just how terrible your understanding of application security is.

So, while there is legitimate criticism of some of Nextcloud's design choices, this isn't it. And at the risk of sounding a little gatekeepy, if you post "nextcloud updates break everything" with no context you probably should spend some time gaining a better understanding of how internet facing services work and make an attempt to fix the problem (probably misconfiguration, and in this desktop client case probably a heap of un-updated local software installed alongside the client), which I'm sure people would find if they did the bare minimum of reading a few log files or any of the other things that come with being an application admin.

linux

Comment on

best foss cad software?

I use FreeCAD and Assembly3 for everything and have for many years now. I sometimes use realthunder's fork of FreeCAD but right now it's quite a bit behind upstream and there are some cool new features in sketcher so I use upstream for those.

Some people get confused about workflow in FreeCAD because there are so many options and every youtube video has different opinions or tries to feature a particular workbench like curves or something. My opinion.... Pretty much your workflow starting out should be to ignore everything else and use part design and sketches, it's the simplest way:

  1. enable autosave with a short interval, like 2min

  2. Switch to part design workbench

  3. create body

  4. create sketches as the base of the features of your part attached to the xy, xz, yz planes, offset them to create a "wire frame" that resembles your project

    a. Your sketches should be fully constrained

    b. Your sketches should have as little geometry in them as possible, if you need more complex stuff make more sketches

    c. Your sketches should have closed wires, you can't pad something that doesn't create a face.

  5. use pad, pocket, revolution, loft, and hole operations on those sketches to form a 3d solid

  6. if you need to create additional sketches which import geometry from the previous operations (using the external geometry tool), import SKETCH geometry from the previous ops, not edges of solids, whenever possible. Hide your solid, unhide your sketch, select that with the external geometry tool.

    a. Use sketch on face sparingly.

  7. Do fillets and chamfers last, if you need to change something, delete them and recreate them once you've made your changes.

To make multiple parts make multiple bodies with the same workflow as above.

Once you get pretty good at making static parts with constrained geometry, holes, threads (with the hole function), etc, which you can do with only the stuff above, then you can branch out into other workbenches like assemblies or curves, but all of those things build on the concepts above, so it's easy to get overwhelmed if you try to do it all right from the start. Learning how to recover from a mistake is just part of CAD in general, though I admit that it's a bit more effort to find what's wrong in FC vs commercial platforms, but we aren't here, on lemmy, in a linux community, to use commercial platforms.

AFAIK that's pretty much the same workflow as F360 uses for single-solid parts though things have different names. pad=extrude for example.

It's obviously far from perfect but in my opinion it's the best solution that runs natively on Linux and is actually open source. Also assembly3 uses solvespace as it's backend solver so if you make assemblies using that you are kindof using solvespace too.

Also, I hear/read a lot of complaining about instability but I've honestly never had a crash that wasn't on an experimental branch like RT or the edge release of upstream. However step 0 above should help if you're worried about that.

Comment on

What is the most neatest Open Source smartwatch?

Gatgetbridge (your link) has a breakdown of devices they support https://gadgetbridge.org/gadgets/ . You can click through the vendors to find devices which are both "highly supported" and "no vendor-pair". Meaning most/all the features work without any reliance on the vendor app.

As for the similarity you are asking about with pixel->GrapheneOS, there are very few watches that can run an alternative open source firmware or operating systems apart from the ones that are already open source, like bangle.js, pinetime, etc. Wearables are even more specialized than phones, they require specialized code designed specifically for them and would likely require pretty extreme effort to reverse-engineer.

I use a pebble 2 HR with gadgetbridge but the watch it self runs the old pebble firmware which gadgetbridge talks to. This is fine for me, but if you are looking for a more modern watch you may have to make some compromises.

Comment on

Moving away from Nextcloud AIO, where do I start setting up a Nextcloud instance WITHOUT Docker?

Nextcloud AIO is not the only way to run Nextcloud in docker. For example you can use the Nextcloud docker repository and docker-compose for which there are many examples. I've been running Nextcloud this way for many years now without any un-recoverable issues, and no issues at all that weren't caused by me. Upgrading is also very easy since you simply increment the version in docker-compose.yml and restart the service.

That said the NixOS suggestion from @[email protected] looks really neat and I may try that out soon my self since I've never played with NixOS before and it seems like a good excuse to do so.

freecad

Comment on

Is freecad so difficult due to design decisions or are they technical limitations?

FreeCAD is the way it is mostly because it's not optimized by multi-billion dollar companies with teams of developers and UI/UX engineers. It's very much the do-all-the-steps-your-self CAD package.

That said, there are loads of bad or outdated video tutorials out there, and generally people tend to find one way to do a thing and then market their video as THE way to do it. Treat FreeCAD like Linux, there are lots of "correct" ways to use it, and also don't expect it to be something it's not.

If you feel comfortable with it, it would be cool for you to make a short video of where you are stuck, or where you feel you are doing unnecessary steps, and maybe we can help you reach our goal in a simpler way?

linux

Comment on

Why do we need tiling window managers when we have tmux?

Because I don't like things to be behind other things. And I feel like moving windows around is a waste of effort and time, and also requires using the mouse where I wouldn't normally have to. Tiling windows and using workspaces to organize my work/play/attention works very well for me and helps keep my focus where I want it.

Also sway in particular, but other tiling window managers too, have better output management than standard DEs. If I'm on output 3 workspace 12 and I want to do something new, any new window I open stays on output 3 workspace 12. I have a lot of displays and not being surprised about where windows open is extremely helpful.

linux

Comment on

What is a good way to benchmark test a GPU in Linux?

I use the unigine benchmarks sometimes. unigine-heaven and unigine-superposition (which btw is just cool to watch in my opinion). They provide linux packages here https://benchmark.unigine.com/ , check your distributions repos too though, some include these too though it's rare. They are not open source, but games usually aren't either.

The phoronix one that someone else posted also looks cool, I'll have to try that one out next time I need something like this.

linux

Comment on

...

Reply in thread

I have a whole Linux machine with a bunch of displays, 16 cores, tons of memory, powerful GPU, and an internet connection. And I still have a TI-84Plus sitting on my desk which I use for all my calculator needs.... It's just easier.

linux

Comment on

Assetto Corsa Content Manager Question

Unfortunately I don't know what is causing the exact issue you are having, however here are a few things I found when doing this myself that are "gotchas" (not immediately obvious).

  1. This is the reason your fonts are all Times New Roman. Go to that key using protontricks regedit and delete all the font replacements.

  2. Anything you put in $HOME/.steam/root/steamapps/common/assettocorsa stays there, even if you uninstall the game. If you want to "start over" you have to uninstall the game and then delete the whole assettocorsa directory there, and the wine prefix in $HOME/.steam/root/steamapps/compatdata/244210

  3. AC and content manager work without .net changes in the latest GE but you do need corefonts which you can install with protontricks. If you want to be extra sure you have the right .net you can install dotnet472 but I don't believe this is necessary anymore as it will be installed automatically or is already installed. You may get a wine .net error the first time you launch the game but it's only the first time.

  4. If you choose to use CSP you have to unzip the archive you get from either Patreon or acstuff.ru and manually copy the dwrite.dll file into $HOME/.steam/root/steamapps/common/assettocorsa on EVERY upgrade. The zip installer built into CM doesn't do this correctly on Linux. It will cause rain not to work if you choose to use the Patreon version if you don't do this manual step.

I think you should start over and make sure the assettocorsa directory is clean before re-installing the game. It could be missing fonts, but it's hard to say. You can back it up somewhere if you have data in there you need.

foss

Comment on

What are some of your favorite Linux FOSS replacements for WIndows software?

I've been using thunderbird for so long now I can't remember not using it. I'm very comfortable with how it is, but look forward to the upcoming changes.

(EDIT: Re: Kdenlive) I do a small amount of video editing, usually quick stuff to censor/cut a screen capture for posting to github or something, and every time I'm amazed at how well it works and easy it is to use. I'm sure it has it's limits if you have a complex task, but I'm not sure even an intermediate user would run into any of them.

My favorite is FreeCAD though. I know the windows equivalents are probably "better" but I like the project's persistence and the constant improvements they are making. Now that I've put the time into learning it I like it a lot.

As a side note, in my opinion ffmpeg is a massively impressive piece of software and what kdenlive and many others use in the background for a lot of tasks.

EDIT: Hit post too early.

linux

Comment on

Recover deleted media files with testdisk and photorec?

So, I'm not sure if the process has changed in the last decade or so but in a long-ago computer forensics class step 0, before all else, was to never operate data recovery on the original disk. Create a block level image of the entire device, then work on that.

My go to steps for recovery have been the following in the years since:

  1. create an image of the entire disk (not a partition) using ddrescue ddrescue -d /dev/sdX <path_to_image>.img
  2. Run test disk on it selecting the partitions as necessary testdisk <path_to_image>.img

If the disk has a complicated partition layout, or more effort is required to find the correct partition you can also mount parts of the disk.

  1. create an image of the entire disk (not a partition) using ddrescue

    ddrescue -d /dev/sdX <path_to_image>.img

  2. Mount the image as a loopback device with the appropriate offset

    losetup --offset <some_offset_like_8192> --show -v -r -f -P <path_to_image>.img this will mount individual partitions:

    loop58        7:58   0 465.8G  1 loop
    ├─loop58p1  259:7    0   1.5G  1 part
    ├─loop58p2  259:8    0 450.6G  1 part
    └─loop58p3  259:9    0  13.7G  1 part
    
  3. Then operate testdisk on whatever partition you want.

All that said there are a lot of variables here and things don't always work perfectly. I hope you do find a way to recover them.