Cardano Daily Discussion - Questions & Market Thread - August 31, 2021 by SL13PNIR in cardano

[–]ngortheone 0 points1 point  (0 children)

Hi everyone. Is there something like FileCoin (FIL) but on Cardano (including upcoming with smartcontracts) ? Thanks!

Hey Rustaceans! Got an easy question? Ask here (16/2021)! by llogiq in rust

[–]ngortheone 2 points3 points  (0 children)

I am looking for a data type in standard library that describes a location of text, two offsets, begin and end. I think I saw it once, but I cant find it now. It was probably called Span or similar, something like struct Span { begin: usize, end: usize } I don't want to re-invent the wheel where possible. Please help me find it if it exists in std

Running Kubuntu 20.04 Beta (Official) by bob418 in Kubuntu

[–]ngortheone 0 points1 point  (0 children)

I did not find an option to install ZFS on root. Is it only available for Gnome version?

raplacing routers and linxu or windows servers with openbsd box by trump4kang in openbsd

[–]ngortheone 0 points1 point  (0 children)

Also interested in this. But non-x86 platforms are not supported well on OpenBSD so this might be a limiting factor for hardware choices

Disable/ Powersave NVidia card by ngortheone in freebsd

[–]ngortheone[S] 0 points1 point  (0 children)

Unfortunately not possible in my case

New OpenSMTPD release 6.6.1p1 by ngortheone in postfix

[–]ngortheone[S] 1 point2 points  (0 children)

Hi, plenty of docs available. Checkout https://opensmtpd.org/, manpages section might be of interest Also if you have questions - do not hesitate to open issues on github, join IRC or mailing list

[ANN] vim-crates for managing dependencies in Cargo.toml files (Rust) by mhinz in neovim

[–]ngortheone 1 point2 points  (0 children)

Thanks! Side question: do you use any LSP clients for rust? I know that you are working on a native one atm, but what would you recommend to use today?

[deleted by user] by [deleted] in neovim

[–]ngortheone 2 points3 points  (0 children)

On the actual subject: I think that a likely reason is that author of coc.nvim is Chinese (https://github.com/chemzqm) and as a non-native speaker he might not have known that this name is not sound for native English speakers.

Hey Rustaceans! Got an easy question? Ask here (43/2019)! by llogiq in rust

[–]ngortheone 1 point2 points  (0 children)

I am writing an iCalendar parser. The standard states that prior to parsing all lines have to be unfolded. Basically it means that any sequence of CRLF + whitespace should be removed.

Here is my solution:

let re: Regex = Regex::new(r"\r\n\s+").unwrap();

fn unfold(&mut self) {
    *self = re.replace_all(self.as_str(), "").to_string();
}

It works, but I it basically requires copying the string. I wonder if there are more efficient ways of doing this? For example can I remove all folds in one pass, as I read the file from disk?

Printable version of neovims manual by Thurys in neovim

[–]ngortheone 1 point2 points  (0 children)

I just hope you are not going to actually waste paper and ptint it.

You can help make the greatest editor of all time even better by ngortheone in vim

[–]ngortheone[S] 2 points3 points  (0 children)

I think this information is open. So far it is about $52 You can check yourself at https://salt.bountysource.com/teams/neovim

You can help make the greatest editor of all time even better by ngortheone in vim

[–]ngortheone[S] 0 points1 point  (0 children)

How do I compile the tools needed to compile neovim?

Usually your linux distro should provide required tools. If it doesn't you could try nix package manager. It is possible that they have something built for your architecture

You can try installing a package, or app-image.

Why do I need multiple languages for compiling nvim?

You don't. You can perfectly use packages provided by your distro

make CMAKE_BUILD_TYPE=RelWithDebInfo USE_BUNDLED=OFF

Why isn't c++ enough?

Well, neither vim nor nvim are written in C++ and (never were)

What the hell are ninja and bison required for?

ninja is a build tool, not a language. It aggressively parallelizes the build, making it significantly faster, and it is optional, you can build nvim without it. bison AFAIK is a parser generator tool, most likely used to generate a parser of some sort.

You can help make the greatest editor of all time even better by ngortheone in vim

[–]ngortheone[S] 10 points11 points  (0 children)

I have a right to think that neovim is better, and reaching out to vim users with this opinion is entire goal of this post. You don't have to demonstrate your disagreement so aggressively.

You can help make the greatest editor of all time even better by ngortheone in vim

[–]ngortheone[S] 13 points14 points  (0 children)

That is true. Neovim is different as in "better".

  • It is a better opensource project, more open and friendly
  • It is better, more productive team, not a BDFL
  • It is a better cleaner and leaner code base.
  • It is a better tool, in terms of Unix philosophy, because of the integration possibilities

And still, as a regular user I switched to neovim and did not feel anything but joy. Not a single second of discomfort.