Re: [9fans] Nix/regen: assert triggered; best way to track

2025-01-28 Thread Paul Lalonde
Do you have a stack for the assert, from the ktrace? On Tue, Jan 28, 2025 at 6:09 AM wrote: > After fixing problems leading to compiler warnings---legitimate > warnings, but even the too short binary negated unsigned 32bits values > promoted to 64 bits with leading bits hence 0 as mask were ha

Re: [9fans] Nix/regen: assert triggered; best way to track

2025-01-28 Thread Paul Lalonde
; Local APIC Address (0xfee0) 00 00 ; Ext Table Length 00 ; Ext Table Checksum 00 ; Reserved On Tue, Jan 28, 2025 at 11:15 AM wrote: > On Tue, Jan 28, 2025 at 09:18:29AM -0800, Paul Lalonde wrote: &

Re: [9fans] Nix/regen: assert triggered; best way to track

2025-01-28 Thread Paul Lalonde
sign-extension. So back up to the fault and find the source of that address? Paul On Tue, Jan 28, 2025 at 9:09 AM wrote: > On Tue, Jan 28, 2025 at 07:49:02AM -0800, Paul Lalonde wrote: > > Do you have a stack for the assert, from the ktrace? > > > > Yes, and I was wrong: i

Re: [9fans] Re: Git usage

2025-01-12 Thread Paul Lalonde
Should these maybe match the outputs from git/walk? '!' doesn't appear in the git/walk output, should it? Paul On Sun, Jan 12, 2025 at 4:13 PM wrote: > Quoth Paul Lalonde : > > Nice, I can kind of make it work for me: > > > > fluxcpu% git/query -c '

[9fans] KerTex and LaTeX

2025-01-12 Thread Paul Lalonde
Hi all. I'm trying to install LaTeX so I can write up some results; I'm afraid I'm not much good with troff. I get a successful install, and which_kertex does the expected thing. But when I try '$KERTEX_SHELL $KERTEX_LIBDIR/pkg/rcp/latex.sh install' I get missing dependencies that I don't know how

Re: [9fans] Re: Git usage

2025-01-12 Thread Paul Lalonde
option? I use it frequently when I find myself with a duplicate change from messing up my github fork synchronizations. Paul On Sun, Jan 12, 2025 at 4:37 PM wrote: > Quoth Paul Lalonde : > > My next question is how to pull new changes from remote while putting my > > new work on

[9fans] Git usage

2025-01-12 Thread Paul Lalonde
Now that I'm doing some daily development, I'm running into process issues with git. That probably means I'm doing something wrong, and I'm hoping someone might disabuse me. My workflow is to sync my github fork of rminnich/nixos, then git/pull to get up to date with my repo. I then make a branc

[9fans] Re: Git usage

2025-01-12 Thread Paul Lalonde
the very long scroll of the same error, applied to different files. This is also too slow to be usable, at least for a tree as large as NIX. We'll get NIX pruned down into small changes to bind over 9front, but I don't see how to update my working branch to track upstream. Any advice?

Re: [9fans] Re: Git usage

2025-01-12 Thread Paul Lalonde
Nice, I can kind of make it work for me: fluxcpu% git/query -c 'dcc6924f24d885f48456a99575ac6619a8df9d45^^ 61ce30435cd176e5967de641527656239db1e952' @ sys/src/nix/k10/k8cpu @ sys/src/nix/k10/l32p.s Does the @ at the start of the lines have any significance? Paul On Sun, Jan 12, 2025 at 2:20 P

Re: [9fans] Re: Git usage

2025-01-12 Thread Paul Lalonde
Validating every file as you describe makes sense if there is no common ancestor. In the case of trees with a common ancestor, however, only files changed in subsequent commits should require checking. I went digging around git/fs and I don't see a way to get the files associated with a given commi

Re: [9fans] KerTex and LaTeX

2025-01-13 Thread Paul Lalonde
8/doc/generic/hyph-utf8 - No such file or directory Did I miss something? Paul On Sun, Jan 12, 2025 at 10:39 PM wrote: > On Sun, Jan 12, 2025 at 06:11:44PM -0800, Paul Lalonde wrote: > > Hi all. > > I'm trying to install LaTeX so I can write up some results; I'm afrai

