Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Steven G. Harms
@sgharms@techhub.social  ·  activity timestamp 3 weeks ago

Can you grieve a #programming or #oss contribution?

Sigh. I think I'm going to have to give up on my attempt to port "NextSpace" -- a #Next like UI + file browser + Apps to #freebsd because of non-firing dispatch queues.

If anyone has expertise here can can unstick me, I"ll tilt at the windmill again, but for right now I'm stymied and am using LLMs as a crutch to punch above my weight class (thoughtfully).

https://github.com/trunkmaster/nextspace/issues/506

The bad news was:

```
=================================================
CFFileDescriptor Test
=================================================
Thread: 0x186ad387f008

[SETUP] Created pipe: read_fd=3, write_fd=4
[SETUP] CFFileDescriptorRef created: 0x186ad3c2d000
[SETUP] Enabled read callbacks
[SETUP] CFRunLoopSource created: 0x186ad3c2d100
[SETUP] Current runloop: 0x186ad3c3b000
[SETUP] Source added to runloop in default mode

✗✗✗ TEST FAILED ✗✗✗
CFFileDescriptor callbacks DID NOT FIRE
This matches the problem described in SYNCHRONIZE.md
```

Just can't get there today...

  • Copy link
  • Flag this post
  • Block
David Chisnall (*Now with 50% more sarcasm!*)
@david_chisnall@infosec.exchange replied  ·  activity timestamp 3 weeks ago

@sgharms Which of the many different versions of libdispatch are you using? The one we had in ports was working well ten years ago. I am not sure if anyone has used the Swift one. There are a couple of subtle differences between kqueue on XNU and FreeBSD that tripped up .NET and might be relevant (I think those are all fixed in 15?).

  • Copy link
  • Flag this comment
  • Block
Steven G. Harms
@sgharms@techhub.social replied  ·  activity timestamp 3 weeks ago

@david_chisnall

Libdispatch was 5.9.2 with a few changes from the original author.

CoreFoundation is the same version but I’m taking BSD enabling patches from the swift 5.10 port (which gets from no compile to compile).

Like I said this is really /quite/ beyond my skill level. I’m loath to mention because of your clear position on AI use, but Claude code has provided my test harness and has steered my attention to CFFileDescriptor as suggested by @jens below.

I’ve been reading up on pthread to see if I can find the bad signal../.

  • Copy link
  • Flag this comment
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.1-alpha.8 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login