Skip to main content
Bing Images

Bing's Homepage Images Archive

via @default Bing Images bing.com view
  • Markdown Plaintext Embed Permalink
  • 35/50 words 12s read

    Statue of Robert Burns in the Birks of Aberfeldy, Perth and Kinross, Scotland (© Dennis Barnes/Getty Images)

    Statue of Robert Burns in the Birks of Aberfeldy, Perth and Kinross, Scotland (©
    Statue of Robert Burns in the Birks of Aberfeldy, Perth and Kinross, Scotland (©
    Index: Cache · Source
    #feeds
    tdro

    Another wandering soul whispering 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 Embed Permalink
  • 70/50 words 23s read

    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
    Bing Images

    Bing's Homepage Images Archive

    via @default Bing Images bing.com view
  • Markdown Plaintext Embed Permalink
  • 26/50 words 9s read

    Colle Santa Lucia in the Dolomites, Italy (© mauritius images GmbH/Alamy)

    Colle Santa Lucia in the Dolomites, Italy (© mauritius images GmbH/Alamy)
    Colle Santa Lucia in the Dolomites, Italy (© mauritius images GmbH/Alamy)
    Index: Cache · Source
    #feeds
    Webkit Blog

    Open Source Web Browser Engine

    via @tdro Webkit Blog webkit.org view
  • Markdown Plaintext Embed Permalink
  • 16/50 words 5s read

    Today we are pleased to announce Safari 16.3, our first release of many coming this year.

    #feeds
    Deno

    The latest news from Deno Land Inc.

    via @tdro Deno deno.com view
  • Markdown Plaintext Embed Permalink
  • 21/50 words 7s read

    2022 was a big year for Deno. Here are the biggest updates from the past year and what’s coming up next.

    #feeds
    Bing Images

    Bing's Homepage Images Archive

    via @default Bing Images bing.com view
  • Markdown Plaintext Embed Permalink
  • 28/50 words 9s read

    Moai statues on Easter Island, Chile (© Karine Aigner/Tandem Stills + Motion)

    Moai statues on Easter Island, Chile (© Karine Aigner/Tandem Stills + Motion)
    Moai statues on Easter Island, Chile (© Karine Aigner/Tandem Stills + Motion)
    Index: Cache · Source
    #feeds
    Bing Images

    Bing's Homepage Images Archive

    via @default Bing Images bing.com view
  • Markdown Plaintext Embed Permalink
  • 22/50 words 7s read

    Mountain hare in Derbyshire, England (© Ben Hall/Minden Pictures)

    Mountain hare in Derbyshire, England (© Ben Hall/Minden Pictures)
    Mountain hare in Derbyshire, England (© Ben Hall/Minden Pictures)
    Index: Cache · Source
    #feeds
    tdro

    Another wandering soul whispering 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 Embed Permalink
  • 43/50 words 14s read

    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 whispering 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 Embed Permalink
  • 68/50 words 23s read

    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 ;-)

    #linux
    tdro

    Another wandering soul whispering 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 Embed Permalink
  • 191/50 words 64s read
    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 #linux

    Authors