Skip to content

Instantly share code, notes, and snippets.

FDM 3D Printing Design Rules for Snap Fit Cases

caseinside

Turn on the sound to hear those satisfying clicks 💯

3dprintedcase.mp4

image

Moto G6 Play "N/A" screen lock out fix

Posting here in case someone has the same issue and comes across this through a web saerch. Feel free to comment below.

While using the Motorola Moto G6 Play, it suddenly rebooted and showed "N/A" on an otherwise black boot screen. It proceeded to boot to the Android lock screen (the one with black background, before the rest of Android is started), but refused to accept the CORRECT Android PIN anymore on the lock screen. After having tried for a while, I got a warning saying that I had only less than 10 tries left until all data would be wiped from the device.

I contacted a professional data recovery service company in one of the major German cities and described the issue. They quoted me "from €499,00" for data recovery. So it seems like from the error description, they were positive that they could recover the data.

Googling showed that the "N/A" on an otherwise black boot screen normally has to do with unlocked bootloaders, but the bootloader on this device nev

A honest Xiaomi Redmi 10C review focusing on what matters

A honest review focusing on what really matters in smartphones: Affordable price, reasonable performance and battery life, good software, no bloatware, ease of unlocking the bootloader, data protection and privacy. Most reviews on the net focus on superficial, unimportant stuff like an extra megapixel here or the form of the display notch there.

image

tl;dr: It is like Xiaomi is making it intentionally hard to get rid of their spyware-ridden, bloated firmware (requiring a SIM card, Mi account, Windows software, and a full week of waiting time). DO NOT BUY XIAOMI PHONES!

Looking at the sub-150 EUR mid range category, comparing with the Moto G31 and G22. The Xiaomi Redmi 10C has been for sale at ALDI in Germany for 139 EUR as of August 2022. (Actually, the Lenovo-owned company MEDION is distributing this phone to ALDI, what an irony that the

Learnings from the FUSE 3 breakage

Major Linux distributions as of today are unpredictable as targets for independent software vendors trying to publish applications because they are lacking guarantees regarding what software is part of the software stack supported by the operating system vendor.

Reasonably policies would be needed to improve the situation and give outside software developers targeting Linux distributions enough lead time to anticipate changes.

Example

https://github.com/libfuse/libfuse/releases/tag/fuse-3.0.0 was released in December 2016. Now, 5 years later, we are seeing this new major version as a problem, which goes like this:

Unlogischheiten

Vielleicht entsteht hieraus einmal ein Blog. Oder ein Buch. Gern kommentieren!

  1. Warum gibt es in der deuschen Spache kein Wort für unlogische Dinge? - Na gut, erfinden wir eben "Unlogischheiten"
  2. Warum ist vor der Kasse ein viel zu langes Warentransportband, aber nach der Kasse (wo der Kunde die Sachen einpacken muss) ist kein Warentransportband? - Wenn nach der Kasse ein Warentransportband in der gleichen Länge wie vor der Kasse wäre, würde das Einpacken und somit das Kassieren doch wesentlich beschleunigt
  3. Warum öffnen Läden dann, wenn die arbeitende (und somit Geld verdienende) Bevölkerung arbeitet? - Zumindest zwischen 9 und 17 Uhr könnten Retailer eigentlich schließen, weil Leute die Geld verdienen dann keine Zeit haben einzukaufen. Es wäre doch viel logischer, Läden erst um 17 Uhr zu öffnen und dann bis 2 Uhr offen zu lassen
  4. Warum reduzieren Läden "wegen Corona" ihre Öffnungszeiten? - Logisch wäre, die Öffnungszeiten zu verlängern, damit sich die gleiche Men

HP Color LaserJet CM2320 MFP series Print Scan Fax driver for macOS 10.x

HP seems to make it intentionally hard to find this driver. It is not listed on https://support.hp.com/us-en/drivers/selfservice/hp-color-laserjet-cm2320-multifunction-printer-series/3597338/model/3597358 - even though it works perfectly fine even on "newer" versions of macOS such as 10.11.

<?xml version="1.0" encoding="utf-8"?>
<installer-script minSpecVersion="1.000000" authoringTool="com.apple.PackageMaker" authoringToolVersion="3.0.1" authoringToolBuild="172">
@probonopd
probonopd / start-hello
Created April 30, 2021 17:28
Temporary version that should work on Raspberry Pi
#!/bin/sh
set +x
# This script is intended to be invoked by a desktop file
# from /usr/local/share/xsessions
# where the display manager (login window) picks it up
# Disable core dumps for applications
ulimit -c 0

Simple Parametrized Snap-fit Enclosure for a PCB in Onshape

One killer application for 3D printing is building enclosures for electronics prototypes. Many hobbyists use tools like TinkerCAD to build simple project boxes that are held together using screws.

A more elegant solution is to use snapfit enclosures that consist of two parts that can be snapped together with a satisfying click and without the need for additional parts or tools. Depending on how these snap-fits are designed, pulling the parts apart can be very easy to next to impossible.

Key principles

  • The part must not be under stress after being snapped together. PLA slowly deforms over time if it is under pressure for a prolonged period of time. Hence avoid "friction fits" where to parts are joined simply due to the friction betwee them
  • Always use clearance, at least in x and y dimensions. 0.1mm for a well-tuned FDM printer to 0.2mm for larger nozzles and/or faster printing situations
@probonopd
probonopd / sheepshaver-freebsd.md
Last active December 17, 2022 19:16
SheepShaver on FreeBSD, it can be done!

SheepShaver on FreeBSD

Set e.g., 800x600 with 60fps or fullscreen and it works!

Needs

sudo sysctl security.bsd.map_at_zero=1