owned this note changed 2 years ago
Published Linked with GitHub

Attendees

Agenda

  • (Maybe) workable guidelines how to treat low effort issues/questions/comments
  • Commented out config: https://github.com/nushell/nushell/pull/9633
    • Pro: less parse time, maybe a bit easier to grok for humans
    • Contra: our default behavior needs to be well behaved and great
      • especially relevant around things that are implemented in terms of nu code and around completions keybindings and menus
      • does it make sense for the user to decomment something that is exactly the same as the default??
  • Next blogposts/community engagement activities?
  • try/catch + finally (+ else): yay or nay? https://discord.com/channels/601130461678272522/615329862395101194/1127883245548224653
  • Highlighting like fish. We talked about this last week. I (darren) played with shape_external, shape_externalarg, and shapeinternalcall. They help but what they don't do is color externals. It actually colors internals and not-internals. So cat is valid c is not ca is not. They're all colored the same. We'd need a shape_unknown and we'd also need to know all commands in the path in order to make this work as requested.
    • ? Is the "making sure WSL2 doesn't keel over" still the fun part here?
  • The bar for 1.0

Remaining Commands in Math

stat commands

  • math avg - Returns the average of a list of numbers.
  • math median - Computes the median of a list of numbers.
  • math mode - Returns the most frequent element(s) from a list of numbers or tables.
  • math stddev - Returns the standard deviation of a list of numbers, or of each column in a table.
  • math variance - Returns the variance of a list of numbers or of each column in a table.

reduce

  • math product - Returns the product of a list of numbers or the products of each column of a table.
  • math sum - Returns the sum of a list of numbers or of each column in a table.

advanced

  • math e - Returns the mathematical constant e (exp(1)/'1 | math exp').
  • math exp - Returns e raised to the power of x.
  • math ln - Returns the natural logarithm. Base: (math e).
  • math log - Returns the logarithm for an arbitrary base.
  • math sqrt - Returns the square root of the input number.

other

  • math min - Finds the minimum within a list of numbers or tables.
  • math round - Returns the input number rounded to the specified precision.
  • math abs - Returns the absolute value of a number.
  • math max - Returns the maximum of a list of numbers, or of columns in a table.
  • math ceil - Returns the ceil of a number (smallest integer greater than or equal to that number).
  • math floor - Returns the floor of a number (largest integer less than or equal to that number).

move constants to standard library

Discussed Topics

comment out config

implement current display_output hook in default_config.nu in the Rust default configuration so that it's in sync

survey and community questions

wait for stefan

Structured Errors

Change the value passed to catch closure to a structured error with an enum-like error type that you can match against.

Issues

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
the issues which needs-core-team-attention

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
Note
to list all the PRs currently opened in nushell/nushell:

gh pr list --json url,number,author,title
| from json
| each {|i|
    $"- [($i.number)]\(($i.url)\) ($i.title) \(@($i.author.login)\)"
}
| reverse
| to text
Select a repo