Skip to content

Office Hours (2026-04-28) #102

Closed
Closed

Description

@batpigandme

🌟 Join Us for Weekly Office Hours! 🌟

Have questions about stdlib? Need help fixing a bug, figuring out what to do next, or just looking for feedback? Join our weekly office hours to connect with project maintainers, stay updated on the latest project news, and chat with other community members. This is a great opportunity to ask questions, share ideas, and engage directly with the stdlib team.

Everyone is welcome—drop in and say hello!

Time

UTC Tue 28-Apr-2026 16:30 (04:30 PM):

Timezone Date/Time
US / Pacific Tue 28-Apr-2026 09:30 (09:30 AM)
US / Mountain Tue 28-Apr-2026 10:30 (10:30 AM)
US / Central Tue 28-Apr-2026 11:30 (11:30 AM)
US / Eastern Tue 28-Apr-2026 12:30 (12:30 PM)
EU / Western Tue 28-Apr-2026 17:30 (05:30 PM)
EU / Central Tue 28-Apr-2026 18:30 (06:30 PM)
EU / Eastern Tue 28-Apr-2026 19:30 (07:30 PM)
Moscow Tue 28-Apr-2026 19:30 (07:30 PM)
Chennai Tue 28-Apr-2026 22:00 (10:00 PM)
Hangzhou Wed 29-Apr-2026 00:30 (12:30 AM)
Tokyo Wed 29-Apr-2026 01:30 (01:30 AM)
Sydney Wed 29-Apr-2026 03:30 (03:30 AM)

or in your local time:

Links

Joining the meeting

Agenda

  • Have specific things to discuss? Please comment in the issue thread below to add specific items to the agenda.

Activity

  1. added
    Office Hours
    on Apr 21, 2026
  2. DivitJain26 commented on Apr 28, 2026

    @DivitJain26
    Member

    Hello

    I have made a pr on C implemntation of cgemv, but I am running into an issue while compiling the C benchmark.

    This seems related to the problem discussed earlier in #10235, The benchmark build fails because it cannot resolve the header: stdlib/complex/float32/base/assert/is_equal.h

    From the error, it looks like this issue may appear in other complex packages as well, especially when they depend on packages that do not have the right manifest configuration for benchmark builds.

    Could you please advise on the correct way to handle this?

    Image
  3. manit2004 commented on Apr 28, 2026

    @manit2004

    Review on draft good first issue #11743 and related reference PRs #11768 and #11769

  4. DhruvArvindSingh commented on Apr 28, 2026

    @DhruvArvindSingh

    Review the fortran benchmark build fix: Comment

  5. batpigandme commented on Apr 28, 2026

    @batpigandme
    MemberAuthor

    AI-Generated Summary

    Caution

    These notes are likely imperfect, especially when it comes to spelling/function/package names

    Meeting Purpose

    To review PRs and discuss a foundational philosophy for open-source contribution.

    Key Takeaways

    • Fix the Root Cause: Address systemic issues (e.g., C/Fortran dependency resolution) with global fixes, not local workarounds. Local fixes introduce technical debt and are not merged.
    • Build Trust via Quality: Earn maintainer trust by submitting high-quality PRs (fewer comments, more complex problems) that demonstrate a deep understanding of the project's architecture.
    • Document the "Magic": The project's "magic" systems (C/Fortran package management, TypeScript declarations) must be documented to lower the barrier to entry and prevent contributors from needing to "divine" how things work.
    • Use Active Reading Techniques: To read code effectively, use techniques that force a fresh perspective, such as reviewing in the GitHub UI or adopting an "adversarial" mindset to actively hunt for errors.

    Topics

    Systemic Issues & The "Fix Globally" Philosophy

    • Problem: CGEV/CGEMV Dependency Resolution
      • The CGEV/CGEMV PR is blocked by a systemic flaw in the C package management system.
      • Root Cause: The system propagates top-level tasks (e.g., benchmark) down the dependency tree. This pulls in unnecessary files and fails if a dependency lacks that specific task configuration.
      • Solution: A major refactor is required.
        • Add a dedicated "dependency resolution" configuration to every native add-on.
        • Update the library-manifest package to use this new configuration for resolving dependencies.
    • Problem: Fortran Dependency Resolution
      • Fortran source files cannot resolve symbols from other Fortran dependencies, causing compilation failures.
      • Root Cause: The library-manifest package fails to pick up Fortran files from dependencies.
      • Rejected Solution: A PR that only fixes the issue for Fortran benchmarks was rejected.
        • Rationale: This is a local workaround that fails for other use cases (examples, source implementations) and introduces technical debt.
    • Core Philosophy: Global vs. Local Optimization
      • Principle: When encountering a systemic issue, fix the global problem, not just the local symptom.
      • Why:
        • Avoids Technical Debt: Prevents the introduction of suboptimal code.
        • Builds Trust: Demonstrates a deeper understanding of the project's architecture.
        • Unlocks Development: A global fix can enable entire classes of features (e.g., Fortran implementations).
      • Career Relevance: This approach builds the systems-level thinking required for senior engineering roles.

    Project Documentation & Knowledge Gaps

    • Problem: Critical institutional knowledge about core systems (C/Fortran package management, TypeScript declarations) is not documented.
    • Impact: Contributors must "divine" how these systems work, leading to frustration and inefficient local workarounds.
    • Cause: Historical reluctance to document systems that were considered "works in progress" to avoid creating outdated information.
    • Current State: The C package management system is stable and mature (8+ years old), making it a prime candidate for comprehensive documentation.

    Low-Precision Data Types (D-types)

    • Context: The project is exploring support for low-precision D-types (e.g., float8, bfloat16) to align with industry trends in ML hardware and libraries.
    • Architectural Tension: D-type support is implicit and permeates the entire project.
    • Challenge: How to add new D-types without bundling unused infrastructure into packages that don't need it.

    Effective Code Reading Techniques

    • Problem: How to read code more effectively and catch subtle errors.
    • Technique 1: Change Your Environment
      • Method: Review code in a different UI (e.g., GitHub's web interface) than your primary editor.
      • Why: The change in context disrupts pattern recognition, forcing a fresh perspective that reveals previously overlooked details.
    • Technique 2: Side-by-Side Comparison
      • Method: Compare new code with a similar, established package.
      • Why: Highlights deviations from conventions, helping to identify potential errors or inconsistencies.
    • Technique 3: Adopt an "Adversarial" Mindset
      • Method: Actively hunt for errors, assuming they exist.
      • Why: Shifts from passive reading to an active, critical mode, increasing the likelihood of finding mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Office Hours

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions