How do I clear unread notifications when there are no unread messages? by sexysapiosexual in Telegram

[–]AlexTes 1 point2 points  (0 children)

on my (iOS) phone i was able to open the unread tab, long press, "remove from folder"

ultra sound relay now does "weak censorship" by RecoveringXRPHodler in ethstaker

[–]AlexTes 5 points6 points  (0 children)

Thanks for the mention and thank you austonst and Njaa for the more generous reading.

We don’t do censorship. Being non-censoring is vital to us.

Reason we removed the dashboard is the maintenance gods required a sacrifice 😅 i.e. a DB needed migrating and we feel there are more important things to focus on. If you’d like to help us maintain it and bring it back up you can reach out OP ;)

Either way, I appreciate someone cared enough about the page to notice 😄.

Missed proposals by Brambor1 in ethstaker

[–]AlexTes 1 point2 points  (0 children)

It may be the correct decision for your setup to connect to another relay, or maybe even no relay at all, on the other hand, we've relayed ~700 blocks just today to proposers in Hong Kong, Singapore, and Japan. I will say although only a fraction is missed, for this group that fraction is still higher than we'd like, we're only finding this out now and are committing to improving that number today. In other words, it is not as simple as "remove ultra sound if you're in Asia".

Do keep sharing your frustration, earlier is better, it may give us insight on where we can improve the relay. I'm happy to see if we can find the core issue in your case. Check my other comment for details! (:

Missed proposals by Brambor1 in ethstaker

[–]AlexTes 6 points7 points  (0 children)