Re: [9fans] Reminder: IWP9 in *PARIS* in *MAY*: papers due Feb 10!

2025-01-14 Thread Paul Lalonde
Is there a preferred/recommended accommodation? I'm planning my trip now and need to sort that out. My usual left bank digs are a little far for socializing near the venue. Paul On Tue, Jan 14, 2025, 8:49 a.m. Ron Minnich wrote: > The meeting is in Paris, May 22-24, at the wonderful CNAM: > >

Re: [9fans] NIX/regen

2025-01-14 Thread Paul Lalonde
Credit where credit is due: this is made possible by the outstanding work the 9front crew have done at making a stable working distribution with all the bells and whistles - drawterm from my various desktop and mobile devices, git for revision management, vmx for testing, and an encouraging and use

[9fans] aan and firewall port forwarding

2025-01-09 Thread Paul Lalonde
Hi, I have the 9front drawterm running from my desktop mac successfully, including using the -p option for aan. Connecting to my cpu server just fine. I also have 9front drawterm running from my laptop from outside my network, but cannot make -p work from there. According to lldb I'm hung in

Re: [9fans] NIX experience

2025-01-07 Thread Paul Lalonde
k10/trap.c it should absolutely be using the Tos structure > from nix, not the one in the host system. > > > > How do I re-root this correctly for this build? > > > > Paul > > > > On Tue, Jan 7, 2025 at 4:47 PM Paul Lalonde > wrote: > >> > &g

Re: [9fans] NIX experience

2025-01-07 Thread Paul Lalonde
And a bit more digging. Yes, I'm clearly doing this wrong. In building nix-os/sys/src/k10/trap.c it should absolutely be using the Tos structure from nix, not the one in the host system. How do I re-root this correctly for this build? Paul On Tue, Jan 7, 2025 at 4:47 PM Paul Lalonde

Re: [9fans] NIX experience

2025-01-07 Thread Paul Lalonde
Ok, I thought, what could do. So I went to my rPi 400, set up SSH for github, got Ron's nix-os repo and hit "mk". When that errored out a bunch I realized that I needed /amd64 built, so I did that. Just as painless as I remembered. And now, I get a ways further into the build, but hit an incompa

Re: [9fans] NIX/regen

2025-01-14 Thread Paul Lalonde
2025 at 18:01, Paul Lalonde > wrote: > > > > Credit where credit is due: this is made possible by the outstanding > work the 9front crew have done at making a stable working distribution with > all the bells and whistles - drawterm from my various desktop and mobile > devices

Re: [9fans] Re: NIX this morning

2025-02-08 Thread Paul Lalonde
Nice! Congratulations! On Sat, Feb 8, 2025, 9:13 a.m. ron minnich wrote: > ok that's fixed and: > > % ratrace -c execac -c 1 /bin/date > 98 execac Running 204326 0x1prepage: base 0x7efff000 top 0x7000 > prepage: base 0x20 top 0x40 > prepage: base 0x40 top 0x406000 > pr

Re: [9fans] Physical cores vs. logical cores (hardware threads)

2025-02-19 Thread Paul Lalonde
Hyperthreading *is* interesting, but the cost is high. As soon as you have out-of-order execution you've freed instruction decode from the execution units. And then you start looking for more ways to increase utilization of those units. Part of it comes from your program's instruction stream (the

Re: [9fans] Antialised TrueType fonts

2025-02-26 Thread Paul Lalonde
Yes, that's the exact right observation - thank you. My next itch-scratch is likely to be sub-pixel glyph positioning in libframe to reduce the noise from metric aliasing. That leads to needing offset glyph variants, which will require extension of the font model. The knock-on effects are signif

Re: [9fans] NIX this morning

2025-03-24 Thread Paul Lalonde
No, it does not block, failing if it can't. This piece is still buggy - the error labeling (waserror(), poperror(), error()) is out of balance, even in the path that doesn't fork. So I'm tracing carefully to understand where the missing poperror() or extra waserror() is. Paul On Mon, Mar 24, 202

<    1   2