ericjmorey

joined 1 year ago
MODERATOR OF
[–] [email protected] 2 points 1 week ago (1 children)

There seems to be mixed reactions to this suggestion. I don't know enough to understand why.

[–] [email protected] 4 points 2 weeks ago

Enjoy your Friday

[–] [email protected] 16 points 2 weeks ago (2 children)

Nice article.

why bother? Why I self host

Most of this article is not purely about that question, but I dislike clickbait, so I’ll actually answer the question from the title: Two reasons.

First of all, I like to be independent - or at least, as much as I can. Same reason we have backup power, why I know how to bake bread, preserve food, and generally LARP as a grandmother desperate to feed her 12 grandchildren until they are no longer capable of self propelled movement. It makes me reasonably independent of whatever evil scheme your local $MEGA_CORP is up to these days (hint: it’s probably a subscription).

It’s basically the Linux and Firefox argument - competition is good, and freedom is too.

If that’s too abstract for you, and what this article is really about, is the fact that it teaches you a lot and that is a truth I hold to be self-evident: Learning things is good & useful.

Turns out, forcing yourself to either do something you don’t do every day, or to get better at something you do occasionally, or to simply learn something that sounds fun makes you better at it. Wild concept, I know.

Contents

Introduction
My Services
Why I self host
Reasoning about complex systems
Things that broke in the last 6 months
Things I learned (or recalled) in the last 6 months

  • You can self host VS Code
  • UPS batteries die silently and quicker than you think
  • Redundant DNS is good DNS
  • Raspberry PIs run ARN, Proxmox does not
  • zfs + Proxmox eat memmory and will OOM kill your VMS
  • The mystery of random crashes (Is it hardware? It’s always hardware.)
  • SNMP(v3) is still cool
  • Don’t trust your VPS vendor
  • Gotta go fast
  • CIFS is still not fast
  • Blob storage, blob fish, and file systems: It’s all “meh”
  • CrowdSec

Conclusion

[–] [email protected] 5 points 2 weeks ago (1 children)

He made up hypothetical scenarios that nobody asked about, and then denigrated Rust by attacking the scenarios he came up with.

This seems to be the textbook description of a strawman argument.

[–] [email protected] 4 points 2 weeks ago

It's also a microkernel and intentional not POSIX compliant (but it's close to compliant). I like the project, but it's very experimental on purpose, so we should set our expectations accordingly. I'd love to see it become a success, but it may not be or it may only be successful in a smaller niche than the current Linux ecosystem.

That said, it seems very open to new contributors. I hope more people can help it along.

[–] [email protected] 2 points 3 weeks ago

It provides for control over certain functions, but it is underutilized.

[–] [email protected] 4 points 3 weeks ago (3 children)
[–] [email protected] 9 points 3 weeks ago (5 children)

I like the diversity of sphincter options in unicode and encourage their use. Here are a few of my favorites:



[–] [email protected] 9 points 3 weeks ago* (last edited 3 weeks ago)

