or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
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.
Syncing
xxxxxxxxxx
Nushell core team meeting 2023-10-11
Attendees
Agenda
0.86
release on 2023-10-17$db
(darren)ls command/utility separation
changes 10651from csv: streaming
10674Value::Stream
Value/Type::Path
#10679Discussed 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 LSProtocolif we move those under
nu
would save us going through the--ide..
flagsWould 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 throughnu --ide...
Conclusion: Massive props to
@jokeyrhyme
, lets try to get it in the mainlinenu
Upcoming release
cp
is now uutils and we havecp-old
as a backupButton 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
proposalis 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
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:
nu-glob
(fork of o.g.glob
crate used inls
) andwax
(glob
command)foo[1].txt
Darren: No way to turn glob off elegantly, we can't tell a glob from a filename inside a command.
--no-glob
r"raw string literal syntax"
Remember consistency is only a tool for ergonomics
streaming of
from csv
-> how to streamfrom
/general fallible streamingGeneral 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 necessarywould need to be explicit so
let x = ls
is not surpisingly hard to work with ifls
is able to be streamable.Have an explicit
into iter
/into lazy
or whatever commandIssues