Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 22:50

    xiaq on master

    Remove unneeded tests. These t… (compare)

  • 22:48

    xiaq on master

    File module with pipe function.… (compare)

  • 22:48
    xiaq closed #1286
  • 22:43
    xiaq commented #1286
  • 22:10
    xiaq commented #1270
  • 05:09
    krader1961 commented #1292
  • 05:00
    krader1961 commented #1270
  • 04:50
    krader1961 opened #1293
  • 04:21
    krader1961 opened #1292
  • Apr 17 04:46
    supreetsingh10 commented #1286
  • Apr 16 21:10
    krader1961 commented #1286
  • Apr 16 14:54
    supreetsingh10 commented #1286
  • Apr 16 14:51
    supreetsingh10 synchronize #1286
  • Apr 16 14:05
    supreetsingh10 commented #1286
  • Apr 16 02:40
    krader1961 commented #1286
  • Apr 15 02:39
    krader1961 commented #272
  • Apr 15 02:34
    krader1961 edited #1288
  • Apr 14 07:05
    supreetsingh10 synchronize #1286
  • Apr 14 02:24
    krader1961 commented #1286
  • Apr 13 04:52
    krader1961 opened #1291
ave_santa666 (Telegram)
@telegram_1156476736:elv.sh
[m]
That is cool. Maybe someday Elvish will learn that magic
zzamboni (Telegram)
@telegram_278300093:elv.sh
[m]
I personally would not like that. The name is fine, but doesn't mean that its behavior needs to include those references.
1 reply
zzamboni (Telegram)
@telegram_278300093:elv.sh
[m]
Also not everyone would get the references. Like me - I use Elvish because it's a good shell, but I'm not particularly a fan of LOTR, and I don't even know what Roguelike games are ;)
1 reply
ave_santa666 (Telegram)
@telegram_1156476736:elv.sh
[m]
Alright it's settled then
Anyway I have no work assigned right now on the file module. So if anyone needs mu help, let me know
Kurtis Rader
@krader1961:matrix.org
[m]
Have you been using Elvish as your interactive shell?
ave_santa666 (Telegram)
@telegram_1156476736:elv.sh
[m]
Yeah
I have bash, zsh and Elvish set up
Kurtis Rader
@krader1961:matrix.org
[m]
Really? What does put x y | each [x]{ put "x="$x } do?
ave_santa666 (Telegram)
@telegram_1156476736:elv.sh
[m]
I know what each of the components will do but i am not sure of the output
Kurtis Rader
@krader1961:matrix.org
[m]
Start with any portion of that statement. For example, what does put "x="$x do?
ave_santa666 (Telegram)
@telegram_1156476736:elv.sh
[m]
It will concat
Kurtis Rader
@krader1961:matrix.org
[m]
Concat what? What does it do after the concat(enation)?
ave_santa666 (Telegram)
@telegram_1156476736:elv.sh
[m]
The inputs it receives from the pipe line
It will concat them
Put will print them on the screen
"X=valueofX"
Like that
Kurtis Rader
@krader1961:matrix.org
[m]
That is partially correct for the statement as a whole. I, however, asked what does put "x="$x do.
ave_santa666 (Telegram)
@telegram_1156476736:elv.sh
[m]
Oh I am sorry I missed put earlier
Its 8:30 am and I just woke up
Put is responsible for printing but it sends the words throught stdout 1 string at a time
Put wow elvish will do ->
Wow
Elvish
Put "x="$x will do
X=valueOfX
Kurtis Rader
@krader1961:matrix.org
[m]
Correct, depending on what you mean by "stdout". The put command outputs its values on the value channel. Which isn't the same thing as the stdout byte channel.
ave_santa666 (Telegram)
@telegram_1156476736:elv.sh
[m]
Oh okay
I didn't know that
Kurtis Rader
@krader1961:matrix.org
[m]
You should take some time to read the documentation more than once. For example, http://localhost/elvish/learn/tour.html#value-pipelines is relevant to this discussion.
1 reply
ave_santa666 (Telegram)
@telegram_1156476736:elv.sh
[m]
I mean that it is not the same as stdout channel
Kurtis Rader
@krader1961:matrix.org
[m]
My previous link should have been to elv.sh rather than localhost/elvish (which is what I use to verify the correctness of changes to the documentation).
ave_santa666 (Telegram)
@telegram_1156476736:elv.sh
[m]
Thank you for your guidance
amosbird (IRC)
@irc_amosbird:elv.sh
[m]
历时 3 年终于有个可以替换 elvish nav 的东西了 https://github.com/Canop/broot lol
xiaq (IRC)
@irc_xiaq:elv.sh
[m]
please stick to English for this channel :)
i was going to refer you to #elvish-zh but i found that i never bothered to set up bridging for that channel...
xiaqqaix (Telegram)
@telegram_84517825:elv.sh
[m]
Day 10 of main laptop being broken, I finally decided to set up a dev environment in my Windows laptop (which I normally only use for games). Should be able to get back to PR reviews by this weekend too
The official "windows terminal" app is not bad - it supports tabs and splitting panes and I was able to replicate my tmux key bindings to appease my muscle memory
I'm intentionally not using WSL - I may work on some Windows compatibility issues hopefully bringing Windows support out of experimental status
Kurtis Rader
@krader1961:matrix.org
[m]
IMO, WSL is really only useful to people who prefer Windows and occasionally want to experiment with Linux without having to setup a native Linux (or BSD) distro.
xiaqqaix (Telegram)
@telegram_84517825:elv.sh
[m]
Do you think there's anything that prevents from being a full-fledged development environment? If you are referring to incompatibilities with a real Linux kernel (like the mmap issue that causes boltdb to panic) - those are resolved with the new VM-based WSL 2
WSL 1 was a paravirtualization mechanism implemented by implementing Linux syscalls in the Windows kernel, so some incompatibility was unavoidable. WSL 2 runs mainline Linux kernels in a Hyper-V VM
Kurtis Rader
@krader1961:matrix.org
[m]
I installed WSL 2. It's effectively not much different than using VMware on macOS to host Windows (which is what I do). So, yeah, if you're primarily a "Windows" person who sometimes needs to do development on Linux WSL 2 is a pretty good option.
I don't bother with WSL anymore because it's better to use Elvish in a native Windows terminal to understand where there are compatibility problems.
Like the need for a path:temp-file command that works on Windows and UNIX.
xiaqqaix (Telegram)
@telegram_84517825:elv.sh
[m]
That's why I'm intentionally not using WSL too :)
There may be more people who use Windows to develop Linux software than you might think - I personally know a lot of developers who are otherwise Windows users but are "forced" to develop against Linux because their companies have servers that run Linux
Before WSL, they either had to use a test server to test their code or use a more heavyweight VM, and WSL simplifies their workflows considerably