From 6f5e8042470c94cef14b94b8c4251c1cfb436d95 Mon Sep 17 00:00:00 2001 From: 53hornet Date: Fri, 22 Oct 2021 18:39:32 -0400 Subject: posted: forced downloads in browser --- ...tcloud-client-rclone-is-my-new-best-friend-.php | 6 +++++ ...ide-block-cylinder-heads-for-1-2-head-bolts.php | 9 +++++++ drafts/its-not-rust-vs-go.php | 28 ++++++++++++++++++++++ 3 files changed, 43 insertions(+) create mode 100644 drafts/2021-10-15-friendship-ended-with-webdavfs-and-nextcloud-client-rclone-is-my-new-best-friend-.php create mode 100644 drafts/2021-10-22-drilling-out-wide-block-cylinder-heads-for-1-2-head-bolts.php (limited to 'drafts') diff --git a/drafts/2021-10-15-friendship-ended-with-webdavfs-and-nextcloud-client-rclone-is-my-new-best-friend-.php b/drafts/2021-10-15-friendship-ended-with-webdavfs-and-nextcloud-client-rclone-is-my-new-best-friend-.php new file mode 100644 index 0000000..e818d9b --- /dev/null +++ b/drafts/2021-10-15-friendship-ended-with-webdavfs-and-nextcloud-client-rclone-is-my-new-best-friend-.php @@ -0,0 +1,6 @@ + + +Stepping up from 17/32 to 18/32 to 19/32. Center row is smallest, next two rows out are medium, final row is largest. Based on factory dimensions, but increased. diff --git a/drafts/its-not-rust-vs-go.php b/drafts/its-not-rust-vs-go.php index 1ec29a8..f423744 100644 --- a/drafts/its-not-rust-vs-go.php +++ b/drafts/its-not-rust-vs-go.php @@ -189,3 +189,31 @@ include($_SERVER['DOCUMENT_ROOT'] . '/includes/head.php');

Everything isn't great in goland either. Gofmt and the go module structure were harsh and annoying for me to use. I don't prefer languages with rigorous whitespace requirements anyways. The opinionated standard library is fickler than I would imagine, and the drama churned up over the introduction of generics (a useful, modern programming concept) is popcorn-worthy

The hidden cost of Go: go might be faster to actually type in. But I spend much less time debugging in Rust. The compiler/borrow-checker tells me why I can't write to memory that's already been dropped or borrowed someplace else, and suggests what I need to paste in to fix it. These kinds of bugs take a long time to track down by stepping-through Go code. Some might not even get caught. I don't use a debugger for Rust because I rarely need to step through my code one line at a time to figure out where something became NULL

+ +
+
+panic: runtime error: invalid memory address or nil pointer dereference
+[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x17cf291]
+
+goroutine 52 [running]:
+github.com/rclone/rclone/cmd/mountlib.(*MountPoint).Wait.func1.1()
+	github.com/rclone/rclone/cmd/mountlib/mount.go:256 +0x51
+sync.(*Once).doSlow(0xc00056c7f0, 0xc00057be38)
+	sync/once.go:68 +0xb9
+sync.(*Once).Do(...)
+	sync/once.go:59
+github.com/rclone/rclone/cmd/mountlib.(*MountPoint).Wait.func1()
+	github.com/rclone/rclone/cmd/mountlib/mount.go:254 +0x59
+github.com/rclone/rclone/lib/atexit.Run.func1()
+	github.com/rclone/rclone/lib/atexit/atexit.go:104 +0x7f
+sync.(*Once).doSlow(0x2e19420, 0x1e4ecd0)
+	sync/once.go:68 +0xb9
+sync.(*Once).Do(...)
+	sync/once.go:59
+github.com/rclone/rclone/lib/atexit.Run()
+	github.com/rclone/rclone/lib/atexit/atexit.go:102 +0xac
+github.com/rclone/rclone/lib/atexit.Register.func1.1()
+	github.com/rclone/rclone/lib/atexit/atexit.go:52 +0xf0
+created by github.com/rclone/rclone/lib/atexit.Register.func1
+	github.com/rclone/rclone/lib/atexit/atexit.go:44 +0xa5
+
-- cgit v1.2.3