Skip Navigation

Posts
142
Comments
243
Joined
5 yr. ago

aspiring Rustacean, JavaScript jockey, 3D printing addict, use Bluefin Linux, (Apple|Google)-captive, Meta-escapee, parent, husband with a husband, cisgender, he/him

  • Deleted

    Permanently Deleted

    Jump
  • I switch back and forth between bazzite and bluefin quite often

    on these and other immutable distributions, /usr is read-only, and the recommended is to use installation methods that write to your HOME (or to /var which is where docker and flatpak --system save files)

    i really should muck about with container-based development flows

    my current preference is flatpak, then whatever per-language package tooling (e.g. cargo for tools written in Rust, npm with a custom HOME prefix for tools written in Node.js, uv for Python projects, etc) when there's no flatpak, then homebrew, then rpm-ostree as a last resort

    for editing files in /etc my recommendation would be to set the EDITOR environment variable to point at whatever you like, installed however you like, and edit with sudoedit /etc/fstab, because then your editor is not running with root permissions

    you could also point EDITOR at a custom script that mounts the target file into a container running your desired editor

  • yeah, I think, at least initially, we had many data scientists lacking a little in terms of development practices around code rot and dependency management

  • hehe, this exact same problem but in Node.js drove me towards Rust, as well 🦀

    there are widely-used Rust crates that wrap C/C++ code and there are the ...-sys crates that expose bindings for dynamically-linked dependencies, but i've never encountered one that needed a specifically-ancient version of GCC

  • Why do you need gcc to compile a Python program?

    this is pretty common in interpreted languages/runtimes like Python, Node.js, Ruby, etc where a dependency is written in C or C++ or Rust or something else when the performance benefit is worth the cost of abandoning the primary language

    the amusing/horrifying part is that Node.js actually depends on a Python script for this, so any Node.js application with a C/C++/Rust dependency actually needs Python installed somewhere

    e.g. https://github.com/pyca/cryptography is a Python dependency that requires the Rust compiler/toolchain if pip / pipx / uv can't find a pre-compiled version for your system

    To me sounds like either a neglected project or designed to run in a docker image maybe? When was it updated last?

    as far as i can tell, the project is alive and well, frequent and recent commits, and all the dependencies involved here are on their latest versions

    In such cases its probably the best to run the application in a virtual machine.

    and yeah, i know i can fix this with a VM or a Dockerfile and i'll probably have to

    but my point is that Python is kinda' hot garbage for sharing code that depends on other shared code

    it's a terrific language by itself and sharing code that only depends on the standard library is perfectly fine, but as soon as we share code that depends on other third-party code we introduce inevitable suffering

  • Open Source @lemmy.ml

    "new" Python project with hard-coded ancient dependencies, urgh

  • hehe, yikes

    between Proton moving operations and its CEO being a MAGA (or at least a Trump sycophant), the advice to adopt Proton has really curdled recently

  • huh, hair spray, makes sense

    i've been using an FDM-specific spray, but I bet hair spray is more cost effective

  • for some filament, at least PLA and PETG, you don't want to filament entering the extruder to be too warm because it can soften and cause jams / under-extrusion

  • sure, but there's so much community outrage at BSL (and similar) licences, usually because they start as open source and then later rug-pull and relicense community contributions

    and this results in there usually being a non-BSL fork of everything that is BSL, or at least a very good (incompatible) alternative

    e.g.

    • redis -> valkey
    • terraform -> opentofu
    • vault -> openbao

    but sure, I concede that a clean-room AI-implementation might be valuable depending on the existing licence

    I just don't see this being especially common 🤷

  • open source licence obligations are almost always triggered upon distribution

    and cloud software-as-a-service doesn't count as distribution (except under AGL and a few rarer less-used licences), because the software never leaves machines owned/operated by the "author"

    so, cloud SaaS has been able to consume open source code without contributing anything back for decades already

    AI-generated bespoke software might be killing SaaS, but it'll like never trigger open source obligations either, because it'll never leave machines owned/operated by the "author"

    so these AI-reimplementations of existing open source software are kinda' pointless

  • even without going too-CISC it can make sense to have instructions for popular use cases

    e.g. ARM has special instructions for optimal numeric operations in JavaScript: https://developer.arm.com/documentation/dui0801/h/A64-Floating-point-Instructions/FJCVTZS

    and I thought I'd read something about custom instructions in Apple Silicon to optimise virtualisation (i.e. translation of x86_64 executables) but I can't find a source for that, maybe that secret sauce is not in the instruction set

  • rejecting the revert is completely separate from accepting additional age-check / mass-surveillance PRs, you know this and you are being willfully ignorant

    I would be very upset and very surprised if hypothetical follow-up PRs were merged into systemd, and I'm betting they will be rejected

  • it would be very interesting to see that attempt

    but Poettering has already said that functionality doesn't belong in systemd so I'm not sure where anyone would raise such a PR

    seems like an Ubuntu/RedHat level distribution design to pull in a brand new age-verification / mass-surveillance component, or maybe modify an existing telemetry component

    the birth date field only made it into systemd because it's user metadata that is consistent with what is already stored there, whereas surveillance does not

    for now, at least

    again, I'd be very interested to see what happens with follow-up PRs

  • I'll be upset when a cloud-connected Linux component prevents the system from working unless the real name and birth date fields have been verified

    until then, this is just as inert as the real name field which has been there for decades, and far less useful for surveillance than the real name field which has been there for decades

  • this new anti-systemd sentiment reminds me of anti-TPM and anti-SecureBoot sentiment

    having TPMs and SecureBoot on Linux machines has only ever empowered device owners to ensure that the software on their devices has not been tampered with

    there's never been a case where these technologies were used against Linux device owners

    likewise, I predict that Linux device owners may find the age field useful for certain opt-in parental controls, but we'll otherwise look back on this and shrug at the extreme paranoia

  • this new anti-systemd sentiment reminds me of anti-TPM and anti-SecureBoot sentiment

    having TPMs and SecureBoot on Linux machines has only ever empowered device owners to ensure that the software on their devices has not been tampered with

    there's never been a case where these technologies were used against Linux device owners

    likewise, I predict that Linux device owners may find the age field useful for certain opt-in parental controls, but we'll otherwise look back on this and shrug at the extreme paranoia

  • meh, it was cryptocurrency and blockchain snake-oil before it was AI snake-oil

    it might have been good before cryptocurrency, i sadly can't remember

  • i'm guessing a few things somehow consume /etc/hosts mappings without going through nss /shrug

  • Linux @lemmy.ml

    gotcha when changing hostname

  • Linux @lemmy.ml

  • Linux @lemmy.ml

    The GPU, not the TPM, is the root of hardware DRM

    mjg59.dreamwidth.org /70954.html
  • 3DPrinting @lemmy.world

    Logitech BRIO 4K adapter for Dell G3223Q monitor by jokeyrhyme

    www.printables.com /model/1535596-logitech-brio-4k-adapter-for-dell-g3223q-monitor
  • Personal Finance @lemmy.ml

    TIL my bank has a "gambling lock" feature

    www.commbank.com.au /retail/netbank/gamblinglock
  • Linux @lemmy.ml

    calico in Kubernetes is so helpful, I want it everywhere

    docs.tigera.io /calico/latest/observability/view-flow-logs
  • 3DPrinting @lemmy.world

    Prusa3D Core One assembled from kit in roughly 36 hours

    www.prusa3d.com /product/prusa-core-one-kit/
  • 3DPrinting @lemmy.world

    good results so far with Elegoo Rapid PETG

    au.elegoo.com /products/rapid-petg-filament-1-75mm-colored-1kg
  • 3DPrinting @lemmy.world

    delamination on larger surfaces

  • 3DPrinting @lemmy.world

    top-layer delamination solved by lower speed

  • 3DPrinting @lemmy.world

    Is anyone else concerned about internet-connected 3D printers?

  • 3DPrinting @lemmy.world

    first timer here, Sovol3D S06 ACE arriving this week, open to suggestions :)

    www.sovol3d.com /products/sovol-sv06-ace
  • Linux @lemmy.ml

    Wi-Fi connectivity issues resolved by dropping wpa_supplicant in favour of iwd

  • Privacy @lemmy.ml

    Quantum Resistance and the Signal Protocol

    signal.org /blog/pqxdh/
  • Linux @lemmy.ml

    Migrating Arch Linux's packaging infrastructure to GitLab

    about.gitlab.com /blog/2023/09/11/migrating-arch-linux-packaging-infrastructure-gitlab/
  • Green - An environmentalist community @lemmy.ml

    Montana loses fight against youth climate activists in landmark ruling

    arstechnica.com /tech-policy/2023/08/montana-loses-fight-against-youth-climate-activists-in-landmark-ruling/
  • Rust Programming @lemmy.ml

    Rust fact vs. fiction: 5 Insights from Google's Rust journey in 2022

    opensource.googleblog.com /2023/06/rust-fact-vs-fiction-5-insights-from-googles-rust-journey-2022.html
  • Privacy @lemmy.ml

    Passkeys may not be for you, but they are safe and easy—here’s why

    arstechnica.com /information-technology/2023/05/passkeys-may-not-be-for-you-but-they-are-safe-and-easy-heres-why/
  • Security @lemmy.ml

    Passkeys may not be for you, but they are safe and easy—here’s why

    arstechnica.com /information-technology/2023/05/passkeys-may-not-be-for-you-but-they-are-safe-and-easy-heres-why/