Nu-core
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Write
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Versions and GitHub Sync Note Insights Sharing URL Help
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners Signed-in users Everyone
Write
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       owned this note    owned this note      
    Published Linked with GitHub
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    ## Attendees - storm - fdncred - sholderbach - amtoine - kubouch - jt - andres ## Agenda - [x] (*quick topic*) CI does not behave as expected: @amtoine might need help :scream: ([amtoine/nushell#5](https://github.com/amtoine/nushell/pull/5)) - clarify offline -> Stefan, Antoine - [x] (*quick topic*) aliasing `type` to `which` to avoid confusion ([#5196](https://github.com/nushell/nushell/issues/5196#issuecomment-1616961170)) => change the coloring - [x] Breaking changes policy - Balancing act but also clear communication to our users - True deprecation for graceful migration? - User complaint: https://discord.com/channels/601130461678272522/988303282931912704/1124693615470452936 - We don't exist in a vacuum anymore as we have integrations with other tools that have their own release schedules and may not always be available to users in compatible versions. - We need to be bold to reach 1.0 (inspirational example [Andrew Kelley's push for llvmectomy in zig](https://github.com/ziglang/zig/issues/16270#issuecomment-1616115039)) - [x] What other breaking changes should we aim for in the near term? - [x] `$in` - Any changes to its behavior? - New name? - Poll: https://discord.com/channels/601130461678272522/615329862395101194/1125170250690875454 - Issue: https://github.com/nushell/nushell/issues/9551 - Make it a warning/error/lint if you use it like `{ $in | command }`? - https://github.com/nushell/nushell/issues/9551#issuecomment-1617058335 - [ ] New issue labels - `release-note-mention` to highlight PRs that should be reflected in the release notes even if they are not breaking changes - `new-command` to raise awareness for PRs introducing new commands - TODO: strengthening and also consolidating our list of labels - [ ] Non-English issues on GH - Problem: don't contribute to the general discussion and need to be serendipidously picked up by native speaker (translatable but not searchable). - Outright closing them might be a bit harsh - Maybe only allow non-English only in "Discussions" with a language prefix or when helping out one-on-one via code-review comment threads. # Discussed Topics ## Confusion on BSD with `type` command and relationship to nu's `which` - cross-platform issue: BSD preference colliding with `type` on Win - clarify with commenter - can this be resolved by personal settings - better highlighting for internals vs externals necessary in our theme? ## Breaking changes policy - Darren: Deprecation vs Removal, we just remove and provide some help - JT: delay until it is finally removed, it would be great to also add metadata to commands (e.g. deprecated for custom commands, desire for metadata already came up with testing) - let's get the correct style of deprecation soon - institute stricter deprecation policy e.g. around 0.90 - no yeeting commands without soft warning ## Detour: Docs are in a state of a few months ago - commands are suggested that are already deprecated/removed - Q JT: how do we want to teach nushell in the future - Tutorial style to introduce to get productive - Darren: cookbook is a great way to learn for me. can we get some great real world examples - JT: make the cookbook more visible or interleaved in one book - Jakub: have a story line of an example project going through the learning book (see The Book from Rust) maybe also a good candidate for the `tutor` command - Amtoine: are we ready to invest the time with the state of the project - JT: the gist of nushell is pretty settled, Pipelines - As technical writing goal: [Nu Language Guide](/hLTipwOaR2K28GzwHrtVGQ) may also serve as a specification and reference for developers - CI testing of the docs code samples! - should be doable - we already have some code in snippet files - How with triple backtick sections? is there a way to hook into VuePress? ## Planned breaking changes: ### Storm: moving `math` commands - Stefan: let's give it a go and if it hurts let's move highly requested ones back - Plugins could also become an option for mitigation ## Syntax to express (table types ### JT's suggestion of having look-a-like type syntax `x: [int]` # list of ints `x: {y: int}` # record of one field `x: [{y: int}]` # table of one column ### current proposal based on 1kinoti's PRs ``` x: list<int> x: record<y: int> x: table<y: int> ``` - Table PR: https://github.com/nushell/nushell/pull/9613 - Jakub: not very surprising for types - JT: maybe the types should be capitalized ``` x: List<int> x: Record<y: int> x: Table<y: int> ``` - containers capital, primitive types lowercase? - would be following Java/Rust and a lot of languages - follows the good ol' `describe` ### Not liked: ``` list(int) ``` ### Conclusion for this meeting **General preference for the more explicit style `Table<...>`** (benefit of the "nominal" type for containers that we could hide the implementation details or specialize in the future if we want a columnar table type or different maps instead of record) ## Lightning round: `$in` - issue: its non streaming behavior is not quite obvious - Jakub: we got pretty used to it - Maybe warning/linting if you use it at the first pipeline element of a block/closure ``` # this is ok def len [] { str length } # this is not ok? based on performance/streaming properties # but more explicit def len [] { $in | str length } ``` - JT: it makes things obvious in some places: ``` if ($in | str length) { ... } if (str length) { ... } ``` - Automagical optimization? - eliding it in the leading pipeline position internally before evaluating? - is it too surprising? - JT: `let x = $in` is the same as `let x = ($in)` ## Issues > :bulb: the issues which [needs-core-team-attention](https://github.com/nushell/nushell/labels/needs-core-team-attention) > :bulb: **Note** > to list all the PRs currently [opened in `nushell/nushell`](https://github.com/nushell/nushell/pulls): > ```nu > gh pr list --json url,number,author,title > | from json > | each {|i| > $"- [($i.number)]\(($i.url)\) ($i.title) \(@($i.author.login)\)" > } > | reverse > | to text > ```

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully