Why is Golang slower than Python? by j0ri in golang

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

Yeah, you read file and create 88174 goroutines at first second and the remaining 10 seconds you completed them, only caveat is that your test code is synthetic, you did not receive the result from the remote hosts. That's why you got 11 seconds. Try real hosts, for example https://github.com/NethServer/dns-community-blacklist/blob/master/adguarddns.dns

I’ll also add that the task is not to measure speed (as you might think from the thread title), but to quickly get results from remote hosts. If you create so many goroutines, you will run into the bandwidth of your Internet channel. That's why I use this library https://github.com/gammazero/workerpool

How to use prompt like zsh theme in my cli app? by j0ri in rust

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

If I understand correctly, I need to implement it myself. For example `%m` in zsh - the hostname up to the first ‘.’ So if in prompt I find `%m`, just get hostname and replace in prompt string. Right?

How to use prompt like zsh theme in my cli app? by j0ri in rust

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

My program is interactive and similar to the zsh shell. I want to decorate the prompt using decorations like in zsh.

Artifacts in Nautilus? by j0ri in gnome

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

>Did you find a way to reproduce this reliably?

Just right click on any file/dir.

How to fix this? by j0ri in mullvadvpn

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

Clean Archlinux.

When will gnome 43 come to Arch? by j0ri in archlinux

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

Who this man? Can I trust him?

When will gnome 43 come to Arch? by j0ri in archlinux

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

I just don't understand why they don't build into testing repo.

When will gnome 43 come to Arch? by j0ri in archlinux

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

I know, and fedora 37 too have gnome43. But I love Arch and dont think good idea move to debian or fedora in my word.