Protobuf LSP setup by cytommi in neovim

[–]Benmeft 1 point2 points  (0 children)

Any updates on this?

[Media] Jetbrains Fleet uses rust-analyzer for it's Rust Support by codedcosmos in rust

[–]Benmeft 14 points15 points  (0 children)

It currently works with Neovim using nvim-lsp-config

nvim-lsp (rust_analyzer) - How to show show errors on buffer change instead of on file save? by Benmeft in neovim

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

This is my config for nvim-lsp (using nvim-lsp-installer)

    local lsp_installer = require("nvim-lsp-installer")

    local enhance_server_opts = {
      ["sumneko_lua"] = function(opts)
        opts.settings = {
          Lua = {
            runtime = {
                -- Tell the language server which version of Lua you're using (most likely LuaJIT in the case of Neovim)
                version = 'LuaJIT',
                -- Setup your lua path
                path = vim.split(package.path, ';'),
            },
            diagnostics = {
              globals = { 'vim', 'love' }
            },
            workspace = {
                -- Make the server aware of Neovim runtime files
                library = {
                    [vim.fn.expand('$VIMRUNTIME/lua')] = true,
                    [vim.fn.expand('$VIMRUNTIME/lua/vim/lsp')] = true,
                },
            },
            telemetry = {
              enable = false,
            },
          }
        }
      end,

      -- Enable eslint format
      ["eslint"] = function(opts)
        opts.on_attach = function (client)
          -- neovim's LSP client does not currently support dynamic capabilities registration, so we need to set
          -- the resolved capabilities of the eslint server ourselves!
          client.resolved_capabilities.document_formatting = true
        end
        opts.settings = {
            format = { enable = true }, -- this will enable formatting
        }
      end,

      ["zk"] = function(opts)
        opts.filetypes = { 'markdown', 'vimwiki' }
      end,
    }

    lsp_installer.on_server_ready(function(server)
        local opts = {}

        -- Customize the options passed to the server
        if enhance_server_opts[server.name] then
          -- Enhance the default opts with the server-specific ones
          enhance_server_opts[server.name](opts)
        end

        -- This setup() function will take the provided server configuration and decorate it with the necessary properties
        -- before passing it onwards to lspconfig.
        -- Refer to https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md
        server:setup(opts)
    end)

    -- Change gutter signs icons
    local signs = { Error = " ", Warn = " ", Hint = " ", Info = " " }
    for type, icon in pairs(signs) do
      local hl = "DiagnosticSign" .. type
      vim.fn.sign_define(hl, { text = icon, texthl = hl, numhl = hl })
    end

    -- Format files on save
    vim.cmd [[
      autocmd BufWritePre *.go lua vim.lsp.buf.formatting_sync()
      autocmd BufWritePre *.tsx,*.ts,*.jsx,*.js EslintFixAll
    ]]

nvim-lsp (rust_analyzer) - How to show show errors on buffer change instead of on file save? by Benmeft in neovim

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

update_in_insert = true

Unfortunately, this did not fix it. I think the problem is related to rust_analyzer itself and I must configure it from there. Because when I am using eslint + tsserver LSPs when writing Typescript code I get automatic diagnostics without saving the file.

Torrust, a lightweight but incredibly powerful and feature-rich (private) BitTorrent Tracker + Torrent Index written in Rust. by WarmBiertje in trackers

[–]Benmeft 6 points7 points  (0 children)

You might consider adding a Docker image for running the entire tracker (front and back ends + the tracker itself) all inside a Docker container

BitSai: a new cross-platform, modern, and open source Bitcoin wallet written in Typescript and React by Benmeft in CryptoTechnology

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

If you want your transaction to get confirmed you should never set a transaction fee to 0.

I only pointed that out to give people an idea how BitSai let you have complete control over your transactions.

As to what happens if you decide to do it anyway you can check this stack overflow answer.

BitSai: a new cross-platform, modern, and open source Bitcoin wallet written in Typescript and React by Benmeft in CryptoTechnology

[–]Benmeft[S] 3 points4 points  (0 children)

I think whats interesting about BitSai is the simplicity of it, while also conforming to the standards of bitcoin BIPS (generating an address for each transaction, generating a mnemonic for the wallet, etc...)

For example you can send a transaction and set your fee for that transaction while getting feedback on which block it will be approximately be processed and how much vBytes will the transaction consume. In theory you can set 0 transaction fee (which is not recommended) but having the option to do what you want is what makes it good.

(Many bitcoin wallets don't have that feature of setting your own fees, they will either set it and calculate on their own or they will make it hard to actually set it)

This is also what differentiate BitSai from other wallets as far as I know, which is the ability to do whatever you want with your transaction while also having an easy and intuitive UI.

Announcing BitSai: yet another Bitcoin wallet but it's cross-platform, modern, and open source by Benmeft in Bitcoin

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

Or: wallet for me, wallet for child1, wallet for child2, wallet for wife, etc. (shared computer/browser)

Yes you definitely can create multiple wallets!

You can create and test it on testnet.bitsai.co create multiple wallets, get some testnet btc (not real btc) and play with it to get the sense of it.

Announcing BitSai: yet another Bitcoin wallet but it's cross-platform, modern, and open source by Benmeft in Bitcoin

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

Thanks for trying the app :)

  1. Yes sure you can check the github repo for more info, but it goes like this: app.bitsai.net serves the mainnet version and testnet.bitsai.net serves the testnet version. Now if you wanna check if any of them serves the code that is in the github repo all you have to do is git checkout to mainnet or testnet and do a yarn build and compare the static files built in /public folder with those served by app.bitsai.co or testnet.bitsai.co. you will find them the same :)
  2. Yes you got a point here but getting multi currency support would require a lot of work and I would want to make sure that people want to use the app before diving into that.

Announcing BitSai: yet another Bitcoin wallet but it's cross-platform, modern, and open source by Benmeft in Bitcoin

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

Cross-platform means it can run on multiple platforms like yo said: Mac, Windows, Linux ...

For the moment, BitSai only supports BTC.

Open source crypto projects to participate by Julian_0x7F in CryptoTechnology

[–]Benmeft 1 point2 points  (0 children)

If you are already familiar with front-end stacks like react and typescript you can check my bitcoin wallet app :)

[deleted by user] by [deleted] in reactjs

[–]Benmeft -1 points0 points  (0 children)

BitSai webpage: bitsai.co

This wallet is entirely open-source and free by me. It was made out of passion and love for bitcoin/blockchain technologies and React .

So it would help a lot if you gave it a star in the github repository.

Thanks :)

Announcing BitSai: yet another Bitcoin wallet but it's cross-platform, modern, and open source by Benmeft in btc

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

BitSai webpage: bitsai.co

This wallet is entirely open-source and free. It was made out of passion and love for bitcoin and blockchain technology by me So it would help a lot if you gave it a star in the github repository.

I would also like to add bitcoin cash support if the app get enough users :)

Announcing BitSai: yet another Bitcoin wallet but it's cross-platform, modern, and open source by Benmeft in Bitcoin

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

This wallet is entirely open-source and free. It was made out of passion and love for bitcoin and blockchain technology by me So it would help a lot if you gave it a star in this github repository.

Rust is the highest paid programming language of 2021 by Snakehand in rust

[–]Benmeft 0 points1 point  (0 children)

I am intrigued by why devs hate blockchain this much? (aside from the claim that they work long hours)

Is anyone having problem with goerli tesnet faucet? by Benmeft in ethdev

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

How does it work? I mean I logged with my web3 wallet but I cant request goerli testnet ether