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
    # Nushell core team meeting 2023-10-11 ## Attendees - Antoine - Andres - Darren - JT - Michael - Jakub - Reilly - Stefan ## Agenda - [x] [nuls](https://github.com/jokeyrhyme/nuls) as a Rust implementation of the [VS code language server components](https://github.com/nushell/vscode-nushell-lang) - currently still shelling out to the binary - When to land in our organization/porting of other editor extensions - How to integrate? - Separate crate - Separate Repo - Built into nushell - [x] `0.86` release on 2023-10-17 - Things ripe/not ripe? - Who takes care of what? - [x] 1.0 gates, locking down distractions - [x] Thoughts on `$db` (darren) - [x] Is the current meeting time ok? Would 1 hour earlier be better for you? - [x] Provide feedback on `ls command/utility separation` changes [10651](https://github.com/nushell/nushell/pull/10651) - [x] Provide feedback on `from csv: streaming` [10674](https://github.com/nushell/nushell/pull/10674) - [x] `Value::Stream` - [ ] `Value/Type::Path` [#10679](https://github.com/nushell/nushell/issues/10679) ## Discussed Topics ### nuls - LSP implementation JT: inside nu have a lsp mode to launch so all editors with LSP support can use it `nuls` repo implements the json/rpc side of the LSProtocol if we move those under `nu` would save us going through the `--ide..` flags Would add a dependency on the whole tokio/tower stack https://github.com/jokeyrhyme/nuls/blob/main/Cargo.toml Try to get it in one binary. Open Q: check the growth in dependencies and binary size -> optimize if necessary Probably not as a feature flag but keep the burden in check. VScode extension/neovim would launch `nu --lsp ...` if available instead of running through `nu --ide...` Conclusion: Massive props to `@jokeyrhyme`, lets try to get it in the mainline `nu` ### Upcoming release - `cp` is now uutils and we have `cp-old` as a backup - propably rename the files for discovery - Improved completions looking good for paths! - quoting bug seems to be related to the way we look at the shapes - no more big outstanding changes that look ready to go in Button pushing: JT would be ready ### 1.0 and what we should reject JT: our default should be no to new features Darren: case by case basis Stefan: look out for the things we would not be able to simply enhance post 1.0 ### `$db` proposal is this a post 1.0 feature would we want to try it right now Jakub: would this be a global mutable variable but it is CAP Landing it so that people depend on it: we would have three datamodel - the core nu values with all its command - database with sql and need for some commands - dataframes with its currently separate commands Darren's thoughts - We'd ideally hide the sql syntax from users with a group of commands (named `store`?) that easily access the nudb table, create new tables, create new databases, allow typical CRUD type sql stuff. for more advanced users they have full access to sqlite via queries like `$db | query db 'select * from nudb where blah = 1'`. The idea is just to make it trivially easy to store and retrieve temporary data in a fast in-memory db. JT's point about translating records, tables, lists, etc, (does SQLiteDatabase contain those translations today?) is valid but if we use the (unwritten) `store` commands, they could do that for us. ### meeting time conversation mostly around DST (we schedule based on US DST switch day) JT and the folks in europe would be ok with an earlier meeting, problematic for WindSoilder ### PR proposals to discuss #### `ls`/`glob` (proposed factor ls into smaller bits.) Contributor put in some important thought -> we want to encourage that in a productive direction We are not yet convinced on the impl. How would those composable parts play out. Good things: - lazy loading of data in the ls output for performance - globbing is currently split between `nu-glob` (fork of o.g. `glob` crate used in `ls`) and `wax` (`glob` command) - full glob syntax has some surprises for folks in desktop environment: `foo[1].txt` Darren: No way to turn glob off elegantly, we can't tell a glob from a filename inside a command. - command flags? e.g. `--no-glob` - aNotHer string type e.g. `r"raw string literal syntax"` Remember consistency is only a tool for ergonomics #### streaming of `from csv` -> how to stream `from`/general fallible streaming General observation we need to delay failing in some streaming situations to the point where we encounter the error to remain fast and streaming. ##### Streaming as a first class citizen Not just `PipelineData` streams that get collected in a lot of places (assigning to a variable, evaluated as an expression) Ideas around a `Value::Stream` that behaves like an iterator came up in looking at the effort necessary would need to be explicit so `let x = ls`is not surpisingly hard to work with if `ls` is able to be streamable. Have an explicit `into iter`/`into lazy` or whatever command ## 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