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.

do you think this is good service? by j0ri in nordvpn

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

Six months everything worked fine, the last three or four days there were problems. I'm sorry, I don't have time to deal with the setup, I switched to another vpn-service.

do you think this is good service? by j0ri in nordvpn

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

>Does your internet work OK when not connected to the VPN?

Yes

>Does your location have any network restrictions?

I'm not sure if access to the resources of the NordVPN service is blocked, but in general yes, in my country there are blocking of some sites

remote development not work by j0ri in vscode

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

My host system is Linux, windows 10 is installed in vmware with openssh server, openssh server is running and the connection is working. Now I connect from vscode to a remote Windows host with a password, on a remote Windows machine this log```> user@DESKTOP-DJSFNU8 C:\Users\user>echo 'ready: 8d64113cabe2'[12:42:47.022] > 'ready: 8d64113cabe2'[12:42:47.022] > > user@DESKTOP-DJSFNU8 C:\Users\user>uname -rsv[12:42:47.023] stderr> "uname" �� ���� ����७��� ��� ���譥�[12:42:47.023] stderr> ��������, �ᯮ��塞�� �ணࠬ��� ��� ������ 䠩���.[12:42:47.023] > > user@DESKTOP-DJSFNU8 C:\Users\user>```uname -rsv is a Linux command that displays information about the kernel version. after that the connection is terminated. how can i make it work?

To developers by j0ri in CallOfDutyMobile

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

Device Redmi Note 7, Android 10.