Skip to content

Office Hours (2026-03-17) #90

Closed
Closed

Description

@kgryte

🌟 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 17-Mar-2026 16:30 (04:30 PM):

Timezone Date/Time
US / Pacific Tue 17-Mar-2026 09:30 (09:30 AM)
US / Mountain Tue 17-Mar-2026 10:30 (10:30 AM)
US / Central Tue 17-Mar-2026 11:30 (11:30 AM)
US / Eastern Tue 17-Mar-2026 12:30 (12:30 PM)
EU / Western Tue 17-Mar-2026 16:30 (04:30 PM)
EU / Central Tue 17-Mar-2026 17:30 (05:30 PM)
EU / Eastern Tue 17-Mar-2026 18:30 (06:30 PM)
Moscow Tue 17-Mar-2026 19:30 (07:30 PM)
Chennai Tue 17-Mar-2026 22:00 (10:00 PM)
Hangzhou Wed 18-Mar-2026 00:30 (12:30 AM)
Tokyo Wed 18-Mar-2026 01:30 (01:30 AM)
Sydney Wed 18-Mar-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 HoursIssue announcing office hours and soliciting associated agenda items.
    on Mar 10, 2026
  2. LoayAhmed304 commented on Mar 16, 2026

    @LoayAhmed304
    • There had been a discussion on Zulip regarding sorted arrays generation in C benchmarks for sorted-input packages #10415. This issue was open and I guess there are current open PRs that are waiting for this.
    • Regarding the Array API compliance for ndarrays' proposal, is it expected to state the implementation details for every package in the issue and the weekly plan? Or is it okay to have external documents (google docs or spreadsheet) that has almost all the details (including the weekly plans)?
    • Is there an ability to have a maintainer (Athan or Phillip) take a look at a draft proposal? or all proposals should be posted on the GSoC's repository issue tracker once?
  3. impawstarlight commented on Mar 16, 2026

    @impawstarlight
    Member

    I've implemented an initial prototype for number/uint64/ctor in stdlib-js/stdlib#10908. Need some quick feedback on the design. There are various questions scattered around the source code with TODO tags but here is a list of the important ones:

    • Which parameter types should we actually support? Anything to add or remove from these ones?
      • number: When between 0 and MAX_SAFE_INTEGER, otherwise error
      • string: Arbitrary length integer in either decimal, binary, octal, or hex format. Keeps the least significant 64 bits. Uses a manual chunked parsing for decimal integers when BigInt is not used.
      • Array<number>: Double word ([high, low]) representation. Checks the array size (must equal 2) and the number values (between 0 and MAX_UINT32) and throws error if not satisfied.
      • Uint32Array: Similar to array.
      • BigInt: Truncates to 64-bit. Question on negative tho.
    • Should we support negative parameters? This can be useful for initializing to MAX_UINT64 value by providing -1 but ensuring consistent result across all the parameter branches would be challenging.
    • How should we store the uint64 value internally? Current implementation uses the value property but its type is dependent on whether we're using BigInt or not (uses a 2-len Uint32Array otherwise). Should we alternatively do 3 seperate props such as this.high, this.low, and this.big? Then the big property will be set only when using BigInt and the other two will be always set.
    • What should we put in the JSON representation? String seems to be best for readability but storing [high, low] is better for performance.
    • How can we keep the internal representation a secret or make it private? I guess it's not possible to make it truly private given the structure of this package and the fact that it will need to support the arithmetic ops packages that are separate from the constructor. Should we just leave it out of the docs then?
    • The constructor takes a second parameter useHighLow that when set to true it forces the internal representation to use double word even if BigInt is available. It was needed for testing all the branches and also for benchmarking the two different ways. But the name feels kinda awkward as if leaking implementation details. Can we find a better name for this parameter?
    • The toString implementation got way too involved because of supporting all radix (2-36) like number and BigInt. The algorithm I developed is kinda hacky which exploits the 53 bit integer precision of Javascript to go around having to implement the full 64-bit division routine and it needs a deeper look I guess.
    • And a big concern is, if we're to use the uint64 in PRNG packages that usually uses Uint32Array or similar, how are we gonna take advantage of the BigInt arithmetic? Feels like there would be some back and forth conversions which might be counter-productive for performance.
  4. nirmaljb commented on Mar 17, 2026

    @nirmaljb

    If we're doing a PR review, then kindly look into: stdlib-js/stdlib#10279
    I've written all the test cases that were present in the boost reference and have cross verified the implementation multiple times.
    I think it's ready to get merged!

  5. navyansh007 commented on Mar 17, 2026

    @navyansh007

    If we are doing PR reviews, I would highly appreciate reviews on these PRs:

  6. prajjwalbajpai commented on Mar 17, 2026

    @prajjwalbajpai
    Member

    I noticed that some BLAS routines don't have a base.js file and their core implementation is done separately in ndarray.js and <routine>.js. Is this still pending work or it should be left as it is?

    An example of this is the dsymv routine.

  7. officiallyanee commented on Mar 17, 2026

    @officiallyanee
    Member

    If Karan Anand joins , would really appreciate getting more insights and possibly a review on this issue related to sincosf.

    Also if time permits a final look at this PR, it should be close to merging 🤞.

    Thank you!

  8. GlyphicGuy commented on Mar 17, 2026

    @GlyphicGuy

    Hey!

    1. I wanted to clear my doubt regarding @stdlib/array.

    Most of the namespaces have the functions and then there is a base subnamespace inside it. I was performing an audit of missing functions to be added to the gsheets.
    I am getting really confused with the array namespace as to what should be added and what cannot be. Could you explain this structure and some pointers? Do we need to add all the base functions? or we add only the ones outside the base namespace.

    1. I have opened a draft Proposal. Could you review and suggest improvements?

    Draft Checklist

  9. shubham220420 commented on Mar 17, 2026

    @shubham220420

    I had a little query :-

    1. In jStat, we have APIs working on matrix and nested array operations, for which stdlib has only selective replacements. There are corresponding implementations in stdlib, but they lie under the ndarray namespace. Due to this architectural mismatch, they may not be directly usable. I wanted to ask -for such APIs, can you suggest any references for implementation that would work within jStat's current nested array architecture? I have found MDN to be one useful resource, but I wanted to check if there are any stdlib specific references or prior art that would be more appropriate to follow.
  10. Aniket-SS commented on Mar 17, 2026

    @Aniket-SS

    I would like to have a look into the question regarding the implemetation of ndarray/base/copy which was asked in this issue.

  11. manit2004 commented on Mar 17, 2026

    @manit2004

    Do we need to publish our stdlib showcase page? Or is github repo enough?

  12. udaykakade25 commented on Mar 17, 2026

    @udaykakade25

    Regarding GSoC Proposal: "Add Support for Float16 and Complex32"

    1. Merging block due to array/float16
    2. Should i include current progress as DRAFT in proposal
    3. Timeline

    Proposal is almost ready! Would drop Tomorrow

  13. sagar7162 commented on Mar 17, 2026

    @sagar7162

    Hi, just wanted confirmation on the structure of the optimization algorithms package, for which I opened a PR: stdlib-js/stdlib#10145. Are there any file-level changes needed? for example, adding any *.js file or removing the existing ones.

  14. kgryte commented on Mar 18, 2026

    @kgryte
    MemberAuthor

    Thanks everyone!

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 HoursIssue announcing office hours and soliciting associated agenda items.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions