.plaan

.plan

This is a plan to “keep me honest” with the for-fun projects and stay on task.

… obviously; it’s not what I do for a day job … that’s always been under like-NDA …

  • pb is the big deal - and it’s stressing me out
  • a lot of this relates to that, but, i’ve been trying to avoid getting bogged down
  • eel_pit and recook are the end-goals but i’m not there yet

prhg / check the slop

check the slop to see it it works

pb_damphe / dampbe - pb based encoder

hoping for mid-December

working

  • basic tests work
  • nested objects … are fine … just not great
  • empty containers work
  • saving pointers works

needed

  • loading pointers SUCKS and i think that i need some new shenanigans
  • pass shared_ptr / vector test
  • implement list tests
  • emplace/allocate inhume<>exhume<> ad-hoc traits

pchg / pre-commit hooks for hg

  • rewrote what i had to be just a test
  • … so … pass the test
  • … and workout how to shelve things … and all the other stuff
  • also; add transclude as hook

nival

  • csv files …

    problem = ...
    
    @problem.csv(path_to_csv)
    def yield_cat_for_row(col1, col2, colr3)
        yield ... # one row
    
  • only work for .solver() and only solve for those

  • database creator

    • … see the demographics example …
  • improve the solver

  • replace permute in makopy

blog

always neglected

  • finish slide-cast about fips
  • write pycode post or slide-cast
  • nival post or something
  • makopp post/blog including “how to embed binary in C++ with these templates”
    • … but also check on imports/usage
    • … and fixit so a failure in mako kills the vc-build

fips-libs pyproject

push through all fips libs and update;

  • fips-files/lib/pyproject.toml with the real name

  • fips-files/lib/src/__init__.py to add all deps to sys.path

  • fips-files/lib/tests/__init__.py to add all deps tests to sys.path

  • python/uv/uv-build version to whatever is in fips (i guess?)

  • call verb “pyfips”

  • if run blank;

    • panics at wanting to make changes
    • checks all dep projects up the tree
  • if run with “overwrite” - it overwrites own project

housekeeping

  • switch existing soak-tests to makopp
  • cleanup leftovers from merge pal + uvpal

pivpn

  • for phone and laptop

more hosts

get/add/assign more build hosts as forgejo runners

ideally; add a barenaked Windows host too

  • sam1
  • surfacepro3 as naked windows
  • arm raspi5 host
  • naked osx somehow

hoping for end of Nov

clang container

i started some of this and got error s i forget about; so do fixem

pb / pbentt

want to start mid-December

  • make pb/pbd/damph3 work for entt stuff (somehow)
  • this’ll mean … reconciling the unstable address of components and other headaches
  • … then dear will work - right?

ad-hoc entt::entity thing; treat entity as any other pointer?

save/load component<T> refs or something … or …

namespace pbentt
{
  struct gallery
  {
    entt::registry& _reg;

    template<class C>
    gallery& expose();
  };

  template<class C>
  struct c_ptr
  {
    entt::registry& _reg;
    entt::entity _entity;

    C* operator -> ();
    const C* operator -> ()const;
    operator bool () const;

    void attach();
    void ensure();
    void detach();
  };
}

pb / pbdear

want to start mid-December

pbentt added new data types to the API

pbdear needs to consume all data types in the API

  • redork a pb inspector and stuff
  • fixup the sd demo app thing so it works with pb
    • … or do a new workspace …
  • get the widgets all happy again and saving and loading

retro-goblin

assess the slop i have and consider how to progress

hoping for end of Nov

pulsar test-tree

do/make/build a plugin for pytest or p_test/gtest

  • looks for .pulsar/test-tree/harness.yml
  • does “something” to scan for test modules/cases
  • “module rebuild” command
  • run test/tree command
  • rescan-command/button

https://gemini.google.com/app/72947c5b3f5bf28e?is_sa=1&is_sa=1&android-min-version=301356232&ios-min-version=322.0&campaign_id=bkws&utm_source=sem&utm_medium=paid-media&utm_campaign=bkws&pt=9008&mt=8&ct=p-growth-sem-bkws&gclsrc=aw.ds&gad_source=1&gad_campaignid=20108148187&gbraid=0AAAAApk5Bhk0DG4vVIpkcdLFBsQVwZxxm

pulsar git-history-tree

… maybe …

  • show git-history with the tree/branch like VS code
  • add these to nodes;
    • merge into current branch
    • push to remote
    • pull from remote
    • create branch
    • delete branch
    • reset (hard|soft) to this commit
  • encourage git-fetch prune
  • filter branches;
    • active
    • local
    • remotes w/local
    • remotes w/active
    • remotes descending from active
    • remotes descending from local
    • remotes parent of active
    • remotes parent of local

pulsar cli-diff

bash together a plugin (or a patch to diff-view?) to use pulsar as the diff-tool

https://www.google.com/search?q=pulsar-edit+open+diff&sca_esv=0c3e8db7a3588658&sxsrf=AKL5yDhzLphvf6r7-y2m6G50QA9VZm4ldw%3A1796130778533&ei=2scOa_TsH76qhbIP-7uEyAY&biw=1920&bih=969&uact=5&oq=pulsar-edit+open+diff&gs_lp=Egxnd3Mtd2l6LXNlcnAiFXB1bHNhci1lZGl0IG9wZW4gZGlmZjIFEAAY7wUyBRAAGO8FMgUQABjvBTIFEAAY7wUyCBAAGIAEGKIESNYUUIoGWLAQcAF4AJABAJgBkgGgAfcGqgEDMi41uAEDyAEA-AEBmAIHoAKVBsICDhAAGIAEGIoFGIYDGLADwgIIEAAY7wUYsAPCAgsQABiABBiiBBiwA8ICBxAjGLACGCfCAggQIRigARjDBJgDAIgGAZAGCJIHAzIuNaAH0BWyBwMxLjW4B5AGwgcFMC4yLjXIBxeACAE&sclient=gws-wiz-serp&mstk=AUtExfBpanly1yZByZMdKaYsDcnUEU33J3F6KD8NsSE29Plzy6ggWoeJU7y2vd35NzmfwMHx6HmNCKuyP1aRj1EiqQ2N_qKYvPNyoSjRGOd6iQoofL1Sx2dsw6I7erxGbkkoN06YPbfirU_tIOeFPnM2hK6L7pJKXtroARD8zmw4htwfFMEER4y9NK7iC7LaKLwAM5CJcH-ltMZ3kUCg2E5ieXPHId7sGgx_Ql-j5yru9mElL-J8L4WZj4NcVum94in3Fkhx8zzs7h-CwPL5-iremPY2Pis_jhk3ku0UAumIsomsIBI6hLQ7achaI6SLWGP7iJe5v4EqE1pgATygMAnQE8Tl4uDueYAVWVT55avYGBnc14jl3twNq6FAinmkyJtMEKDDaBTqnlMFagf6tE3sjV8qVlPgHuybJA&csuir=1&aioh=3&mtid=4ccOa4KbEYmkhbIPsZbf2QI&udm=50#aof=1

spood webhooks

delayed because i can do a post-push hook locally instead of a real webhook

do webhooks from sr.ht

  • have a semi-minimal project to setup the tunnel
  • now need to … install the webhook?
    • needs more work; check the slops
    • … then learn enough GraphQL
  • last step will be sub-processing this or bringing it into Spood and using Spood’s setup

test of web

  • make the flask app log requests
  • connect to sr.ht
  • fire some nonsense from a nonsense repo
  • check we/i got messages for;
    • new repo
    • push

test parsing

  • make/write unit tests to analyze whatever sr.ht is giving us for the params

wire it up

  • when receive event
  • check who sent it
  • translate who/wat it is
  • invoke the cron job (manually)
  • … also; when invoking just-one-guy don’t do the rest of the warm list, and, move that whole thing to cold

hunter / transcrypt to duktape

  • should be viable - have a project/repo/folder poking around in pduk
  • should probably be a verb? maybe?
  • maybe somehow embed js code into cpp with makopp
    • … and include the run timestamp in mako to always look fresh
      • … or give makopp the power to mark other files as relevant
        • … like using that load_yaml would do

want/need

  • reliable way to invoke the command on a folder of .py and get another folder of .js
  • pack js into a yaml (or something) maybe, with ignore lists
  • pb work to make the JS objects ScSeIn compat
  • way to invoke the uvx/npx tooling from C++
    • subprocess.h

spood import

import git changes into current branch as a tool

  • hg-git import from a git repo, then peel off any git revs
    • that don’t have a hg-branch note
    • and don’t only descend from the current branch
  • rename any only-gits
  • add a nonsense hg commit at the end, if we can, to solidify the branch name
  • find/delete “included” git branches

pycode

  • automate build/check/test
  • canonize this
  • start the yaml-editor fork
  • can i uv add git:// for a subdir?
    • … can vscode extensions share code?
    • … so … so pycode could buildup my big bad extension lib?

sd - i mean it this time

  • view-frame
  • consolidate sokol and entt et al to ONE repo that i pull from
  • palpd!

sd 3d graph

  • do a fly-camera per scene-view
  • draw 3d cube on enabled objects
  • move/save/load that component as normal
  • possibly do a dumb eel-pit impl

sd plg / rg

  • try the decorator/problem approach
  • just map some basic structures; leave holes in place
  • assume/enforce SSA in python code

sd models

  • load models somehow?
  • bake-in assimp imported assets?

palyml yab

  • binary format
    • header
    • {int24 index : string pool}
    • nodes (recursive)
      • type
        • 0 null
        • 1 string
        • 2 map + count + [(keys, vals)]
        • 3 seq + count + [entries]
        • 4 bool
        • 5 int8
        • 6 int16
        • 7 int (in constant pool as text)
        • 8 number (in constant pool as text)
        • 9 tag (in const pool as text) non-tagged
  • write c++ loader/writer in #ifdef
  • write python loader/writer
    • … and get repo tagging and usable as a uv/pip dep

spy / small python

sd pure

  • run purescript from within sd scripts
  • ignore spago; just build it with purs?

sd recook

  • load morrowind assets at runtime, but, keep/use enough “anchor” that the engine can preview them without intering them
  • will need a morrowind install … but …

eel pit

big weird parallel jobs for entt

  • get it in a branch, test some of it
  • implement as dumb shallow approach (first)
  • … might be just “how i do it” with/for the/a scene
  • post for feedback

pal monadic

  • update/adapt the if/else macros rather than the method chaning with lambdas
  • see if i can rewrite template<M, E> struct _monadic: M<E> to a mixin trait

pb / handle

do something so that we don’t need to copy everything and can access fields by ref

palyml / re-leaf

use makopp to create palyml leaf types from a yaml list instead of by hand and template

pb / etry

return etry values from all the pb calls … or invoke them with the trait

ufips / rootlist

  • takeover the root CMakeLists.txt

  • for each (project suitable) subdir;

    • if there’s a CMakeLists.txt; add that and do nothing more
    • perform a srclist query for src/app/test/cmd
    • check fips.yaml for a modules section
      • warn if missing
        • … or add it? idk; comments may be lost
      • determine framework/libraries to add from fips.yaml and the matchers
      • include the debugger dir thing
  • change root fips to default running fips apps, with a matching module entry, in the expected dir

    imports:
      deck:
        git: https://codeberg.org/paintgoblin/fips-deck.git
    modules:
      module:
        lib:
          - lib1
          - lib2
        kit:config-prefix-or-suffix:
          - ???
        lib/regex-for-config-pattern:
          - lib3
    
  • burn out srclike - this is TheWay

ufips / out with the old

  • remove vscode/generator/registry from ufips
  • upstream some/any of my fips-files/cmake.include
  • drop exports?
  • merge fips-deck into fips itself
comments powered by Disqus
Peter LaValle avatar
Peter LaValle
Any links probably include affiliate ids for that sweet sweet kickback - and some programs require that I tell you. The contents of this blog are likely unrelated - as they include games, paints, and build tools.