Spyke

Posts

opensource·Open Sourcebyjokeyrhyme

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

the immediate blocker when trying to run this Python project is that a native package deep within its dependency graph won't compile without gcc-12 even though gcc 15 was released in August last year

that's not even targeting gcc 14 which was released in 2024

and to hardcode this expectation without a Dockerfile or some Python-native mechanism to pull in a specific version of a C/Cxx compiler ...

https://xkcd.com/1987/

🐍 🤡

View original on lemmy.ml
39

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

As part of their "Defective by Design" anti-DRM campaign, the FSF recently made the following claim:

Today, most of the major streaming media platforms utilize the TPM to decrypt media streams, forcefully placing the decryption out of the user's control (from here).

This is part of an overall argument that Microsoft's insistence that only hardware with a TPM can run Windows 11 is with the goal of aiding streaming companies in their attempt to ensure media can only be played in tightly constrained environments.

I'm going to be honest here and say that I don't know what Microsoft's actual motivation for requiring a TPM in Windows 11 is. I've been talking about TPM stuff for a long time. My job involves writing a lot of TPM code. I think having a TPM enables a number of worthwhile security features. Given the choice, I'd certainly pick a computer with a TPM. But in terms of whether it's of sufficient value to lock out Windows 11 on hardware with no TPM that would otherwise be able to run it? I'm not sure that's a worthwhile tradeoff.

What I can say is that the FSF's claim is just 100% wrong, and since this seems to be the sole basis of their overall claim about Microsoft's strategy here, the argument is pretty significantly undermined. I'm not aware of any streaming media platforms making use of TPMs in any way whatsoever. There is hardware DRM that the media companies use to restrict users, but it's not in the TPM - it's in the GPU.

https://mjg59.dreamwidth.org/70954.htmlOpen linkView original on lemmy.ml
112

calico in Kubernetes is so helpful, I want it everywhere

i've been mucking about with calico on my #homelab #kubernetes cluster, and it took me far far too long to visit the whisker console: https://docs.tigera.io/calico/latest/observability/view-flow-logs

this is unbelievably helpful for debugging firewall rules

i'm very tempted to switch to calico on my non-k8s systems now (e.g. Linux gaming PC), so i can be back to only having 1 firewall abstraction in my brain

calico in Kubernetes is so helpful, I want it everywherehttps://docs.tigera.io/calico/latest/observability/view-flow-logsOpen linkView original on lemmy.ml
27
3dprinting·3DPrintingbyjokeyrhyme

Prusa3D Core One assembled from kit in roughly 36 hours