This is a web service that returns the ActivityPub data for any URL that returns an ActivityPub message. For instance this post (https://lemmy.ml/post/19589249) returns:

{
  "@context": [
    "https://join-lemmy.org/context.json",
    "https://www.w3.org/ns/activitystreams"
  ],
  "type": "Page",
  "id": "https://lemmy.ml/post/19589249",
  "attributedTo": "https://lemmy.ml/u/hongminhee",
  "to": [
    "https://lemmy.world/c/fediverse",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "name": "BrowserPub: A browser for debugging ActivityPub and the ⁂fediverse",
  "cc": [],
  "mediaType": "text/html",
  "attachment": [
    {
      "href": "https://podcastindex.social/@js/113011966366461060",
      "mediaType": "text/html; charset=utf-8",
      "type": "Link"
    }
  ],
  "sensitive": false,
  "published": "2024-08-26T11:43:09.033551Z",
  "language": {
    "identifier": "en",
    "name": "English"
  },
  "audience": "https://lemmy.world/c/fediverse",
  "tag": [
    {
      "href": "https://lemmy.ml/post/19589249",
      "name": "#fediverse",
      "type": "Hashtag"
    }
  ]
}

Prepend https://browser.pub/ to the URL you want to check: https://browser.pub/https://lemmy.ml/post/19589249

[–] [email protected] 3 points 4 weeks ago

What self-hosted services did you set up passkeys on? How did setting it up go?

[–] [email protected] 1 points 4 weeks ago (2 children)

Is there a passkey setup that's easy to self host? I think passkeys with a backup would be best.

 

cross-posted from: https://programming.dev/post/16349359

July 2, 2024

Sylvain Kerkour writes:

Rust adoption is stagnating not because it's missing some feature pushed by programming language theory enthusiasts, but because of a lack of focus on solving the practical problems that developers are facing every day.

... no company outside of AWS is making SDKs for Rust ... it has no official HTTP library.

As a result of Rust's lack of official packages, even its core infrastructure components need to import hundreds of third-party crates.

  • cargo imports over 400 crates.

  • crates.io has over 500 transitive dependencies.

...the offical libsignal (from the Signal messaging app) uses 500 third-party packages.

... what is really inside these packages. It has been found last month that among the 999 most popular packages on crates.io, the content of around 20% of these doesn't even match the content of their Git repository.

...how I would do it (there may be better ways):

A stdx (for std eXtended) under the rust-lang organization containing the most-needed packages. ... to make it secure: all packages in stdx can only import packages from std or stdx. No third-party imports. No supply-chain risks.

[stdx packages to include, among others]:

gzip, hex, http, json, net, rand

Read Rust has a HUGE supply chain security problem


Submitter's note:

I find the author's writing style immature, sensationalist, and tiresome, but they raise a number of what appear to be solid points, some of which are highlighted above.

 

The presenter compares some of the functionality to Leap.nvim

 

In the command-line window the command line can be edited just like editing text in any window. It is a special kind of window, because you cannot leave it in a normal way.

There are two ways to open the command-line window:

  1. From Command-line mode, use the key specified with the 'cedit' option (default CTRL-F).

  2. From Normal mode, use the "q:", "q/" or "q?" command.

  • This starts editing an Ex command-line ("q:") or search string ("q/" or "q?"). Note that this is not possible while recording is in progress (the "q" stops recording then).

When the window opens it is filled with the command-line history. The last line contains the command as typed so far. The left column will show a character that indicates the type of command-line being edited

 

Jeremy Soller 🦀 (@[email protected]) [System76 Principal engineer, Pop!_OS Maintainer, and Redox OS BDFL] writes:

If you are a #KDE developer, I want to talk to you about:

  • How can COSMIC apps better fit in when running a Plasma session
  • How can KDE apps better fit in when running a COSMIC session
 

Siddharta Govindaraj writes:

As I blogged about in the previous two articles, I recently updated my NeoVim configuration for the fourth time. Although it might sound like a lot of config updates, keep in mind that it happened over a period of four years.

  • The first version was a port of my existing Vim configuration. Because NeoVim is backward compatible with Vim, you can just move the configuration over and it will work
  • In the second version, I migrated my plugin manager to Packer. This config was a mix of old style Vim config and the newer NeoVim style with some plugins migrated to Lua equivalents
  • Then I decided to go 100% Lua config and started using Kickstart.nvim and LazyVim.
  • This fourth time around I used Kickstart and LazyVim as guides to write my own from scratch.

You can find my NeoVim configuration on Github.

In this article I am going to go through and explain my configuration step-by-step. I have a terrible memory, so this post will also serve as a guide when I inevitably need to look through this file in the future.

Read Configuring NeoVim as a Python IDE (2023)

1
submitted 5 months ago* (last edited 5 months ago) by [email protected] to c/[email protected]
 

btw.nvim

Show "I use Neovim (BTW)" when neovim opens. That's all you need.


Why bother with mini.starter, vim-startify, dashboard-nvim, or any of those distractions? I know you, my friend. Forget about all that noise – all you truly need is I use Neovim (BTW). Embrace it proudly, and let your ego shine!

Features

  • Instant Ego Boost: Get greeted with "I use neovim (BTW)" on launch.
  • I use Neovim (BTW): Show your ego to the world.

view more: next ›