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 New
    • 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 Note Insights Versions and GitHub Sync 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
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # Nushell core team meeting 2022-09-14 ## Attendees - Stefan - Jakub - Reilly - JT - Darren - Michael - Andres - Fernando ## Agenda - JT's document on how the project direction might influence future syntax choices: https://hackmd.io/@CBGomR3NSmOytbkRXXkBmA/rJhvsHhli/edit - Related JT's SQL Exploration - Darren's Thoughts on https://github.com/nushell/nushell/pull/6537? It doesn't cover all SQL but it's all polars offers right now. I think the real answer may be DataFusion but that may have other implications like moving to DataFusion's DataFrames. I'm not sure if Polars and DataFusion DataFrames are compatible. Perhaps Fernando knows. - https://arrow.apache.org/datafusion/ - https://docs.rs/crate/datafusion/latest - Pillars of nushell: https://hackmd.io/@nucore/S1QiFCJes (*postponed discussion*) - Next steps towards 0.80? https://www.notion.so/kubouch/4db276462ba24704919edb4cc4b86be7?v=10506505557f4f7b9a65155128c04250 (*postponed discussion*) - `source-env` removal, to be replaced by `use` - quoting rules? (Write up by Darren on the current state (but incomplete) https://hackmd.io/@fdncred/BJqi8MrJj) (Tagged issues: https://github.com/nushell/nushell/labels/quoting%2Fexpansion) - We need to revisit reedline resizing issues. A PR is up https://github.com/nushell/reedline/pull/478 reverting some changes but it probably needs more work. It's trading one issue for others. I'm not sure we want to land on a 'lesser of two evils' build, which is kind of where we're at now. - Theme for future chores: Improving the value of the component crates: - `nu-ansi-term`, document for others to use (https://github.com/nushell/nu-ansi-term/issues/7) - `reedline`, within reason accomodate other use-cases (https://github.com/nushell/reedline/pull/467, https://github.com/nushell/reedline/issues/475, [Steve Klabnik's comments regarding completion keybindings](https://discord.com/channels/601130461678272522/855886335980994600/1017858702478426134)) - `nu-*` crates document responsibilities and public types better -> reduce rampant code duplication. # Discussed Topics ## Pillars of nushell Might wait to give Fernando and Justin (hustcer) a chance ## `source-env` removal in favor of `use` Dynamic paths were impossible to implement with the current design Now with `use` also handle the `export-env` block. Ensures environment for the module that gets imported in a more static sense. Should enable loading all the regular tools that were build. Maybe have a flag on `use` to restrict or only load the environment part. Power to the `export-env` block ## Quoting rules We get several issues and confusions due to how string interpolation and quoting works, surprising behavior when interacting with external commands: https://github.com/nushell/nushell/labels/quoting%2Fexpansion documentation for the quoting and variable expansion in the current state: https://hackmd.io/@fdncred/BJqi8MrJj - Good starting point to identify rough edges and get to the state we feel comfortable Q: What is the platform native behavior (cmd.exe, PS, sh, bash, zsh...) -> goal unified experience but support all typical problems Idea: Would be great to have a representation with a large as possible interpolated string to hand out as the external commands (not applying too much of our special parsing logic as soon as we realize we are running an external. BUT Win compatibility) How to deal with the external signature definition for completions/checks ## Reedline resize drama Act 12983473294 - Tiling window managers and some terminals trigger resize on (effectively) startup. window starts with wrong prompt positions and assumptions (need to press enter might bork more) - Trouble keeping track of the correct cursor and prompt origin position while we don't really know how the wrapping takes place - Can we throttle resizes? (Alacritty spams bs on the screen) ## Housekeeping - document the role of our `nu-*` component crates -> deduplicate certain efforts - Dan Davison (dd7 on discord) has been setting an example for thoughtful contributions! ## Design thought experiments with JT JT: assume potential starting points to arrive at nushell https://hackmd.io/@CBGomR3NSmOytbkRXXkBmA/rJhvsHhli/edit - SQL feels very familiar, verbs are common (command ordering is maybe to restrictive) Pipe connectable might help to break up wordy SQL sentences Michael: influx db folks realized that deviating is a problem if people expect SQL for db focussed work ([Esperanto](https://en.wikipedia.org/wiki/Esperanto) allegory) - Bash++ to satisfy expectations for the shell nerds jumping in - Datafusion as a way to merge (tabular) data of different sources. Additional examples in the discusison: - Example of pipelining in other languages R with the tidyverse: e.g. https://github.com/tidyverse/dplyr#usage https://dtplyr.tidyverse.org/#usage - Crescendo (powershell): json schemas -> play with small examples e.g. datafusion table of tables ## post meeting bombshell ;) : Fernando already started playing with a nushell like language with a `polars` type system https://hackmd.io/MHNijucHRC2Q_ysvQn5KEg

    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