Skip to main content
tdro tdro

tdro

@tdro

Another wandering soul screaming into the void. If you are looking for my blog you are in the wrong place. The profile and header pictures are brought to you by @cdd20.

The Bahamas

thedroneely.com

Appeared sometime around early May, 2022

6 Following

tdro

Another wandering soul screaming into the void. If you are looking for my blog you are in the wrong place. The profile and header pictures are brought to you by @cdd20.

tdro micro.thedroneely.com (edited) view markdown plaintext permalink feb 6 2023 4 sec 11/50 words

Hyperscript Tagged Markup (htm) is pretty good. It uses tagged templates.

#webdev
tdro

Another wandering soul screaming into the void. If you are looking for my blog you are in the wrong place. The profile and header pictures are brought to you by @cdd20.

tdro micro.thedroneely.com view markdown plaintext permalink feb 3 2023 31 sec 93/50 words

This AI stuff is kinda exciting.. in a “watching danger from afar” kind of way. What kind of feedback loop does it have? Does it finish off the Internet content–wise? The data has to be huge and ultra fuzzy — so someone has to add semantics/structure right or is it automatic? The Internet is already gamified to an extent… but can it completely auto–generate videos? What kind of exploits will be used against the input? So many questions. It’s like the ultimate frankenstein pandora’s box thought experiment of the most bizarre outcomes :-)

#musings
tdro

Another wandering soul screaming into the void. If you are looking for my blog you are in the wrong place. The profile and header pictures are brought to you by @cdd20.

tdro micro.thedroneely.com view markdown plaintext permalink feb 3 2023 24 sec 71/50 words

In the end my blog here ended up as a public note taking system — oh well. It’s kinda prickly though because I’m linking out in most posts and don’t have a workflow for auto–archiving the destinations yet. Chances are that when I return to older posts links inside will be dead. Archive.org isn’t infallible – ya better locally archive anything remotely interesting. Y2Z/monolith is good at creating self–contained web pages.

#programs
tdro

Another wandering soul screaming into the void. If you are looking for my blog you are in the wrong place. The profile and header pictures are brought to you by @cdd20.

tdro micro.thedroneely.com (edited) view markdown plaintext permalink feb 1 2023 19 sec 56/50 words

I’ve got a few repositories on Codeberg and following their blog is pretty fun. The recent post on scaling tickles my risk–averse sensibilities. It’s relatively easy to make/stand–up anything but scaling is mostly uncharted territory. The scale at which the biggest companies operate essentially guarantees HUGE and unique interconnected systems that are mind–bogglingly convoluted and complex.

#musings
tdro

Another wandering soul screaming into the void. If you are looking for my blog you are in the wrong place. The profile and header pictures are brought to you by @cdd20.

tdro micro.thedroneely.com view markdown plaintext permalink jan 27 2023 5 sec 15/50 words

The threat of to search says more about search than it does about AI.

#musings
tdro

Another wandering soul screaming into the void. If you are looking for my blog you are in the wrong place. The profile and header pictures are brought to you by @cdd20.

tdro micro.thedroneely.com view markdown plaintext permalink jan 26 2023 42 sec 126/50 words

My static micro blog experiment is going better than expected. Generation is still around 25 seconds hot on my old laptop as like the last time. Well.. sneakily it’s closer to a semi–constant 5~10 seconds by tricking hugo into outputting empty base templates which “can” result in mostly reads by writing files that have changed (might make a blog post about this).

This blog becomes mostly complete (minus the sharp edges) when there’s an archiving strategy on the paginator — basically a ghetto queue.
shell
$ hugo
                   |  EN   
-------------------+-------
  Pages            | 1728  
  Paginator pages  |  662  
  Non-page files   |   13  
  Static files     |  430  
  Processed images |  572  
  Aliases          |   76  
  Sitemaps         |    1  
  Cleaned          |    0  

Total in 26010 ms
More template efficiency?
#metas
tdro

Another wandering soul screaming into the void. If you are looking for my blog you are in the wrong place. The profile and header pictures are brought to you by @cdd20.

tdro micro.thedroneely.com view markdown plaintext permalink jan 24 2023 23 sec 70/50 words

The Enhance Framework looks compelling. Personally, web components and more particularly the shadow DOM are not very appealing but… the template structure looks clean for drawing up components/layouts super fast while still being primitive enough to not lose transposability between different environments.

It seems like there’s an uptick in discussions online around web components but maybe that’s just the typical developer marketing/advocating. Web components have been around for a bit.

#webdev
tdro

Another wandering soul screaming into the void. If you are looking for my blog you are in the wrong place. The profile and header pictures are brought to you by @cdd20.

tdro micro.thedroneely.com view markdown plaintext permalink jan 21 2023 15 sec 44/50 words

Writing assistant: Vale. I heard somewhere that writing/speaking at a 6th grade level is a surefire way to be relevant.. whoops.

shell
$ vale extensible-stylesheets.md
1:1     suggestion  Grade Level 11.02.              thedro.Readability         
16:3    error       Use code tag `XML` instead of   technical.CodeSubtitutions 
                   'XML'.                                                     
Oh no
#programs
tdro

Another wandering soul screaming into the void. If you are looking for my blog you are in the wrong place. The profile and header pictures are brought to you by @cdd20.

tdro micro.thedroneely.com (edited) view markdown plaintext permalink jan 21 2023 23 sec 68/50 words

Look at this Makefile — then look at this NixOS package derivation. Appears simple but I couldn’t for the life of me divine how to quickly compile a custom/patched kernel module on NixOS. Abstractions… are very magical. The guide is cool and all, but it’s a better time investment to guesstimate the relationship between the higher/lower layer. This friendly example looks more like this in reality though ;-)

#nixos
tdro

Another wandering soul screaming into the void. If you are looking for my blog you are in the wrong place. The profile and header pictures are brought to you by @cdd20.

tdro micro.thedroneely.com view markdown plaintext permalink jan 21 2023 65 sec 194/50 words
A NixOS configuration for a working sound driver on an A1418 Cirrus Logic CS8409/CS42L83.
nix
{ stdenv, lib, fetchgit, linuxKernel, kernel ? linuxKernel.kernels.linux_5_15
, version ? "d0d785dc1859b09299bde6d0f1d6786a0d610e7f" }:

stdenv.mkDerivation {

  inherit version;
  name = "sna-hda-codec-cs8409-${version}-module-${kernel.modDirVersion}";

  # Upstream: https://github.com/davidjo/snd_hda_macbookpro

  src = fetchgit {
    url = "https://github.com/egorenar/snd-hda-codec-cs8409.git";
    rev = version;
    sha256 = "sha256-0UeoERcYpM+ojeZ7dDIE3ruTIoHkkC+s7FcoEVUTR0w=";
  };

  hardeningDisable = [ "pic" ];
  nativeBuildInputs = kernel.moduleBuildDependencies;

  NIX_CFLAGS_COMPILE = [ "-g" "-Wall" "-Wno-unused-variable" "-Wno-unused-function" ];

  makeFlags = kernel.makeFlags ++ [
    "INSTALL_MOD_PATH=$(out)"
    "KERNELRELEASE=${kernel.modDirVersion}"
    "KERNEL_DIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
  ];

  postPatch = ''
    printf '
    snd-hda-codec-cs8409-objs := patch_cs8409.o patch_cs8409-tables.o
    obj-$(CONFIG_SND_HDA_CODEC_CS8409) += snd-hda-codec-cs8409.o

    KBUILD_EXTRA_CFLAGS = "-DAPPLE_PINSENSE_FIXUP -DAPPLE_CODECS -DCONFIG_SND_HDA_RECONFIG=1"

    KERNELRELEASE ?= $(shell uname -r)
    KERNEL_DIR    ?= /lib/modules/$(KERNELRELEASE)/build
    PWD           := $(shell pwd)

    default:
    	make -C $(KERNEL_DIR) M=$(PWD) CFLAGS_MODULE=$(KBUILD_EXTRA_CFLAGS)

    install:
    	make -C $(KERNEL_DIR) M=$(PWD) modules_install
    ' \
    > Makefile

    sed --in-place 's|<sound/cs42l42.h>|"${linuxKernel.kernels.linux_6_0.dev}/lib/modules/${linuxKernel.kernels.linux_6_0.modDirVersion}/source/include/sound/cs42l42.h"|'  patch_cs8409.h
    sed --in-place 's|hda_local.h|${kernel.dev}/lib/modules/${kernel.modDirVersion}/source/sound/pci/hda/hda_local.h|'                                                      patch_cs8409.h
    sed --in-place 's|hda_jack.h|${kernel.dev}/lib/modules/${kernel.modDirVersion}/source/sound/pci/hda/hda_jack.h|'                                                        patch_cs8409.h
    sed --in-place 's|hda_generic.h|${kernel.dev}/lib/modules/${kernel.modDirVersion}/source/sound/pci/hda/hda_generic.h|'                                                  patch_cs8409.h
    sed --in-place 's|hda_auto_parser.h|${kernel.dev}/lib/modules/${kernel.modDirVersion}/source/sound/pci/hda/hda_auto_parser.h|'                                          patch_cs8409.h
  '';

  meta = { platforms = lib.platforms.linux; };
}
../packages/snd-hda-cs8409/default.nix

Then build it as a extra/custom kernel module. The results of stumbling upon yet another troublesome device…

nix
{ pkgs, ... }:

{
  boot = {
    extraModulePackages = [
      (pkgs.callPackage ../packages/snd-hda-cs8409/default.nix {
        kernel = pkgs.linux_5_15;
      })
    ];
  };
}
hardware.nix
#gists #nixos
Newest Oldest

Authors

Gallery

Following

Web Ring