[-] ruffsl@programming.dev 2 points 9 months ago

I could imagine bootstrapping via Bell Labs Unix from the 90's would be more authentic, yet demanding LFS experience. I wonder how far back computer historians could bootstrap up to a modern compiler for integrity and verification purposes?

https://www.owlfolio.org/research/bootstrapping-trust-in-compilers/

https://www.theregister.com/2025/11/07/unix_fourth_edition_tape_rediscovered/

[-] ruffsl@programming.dev 1 points 1 year ago

This is the flake config I started from, but am now refactoring for multi-host support:

Simple and documented config templates to help you get started with NixOS + home-manager + flakes. All the boilerplate you need!

I first learned of NixOS through this project, but decided on writing my own config for starters.
Still, it has been a neat reference as an advance example:

My main NixOS configuration. Features include a polished Hyprland environment. A fully configured NeoVIM environment, QMK support. A Keyboard shortcut menu pop-down available in the top bar and so much more!


BTW, could you breakdown your hardware.nix configs?
They look a lot different from my auto generated one from the ISO install, particularly for fileSystems:

[-] ruffsl@programming.dev 1 points 2 years ago* (last edited 2 years ago)

Ah, I've got a old android phone that could be perfect for this. Thanks for the heads up about Macro Deck!

By the way, does Macro Deck utilize multi touch support? That could enable the use of modifier keys to expand the button functionality, without having the add so many dedicated buttons. For example, the video makes use of modifier for individually switching the keyboard and mouse without changing the video, in case using a multi screen KVM setup.

68
submitted 3 years ago* (last edited 3 years ago) by ruffsl@programming.dev to c/programming@programming.dev

Related discussions:

318
submitted 3 years ago* (last edited 3 years ago) by ruffsl@programming.dev to c/meta@programming.dev
9
4
1
submitted 3 years ago* (last edited 3 years ago) by ruffsl@programming.dev to c/trivia@programming.dev

Bonus points if you also know:

  • How the language (allegedly) got it's name?
  • Which operating system still leverages the language today?
2
9
13
1
39
2
1
How SQLite Is Tested (www.sqlite.org)

As of version 3.42.0 (2023-05-16), the SQLite library consists of approximately 155.8 KSLOC of C code. (KSLOC means thousands of "Source Lines Of Code" or, in other words, lines of code excluding blank lines and comments.) By comparison, the project has 590 times as much test code and test scripts - 92053.1 KSLOC.

  • Four independently developed test harnesses
  • 100% branch test coverage in an as-deployed configuration
  • Millions and millions of test cases
  • Out-of-memory tests
  • I/O error tests
  • Crash and power loss tests
  • Fuzz tests
  • Boundary value tests
  • Disabled optimization tests
  • Regression tests
  • Malformed database tests
  • Extensive use of assert() and run-time checks
  • Valgrind analysis
  • Undefined behavior checks
  • Checklists

Related discussions:

[-] ruffsl@programming.dev 2 points 3 years ago

It looks like midwest.social is listed as both linked and blocked. Quite strange. That instance is rather benign, as far as I can tell. @snowe@programming.dev , did we block that domain temporarily due to federation load issues?

[-] ruffsl@programming.dev 2 points 3 years ago

Yeah, I'd be hesitant to ever login to a third party client I couldn't self host. Hopefully O-Auth might be a future feature for Lemmy.

[-] ruffsl@programming.dev 2 points 3 years ago

Intolerant ideas (including messages and posts) should be allowed, considered, and countered with better ideas. Should be easy, since intolerant ideas are generally shitty ones.

Indeed, such ideas are often baseless, but the people who hold them can still be resolute against rationale, as per Karl Popper's quote in the wiki article above:

... for it may easily turn out that they are not prepared to meet us on the level of rational argument, but begin by denouncing all argument; they may forbid their followers to listen to rational argument, because it is deceptive ...


Intolerant actions (and I’m differentiating against speech from action here) should be prevented.

I'll preface this with my personal opinion here, that corporations do not merit civil personhood, yet I think focusing on free speech is veering away from the question and hand: in particular, how should the Fediverse (or at least our instance in particular) respond on engaging with Facebook, in light of what we currently know of the corporation's historic actions, as well as our uncertainty of it's future actions.

I suppose we could also rephrase this question more generally. I.e how should Fediverse communities respond to the hypothetical approach of other social media conglomerates, supposing the Fediverse gains the attention of not just Facebook, but also:

  • Twitter
  • Reddit
  • WeChat
  • TikTok
  • LinkedIn
  • YouTube
  • etc
[-] ruffsl@programming.dev 1 points 3 years ago

For previewing the body text of posts, I'm not sure how one should otherwise display the text when confined to the list layout of feeds. For example, rendering the html generated from the markdown could lead to some irregularly sized preview text blocks, line breaks, font sizes, given the headings you mentioned would throw off the minimalism.

That said, I would like to see at least the markdown hyperlinks rendered inline with the body text preview, as the URLs often take the majority of the limited character count, and could be more compact as clickable links to enable more contextual text to be included in the summery. Then again, I'm not sure how embedded images using markdown could be rendered without yet again borking the structured layout of the aggregated feed. Raw text seems to have been a practical compromise that would be robust to gaming or clickbaiting in body text previews.

[-] ruffsl@programming.dev 2 points 3 years ago

if we could do something like a “readonly” mode for specific (facebook) instances.

Read only mode might not be too bad, as long as Facebook is diligent in minimizing their environmental impact. If they cached heavily, like API calls and content delivery, that could avoid crushing local instances with drive-by or viral traffic.

However, I think that would be counter to Facebook's own monetary incentives in bolstering their own user engagement and account retention. This may also impact our instance's own sustainability outlook, as users hosted on this instance have the greatest incentive to donate to keep the lights on. If the majority of users are remote, then that incentive to donate is one step further removed.

[-] ruffsl@programming.dev 1 points 3 years ago

@Ategon@programming.dev , I've now posted to the robotics community.

[-] ruffsl@programming.dev 1 points 3 years ago

Check current update to the above post.

[-] ruffsl@programming.dev 2 points 3 years ago* (last edited 3 years ago)

What about carrying on a legacy with maintaining a intergenerational codebases? Like from a family owned business, a FOSS project, or hobby video game? Something that span's across tech stacks, historic trends, and familial code authors, like the ship of Theseus crossed with Noah's Ark (built with the help of Noah's entire family over almost 100 years, as the theological mythology goes).

view more: ‹ prev next ›

ruffsl

0 post score
0 comment score
joined 3 years ago
MODERATOR OF