Prusa3D Core One assembled from kit ( https://www.prusa3d.com/product/prusa-core-one-kit/ ) in roughly 36 hours, including 5 hours of sleep and frequent toddler-herding

Quite fun and satisfying

I did make a few mistakes, but wholly my own, and avoidable by reading the actual instructions

Benchy test print (15 minutes) is complete, so I guess I can start planning holiday show-bag gifts for nieces and nephews

Prusa3D Core One assembled from kit in roughly 36 hourshttps://www.prusa3d.com/product/prusa-core-one-kit/Open linkView original on lemmy.ml
57
3dprinting·3DPrintingbyjokeyrhyme

good results so far with Elegoo Rapid PETG

3D printing with my first spool of Elegoo Rapid PETG ( https://au.elegoo.com/products/rapid-petg-filament-1-75mm-colored-1kg ) bought at Jaycar , looking very clean and sharp on a slow speed profile

I should recalibrate my Overture PETG ( https://overture3d.com/products/overture-petg ) now that I've figured out the speed issues on my printer

good results so far with Elegoo Rapid PETGhttps://au.elegoo.com/products/rapid-petg-filament-1-75mm-colored-1kgOpen linkView original on lemmy.ml
21
3dprinting·3DPrintingbyjokeyrhyme

delamination on larger surfaces

I've been noticing some delamination (layer separation), but only on solid infill and top layers, and only on larger surfaces

Initially, I tried reducing speed, but didn't notice any improvement

There are no noticeable issues on short lines, so I think this is something to do with acceleration, which I didn't realise was a thing, but there are indeed settings for this in OrcaSlicer

Update:

Reducing acceleration does seem to have resulted in less severe delamination, but it hasn't gone away completely

So I think I need to reduce it just a little bit more

View original on lemmy.ml
6
3dprinting·3DPrintingbyjokeyrhyme

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

Howdy, folks!

I'm teetering on the brink of connecting my Sovol3D S06 ACE to my wireless network, but I'm pausing because this device can make physical real-world actions like:

  • record photos and videos using its built-in camera
  • shaking so much that it manages to knock itself on the floor
  • melting so much plastic that it dribbles all over itself and then all over everything around and beneath it
  • consume lots of electricity and cost me a fortune on my utilities bill
  • burn the house down

None of this happens in normal usage, of course, but watching it self-calibrate did make me wonder:

  • how safe the firmware is?
  • is it retrieving instructions from Sovol3D or some other party by itself?
  • is it sending records of my print jobs to a 3rd party?
  • is it sending photos and videos to a 3rd party?
  • how safe the firmware is once its receiving arbitrary network traffic?

All IPv4 traffic from the internet goes through a NAT/firewall that I conceivable control, but my devices all get public-facing IPv6 addresses, and the default SSH password on all of these printers is publicly-documented

It looks like the Sovol3D S06 ACE firmware is https://www.klipper3d.org/ + https://www.obico.io/ + some unknown amount of stuff that Sovol3D adds on top, and it doesn't seem like they've kept the public source code up-to-date: https://github.com/Sovol3d/SV06-ACE

I do already self-host https://www.home-assistant.io/ and plan to integrate the 3D printer with it, avoiding any cloud behaviour as much as possible, but I'm wondering if anyone else has already done this and has any advice on what to avoid?

Cheers! <3

View original on lemmy.ml
62
3dprinting·3DPrintingbyjokeyrhyme

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

After immersing myself in 3D printer content on YouTube and Lemmy, I'd talked myself all the way up to spending AU$2000 which is just absurd for a first timer, but then talked myself into the Sovol3D S06 ACE as a decent starting point, haha

Anyhow, I'll be running this in my garage (garage door open) and I think the first batch of filament in the pack is either PLA or PETG, which seems beginner friendly

I've been wondering about 3D printer profiles and calibration in slicer apps... is there a way to print as many benchies that will fit on the bed, but each which different profile parameters, so I can see which profiles do or don't work best? Or do current slicer apps always produce a plan that uses the same parameters for the entire job?

Note that I'm 100% on Linux (no Windows here), so I'm probably limited to https://github.com/prusa3d/PrusaSlicer or https://github.com/SoftFever/OrcaSlicer (or maybe https://github.com/GladiusSlicer/GladiusSlicer if I'm in the mood for contributing my own code)

I've consumed probably too much YouTube at this point, but any especially important hints and tips for a first timer would be appreciated!

P.S. oh, just noticed, https://lemmy.ml/post/23597074 thanks!

first timer here, Sovol3D S06 ACE arriving this week, open to suggestions :)https://www.sovol3d.com/products/sovol-sv06-aceOpen linkView original on lemmy.ml
24

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

My desktop PC is the only machine in the house having Wi-Fi connectivity issues (connects fine, but drops out randomly after a few minutes or sometimes a few hours)

I think wpa_supplicant is getting confused and thinks signal strength is poor (I have a Netgear mesh, but this seems increasingly common, so it's weird for that to be the issue)

I did pick up a TP-Link USB Wi-Fi adapter, but can reproduce the same connectivity issues

The fix was switching away from wpa_supplicant in favour of iwd, which seems rock solid in comparison

I'm sure there's a way to fix wpa_supplicant, but it's man pages only seem to list the options without actually describing what they do, which seems sort of poor considering how old the project is 🤷

View original on lemmy.ml
71

Quantum Resistance and the Signal Protocol

We believe that the key encapsulation mechanism we have selected, CRYSTALS-Kyber, is built on solid foundations, but to be safe we do not want to simply replace our existing elliptic curve cryptography foundations with a post-quantum public key cryptosystem. Instead, we are augmenting our existing cryptosystems such that an attacker must break both systems in order to compute the keys protecting people’s communications.

...

Our new protocol is already supported in the latest versions of Signal’s client applications and is in use for chats initiated after both sides of the chat are using the latest Signal software. In the coming months (after sufficient time has passed for everyone using Signal to update), we will disable X3DH for new chats and require PQXDH for all new chats. In parallel, we will roll out software updates to upgrade existing chats to this new protocol.

Quantum Resistance and the Signal Protocolhttps://signal.org/blog/pqxdh/Open linkView original on lemmy.ml
159
rust·Rust Programmingbyjokeyrhyme

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

Rumor 1: Rust takes more than 6 months to learn – Debunked !

...

Rumor 2: The Rust compiler is not as fast as people would like – Confirmed !

...

Rumor 3: Unsafe code and interop are always the biggest challenges – Debunked !

...

Rumor 4: Rust has amazing compiler error messages – Confirmed !

...

Rumor 5: Rust code is high quality – Confirmed! ...

Rust fact vs. fiction: 5 Insights from Google's Rust journey in 2022https://opensource.googleblog.com/2023/06/rust-fact-vs-fiction-5-insights-from-googles-rust-journey-2022.htmlOpen linkView original on lemmy.ml
29