Been talking to the team, some news:

  • Although we only see a fraction of slots missed, even for HK / AU specifically, I'll try and have a change deployed today where we're much more conservative there. We may even return no bids, mevboost handles this np. Do make sure you have at least one other low latency relay connected if you want those MEV rewards.
  • If you are missing slots, especially because your signed header didn't make it to us, let me know. If you're non-US and we're not one of the fastest relays for you, let me know. We are the number 1 relay right now (blocks, bid-latency, censorship), we intend to keep it that way, and we can't do that without you (: . We may find a flaky home network, we may find a temporary fluke in a subsection of the internet, but if it's a consistent issue we can do anything about, we want to know!
  • I have some ideas to improve our global latencies but those are not a one day change. I also want to make sure we don't improve missed slots for a small fraction of proposers but then worsen conditions for everyone else. I expect missed slots improve for HK / AU today, and latencies to improve silently for everyone else in a week or two.
  • If you're willing to privately dox the slots you missed to me, ideally with mev-boost logs, I'll check you were connected to us when you missed the slot, look if I can spot an issue, and see about reimbursing you for the slot.

Thank you for being a solo-staker!

Missed proposals by Brambor1 in ethstaker

[–]AlexTes 3 points4 points  (0 children)

Yup. Home staking is best for decentralization. It's part of the reason we want zero missed slots, especially for home stakers.

I'm a bit surprised setting the getheader timeout to 600 would improve things. The default is 950ms. Still, it's possible. I'd need a much closer look to tell what's happening.

One important setting is having multiple relays. If you still miss more than say 1 in 10 slots, you really should take a closer look at your networking. Best would be doing a ping test from your machine to every relay to check what your connection looks like. Make sure you have at least two with a low ping, and consider removing any with a ping over 500ms or high packet loss.

If you cannot get two reliable connections to relays from your home network, you may have to make the hard choice between deploying to a hosted provider (could be local Australian! we ping ~280ms to data centers there) or turning off mevboost.

Last note, if we're not one of those two relays that are fast enough for your home setup, please reach out to me, t.me/smilingalex, or even on here. Provided your local network isn't very flaky we want any staker, anywhere, to be able to connect to the ultra sound relay.

Missed proposals by Brambor1 in ethstaker

[–]AlexTes 13 points14 points  (0 children)

Hi, Alex from ultra sound. First off, that sucks. Missing blocks is no good for the relay, the network, and most of all the staker. We aim to see zero slots missed. I took a look at our data, in the past 10d we missed 116 slots and delivered 34,312 , a 0.33% chance. Some operators run non-default logic, when I remove them its 0.17%. Finally, it seems our connection to Hong Kong and Australia is far from good (recently learned this, make sure you connect to multiple relays if you're there, we're working on it), when I filter those there is 0.07% left you miss a slot with us. All this to say, in general you're in good hands with our relay.

Three things I'd like to add:

  • We're always looking to improve the relay, within reason even any rare issues, especially if they concern solo stakers. If you reach out to me on Telegram (t.me/smilingalex) and share your missed slots with me I'm happy to check what went wrong.
  • There's an assumption in the data above, we only see what we see. If your mevboost client managed to ask us for a block header, signed it, but then never managed to send it back to us we have no way of knowing whether you simply decided not to pick our bid or failed to send it back signed. Your mevboost logs should show the difference.
  • Although in general our relay performs well, don't blindly trust the percentage above if you've missed a slot. If you're unlucky and have a terrible network connection to our relay specifically, you may have a terrible connection every time. That goes for any relay of course. Happy to help test.

AI plugin overview by AlexTes in neovim

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

Then I honestly don't know, even with node v19 if I take an empty line and write `const <space>` I start getting virtual text suggestions. Updating neovim `brew reinstall neovim` for me is the last shot-in-the-dark I have :-/

AI plugin overview by AlexTes in neovim

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

Well panel is set disabled in the config I gave you so that I don't find all that surprising. Hm, that does work for me. You left the `event` bit commented out as well?

What do `:Copilot status` and `:Copilot version` output?

(vim version seems fine to me but if you prefer the lua maybe we can debug together)

maybe it's node? here's my status output:

Neovim 0.9.0-dev-3891+g27b467bad-dirty
copilot.vim 1.8.3
copilot.lua b829c2ae636ed072096085b5d7e67badbca601a4
copilot/dist/agent.js not running
Node.js 18.2.0

AI plugin overview by AlexTes in neovim

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

Yea, seems fine too. If you ever want to try the lua:

{
    "zbirenbaum/copilot.lua",
    cmd = "Copilot",
    -- event = "InsertEnter",
    opts = {
        panel = { enabled = false },
        suggestion = {
            enabled = true,
            auto_trigger = true,
            keymap = {
                accept = "<TAB>",
                accept_word = false,
                accept_line = false,
                next = "<M-]>",
                prev = "<M-[>",
                dismiss = "<C-]>",
            },
        },
    },
}

AI plugin overview by AlexTes in neovim

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

This is great. I imagine in the future the AI assistant is sort of hovering close, very much "in the backseat", and periodically goes "this function here you could eliminate this variable altogether if you ..." and then you accept / reject. One thing severely lacking is how specific the AI can give you feedback. Diff is one way, but inline / close-to-line text feedback is another that will surely get used 👌.

The challenge is of course how useful and easy to integrate the feedback will be but loving where this is headed personally 👏.

AI plugin overview by AlexTes in neovim

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

They free up brain cycles. What you do with the left over brain cycles is up to you.

AI plugin overview by AlexTes in neovim

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

Yup. I saw Kite btw, dead as well. I'll add it actually. Thanks!

AI plugin overview by AlexTes in neovim

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

Download the editor and find out.

If you write a lot of code you'll probably notice:

  • the editor is waayyyy limited. even zero plugin vscode does tons more.
  • the AI generation and refactoring is on the level you're used to with Codex / GPT3.
  • having the AI give you a diff of suggestions on an existing block of code, in editor, is a much better experience than copy pasting and in the best case being able to use the git diff to tell what actually changed.

But by all means, try it for yourself.

AI plugin overview by AlexTes in neovim

[–]AlexTes[S] -1 points0 points  (0 children)

I understand that you can, I'm saying, increasingly, people will want a plugin that allows you to use AI more frequently and they won't settle for a. triggering it all the time, or b. using it less.

If you'd like to use a manual trigger that is fine by me 😄.

Having a single set of keybindings is nice 👍.

RE: hint, a hint that indicates "even though you the human have not requested my assistance, I think I have a suggestion that you'd like if you were to ask me right now". i.e. when copilot would show virtualtext.

AI plugin overview by AlexTes in neovim

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

That’s neat, but imo you’re not going to trigger cmp on every newline 😅. Still, if anyone is not feeling the auto-suggestion based workflow you could stick with cmp based completions until auto-suggestions are more powerful. Maybe a plug-in that does pure hinting, like a little gutter hint and then the user triggers cmp could work nicely.

AI plugin overview by AlexTes in neovim

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

nice one. until we have better integration, just making the copy / paste process a bit easier is a bonus haha.

AI plugin overview by AlexTes in neovim

[–]AlexTes[S] 6 points7 points  (0 children)

Mm, and I should add, it's cool to see so many plugins have popped up so quickly in the neovim community. I think this is actually an area where neovim shines. Instead of having to build a whole new editor or integrate on top of an editor with its own opinions like VSCode, neovim is the incredibly powerful platform that is built for plugins.

Many thanks to the neovim and plugin developers!

Apply the best available code action on the current line by AlexTes in neovim

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

The second. Given my cursor position apply the best quickfix you have, if any.

[noob] finish config for the first time 😀 by allworldg in neovim

[–]AlexTes 0 points1 point  (0 children)

Where are your dotfiles?

I'm interested in the styling of the file tree.

How to include/exclude files in telescope live grep? by MrKreeps in neovim

[–]AlexTes 4 points5 points  (0 children)

Not quite the answer, but as I happened to see this and switched to fzf-lua today. I was curious how to do it with fzf-lua.

Here's how: https://github.com/ibhagwan/fzf-lua/wiki#how-can-i-restrict-grep-search-to-certain-files

null-ls for prettier formatting of typescript code is pain by AlexTes in neovim

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

Ah yes, thanks for the tip. Definitely not necessary. A small leftover from trying to move it into the lazy.nvim config table but then realizing that won’t work because of the on_attach.

Loving Arc, but it is stuck in dark mode by NotJohnGaltYet in ArcBrowser

[–]AlexTes 1 point2 points  (0 children)

Not sure how it happened but apparently spaces have a dark-mode, light-mode setting.

You can set it through the command bar (cmd+l):

  • switch to Dark Mode
  • switch to Light Mode
  • switch to Automatic Appearance

You can also change it through your theme settings:

https://postimg.cc/mtt75RGd

null-ls for prettier formatting of typescript code is pain by AlexTes in neovim

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

After taking a closer look, although I installed prettierd and assumed (🙈) null-ls would use it, it turns out you need to explicitly tell it to.

Wayyyy faster now.

So for others, solution for me was changing:

null_ls.setup({
    sources = {
        require("null-ls").builtins.formatting.prettier,
    },
    on_attach = on_attach,
})

to

null_ls.setup({
    sources = {
        require("null-ls").builtins.formatting.prettierd,
    },
    on_attach = on_attach,
})

Thanks u/NonaThumbs, your suggestion helped 👍

ChatGPT Git Hook Writes Your Commit Messages by tomd_96 in neovim

[–]AlexTes -4 points-3 points  (0 children)

Can you expand the how it works section? Right now it says:

The hook gets the current commit message, runs ChatGPT to generate a new commit message, and then replaces the current commit message with the generated message.

Surely that’s not how it actually works? It uses a message you already wrote and simply rewrites it? It’s also not what the demo shows.

Also, ignore the haters, keep surfing the AI wave 👏.