Skip Navigation
CAD "best practices" that happen to avoid the toponaming problem?
  • What makes those methods better?

    Disclaimer, I'm at a sortof "advanced hobbyist" level of cad. My understanding of the topological naming problem in general is that it exists in all cad because it is a sortof byproduct of how computers keep track of data about 3 dimensional objects. If you make a cube, all the sides need to have an identifier associated with them. If you put a hole in that cube, you now have more identifiers and have to decide what ordering makes sense. It sounds easy to work around with a cube but when models get really complex it's not so easy, especially when you change something way back at the beginning which creates more or less faces in the middle of the list somewhere.

    Freecad isn't making the topological naming problem "go away". They are creating (or rather merging, it's been around a long time) an algorithm that makes a better guess at what the order should be, rather than sticking new faces in the list and reordering without any consideration of what happened after that face was created. This is, as far as I understand, also how other CAD packages do it, and you can still back yourself into a topological naming problem if you try hard enough (or don't try at all I guess) in both freecad with the new changes applied, and in other CAD packages.

    So "best practice" is to be smart about the attachment of your geometry thinking about how things might change in the future, rather than clicking the closest face whenever you need a sketch plane. In reality modern proprietary cad is so good at guessing and maintaining consistency that it doesn't matter unless your model is horrendously complex and whoever made it didn't pay any attention to laying out the base sketches in an organized way.

    For example if you make a flange but you're not quite sure about the thickness, base the sketch for say, the holes, on the parallel origin and offset it by the height of the pad or the length of the sketched geometry. Or use a spreadsheet or variableset for the value of both the thing that you define the thickness with, and the offset from the origin plane. That way if the value changes, nothing will break.

    I made a test model but it isn't something that shows up well in a single screenshot unfortunately. See the "Flange Thickness" and z offset parameters in the property view. I used that for the flange dimensions, and the hole sketch offset.

  • Assetto Corsa Content Manager Question
  • Interesting, it is working for me in wayland and the drop down menus are fine but I'm using sway which is a totally different wayland implementation than what KDE is doing. I'm glad you found a workaround.

  • 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.

  • Steam in-game overlay is not working in Bazzite
  • Does Bazzite use a gamescope session on wayland by default? Gamescope has a bug which prevents the wayland client from drawing the steam overlay. I suppose it's unlikely to be the same issue but I happen to be dealing with it on my system (not Bazzite) so I immediately made the connection.

  • Is there any closed source android app that you wish had a good open source alternative?
  • No, I don't have markup installed (it is there in apps but not installed from the mirror).

    I think in my case the screenshot functionality is built into AOSP and the editor you get when tapping the resulting preview overlay in the lower left corner of the screen is part of the "gallery" app since using the "edit" feature from gallery launches the same editor. Maybe GrapheneOS just sets that as the default editor, I'm not sure.

  • Is there any closed source android app that you wish had a good open source alternative?
  • What android OS do you use? On stock Android 14 (GrapheneOS, but it's not a GOS feature) this functionality is built into the stock screenshot tool.

    pwr+voldown -> tap screenshot that appears in the overlay after you take it -> tap the crop tool . I suppose step three could be removed but what if you want to do something that isn't cropping? There are lots of other features so at some point you have to tell the tool what you want to do.

  • Is there any closed source android app that you wish had a good open source alternative?
  • broad support for generic smart watches

    Gadgetbridge is pretty well on it's way to this. They roll out support for new devices monthly it seems like. Of course there are always feature X and Y that fitbit or garmin does that it doesn't, but it's quite an impressive project. I use it with a pebble 2 HR.

  • RBR imported stage falstone in Assetto Corsa with new SurfacesFX in CSP preview
    vimeo.com [Assetto Corsa] [Rally] RBR stage falstone in Assetto Corsa with new SurfacesFX preview

    Falstone from acrallycentral.com CSP 0.2.4 preivew 1 Toyota GR Yaris Rally 1 Gravel Map adjusted using `_EXT_SURFACE_TYPE=GRAVEL` for gravel and dirt surfaces

    [Assetto Corsa] [Rally] RBR stage falstone in Assetto Corsa with new SurfacesFX preview

    This is me trying out the new dirt surfacesfx adjustments and rally tires in Custom Shaders Patch. It feels surprisingly good! And looks amazing, as AC usually does. And yes I crashed...

    0
    Remote desktop for Wayland?
  • What version of kde? I haven't tried it, or read about it beyond the changelog, however the latest beta release says that it supports RDP to connect to plasma desktops which is quite an interesting development if it works the way it sounds like it does:

    Remote Desktop system integration to allow RDP clients to connect to Plasma desktops, plus a new page in System Settings for configuring this

    For the "from anywhere" component you could use a vpn, but if you're looking for a simple solution with zero configuration than nomachine or rustdesk seem more appropriate. Just thought the RDP support was worth sharing.

  • FUTO funds Immich with 3 year commitment: the best image gallery software
  • Memories and Gallery (actually deprecated by photos) are not the same thing, just to clarify. I'm not in a position to agree or disagree with any of the statements here since I've never used immich, but I don't want people to think that the default photo viewer in nextcloud is what was being discussed here.

  • Thrustmaster T-GT II vs Fanatec CSL Elite as a first wheel
  • Ah, I didn't want to make any negative assumptions about your disability. Yeah if you can get an off the shelf one that would be much easier. I have no experience with the CSL series (or any commercial wheel, I went from the t300 to a 15nm peak ffboard+odrive wheel), but I hear they are pretty good. What you will get from the more powerful and expensive models is increased detail at low power in addition to the obvious higher output as far as I understand.

  • Thrustmaster T-GT II vs Fanatec CSL Elite as a first wheel
  • Have you considered building one of the open source wheel projects like openFFBoard (github page)?

    You get direct drive power with open source software and can source a motor and parts more easily. OpenFFBoard has a custom controller and driver which you can buy but you can also make it work with dev boards and odrive/vesc if your ability to order parts is limited. The ffboard does make it easier if you can buy just that one part though https://www.elecrow.com/open-ffboard-stm32f407-usb-interface-only.html

    That said, and to answer your question as best I can, I used a T300rs for a while and it was fine, but both thrustmaster and fanatec suffered (and still do a bit) from some reliability issues. But no belt drive wheel is ever going to compare to a direct drive wheel.

  • HealthyPi Move: An Upcoming Open-Source Smartwatch
  • If you want to monitor sleep with it charging at night isn't possible, and remembering to charge every single day during the day is annoying in my opinion. Not everyone wants sleep monitoring though, or likes to sleep with a watch on, so I get why there's some division on the subject.

    My pebble 2 hr lasts about 5 days and I'm very happy with that frequency of charging. I think it was a bit better when new but that was a long time ago.

  • 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.

  • 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 @StrawberryPigtails@lemmy.sdf.org 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.

  • Do you daily drive Wayland, if so since when, if not when will you?
  • Sway for a little over a year now (on an AMD gpu). I switched for mixed refresh rate support and VRR. VRR requires a workaround in sway but works better in others, like hyprland, however I like sway's tiling better so I stuck with it. Also the absence of tearing in anything, ever, is worth it to me. I have two vertical displays and it was really hit or miss on X11. Sometimes GPU acceleration would just decide not to work in browsers and I'd have to restart them because smooth scrolling would turn into a stop-motion film. That's never happened since switching to sway.

    EDIT: I used i3 before

  • Do you daily drive Wayland, if so since when, if not when will you?
  • I use sway and run zoom in my browser (because zoom is shady and I don't trust them). Screen sharing works fine in the browser. The application never worked very well to being with anyway for me, even on X11.

    I also use https://git.dec05eba.com/gpu-screen-recorder/about/ for individual output screen recording such as gaming which works amazingly well. You can not select a section of a single output though, only the whole output. That's a deal breaker for some, and a non-issue for others, just depends on what you need.

  • Discussions related to Infosec.pub @infosec.pub mranderson17 @infosec.pub
    Periodic 500 errors

    I'm receiving periodic 500 server errors when viewing posts for about the last week. It's pretty infrequent but definitely still happening.

    I've also noticed that viewing some images has been problematic, sometimes requiring a few tries to get them to appear. Likely the same issue there.

    Anyone else noticed this?

    1
    First test of my openffboard build with power
    vimeo.com [OpenFFBoard] [ODrive] First test of my openffboard build with power

    A quick test, without a wheel attached to the spindle, of the openffboard, running on Linux, in BeamNG.drive. It took a while to get here as I'm not very knowledgeable…

    [OpenFFBoard] [ODrive] First test of my openffboard build with power

    cross-posted from: https://infosec.pub/post/4625991

    > A quick test, without a wheel attached to the spindle, of the openffboard running on Linux in BeamNG.drive. It took a while to get here as I'm not very knowledgeable with motor drivers but it seems to work so far. > > Next step will be to fabricate a bracket to mount it to my rig. Since this video I have mounted a wheel and done some driving. The feel is pretty good, the motor is only 6NM which in DD land is a little on the low side but it's incredibly smooth. > > Hardware: > > OpenFFBoard (purchased assembled) > > ODrive S1 > > Baldor BSM90N-1150AFP (ebay auction for untested motor, was about 50USD shipped) > > 48v 10.5A power supply > >

    8
    EA's new WRC game uses Denuvo Anti-tamper, because of course it does
    store.steampowered.com Pre-purchase WRC on Steam

    Build the car of your dreams in our biggest rally game ever, EA SPORTS™ WRC, the all-new official videogame of the FIA World Rally Championship, the first developed by the award-winning team behind the DiRT Rally series.

    Pre-purchase WRC on Steam

    Not really much else to say other than to share my disappointment (but not surprise).

    6
    My "space is limited" space combat and racing rig

    cross-posted from: https://infosec.pub/post/3508656 . I made some modifications since the last rig post, thought I'd cross post here too.

    > I don't have a lot of space where my desk is but wanted a combo space combat and racing rig that was fully rigid except for the seat. > > The chair sits in a wheel trough with some 3d printed wheel chalks that fit the wheels exactly so it doesn't really move much at all when braking. > > Everything is running on Linux using a lot of SDL and input device spoofing hacks to get it all recognized correctly in games. I mostly play DirtRally2.0, BeamNG, AMS2, and Overload. Trying to get into Elite Dangerous but it's not really my type of game. Maybe it will be some day though. Also play a little RBR but not all that much. > > List of gear: > > T300rs with a R383 Mod wheel - tmff2 driver. I designed a "quick" release ring so it's not a pain to take the wheel off for flight. > > Heusinkveld Ultimate+ pedals - protopedal or xboxdrv depending on the game > > TH8A shifter - heavily modified to fit in the small space I had and with a 3d printed short throw plate that I designed. It's not ideal, but works for occasional use. > > Some ebay handbrake - I use xboxdrv for this sometimes if necessary but most games can find it. I also modified it to be mounted under the plate for a bit more space on top. > > Gladiator NXT EVO Omni Throttle (Left and Right hand models) - These are a pain in most games. I use a winehid hack where I adjust the registry values HKEY_LOCAL_MACHINE System CurrentControlSet Enum WINEBUS VID_231D&amp;PID_{200,201} {Service, CompatibleIds} from xinput to winehid. This works but depends on the bus the device is currently connected to. Looking for a better SDL env var alternative but haven't got it working yet. > > Acer Nitro 37.5" QHD+ 3840 x 1600 curved display > > NextLevelRacing "Wheel Stand 2.0" - I made some steel parts for it on the mill to increase rigidity, 3d printed spacers for the adjustable arms to tighten them up a bit since the stock ones are a bit sloppy, and made some extra plates for mounting the sticks and other stuff out of 10mm aluminum plate. > > VKB UCM-S drop mount brackets for the sticks. I modified these as well to fit under the aluminum plates. The left one is hinged so that it can be folded upwards to get in and out of the chair when the chair wheels are fixed in place. > > annnd... yes I know the shifter and handbrake are reversed... I like it that way.

    0
    [BeamNG.drive] Falling upwards

    Had a nice relaxing series of crashes today.

    0
    looking for a US source for Gateron switches

    I have a keyboard with gateron blue clear top (black base, clear top) switches. It has a few switches that no longer work consistently so I'm looking for some replacements. The keyboard is backlit so I'd like to keep the clear top. Unfortunately I can't seem to find a source for this type of switch I feel comfortable with that ships to the US. There's ebay but it's so hard to tell what you're going to get. Does anyone know of a good site that ships to the US that stocks gateron clear top switches?

    1upkeyboards is the only place I've seen them even listed, but they are out of stock. https://1upkeyboards.com/shop/switches/set-packs/switches-16-pack/

    I have compared cherry blues, which also come in clear top, to the gaterons but I like the gateron feel better even though they seem not to last as long apparently.

    9
    Seeking some input on long term experience with Krytox 205g0 or Tribosys 3204

    About 8 years ago I lubed a Topre clone board (CM Novatouch) with "Finish Line Extreme Fluoro PFPAE" which was recommended at the time. Now years later it has pretty much all turned to dust and isn't really lubricating anything anymore. I suspect this happened maybe 5 years from when I applied it because it started feeling not so great and I put it away to use another board.

    Now I've finally gotten the time to work on it and I've cleaned off all the old crusty stuff and I'm going to replace it with a combination of 205g0 for the slider points of contact and 3204 for the stabilizer bars. (EDIT: might just try the 3204 on everything or find some actual grease for the bars, not sure yet)

    I'm wondering if anyone has any long term experience with either of these and if I might be able to expect a slightly longer life from them than what I had previously?

    4
    Discussions related to Infosec.pub @infosec.pub mranderson17 @infosec.pub
    Hey @jerry, do you have any backup? Is there any way we can help you?

    As the title says, @jerry@infosec.pub do you have any backup and how can we support you as the admin of our instance?

    Burnout on spare-time projects can be very real, especially when they suddenly grow or become more difficult to manage. We all appreciate what you are doing here. So even if there's nothing we can do directly, I'd just like to say thank you.

    8
    xeyes 1.3.0 released yesterday now has "multi-ocular support"

    Use the -biblicallyAccurate flag for maximum creepyness.

    https://gitlab.freedesktop.org/xorg/app/xeyes/-/commit/6f6c975d2cdc1f615f83576c9d1f828e1cdabda3

    13
    Discussions related to Infosec.pub @infosec.pub mranderson17 @infosec.pub
    I can't seem to upload images: JSON.parse: unexpected character at line 1 column 1 of the JSON data client.js

    In Firefox I am unable to upload images either as the subject of a post, or as a part of the body using the image button. I receive the following error:

    SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data client.js:2:1753277 Hp https://infosec.pub/static/7197474/js/client.js:2 (Async: promise callback) Hp https://infosec.pub/static/7197474/js/client.js:2 n https://infosec.pub/static/7197474/js/client.js:2

    I found a github issue about it but it's really old, so I'm thinking it's not that relevant, even though it pretty much describes the issue exactly:

    https://github.com/LemmyNet/lemmy-ui/issues/403

    There are some other issues in the lemmy backend repo:

    https://github.com/LemmyNet/lemmy/issues?q=is%3Aissue+unexpected+character+at+line+1+column+1+is%3Aclosed

    Anyone else noticing this or is it just me?

    EDIT: Probably should have checked first but this happens on other instances running 0.18.1, so I guess it doesn't matter, seems to be an upstream issue.

    0
    obligatory rig pic?

    My messy corner. And my somewhat compact rig. I've never posted before so unsure what information to include but I'll give it a go.

    • T300RS
    • R838 Mod wheel
    • ebay arduino handbrake
    • TH8A shifter
    • Heusinkveld Ultimate+ pedals
    • Next Level Racing Wheel Stand 2.0
    • Some pieces of wood
    • Acer Nitro 37.5" QHD+ 3840 x 1600 display

    I'm a bit insane... so I drive all the displays with a Radeon W6800 Pro which works surprisingly well for gaming despite not being intended for it.

    I use Linux exclusively and have for over 10 years now. Racing is a more recent hobby but I've been gaming much longer than that. Despite what all the youtubers say it all works mostly fine. Though I found hid-tmff2 to be the most mature of the wheelbase drivers outside of logitech which is why I haven't picked up a used DD wheel base just yet.

    EDIT: Dunno why the pic won't upload, maybe a bug with Lemmy 0.18.1? Anyway I added an imgur link instead.

    4
    Discussions related to Infosec.pub @infosec.pub mranderson17 @infosec.pub
    Some posts, particularly pinned posts, appear to be missing from communities

    I'm a member of the sim racing community on lemmy.ml.

    https://lemmy.ml/c/simracing

    If I go directly to that community there is a pinned post:

    https://lemmy.ml/post/1703575

    But if I browse the community from here on infosec.pub:

    https://infosec.pub/c/simracing@lemmy.ml

    The post is missing. Other new posts seem to be present and comments are working as expected since I was able to ask a question about said post in a different thread just now: https://infosec.pub/comment/591176

    Has anyone else noticed this?

    EDIT: In case anyone lands here with weird missing post or comment issues. I found that to work around this you can search for the direct link for both posts and comments which will force whatever instance you are on to find and show them. Probably not a great long-term solution but it works if you just want to reply to one or two people.

    4
    gamescope and steam overlay not working

    Lately I moved to wayland (trying out sway and hyprland) and have been using gamescope to work around some of the display issues which x11 games have in wayland. This works great however none of the options and settings I try seem to be able to get the steam overlay working.

    I found a couple of related issues #835 and #810 however it appears that this is not something that impacts everyone.

    So my question is, does anyone here have gamescope working with the steam overlay?

    I tried launching steam itself in gamescope, and also tried embedded mode (launching from a tty) and neither of those work either. I find that particularly strange because at that point it's just an x session and everything seems like it should work just like it does in X.

    EDIT: Relevant information

    OS: Arch Linux x86_64 Kernel: 6.1.35-1-lts Shell: fish 3.6.1 Resolution: 3840x1600 WM: sway Theme: Adwaita-dark [GTK2/3] Icons: Adwaita [GTK2/3] Terminal: alacritty CPU: AMD Ryzen 9 5950X (32) @ 3.400GHz GPU: AMD ATI Radeon PRO W6800 Memory: 64209MiB

    gamescope-git 3.12.0.beta8.r12.g9b70b3b-1

    Steam Client Beta Steam Version: 1687918139 Steam Client Build Date: Tue, Jun 27 7:44 PM UTC -08:00 Steam Web Build Date: Tue, Jun 27 5:07 PM UTC -08:00 Steam API Version: SteamClient020

    0
    Discussions related to Infosec.pub @infosec.pub mranderson17 @infosec.pub
    trouble commenting on any federated thread

    I don't seem to be able to comment on any posts on other lemmy instances. For example https://infosec.pub/c/privacyguides@lemmy.one . When I try to comment it just spins. I expected issues with lemmy.ml but I've now tried several instances and experience the same problems.

    Also comments on many posts don't match what you see if you go directly to the remote instance to view the thread.

    Is there some federation issue with infosec.pub?

    0
    InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)MR
    mranderson17 @infosec.pub
    Posts 15
    Comments 99