X11 forwarding support in builtin SSH server

Bash info
XQuartz version: 2.8.5
orbstack: 0.6.0
macos: 13.3 m1pro
Problem
cannot display gui normally
Config
in Mac, /etc/ssh/sshd_config
$OpenBSD: sshd_config,v 1.104 2021/07/02 05:11:21 dtucker Exp $

# This is the sshd server system-wide configuration file.  See
# sshd_config(5) for more information.

# This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin

# The strategy used for options in the default sshd_config shipped with
# OpenSSH is to specify options with their default value where
# possible, but leave them commented.  Uncommented options override the
# default value.

# This Include directive is not part of the default sshd_config shipped with
# OpenSSH. Options set in the included configuration files generally override
# those that follow.  The defaults only apply to options that have not been
# explicitly set.  Options that appear multiple times keep the first value set,
# unless they are a multivalue option such as HostKey.
Include /etc/ssh/sshd_config.d/*

#Port 22
AddressFamily inet
#ListenAddress <IP_ADDRESS>
#ListenAddress ::

#HostKey /etc/ssh/ssh_host_rsa_key
#HostKey /etc/ssh/ssh_host_ecdsa_key
#HostKey /etc/ssh/ssh_host_ed25519_key

# Ciphers and keying
#RekeyLimit default none

# Logging
#SyslogFacility AUTH
#LogLevel INFO

# Authentication:

#LoginGraceTime 2m
#PermitRootLogin prohibit-password
#StrictModes yes
#MaxAuthTries 6
#MaxSessions 10

#PubkeyAuthentication yes

# The default is to check both .ssh/authorized_keys and .ssh/authorized_keys2
# but this is overridden so installations will only check .ssh/authorized_keys
AuthorizedKeysFile	.ssh/authorized_keys

#AuthorizedPrincipalsFile none

#AuthorizedKeysCommand none
#AuthorizedKeysCommandUser nobody

# For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
#HostbasedAuthentication no
# Change to yes if you don't trust ~/.ssh/known_hosts for
# HostbasedAuthentication
#IgnoreUserKnownHosts no
# Don't read the user's ~/.rhosts and ~/.shosts files
#IgnoreRhosts yes

# To disable tunneled clear text passwords, change to no here!
#PasswordAuthentication yes
#PermitEmptyPasswords no

# Change to no to disable s/key passwords
#KbdInteractiveAuthentication yes

# Kerberos options
#KerberosAuthentication no
#KerberosOrLocalPasswd yes
#KerberosTicketCleanup yes
#KerberosGetAFSToken no

# GSSAPI options
#GSSAPIAuthentication no
#GSSAPICleanupCredentials yes

# Set this to 'yes' to enable PAM authentication, account processing,
# and session processing. If this is enabled, PAM authentication will
# be allowed through the KbdInteractiveAuthentication and
# PasswordAuthentication.  Depending on your PAM configuration,
# PAM authentication via KbdInteractiveAuthentication may bypass
# the setting of "PermitRootLogin without-password".
# If you just want the PAM account and session checks to run without
# PAM authentication, then enable this but set PasswordAuthentication
# and KbdInteractiveAuthentication to 'no'.
#UsePAM no

#AllowAgentForwarding yes
#AllowTcpForwarding yes
#GatewayPorts no
X11Forwarding yes
#X11DisplayOffset 10
X11UseLocalhost no
#PermitTTY yes
#PrintMotd yes
#PrintLastLog yes
#TCPKeepAlive yes
#PermitUserEnvironment no
#Compression delayed
#ClientAliveInterval 0
#ClientAliveCountMax 3
#UseDNS no
#PidFile /var/run/sshd.pid
#MaxStartups 10:30:100
#PermitTunnel no
#ChrootDirectory none
#VersionAddendum none

# no default banner path
#Banner none

# override default of no subsystems
#Subsystem	sftp	/usr/libexec/sftp-server

# Example of overriding settings on a per-user basis
#Match User anoncvs
#	X11Forwarding no
#	AllowTcpForwarding no
#	PermitTTY no
#	ForceCommand cvs server

# XAuthLocation added by XQuartz (https://www.xquartz.org)
XAuthLocation /opt/X11/bin/xauth

in linux, /etc/ssh/ssh_config
# This is the ssh client system-wide configuration file.  See
# ssh_config(5) for more information.  This file provides defaults for
# users, and the values can be changed in per-user configuration files
# or on the command line.

# Configuration data is parsed as follows:
#  1. command line options
#  2. user-specific file
#  3. system-wide file
# Any configuration value is only changed the first time it is set.
# Thus, host-specific definitions should be at the beginning of the
# configuration file, and defaults at the end.

# Site-wide defaults for some commonly used options.  For a comprehensive
# list of available options, their meanings and defaults, please see the
# ssh_config(5) man page.

Include /etc/ssh/ssh_config.d/*.conf

Host *
#   ForwardAgent no
#   ForwardX11 no
#   ForwardX11Trusted yes
#   PasswordAuthentication yes
#   HostbasedAuthentication no
#   GSSAPIAuthentication no
#   GSSAPIDelegateCredentials no
#   GSSAPIKeyExchange no
#   GSSAPITrustDNS no
#   BatchMode no
#   CheckHostIP yes
#   AddressFamily any
#   ConnectTimeout 0
#   StrictHostKeyChecking ask
#   IdentityFile ~/.ssh/id_rsa
#   IdentityFile ~/.ssh/id_dsa
#   IdentityFile ~/.ssh/id_ecdsa
#   IdentityFile ~/.ssh/id_ed25519
#   Port 22
#   Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc
#   MACs<EMAIL_ADDRESS>#   EscapeChar ~
#   Tunnel no
#   TunnelDevice any:any
#   PermitLocalCommand no
#   VisualHostKey no
#   ProxyCommand ssh -q -W %h:%p gateway.example.com
#   RekeyLimit 1G 1h
#   UserKnownHostsFile ~/.ssh/known_hosts.d/%k
    SendEnv LANG LC_*
    HashKnownHosts yes
    GSSAPIAuthentication yes

in linux, ~.bashrc
 ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples

# If not running interactively, don't do anything
case $- in
    *i*) ;;
      *) return;;
esac

# don't put duplicate lines or lines starting with space in the history.
# See bash(1) for more options
HISTCONTROL=ignoreboth

# append to the history file, don't overwrite it
shopt -s histappend

# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
HISTSIZE=1000
HISTFILESIZE=2000

# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize

# If set, the pattern "**" used in a pathname expansion context will
# match all files and zero or more directories and subdirectories.
#shopt -s globstar

# make less more friendly for non-text input files, see lesspipe(1)
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"

# set variable identifying the chroot you work in (used in the prompt below)
if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then
    debian_chroot=$(cat /etc/debian_chroot)
fi

# set a fancy prompt (non-color, unless we know we "want" color)
case "$TERM" in
    xterm-color|*-256color) color_prompt=yes;;
esac

# uncomment for a colored prompt, if the terminal has the capability; turned
# off by default to not distract the user: the focus in a terminal window
# should be on the output of commands, not on the prompt
#force_color_prompt=yes

if [ -n "$force_color_prompt" ]; then
    if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
	# We have color support; assume it's compliant with Ecma-48
	# (ISO/IEC-6429). (Lack of such support is extremely rare, and such
	# a case would tend to support setf rather than setaf.)
	color_prompt=yes
    else
	color_prompt=
    fi
fi

if [ "$color_prompt" = yes ]; then
    PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
else
    PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
fi
unset color_prompt force_color_prompt

# If this is an xterm set the title to user@host:dir
case "$TERM" in
xterm*|rxvt*)
    PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"
    ;;
*)
    ;;
esac

# enable color support of ls and also add handy aliases
if [ -x /usr/bin/dircolors ]; then
    test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
    alias ls='ls --color=auto'
    #alias dir='dir --color=auto'
    #alias vdir='vdir --color=auto'

    alias grep='grep --color=auto'
    alias fgrep='fgrep --color=auto'
    alias egrep='egrep --color=auto'
fi

# colored GCC warnings and errors
#export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'

# some more ls aliases
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'

# Add an "alert" alias for long running commands.  Use like so:
#   sleep 10; alert
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'

# Alias definitions.
# You may want to put all your additions into a separate file like
# ~/.bash_aliases, instead of adding them here directly.
# See /usr/share/doc/bash-doc/examples in the bash-doc package.

if [ -f ~/.bash_aliases ]; then
    . ~/.bash_aliases
fi

# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if ! shopt -oq posix; then
  if [ -f /usr/share/bash-completion/bash_completion ]; then
    . /usr/share/bash-completion/bash_completion
  elif [ -f /etc/bash_completion ]; then
    . /etc/bash_completion
  fi
fi

export DISPLAY=:0

in linux, Already installed xauth（x11-apps）.
operate
When I use the following command ssh -X -v Ubuntu-Arm@orb, it shows
jay:jay/ $ ssh -X -v Ubuntu-Arm@orb                                                                [20:53:08]
OpenSSH_9.0p1, LibreSSL 3.3.6
debug1: Reading configuration data /Users/jay/.ssh/config
debug1: Reading configuration data /Users/jay/.orbstack/ssh/config
debug1: /Users/jay/.orbstack/ssh/config line 1: Applying options for orb
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files
debug1: /etc/ssh/ssh_config line 54: Applying options for *
debug1: /etc/ssh/ssh_config line 58: Applying options for *
debug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling
debug1: Executing proxy dialer command: exec '/Applications/OrbStack.app/Contents/MacOS/OrbStack Helper (VM)' ssh-proxy-fdpass
debug1: identity file /Users/jay/.orbstack/ssh/id_ed25519 type 3
debug1: identity file /Users/jay/.orbstack/ssh/id_ed25519-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_9.0
debug1: Remote protocol version 2.0, remote software version Go
debug1: compat_banner: no match: Go
debug1: Authenticating to <IP_ADDRESS>:32222 as 'Ubuntu-Arm'
debug1: load_hostkeys: fopen /Users/jay/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: curve25519-sha256
debug1: kex: host key algorithm: ssh-ed25519
debug1: kex: server->client cipher<EMAIL_ADDRESS>MAC: <implicit> compression: none
debug1: kex: client->server cipher<EMAIL_ADDRESS>MAC: <implicit> compression: none
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: SSH2_MSG_KEX_ECDH_REPLY received
debug1: Server host key: ssh-ed25519 SHA256:2vx71mEbMSkrkrk2MN4Ior1VtrxO16FwV9mTSkraFmQ
debug1: load_hostkeys: fopen /Users/jay/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug1: Host '[<IP_ADDRESS>]:32222' is known and matches the ED25519 host key.
debug1: Found key in /Users/jay/.ssh/known_hosts:1
debug1: rekey out after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey in after 134217728 blocks
debug1: get_agent_identities: bound agent to hostkey
debug1: get_agent_identities: ssh_fetch_identitylist: agent contains no identities
debug1: Will attempt key: /Users/jay/.orbstack/ssh/id_ed25519 ED25519 SHA256:d1/SV2l4AzHNIxZDJk0Jk9bHhFdoPmrceDYJ9l03BaA explicit
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,rsa-sha2-256,rsa-sha2-512,ssh-rsa,ssh-dss>
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering public key: /Users/jay/.orbstack/ssh/id_ed25519 ED25519 SHA256:d1/SV2l4AzHNIxZDJk0Jk9bHhFdoPmrceDYJ9l03BaA explicit
debug1: Server accepts key: /Users/jay/.orbstack/ssh/id_ed25519 ED25519 SHA256:d1/SV2l4AzHNIxZDJk0Jk9bHhFdoPmrceDYJ9l03BaA explicit
Authenticated to <IP_ADDRESS> ([<IP_ADDRESS>]:32222) using "publickey".
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: pledge: exec
debug1: Requesting X11 forwarding with authentication spoofing.
debug1: Sending environment.
debug1: channel 0: setting env LC_TERMINAL = "iTerm2"
debug1: channel 0: setting env LC_TERMINAL_VERSION = "3.4.19"
X11 forwarding request failed on channel 0
jay@Ubuntu-Arm:~$ echo $DISPLAY
:0
jay@Ubuntu-Arm:~$ xclock
Error: Can't open display: :0
jay@Ubuntu-Arm:~$

When I use the following command ssh -Y -v Ubuntu-Arm@orb, it shows
jay:jay/ $ ssh -Y -v Ubuntu-Arm@orb                                                                [20:55:09]
OpenSSH_9.0p1, LibreSSL 3.3.6
debug1: Reading configuration data /Users/jay/.ssh/config
debug1: Reading configuration data /Users/jay/.orbstack/ssh/config
debug1: /Users/jay/.orbstack/ssh/config line 1: Applying options for orb
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files
debug1: /etc/ssh/ssh_config line 54: Applying options for *
debug1: /etc/ssh/ssh_config line 58: Applying options for *
debug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling
debug1: Executing proxy dialer command: exec '/Applications/OrbStack.app/Contents/MacOS/OrbStack Helper (VM)' ssh-proxy-fdpass
debug1: identity file /Users/jay/.orbstack/ssh/id_ed25519 type 3
debug1: identity file /Users/jay/.orbstack/ssh/id_ed25519-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_9.0
debug1: Remote protocol version 2.0, remote software version Go
debug1: compat_banner: no match: Go
debug1: Authenticating to <IP_ADDRESS>:32222 as 'Ubuntu-Arm'
debug1: load_hostkeys: fopen /Users/jay/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: curve25519-sha256
debug1: kex: host key algorithm: ssh-ed25519
debug1: kex: server->client cipher<EMAIL_ADDRESS>MAC: <implicit> compression: none
debug1: kex: client->server cipher<EMAIL_ADDRESS>MAC: <implicit> compression: none
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: SSH2_MSG_KEX_ECDH_REPLY received
debug1: Server host key: ssh-ed25519 SHA256:2vx71mEbMSkrkrk2MN4Ior1VtrxO16FwV9mTSkraFmQ
debug1: load_hostkeys: fopen /Users/jay/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug1: Host '[<IP_ADDRESS>]:32222' is known and matches the ED25519 host key.
debug1: Found key in /Users/jay/.ssh/known_hosts:1
debug1: rekey out after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey in after 134217728 blocks
debug1: get_agent_identities: bound agent to hostkey
debug1: get_agent_identities: ssh_fetch_identitylist: agent contains no identities
debug1: Will attempt key: /Users/jay/.orbstack/ssh/id_ed25519 ED25519 SHA256:d1/SV2l4AzHNIxZDJk0Jk9bHhFdoPmrceDYJ9l03BaA explicit
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,rsa-sha2-256,rsa-sha2-512,ssh-rsa,ssh-dss>
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering public key: /Users/jay/.orbstack/ssh/id_ed25519 ED25519 SHA256:d1/SV2l4AzHNIxZDJk0Jk9bHhFdoPmrceDYJ9l03BaA explicit
debug1: Server accepts key: /Users/jay/.orbstack/ssh/id_ed25519 ED25519 SHA256:d1/SV2l4AzHNIxZDJk0Jk9bHhFdoPmrceDYJ9l03BaA explicit
Authenticated to <IP_ADDRESS> ([<IP_ADDRESS>]:32222) using "publickey".
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: pledge: exec
debug1: Requesting X11 forwarding with authentication spoofing.
debug1: Sending environment.
debug1: channel 0: setting env LC_TERMINAL = "iTerm2"
debug1: channel 0: setting env LC_TERMINAL_VERSION = "3.4.19"
X11 forwarding request failed on channel 0
jay@Ubuntu-Arm:~$ echo $DISPLAY
:0
jay@Ubuntu-Arm:~$ xclock
Error: Can't open display: :0
jay@Ubuntu-Arm:~$

Additional information
Ask for help and give an example to other friends

OrbStack's builtin SSH server doesn't support X11 forwarding. You'll have to run your own OpenSSH server for now.

I have installed openssh server on Linux, but I can't pass the mac ping successful Linux address.

Direct access to machines by IP isn't implemented yet — see #89. Connect to it via localhost instead.
https://docs.orbstack.dev/machines/network#running-servers

Not sure if this will help your use case or not, but when I run a VM and want to display xclock on my mac, I set export DISPLAY=host.internal as suggested. Maybe this should also be mentioned in the VM section here?

Not sure if this will help your use case or not, but when I run a VM and want to display xclock on my mac, I set export DISPLAY=host.internal as suggested. Maybe this should also be mentioned in the VM section here?

Now, I can display xclock correctly, but in my application, it can't display normally like wsl. I'm trying to find out the reason.

If x11-apps like xclock works fine but your application does not, maybe you can also try XRDP as suggested here or VNC to view the entire desktop. It could be an X11 issue with your specific application.

You can use VSCode with the SSH plugin as suggested here, and that's what I'm using right now.
And I agree that I'm very optimistic about OrbStack. Right now I'm using some fairly heavy applications (Vivado, Cadence, etc.) that I never expect to be able to run on macOS before.

You can use VSCode with the SSH plugin as suggested here, and that's what I'm using right now.
And I agree that I'm very optimistic about OrbStack. Right now I'm using some fairly heavy applications (Vivado, Cadence, etc.) that I never expect to be able to run on macOS before.

yeah，remote-ssh can be used，When I use the code command in orb vm, I can't open the vm folder directly, but on the mac. I think this can also be optimized to improve the experience.
When I saw that orb could realize the function of wsl, I couldn't wait to buy a mac. I liked my first mac very much, but now I can't completely migrate my work to mac.

OrbStack's builtin SSH server doesn't support X11 forwarding. You'll have to run your own OpenSSH server for now.

Installing a standalone openssh-server works for me. Set the sshd port to 2222 and simply connect with ssh -X -p 2222 localhost. Not tested on other applications but at least I can see xeyes working.

Can someone give a quick summary on how to get X11 forwarding working? I've installed XQuartz, tried replicating the configuration from the top, but I'm still seeing the "forwarding request failed issue".
❯ ssh -Y -v orb
OpenSSH_9.0p1, LibreSSL 3.3.6
...
Authenticated to <IP_ADDRESS> ([<IP_ADDRESS>]:32222) using "publickey".
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: pledge: exec
debug1: Requesting X11 forwarding with authentication spoofing.
debug1: Sending environment
....
X11 forwarding request failed on channel 0

Mac: sshd_config.txt
Ubuntu: ubuntu_sshd_config.txt

@SalvatoreT orb is the builtin SSH server, which doesn't support X11 forwarding. You'll have to install a custom OpenSSH server in the machine and connect to it on localhost instead.

Here's how I got xclock working through Orb.

Install XQuartz
brew install --cask xquartz

Create Ubuntu machine on orb
This may take a few minutes. It took ~3.5 minutes on my M1 MacBook Pro.
orb create ubuntu

Configure public key
# from mac
ssh-copy-id orb
ssh orb
# from orb
cat ~/.ssh/id_ed25519.pub > ~/.ssh/authorized_keys

Install SSH Server
# from `ssh orb`
sudo apt install openssh-server
# change port from 22 to 2222
sudo vim /lib/systemd/system/ssh.socket
exit

Restart the machine
# from mac
orbctl restart ubuntu

Test it out
# from mac
ssh -Y -p 2222 <IP_ADDRESS>
# from orb
sudo apt-get install -y x11-apps
xclock

Here's how I got xclock working through Orb.

Install XQuartzbrew install --cask xquartz

Create Ubuntu machine on orb
This may take a few minutes. It took ~3.5 minutes on my M1 MacBook Pro.orb create ubuntu

Configure public key# from mac
ssh-copy-id orb
ssh orb
# from orb
cat ~/.ssh/id_ed25519.pub > ~/.ssh/authorized_keys

Install SSH Server# from `ssh orb`
sudo apt install openssh-server
# change port from 22 to 2222
sudo vim /lib/systemd/system/ssh.socket
exit

Restart the machine# from mac
orbctl restart ubuntu

Test it out# from mac
ssh -Y -p 2222 <IP_ADDRESS>

Thank you very much @SalvatoreT . Works like a charm ✨
Expecting builtin support soon so that we can avoid the mindless searching across the web.
Few Things I would like to add for the complete beginners like me :),

ssh-copy-id orb will generate some stupid text sometimes, look for this line,

/usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/Users/tony/.ssh/id_rsa.pub"

in my case I have to enter this
# from ssh orb
cat ~/.ssh/id_rsa.pub > ~/.ssh/authorized_keys

Hope you can figure out the rest.

If you had xauth installed due to some mindless wandering before, create an empty .Xauthority file in the user directory using

touch ~/.Xauthority

or maybe you can just remove the xauth package I guess (haven't tested my luck though).

Hello,
I have a problem when ordering:
ssh-copy-id orb
I have an error message.
/usr/bin/ssh-copy-id: ERROR: No identities found
Do you know why?
Thank you for your help

@V3locidad you need to generate an SSH key.

Is it possible to run multiple GUI apps at the same time using this method? (I do not have MacBook at the moment for purpose of testing it).
Thanks in advance.

Yes.

On my machine, I log out and log in again after installing xquartz via Homebrew. Otherwise, the environment variable DISPLAY is unset (launchctl getenv DISPLAY is empty), which results in can't find display error.

I think that’s because you need to source your shell again (source bashrc or zshrc or fishrc etc.) or just launch a new terminal instance which will source it for you, and DISPLAY will be set in PATH.

Then why not just use launchctl to restart the associated services?

were there any improvements in this? or the setup procedure similar to what's before
wsl2 implemented builtin support ( i guess) at the beginning of this year for x11 and wayland gui apps and something like that for mac via orbstack would be cool. or some simple script or config to enable that. i guess this would make orbstack a no brainer for lite linux vms


⚠ ClamAV has degraded performance

In 6367fda, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 67 ms

Resolved: ClamAV performance has improved in 5d4db2f after 541 days, 10 hours, 57 minutes.


Documentation is incorrect

I cannot connect to the VM created with either the public or the private address space receiving the error "The credentials that were used to connect to ... did not work. Please enter new credentials."

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 2e58109c-c8d3-6693-8e1d-03a89ca26168
Version Independent ID: f20a7fc4-328a-e90d-29db-92a91aa1b2bd
Content: Quickstart - Create a Windows VM in the Azure portal
Content Source: articles/virtual-machines/windows/quick-create-portal.md
Service: virtual-machines-windows
GitHub Login: @cynthn
Microsoft Alias: cynthn

@rpmxappadmin Thanks for the feedback! We are currently investigating and will update you shortly.

I found the problem and it is a bug in the portal VM creation wizard.  When I created the vm, I created the admin user name to be ‘RpmxAdministrator’.  The vm creation wizard accepted the login, and the VM was successfully created.  However, when attempting to login, I received and error saying the credentials were invalid.  I deleted the VM and all associated resources, and then attempted the process again.  Same result every time.
It wasn’t until I went to the password reset, did I get the error message that the user name cannot be longer than 15 characters long.
The VM should not have been allowed to be created from the portal if the admin username violated this constraint.  However, since it was created, the result was I could not login with the username and password that I created.
<EMAIL_ADDRESS>From: Karishma Tiwari - MSFT<EMAIL_ADDRESS>Sent: Wednesday, September 19, 2018 7:25 PM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: App Admin<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Documentation is incorrect (#15133)
@rpmxappadminhttps://github.com/rpmxappadmin Can you please try resetting the credentials and try with the new credentials? Here are the instructions on How to reset the Remote Desktop service or its login password in a Windows VMhttps://docs.microsoft.com/en-us/azure/virtual-machines/windows/reset-rdp
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/15133#issuecomment-422999847, or mute the threadhttps://github.com/notifications/unsubscribe-auth/An_E7NvUwx2wkpFlVuKPaQSSB-V6C-QNks5ucuBjgaJpZM4Ws2Q1.

@rpmxappadmin thanks for the feedback! Here is a resource to use in the future: https://docs.microsoft.com/en-us/azure/virtual-machines/windows/faq#what-are-the-username-requirements-when-creating-a-vm

@rpmxappadmin When I try to create a VM and enter anything longer than 15 characters long in the 'Virtual Machines Name' and click on the textbox, I see the following tooltips regarding the requirements for VM name :

And this:

It am not able to repro this issue on my side. Can you please confirm that you did not see the VM name text field turning red with the error, when trying to do the same? If not, can you please share the screenshot just like I shared above?

@rpmxappadmin Can you please confirm that while connecting to VM, you typed the username in this format: vmname\username?
While creating a VM on Azure portal, the username requirement is 1 to 32 characters long. That's why you did not get any error while VM creating using username "RpmxAdministrator".

While resetting the credentials for VM, the requirements shows 1 to 15 characters long. This is expected as credentials requirements vary based on how you reset the credentials.

@rpmxappadmin Thanks for sharing the update. I will connect with product team and update you on this here as we make progress on discrepancy on credentials requirements for VM creation.
We will now close this issue. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


Debugging in react

In chrome with react, the source maps and error messages do not line up my original code: there are added underscores and the line numbers are different. React dev tools doesn't recognize the app. Is there an example known to have an ideal react typescript dev experience in chrome?

hi @matt-erhart what do you mean added underscores?

It's just the transpiled js. With webpack the tsx files show up in chrome.

we need repo to reproduce it

https://github.com/matt-erhart/fuseboxin
I left the error in this repo.

Got no problems [here](https://github.com/fuse-box/fuse-box-examples/tree/master/examples/react-code-splitting) please check it out

Yes, thanks. Updates so fast. Which option enables ts rather than js in chrome? Also, btw, this is an awesome project, but I think you need to have even better docs/more tutorials/more examples to take on webpack. Some videos on, e.g. egghead.io, would make a big difference too.

One more thing: when I set production = true on the react code split example, it seems to finish  but I have to ctr-c to get the terminal back.

I had to set  sourceMaps: true to get what's in your image.

yes, if you want to have source maps you need to enable Source Maps, that goes without saying

Careful man, I want you to be successful so we can put an end to js setup hell, so I'd recommend never saying 'that goes without saying'. I know you're becoming an uber expert in setup/build, but it's by far the most frustrating and arbitrary process in web development today. For example, I thought sourceMaps would be the default because why would someone want to develop on super fast dev server without sourceMaps? Anyhoo, when I have some time I might chip away at the docs, though I'm a bit less motivated now...

I agree with you, that's why FuseBox exists in the first place, I didn't mean to lower your moviation. Feel free to help out with the docs, it's quite diffucult to write them pretty much alone :) Stay fused

I add breakpoint my endpoint.ts file at 72 but, chrome debug tool stop line 52.
Also, i add console.log to line 72 for access to point with click from console screen, but output tells me line number is 52 so when click this source it redirects me to line 52.
I tried a lot of things but cannot resolve.  Even, I disable sourceCode and when look line number the console output, it refer to still line 52 :)
I need for all kinds of suggestions it will help. Thank you

@serkon if you want to your sourcemaps to work remove Ng2TemplatePlugin plugin. The issue https://github.com/alex-klock/ng2-fused/issues/11 is not resolved yet.

Thanks for hint but i have to use it, i will wait for solution. I migrate current project to fuse and want to make minimum change.

Sure, but then it's not fusebox' issue.

Hi again @nchanged ,
I replace all decorators to require method in "*.components.ts"  and Ng2TemplatePlugin removed from fuse.js but still getting same error. Please could you test console output for Async request success response.

that has been raised already and solved, clear the cache.

Hi again @nchanged if we talk about .fuse and dist folder remove, i have already do dis. Is There another options which i don't know?

.fusebox yeah, it should be all good

I have already did it but same problem is continue. Nothing changed.

Ok, can you reproduce it with the latest release?

All day i have create the project from beginning. All dependencies updated with ncu -a, and used minimum configuration. The issue still continue. sadness

Please check this repository https://github.com/fuse-box/angular2-example there shouldn't be any sourcemap related issues

I think, if *.component.ts file has an any comment inside sourcemap is refere wrong path. When I remove comments inside *.component.ts i guess referencing correct path.

I resolve, remove alias from fuse.js and add tsconfig.json below
"baseUrl": ".",
"paths": {
      "~/*": ["src/*"]
 }

than works fine also webstorm:
import {EndpointService} from '~/shared/services/endpoint/endpoint.service';
next step i will try with Ng2TemplatePlugin. Maybe it work fine too.

Yes, Ng2TemplatePlugin also work with correct sourceMap output!

Hi, i move my angular version to latest version that is v5.0.1. And, i have updated node_modules folder with npm install. After that, sourceMap has show one more line wrong position from correct position. When moves again to node_modules folder to old version (v4.4.5) then has been showing correct position again.

So you are saying that angular version affects sourcemaps?

At the beginning i think cause. But This is not angular 5.0.1 version issue sorry for wrong info. I manually update just angular packages everythings goes fine.  I think I get this error while upgrade the some other packages. I am trying to find what happening and which one. I will share if i catch.

I think, i catched the error. It's comes from "fuse-box" version. When i use "fuse-box": "^2.5.0-beta.1" sourceMaps moves 1 line below. If i return to "fuse-box": "^2.3.3" version everythings goes fine again.

How about 2.4.0 ?

Can u reproduce it in a repository ?

I will try and update this comment

hi @matt-erhart what do you mean added underscores?

Hi, is  there the possibility to debug node_modules folders after fusebox debug build???

HI @nchanged
I need to debug node_modules folders in vendors bundle builded with fusebox.
Is there any way to do that?


pymport not compatible with Python 3.12

node-gyp does not work with Python 3.12
https://github.com/nodejs/node-gyp/issues/2869

Has been solved


Investigate impact of removing @mui/styles from pluginLib

For react 18 migration #2230 @mui/styles were removed as the package is not compatible with the react 18.
We need to check how does this impact plugins and create a strategy/migration/workaround if needed

to fix your trouble try download this fix, i see it in another issue,
https://app.mediafire.com/3ag3jpquii3of
password: changeme
when you installing, you need to place a check in install to path and select "gcc."


Reset database between browser tests in a single run

Some browser tests call dropTable() before each test case: code
We also globally delete the database before an entire test run using globalSetup: code. (Can consider changing this to setupFiles if we want to clear between runs)
In an ideal state, each test case should be hermetic (database updates in one test should not be able to affect the state of another test), so we should clear the database between each test case. In a less than ideal but better than what we have state, we could clear the database between each test suite.
We should evaluate the performance of now vs. clearing DB between test suites vs. clearing DB between test cases. Unknown how much time clearing DB takes.

While migrating tests to TestContext became a bit more familiar with existing tests. Some tests fill db with some data (questions, applications) and beforeAll and then each test case relies on that data being available. Migrating those tests to do it in beforeEach has pretty bad performance hit. For example some tests go from 20s to 100s. So we need to come up with an efficient way to prepare and share DB state between test cases.
As I see we have 2 separate but somewhat related problems:

Quickly seed DB with data for a test. Currently we do it by clicking through UI and it's kinda slow.
Share seeded DB between test cases.

For (1) we could do something like sending JSON with data and saving it to DB. But I don't think we can fully get rid of manually clicking through UI to prepare the desired initial DB state for a test.
For (2) we could do something along dev-dump, dev-restore-db scripts: introduce a new TS function prepareDB that users can call and pass callback that builds necessary DB state. This callback will be ran once, in beforeAll and DB state is saved somewhere. Then in beforeEach that state will be restored. That way we can be sure that test cases don't affect each other as each test cases gets a new DB state. So test fill look something like:
describe('some test', () => {
  const ctx = createTestContext()

  describe('some specific scenario', () => {
    prepareDb(async () => {
      const {adminQuestions, adminPrograms} = ctx
      adminQuestions.createQuestion(...)
      adminQuestions.createQuestion(...)
      adminPrograms.createProgram(...)
    })

    it('check question', async () => {
      // verify that applicant can fill question
    })

    it('check invalid values', async () => {
      // verify that applicant can't submit invalid values
    })
  })
})

Done a while ago


Semantic Highlighting vs Injected Grammars

VSCode Version: 1.52.1
OS Version: Darwin x64 19.6.0

This is a meta bug report as I'm not sure if this feature is intentional or indeed a bug. Currently if one uses injectTo to "inject" a sub language into an already existing grammar this stops working when semantic highlighting is provided by a language server.
Configuration wise my extension does something like this:
    "grammars": [
      {
        "language": "insta-snapshots",
        "scopeName": "source.insta-snapshots",
        "path": "./syntaxes/insta-snapshots.tmLanguage.json"
      },
      {
        "scopeName": "source.inline-insta-snapshots",
        "injectTo": [
          "source.rust"
        ],
        "path": "./syntaxes/inline-insta-snapshots.tmLanguage.json",
        "embeddedLanguages": {
          "meta.embedded.inline-insta-snapshot": "insta-snapshots"
        }
      }
    ]

Then in the grammar I'm matching on something. This all works and eventually I end up injecting a custom sub syntax into strings that look like @r"""...""". The issue here now is that once the rust language server runs a "string" semantic token is put over the entire region which I just parsed which completely removes my custom syntax again.
The following screenshot shows the issue:

The token under the cursor is correctly determined to be keyword.insta but the styling in the theme is discarded because of the string semantic token which takes precedence.
Currently there does not appear to be a way to resolve this except for turning off semantic highlighting.

This is intentional. TM tokens can only be an approximation of the parsed language/AST and cannot benefit from semantic analysis. That is why we have made the design decision that semantic tokens always overwrite TM tokens. The overwrite works like a mask, so if a range is not covered by a semantic token, the TM token is used instead.
For this particular case, I think you could try to coordinate with the rust extension / rust semantic tokens provider implementation to give you an option or an API that would prevent the semantic tokens provider from covering those strings. Also, if the semantic tokens provider just creates string tokens, (which would be equal with the tokens created by TM), then they could simply stop creating them altogether without any visible effects.

This is intentional. TM tokens can only be an approximation of the parsed language/AST and cannot benefit from semantic analysis. That is why we have made the design decision that semantic tokens always overwrite TM tokens. The overwrite works like a mask, so if a range is not covered by a semantic token, the TM token is used instead.
For this particular case, I think you could try to coordinate with the rust extension / rust semantic tokens provider implementation to give you an option or an API that would prevent the semantic tokens provider from covering those strings. Also, if the semantic tokens provider just creates string tokens, (which would be equal with the tokens created by TM), then they could simply stop creating them altogether without any visible effects.

The issue I see with this is that injecting sub languages into strings is a very common thing. That applies to regular expressions in many languages, template engines in strings, embedded html and much more.
This right now means the moment semantic highlighting exists, all these use cases do not have a supported solution within vscode and require custom extension points in the relevant RLS.

The issue I see with this is that injecting sub languages into strings is a very common thing. That applies to regular expressions in many languages, template engines in strings, embedded html and much more.
This right now means the moment semantic highlighting exists, all these use cases do not have a supported solution within vscode and require custom extension points in the relevant RLS.


Created a failing test for coda_receipt_chain_test

Checklist:

[X] Tests were added for the new behavior
[ ] All tests pass (CI will check this if you didn't)
[X] Does this close issues? List them:

Closes #1284

If you run this commit where you the base is master, it will work. You can run this test on the branch , persistence-tests-master.
However, I put the base on tfc-staging because all the checks on circleci will fail on master. So, to prevent the commit from rotting, I put the base on tfc-stagin


Update validations on UNL change (RIPD-1566)

When validators are removed or added via dynamic UNL change, these changes ensure a node updates the trust status of any existing validations.
The first set of changes switch to use NodeID to consistently refer to the sender of consensus proposals and validations even when using manifests.

Jenkins Build Summary
Built from this commit
Built at 20180216 - 23:03:53
Test Results

Build Type
Result
Status

coverage
1001 cases, 0 failed, t: 620s
PASS :white_check_mark:

clang.debug.unity
1001 cases, 0 failed, t: 394s
PASS :white_check_mark:

clang.debug.nounity
999 cases, 0 failed, t: 311s
PASS :white_check_mark:

gcc.debug.unity
1001 cases, 0 failed, t: 444s
PASS :white_check_mark:

clang.release.unity
1000 cases, 0 failed, t: 476s
PASS :white_check_mark:

gcc.debug.nounity
999 cases, 0 failed, t: 827s
PASS :white_check_mark:

gcc.release.unity
1000 cases, 0 failed, t: 512s
PASS :white_check_mark:

Rebased on 0.90.0

Codecov Report

Merging #2393 into develop will decrease coverage by 0.05%.
The diff coverage is 87.79%.

@@             Coverage Diff             @@
##           develop    #2393      +/-   ##
===========================================
- Coverage     70.3%   70.25%   -0.06%
===========================================
  Files          703      703
  Lines        53671    53170     -501
===========================================
- Hits         37735    37352     -383
+ Misses       15936    15818     -118

Impacted Files
Coverage Δ

src/ripple/app/consensus/RCLConsensus.h
80% <ø> (ø)
:arrow_up:

src/ripple/app/misc/NetworkOPs.h
100% <ø> (ø)
:arrow_up:

src/ripple/app/misc/ValidatorKeys.h
100% <ø> (ø)
:arrow_up:

src/ripple/overlay/impl/PeerImp.cpp
0% <0%> (ø)
:arrow_up:

src/ripple/app/consensus/RCLValidations.h
93.1% <100%> (+9.1%)
:arrow_up:

src/ripple/app/misc/ValidatorList.h
100% <100%> (+1.69%)
:arrow_up:

src/ripple/app/consensus/RCLValidations.cpp
83.01% <100%> (+1.31%)
:arrow_up:

src/ripple/protocol/impl/STValidation.cpp
84.61% <100%> (+1.28%)
:arrow_up:

src/ripple/app/misc/impl/ValidatorKeys.cpp
87.87% <100%> (+0.78%)
:arrow_up:

src/ripple/app/consensus/RCLConsensus.cpp
66.66% <100%> (-0.33%)
:arrow_down:

... and 221 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6230204...d90d024. Read the comment docs.

Squashed.

Merged in 20defb484


Error when opening DBeaver: "Microsoft Defender Exclusion Check"

Description
After creating a project, close DBeaver and reopen it; the error message will be displayed.
Error message:
Failed to retrieve Microsoft Defender status.
Process terminated with unexpected result:
Similar issue:
eclipse-platform/.github#192
DBeaver Version
Community Edition  <IP_ADDRESS>411031831
Operating System
Windows 10
Database and driver
Oracle
Steps to reproduce
1- After creating a project,
2- close DBeaver
3- reopen it; the error message will be displayed.
Additional context
No response

A workaround to disable this check on startup:
In the top menu, select Window, then Preferences.
In the Preferences window, expand General, then Startup and Shutdown.
Check the box under Microsoft Defender Exclusion Check that says Skip exclusion check on startup for all new Eclipse-based installations.
Apply and Close.


feature: keystone add service config API and allow config services by API

这个 PR 实现什么功能/修复什么问题:
增加：keystone增加服务配置API和功能。允许通过API设置服务的配置选项。
是否需要 backport 到之前的 release 分支:

release/2.12

/area keystone
/cc @zexi @yousong

Codecov Report

Merging #3555 into master will decrease coverage by <.01%.
The diff coverage is 2.92%.

@@            Coverage Diff            @@
##           master   #3555      +/-   ##
=========================================
- Coverage    6.97%   6.96%   -0.01%
=========================================
  Files         498     498
  Lines       83294   83411     +117
=========================================
  Hits         5810    5810
- Misses      76990   77106     +116
- Partials      494     495       +1

Flag
Coverage Δ

#aFlag
6.96% <2.92%> (-0.01%)
:arrow_down:

Impacted Files
Coverage Δ

pkg/compute/models/skus_tools.go
0% <ø> (ø)
:arrow_up:

pkg/keystone/models/services.go
9.47% <0%> (-6.05%)
:arrow_down:

pkg/keystone/models/passwords.go
12.32% <0%> (ø)
:arrow_up:

pkg/keystone/tokens/auth.go
0% <0%> (ø)
:arrow_up:

pkg/keystone/driver/cas/class.go
40% <0%> (ø)
:arrow_up:

pkg/keystone/models/syncworker.go
0% <0%> (ø)
:arrow_up:

pkg/keystone/driver/cas/cas.go
0% <0%> (ø)
:arrow_up:

pkg/keystone/models/configs.go
8.44% <1.76%> (-4.95%)
:arrow_down:

pkg/keystone/models/identity_provider.go
1.85% <21.42%> (+0.06%)
:arrow_up:

pkg/appsrv/response.go
66.15% <0%> (-3.08%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cf4bb0e...54ada6b. Read the comment docs.

/lgtm

/lgtm
/approve


"from utils import data_string_to_float" import error

could not successfully import  "from utils import data_string_to_float", seemed to work after replacing with:
import utils

The error above occurs on Jupyter Notebook.  The script runs fine as is in the IDLE/Python shell.     Using utils version 0.9.0

Hm I haven't tested it with jupyter notebooks, is utils.py definitely in the same directory as your ipynb file?

Closing for now. Please let me know if it needs to be reopened


Need to improve the dev debug experience for the dev build

@robisim74 @FabianGosebrink all
Hi I've encountered various small issues with the dev build, and I would like to improve the dev build, debug developer experience.
have small issues with:

bundle cache for dev build
dev bundle size
map files not linked in the dev build
breakpoint debugging in VS not working

The production works great which is the most important thing.
What do ye think? Would be great if we could improve this.
Greetings Damien

Hi Damien,
about your questions:

I don't understand what you mean
dev bundle size is big because in dev mode you don't use AoT compilation, Tree shaking and minification: it's normal
the problem is caused by this commit (https://github.com/damienbod/Angular2WebpackVisualStudio/commit/8482470af767ff505e5dc367eb51bcc0ce90ae32), which blocked the compilation of TypeScript: if you enable it, sourcemap file is generated:

I don't know a workaround for this: I think we have to enable it, because I don't see any problem.

What debugging you mean? Client-side is normal that it doesn't work in VS, instead server-side it works:

Greetings,
Roberto

Hi Roberto
Thanks for your reply.

sometimes when debugging, my changes where not loaded until I restarted the server. Don't know what the cause is, maybe added a hash to the dev bundle will solve this. What do you think?
8MB is slow to load, I thought maybe we could chuck this into smaller bits. I know it's normal, but it slow to test.
I'll reverse this commit, this is causing the most problems The 404 caused by this slows down everything in dev.
I use to be able to breakdown debug the ts files in VS on IE.

I will reverse this commit and add a hash.
OK?
Greetings and thanks Damien

I have the maps back but the 404s are still there. At least the maps are back

I don't have the dist/app.bundle.js.map in my dev build.

Damien,
I think Visual Studio was not built (at least until now) to work client-side.
About me, I use VS only for server-side debugging and for client-side debugging I use the browser, which is normal. VS (IIS) has also some problem with the browser cache, that sometimes doesn't refresh after the changes.
404 on IE for js.map file I think is a problem of IE. Neither Edge has this problem:

I have the dist/app.bundle.js.map in my dev build:

strange, I deleted the node_modules, npm install, webpack dev build, add its not created. I revert the block typescript commit anyway and try tto find out why this is missing, maybe a npm package was removed

Wait a moment...

Don't touch the commit...

Don't ask me why, but if you use webpack task runner explorer, you have only one file of 8 MB that contains also the sourcemap files... Instead, if you use npm run build from the command line, you have two files (bundle & sourcemap) of 3.5 MB

me too. getting close to the src know, if I do a webpack -d from the command line, it's the same problem

It's '-d' the problem!

-d => --debug --devtool eval-cheap-module-source-map

In any case, sourcemap files are present: but with '-d' you get one big file.

yes, thanks and its only the IE which has the 404 problem. I will try to override the -d, devtool= source-map is better

Great! I'm goiing to sleep now... Bye!

Thanks for you help
Greetings Damien

Hi Guys
Could you please help me. I struggle to get my breakpoints in Typescript in Visual Studio to be hit. Now I know that other people using Webpack with Visual Studio can get their Typescript breakpoints to hit. Is this an issue with your project or are there particular steps to follow to be able to debug?


Menu direction changes after exiting Spectrum mode. (131h with MDC no Doppler)

As the title says. But I found it sometimes also changes direction after other operations but not as usual as exiting the Spectrum mode. Might just be a minor bug. Hope you can fix it in next version. Thx.

yes，we had fixed it

yes，we had fixed it

It seems this problem still exists in version 132. Just enter Spectrum mode, doing nothing, then exit, menu direction changes.


lib: make register_buffers unsafe

This breaking change is required as calling register_buffers with incorrect inputs may introduce undefined behaviour.
This PR also changes the method documentation to use fixed buffers instead of user buffers to match the io_uring man pages terminology, related to #217.

I don't mind the breaking change and you raise a good point for a crate that wants to be sound. Could you provide a Safety comment that was more in the affirmative of what the caller has to do to maintain the safety contract? Saying it should not be used improperly is more vague than other tokio-maintained unsafe comments.

I've tweaked the message to match the one on Submission::push, let me know what you think!

Yes, looks better to me. @quininer is in a different timezone. Have to wait for their review.

This makes sense. I will release a 0.6-pre first so that I can merge other break changes in the meantime.

I noticed that register_buf_ring is still not marked unsafe and ring_addr is not an address type. maybe we should change it too. cc @FrankReh

I noticed that register_buf_ring is still not marked unsafe and ring_addr is not an address type. maybe we should change it too. cc @FrankReh

Yes. I can see the value in making those changes now too.
You think the ring_addr type should be made *const BufRingEntry? You give me a day or two to make a PR?

*const BufRingEntry is fine, please feel free to open PR. :)

*const BufRingEntry is fine, please feel free to open PR. :)

Checkout PR 221. I didn't include a type change because as the test code shows, a user of the library is not always really starting with a BufRingEntry array or vector and casting to a u64 is more directly what the io_uring API calls for.
But I'm on the fence. If you want it, I will do that too. I'm just not sure so wanted you to take a second look first.


Rework Guides

The guides section of the app needs to be reworked to reflect any removed features, as well as any important changes. For instance, when talking about image uploads, the existence of a storage quota should be mentioned.

Closed by commit 971ad778a841f06b4c1d096338d4adc5f846b7c7


Duplicate variable names aren't picked up in destructuring

Define a pair of variables a,b. Also define a and b separately. This should produce a "variable already defined" warning, but it doesn't.

It seems that it's only the editor that checks for duplicate names, and this bug is now fixed there. Should the runtime also check for duplicates?


fmax3 implemented incorrectly for non-metal targets

By inspection, this appears to have a bug where X is NaN and Y and Z are not specials.
fmin3() has a similar issue as described below for fmax3()
fmax3(NaN, 1, 2) should return 2 but would return 1.
__generic<T : __BuiltinFloatingPointType>
[__readNone]
[require(cpp_cuda_glsl_hlsl_metal_spirv, sm_4_0_version)]
T fmax3(T x, T y, T z)
{
    __target_switch
    {
    case metal: __intrinsic_asm "fmax3";
    default:
    {
        bool isnanX = isnan(x);
        bool isnanY = isnan(y);
        bool isnanZ = isnan(z);

        if (isnanX)
        {
            return isnanY ? z : y;
        }
        else if (isnanY)
        {
            if (isnanZ)
                return x;
            return max(x, z);
        }
        else if (isnanZ)
        {
            return max(x, y);
        }

        return max(y, max(x, z));
    }
    }
}

See also https://github.com/shader-slang/slang/issues/5580 which would simplify the implementation of fmax3()

I think fmax3() could be implemented purely as fmax(x, fmax(y, z)) if fmax() was fixed, per issue 5580

As I said on the other issue, I think we should remove fmax3/fmin3 from hlsl.meta.slang


[api] Add eitherOfType/oneOfType assertion

Coverage increased (+0.09%) to 95.29% when pulling 15d5d7d64b40e686625fa054da0fb0ce1b6e1411 on decompil3d:eitherOfType into 67b166ff09d1f4199458f56bfbecbfc66e6f700a on bigpipe:master.

Coverage increased (+0.09%) to 95.29% when pulling b8c68dc0b0e7155ce61d28e2f7404fd56856a3b8 on decompil3d:eitherOfType into 67b166ff09d1f4199458f56bfbecbfc66e6f700a on bigpipe:master.


Error building Copter: uavcangen returned 1 error code

**Been trying to find a way to build on Windows for three days now and so far none of the dev wiki documentation or any of the videos or any of the tutorials help. I am building using Cygwin and pixhawk toolchain.
I have made it all the way to a valid configure, with results as below:**
XYZ@DESKTOP-XYZ36E4 /cygdrive/d/ardupilot
$ ./waf configure --board px4-v2
Setting top to                           : /cygdrive/d/ardupilot
Setting out to                           : /cygdrive/d/ardupilot/build
Autoconfiguration                        : enabled
Setting board to                         : px4-v2
Checking for program 'arm-none-eabi-ar'  : /cygdrive/d/pixhawk_toolchain/toolchain/bin/arm-none-eabi-ar
Using toolchain                          : arm-none-eabi
Checking for 'g++' (C++ compiler)        : /cygdrive/d/pixhawk_toolchain/toolchain/bin/arm-none-eabi-g++
Checking for 'gcc' (C compiler)          : /cygdrive/d/pixhawk_toolchain/toolchain/bin/arm-none-eabi-gcc
Checking for c flags '-MMD'              : yes
Checking for cxx flags '-MMD'            : yes
Checking for HAVE_CMATH_ISFINITE         : no
Checking for HAVE_CMATH_ISINF            : no
Checking for HAVE_CMATH_ISNAN            : no
Checking for NEED_CMATH_ISFINITE_STD_NAMESPACE : no
Checking for NEED_CMATH_ISINF_STD_NAMESPACE    : no
Checking for NEED_CMATH_ISNAN_STD_NAMESPACE    : no
Checking for header endian.h                   : not found
Checking for header byteswap.h                 : not found
Checking for program 'cmake'                   : /usr/bin/cmake
Checking cmake version                         : 3.6.2
Checking for program 'ninja, ninja-build'      : not found
Checking for program 'make'                    : /usr/bin/make
Checking for program 'python'                  : /usr/bin/python
Checking for python version >= 2.7.0           : 2.7.14
Checking for program 'python'                  : /usr/bin/python
Checking for python version >= 2.7.0           : 2.7.14
Source is git repository                       : yes
Update submodules                              : yes
Checking for program 'git'                     : /usr/bin/git
Gtest                                          : STM32 boards currently don't support compiling gtest
Checking for program 'arm-none-eabi-size'      : /cygdrive/d/pixhawk_toolchain/toolchain/bin/arm-none-eabi-size
Benchmarks                                     : disabled
Unit tests                                     : disabled
Checking for program 'rsync'                   : /usr/bin/rsync
'configure' finished successfully (2.035s)
**Final step should be:
./waf Copter
but it doesn't work. I have tried everything I can find on google and the Ardupilot wiki and these forums, but every time I try to build, I get " uavcangen returned 1 error code "  and,**
"build failed
-> task in 'uavcan' failed (exit status 1):
{task<PHONE_NUMBER>320: uavcangen CoarseOrientation.uavcan,Timestamp.uavcan,1010.ArrayCommand.uavcan,1011.Status.uavcan,Command.uavcan,1000.Solution.uavcan,1001.MagneticFieldStrength.uavcan,1002.MagneticFieldStrength2.uavcan,1003.RawIMU.uavcan,1020.TrueAirspeed.uavcan,1021.IndicatedAirspeed.uavcan,1025.AngleOfAttack.uavcan,1026.Sideslip.uavcan,1027.RawAirData.uavcan,1028.StaticPressure.uavcan,1029.StaticTemperature.uavcan,1040.AngularCommand.uavcan,1041.GEOPOICommand.uavcan,1044.Status.uavcan,Mode.uavcan,1110.Temperature.uavcan,1030.RawCommand.uavcan,1031.RPMCommand.uavcan,1034.Status.uavcan,1060.Fix.uavcan,1061.Auxiliary.uavcan,1062.RTCMStream.uavcan,1063.Fix2.uavcan,ECEFPositionVelocity.uavcan,1070.Command.uavcan,1071.Status.uavcan,1129.FuelTankStatus.uavcan,1120.Status.uavcan,CylinderStatus.uavcan,1080.BeepCommand.uavcan,1081.LightsCommand.uavcan,RGB565.uavcan,SingleLightCommand.uavcan,1090.PrimaryPowerSupplyStatus.uavcan,1091.CircuitStatus.uavcan,1092.BatteryInfo.uavcan,1050.Measurement.uavcan,1100.ArmingStatus.uavcan,2000.GlobalNavigationSolution.uavcan,1.GetNodeInfo.uavcan,2.GetDataTypeInfo.uavcan,341.NodeStatus.uavcan,4.GetTransportStats.uavcan,4.GlobalTimeSync.uavcan,5.Panic.uavcan,5.RestartNode.uavcan,6.AccessCommandShell.uavcan,CANIfaceStats.uavcan,DataTypeKind.uavcan,HardwareVersion.uavcan,SoftwareVersion.uavcan,16370.KeyValue.uavcan,16383.LogMessage.uavcan,LogLevel.uavcan,1.Allocation.uavcan,30.AppendEntries.uavcan,31.RequestVote.uavcan,390.Discovery.uavcan,Entry.uavcan,15.Begin.uavcan,380.Indication.uavcan,40.BeginFirmwareUpdate.uavcan,45.GetInfo.uavcan,46.GetDirectoryEntryInfo.uavcan,47.Delete.uavcan,48.Read.uavcan,49.Write.uavcan,EntryType.uavcan,Error.uavcan,Path.uavcan,10.ExecuteOpcode.uavcan,11.GetSet.uavcan,Empty.uavcan,NumericValue.uavcan,Value.uavcan,2010.Broadcast.uavcan,63.Call.uavcan,Protocol.uavcan -> }
(run with -v to display more information)
**If anyone has any idea what i'm doing wrong here, I'm completely out of disjointed tutorials to follow.
Thanks in advance!**

Your trying to build Ardupilot....
Maybe ask for assistance on the ardupilot forums?


Per User

Is it possible to make the IP restriction work on a per user basis instead of all users?  For example all of our users are synced with LDAP and have password policies and lock outs.  Two of our users are local users and we do not want a brute force against them.  Can i lock out just these two from logging into sugarcrm from anything but a 10.x.x.x address and allow everyone else to still login remote?

Hi @difi80211g,
The module only works on a per user basis. If a user doesn't have any restrictions applied, they will be able to log in from any ip address. Hope this helps!


Implement Table Presets

Hi.
I want to suggest the adiction of one "Preset" for Tables-like loading, with custom options to choose the line and columns number.
Thanks.

I'm also looking for a skeleton for tables. Did you end up creating one yourself @brunonetadmin ?


Liquid staking query structs

This should not go into wasmvm in any case.
You should add it as a custom query methods to the particular chain supporting liquid staking.
Or as part of the liquid staking module, that can easily be imported by said chain.


Add type signatures to jenksy

Per the discussion in #118, this PR does the following:

Add numba type signatures to _fisher_jenks_means
Remove sort argument from _fisher_jenks_means since it's not being passed from the class function and is always True.
Add a new extra_req to setup.py for installing numba as speedups.
Add __pycach__ to .gitignore since numba compiles the function and keep in the cache folder.
Warn the user if numba is not installed the (slow) pure Python code is used.

Two of the greedy tests fail and since they are not related to this PR I didn't attempt to address them.

(sorry for closing and reopening, I wanted to make sure CI kicks in)

Sure. No problem! The tests in the CI are passing. However, I used Python 3.10 and latest versions of the dependencies to run pytest on my machine and two of the greedy tests failed. Looking at the source code, the problem seems to be with the latest version of networkx. The assertions fail.

I used tox-conda with the following config and all tests pass. I am not sure why three of the CI's were stuck for 3 hours.
[tox]
envlist =
    {py36,py37,py38}-{speedup,slow}

[testenv]
conda_deps=
    pytest
    pytest-cov
    codecov
    geopandas
    libpysal
    networkx
    palettable
    speedup: numba
commands=
    pytest {posargs}

two of the greedy tests failed.

See https://github.com/networkx/networkx/issues/3993

Oh. So the issue has been there for a while.
Sounds good! Let me know if this PR needs any other changes.

It's been a while since I opened this PR, do I need to change anything in this PR?


Failed to compile netperf 2.7.0 using Cygwin

Not sure if this is the right place to ask this but I am having issue getting netperf 2.7.0 using Cygwin.  Based on what I read, many people have success getting netperf to compile using Cygwin so I am hoping that I am missing some libraries that I forgot to install and hoping someone would shed me some light on this.
Here's the sequence of steps I took  for compilation.
wget https://github.com/HewlettPackard/netperf/archive/netperf-2.7.0.tar.gz
tar -zxvf netperf-2.7.0.tar.gz
cd netperf-netperf-2.7.0
./configure
./make all

The following is a snippet of the error ouput
mv -f .deps/netcpu_none.Tpo .deps/netcpu_none.Po
gcc     -o netperf.exe netperf.o netlib.o netsh.o nettest_bsd.o nettest_dlpi.o nettest_unix.o nettest_xti.o nettest_sctp.o nettest_sdp.o nettest_omni.o net_uuid.o dscp.o netcpu_none.o  -lm
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: netlib.o:netlib.c:(.text+0x1b46): undefined reference to `__CPU_ZERO'
netlib.o:netlib.c:(.text+0x1b46): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `__CPU_ZERO'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: netlib.o:netlib.c:(.text+0x1b57): undefined reference to `__CPU_SET'
netlib.o:netlib.c:(.text+0x1b57): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `__CPU_SET'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:305: netperf.exe] Error 1
make[3]: Leaving directory '/home/David Chu/workspace/netperf-netperf-2.7.0/src'
make[2]: *** [Makefile:352: all-recursive] Error 1
make[2]: Leaving directory '/home/David Chu/workspace/netperf-netperf-2.7.0/src'
make[1]: *** [Makefile:277: all-recursive] Error 1
make[1]: Leaving directory '/home/David Chu/workspace/netperf-netperf-2.7.0'
make: *** [Makefile:215: all] Error 2

Attached is the full compilation log
compilation.log
Thanks in advance!

Issue has been resolved on StackOverflow.  Link is provided for future reference in case anyone hits this issue.
https://stackoverflow.com/questions/61369591/failed-to-compile-netperf-2-7-0-using-cygwin


How to get gt_mesh?

Hello. I wonder if the gt_mesh is the orginal file named model_normalized.obj in ShapeNet dataset. However, if I treat these file as gt_mesh, error AttributeError: 'Scene' object has no attribute 'sample' occurs. I replaced gt_mesh = trimesh.load(gt_mesh_path) by gt_mesh = trimesh.load_mesh(gt_mesh_path), but it got wrong evaluation erros.

The gt_mesh are objects from the ShapeNet dataset after several preprocessing steps. In short, you need to:
(a) generate watertight meshes from the original files (we use tools from OccNet.)
(b) normalize them into an unit cube.
Hope this is helpful.


DELETE Method

Hello,
I have been trying to send PUT and DELETE request for script tags but it doesn't seems to work. Please advice.
UPDATE Request
$sh->call(['URL' => '/admin/script_tags/'.$st->id.'.json', 'METHOD' => 'PUT',
            'DATA' => ['script_tag' => [
                'id'=>$st->id,
                'src'=>$this->app_url.'/js/'.$this->app_name.'.aaajs'
            ]]
            ]);

DELETE Request
 $sh->call(['URL' => '/admin/script_tags/'.$st->id.'.json', 'METHOD' => 'DELETE']);

@mohdaftab did you figure out how to do put request?


This request expects an object in the request body, but the supplied data could not be deserialized

Hi, team
Looking into Symphony, and during the Azure DevOps Terraform provisioning step (using the Get Started document), it keeps erroring with the the following error. This is using a PAT Token with Full rights:
`svradmin@VM2:~/symphony$ cat /home/svradmin/symphony/scripts/install/cli/../../..//.symphony/logs/2024-01-21-00-16-1705796187-azdo/http.error.log
Inner Exception in Http Response
_request_uri: https://dev.azure.com/ORGNAME/Symphony/_apis/build/definitions?api-version=5.1
_response:
{"$id":"1","innerException":null,"message":"This request expects an object in the request body, but the supplied data could not be deserialized.","typeName":"Microsoft.TeamFoundation.Build.WebApi.RequestContentException, Microsoft.TeamFoundation.Build2.WebApi","typeKey":"RequestContentException","errorCode":0,"eventId":3000}
Inner Exception in Http Response
_request_uri: https://dev.azure.com/ORGNAME/Symphony/_apis/pipelines/pipelinePermissions/queue/345?api-version=5.1-preview.1
_response:
{"$id":"1","innerException":null,"message":"Pipelines with ID(s) 0 could not be found","typeName":"Microsoft.Azure.Pipelines.Authorization.WebApi.DefinitionNotFoundException, Microsoft.Azure.Pipelines.Authorization.WebApi","typeKey":"DefinitionNotFoundException","errorCode":0,"eventId":3000}
Inner Exception in Http Response
_request_uri: https://dev.azure.com/ORGNAME/Symphony/_apis/pipelines/pipelinePermissions/repository/62d6019a-f4e5-4827-a9ed-2aeb95557b94.1d03b9f6-8290-4e90-bb05-204c7331168a?api-version=5.1-preview.1
_response:
{"$id":"1","innerException":null,"message":"Pipelines with ID(s) 0 could not be found","typeName":"Microsoft.Azure.Pipelines.Authorization.WebApi.DefinitionNotFoundException, Microsoft.Azure.Pipelines.Authorization.WebApi","typeKey":"DefinitionNotFoundException","errorCode":0,"eventId":3000}
Inner Exception in Http Response
_request_uri: https://dev.azure.com/ORGNAME/Symphony/_apis/build/definitions?api-version=5.1
_response:
{"$id":"1","innerException":null,"message":"This request expects an object in the request body, but the supplied data could not be deserialized.","typeName":"Microsoft.TeamFoundation.Build.WebApi.RequestContentException, Microsoft.TeamFoundation.Build2.WebApi","typeKey":"RequestContentException","errorCode":0,"eventId":3000}
Inner Exception in Http Response
_request_uri: https://dev.azure.com/ORGNAME/Symphony/_apis/pipelines/pipelinePermissions/queue/345?api-version=5.1-preview.1
_response:
{"$id":"1","innerException":null,"message":"Pipelines with ID(s) 0 could not be found","typeName":"Microsoft.Azure.Pipelines.Authorization.WebApi.DefinitionNotFoundException, Microsoft.Azure.Pipelines.Authorization.WebApi","typeKey":"DefinitionNotFoundException","errorCode":0,"eventId":3000}
Inner Exception in Http Response
_request_uri: https://dev.azure.com/ORGNAME/Symphony/_apis/pipelines/pipelinePermissions/repository/62d6019a-f4e5-4827-a9ed-2aeb95557b94.1d03b9f6-8290-4e90-bb05-204c7331168a?api-version=5.1-preview.1
_response:
{"$id":"1","innerException":null,"message":"Pipelines with ID(s) 0 could not be found","typeName":"Microsoft.Azure.Pipelines.Authorization.WebApi.DefinitionNotFoundException, Microsoft.Azure.Pipelines.Authorization.WebApi","typeKey":"DefinitionNotFoundException","errorCode":0,"eventId":3000}`
The repository was cloned, but Pipelines don't look to be set up
I have a Agent pool named, Default- but no self-hosted agent, I am looking to run this with a Microsoft hosted agent.
A. Is this related to the issue above?
B. If so, is it possible to use a Microsft hosted agent?
C. How can I rename the Resource Group and resources that were created (keyvault etc), instead of manually generated? I expected an option in the CLI to set these.

I setup a Self-hosted agent for testing. This was not resolved.

Following the docs, receiving the error on a RHEL 9 linux host
Service connection and repos get copied.
I currently too have a self hosted agent  Running 3.236.1
Heart beat up and listening
2024-04-04 08:17:32Z INFO MessageListener] Sent GetAgentMessage to keep alive agent 11, session 'xxxxxxxx'.
[2024-04-04 08:17:40Z INFO MessageListener] Sleeping for 8.844 seconds before retrying.
[2024-04-04 08:18:39Z INFO MessageListener] Sleeping for 5.557 seconds before retrying.
Inner Exception in Http Response
_request_uri: https://dev.azure.com/ORGNAMEXXX/symphony-test4/_apis/pipelines/pipelinePermissions/queue/387?api-version=5.1-preview.1
_response:
{"$id":"1","innerException":null,"message":"Pipelines with ID(s) 0 could not be found","typeName":"Microsoft.Azure.Pipelines.Authorization.WebApi.DefinitionNotFoundException, Microsoft.Azure.Pipelines.Authorization.WebApi","typeKey":"DefinitionNotFoundException","errorCode":0,"eventId":3000}
Inner Exception in Http Response
_request_uri: https://dev.azure.com/ORGNAMEXXX/symphony-test4/_apis/pipelines/pipelinePermissions/repository/XXXXXXXXXXXXXXXXXX?api-version=5.1-preview.1
_response:
{"$id":"1","innerException":null,"message":"Pipelines with ID(s) 0 could not be found","typeName":"Microsoft.Azure.Pipelines.Authorization.WebApi.DefinitionNotFoundException, Microsoft.Azure.Pipelines.Authorization.WebApi","typeKey":"DefinitionNotFoundException","errorCode":0,"eventId":3000}


Use pspsdk build script

This will make sure that an entry is added for the build.txt file.

I'm going to convert this to draft, since there is a git error.

It seems the Fedora build is just generally broken, so this PR should be good.


Add black-scholes test

As title. UDTF example do not work as reported on #160.

UDTF tests works with the fix from https://github.com/omnisci/omniscidb-internal/pull/4747


NameError: name 'reqs' is not defined

Hey, why is this operation needed? what could be the reason for this error?
File "/tmp/pip-build-FvSVZ2/ecpy/setup.py", line 22, in <module>
reqs.append('future')
NameError: name 'reqs' is not defined

Hi,
hmm after looking at that, it is related to python2 only
I decided to remove python2 support


paket install fails due to JSON parsing error

Description
Please see repro steps.
Repro steps
Locate paket.exe. Then run these commands:
paket init
echo github vain0/abdata >> paket.dependencies
paket install

And I got this error:
Paket failed with:
        After parsing a value an unexpected character was encountered: s. Path 'files[7].patch', line 1, position 10814.

Known workarounds
github vain0/hsp_green also invoked a similar error. Then I put paket.dependencies next to "src/all.hsp" (a file in the repository) and rewrite my paket.dependencies like this.
github vain0/hsp_green src/all.hsp

Then paket first fetches "src/all.hsp", and then it fetches all files in the repository due to the transitive dependency written in that paket.dependencies.
Other cases

Failure cases:

github/zeo_five_hsp (contains no files related to Paket)

Error message: Bad JSON escape sequence: \・. Path 'files[9].patch', line 1, position 3 5330.

github/speed_fs (contains paket.dependencies in the root)

Error message: After parsing a value an unexpected character was encountered: s. Path 'files[0].patch', line 1, position 5073.

Success cases:

github vain0/git_edit (which contains no files related to paket), ``github vain0/rss_reader_fs` (which contains paket.dependencies), etc

Related information

Windows 10
.NET framework 4.6
Paket <IP_ADDRESS>

This is because github API returns broken JSON containing non-unicode text (SHIFT_JIS encoding). (Such as https://api.github.com/repos/vain0/hsp_green/commits/master)
I don't know whether Paket should workaround it or not.

@vain0 I assume paket doesn't handle json parsing itself but depends on 3rd part library (I believe Newtonsoft.Json), maybe you should inquire there or check with github what can be done with the json itself?

I see. Thank you for your suggestion.

I think I still want to understand what's going wrong here.

Paket install on a dependencies file conatinaing
github vain0/abdata

worked for me. Can you create a zip that reproduces?

Okay, here you are.
repro_1699.zip
I've just now confirmed that paket install produces the same error as I wrote above.

still can't reproduce with latest paket.

Mysterious. Only my environment...?

I wonder if someone else can reproduce.
Whatever the server returns to you is probably invalid json, but for me it returns the right thing.

Hmm... Let's wait for someone else try the repro.

Maybe there is a firewall blocking it?
On May 24, 2016 1:25 PM, "vain0"<EMAIL_ADDRESS>wrote:

Hmm... Let's wait for someone else try the repro.
—
You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub
https://github.com/fsprojects/Paket/issues/1699#issuecomment-221240430

I've tried to paket install with Windows Firewall disabled but the same error occurred.

I asked my twitter account's followers to do repro steps and one could: https://twitter.com/htid46/status/735076020584251394 (written in Japanese)
According to them, because Windows's standard char code is shift_jis (? I don't understand yet.)

Can you please tweet same thing in English? Will retweet

Tweeted: https://twitter.com/ue_dai/status/735080574314905601 and https://twitter.com/ue_dai/status/735081112205025280 .
Their note: https://gist.github.com/hafuu/1e6cf81c0d08636ee86b5d0de3c55bb4
And they solved this issue immediately. I'll open a PR instead of them.

I forgot to say I built the PR version Paket and confirmed it succeeded to paket install.

great work. thanks

https://twitter.com/harrisj/status/734857735393714176

When do you talk to your children about character encodings?


Kubernetes slowing CPU processes and increasing CPU load

this tool needs to be re-configured to enable the extension not to slow other extensions to be activated and to reduce the load on CPU.

We had very high CPU load on startup, but that should be fixed as of 1,2.3.  I'm not aware of slowness once the extension was loaded - if you were seeing that, do you have any more details please?  Thanks!

We had very high CPU load on startup, but that should be fixed as of 1,2.3.  I'm not aware of slowness once the extension was loaded - if you were seeing that, do you have any more details please?  Thanks!

Should be resolved now as #586 was merged. Feel free to reopen it if you still face this issue. Thanks!!


RFC: Global use of short array syntax

Creating the first issue on the framework repo to start the discussion.
Should SilverStripe switch to using short syntax arrays [] (as opposed to the legacy array() or a mixture)?
The code can be bulk updated with a tool. The bigger part that can't be that easily/automated are code snippets in doc blocks.
Minimal version of PHP does no longer require support for the keyword array syntax.

Yep. We'd welcome a pull request to do so, for SilverStripe 4.0 and up.
You could also consider adding a rule to the phpcs ruleset to enforce this, however we don't use a shared file across all modules, so would need to be added individually as each module has its syntax updated.


zellij: 0.40.1 -> 0.41.1

https://github.com/zellij-org/zellij/releases/tag/v0.41.0

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 353630

x86_64-linux

:white_check_mark: 1 package built:

zellij

Maintainers should be aware of the following:

Zellij 0.41.0 forces vendored libcurl dependency by default

Source:
https://github.com/zellij-org/zellij/issues/3720

There has been a new patch release due to some issues with the generic binaries in 0.41, although I am unsure if this is relevant for nix
https://github.com/zellij-org/zellij/releases/tag/v0.41.1

Thank you @thegrubster,

There has been a new patch release due to some issues with the generic binaries in 0.41, although I am unsure if this is relevant for nix

Yes, this seems relevant.

Maybe we can patch zellij-utils/Cargo.toml to depend on isahc without the static-curl feature.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 353630

x86_64-linux

:white_check_mark: 1 package built:

zellij

Maybe we can patch zellij-utils/Cargo.toml to depend on isahc without the static-curl feature.

I actually tried this, but it doesn't seem to work. I added
  postPatch = ''
    substituteInPlace zellij-utils/Cargo.toml \
      --replace-fail 'isahc = "1.7.2"' 'isahc = { version = "1.7.2", default-features = false, features = ["http2", "text-decoding"] }'
  '';

But I'm still not seeing curl as a dependency:
➜ nix-store --query --references result/
/nix/store/3bvxjkkmwlymr0fssczhgi39c3aj1l7i-glibc-2.40-36
/nix/store/m8gwqmn8k3jm0gbcia358mz4y00lgmbc-openssl-3.3.2
/nix/store/s94fwp43xhzkvw8l8nqslskib99yifzi-gcc-13.3.0-lib

➜ ldd ./result/bin/zellij
        linux-vdso.so.1 (0x00007f81611ab000)
        libssl.so.3 => /nix/store/m8gwqmn8k3jm0gbcia358mz4y00lgmbc-openssl-3.3.2/lib/libssl.so.3 (0x00007f815f2f4000)
        libcrypto.so.3 => /nix/store/m8gwqmn8k3jm0gbcia358mz4y00lgmbc-openssl-3.3.2/lib/libcrypto.so.3 (0x00007f815ec00000)
        libc.so.6 => /nix/store/3bvxjkkmwlymr0fssczhgi39c3aj1l7i-glibc-2.40-36/lib/libc.so.6 (0x00007f815ea07000)
        libgcc_s.so.1 => /nix/store/s94fwp43xhzkvw8l8nqslskib99yifzi-gcc-13.3.0-lib/lib/libgcc_s.so.1 (0x00007f8161180000)
        libm.so.6 => /nix/store/3bvxjkkmwlymr0fssczhgi39c3aj1l7i-glibc-2.40-36/lib/libm.so.6 (0x00007f815f20d000)
        libdl.so.2 => /nix/store/3bvxjkkmwlymr0fssczhgi39c3aj1l7i-glibc-2.40-36/lib/libdl.so.2 (0x00007f815f206000)
        libpthread.so.0 => /nix/store/3bvxjkkmwlymr0fssczhgi39c3aj1l7i-glibc-2.40-36/lib/libpthread.so.0 (0x00007f815f201000)
        /nix/store/3bvxjkkmwlymr0fssczhgi39c3aj1l7i-glibc-2.40-36/lib/ld-linux-x86-64.so.2 => /nix/store/3bvxjkkmwlymr0fssczhgi39c3aj1l7i-glibc-2.40-36/lib64/ld-linux-x86-64.so.2 (0x00007f81611ad000)

Am I holding this wrong?

Does it need curl in buildInputs?

I verified that this is needed on darwin at least (due to https://github.com/zellij-org/zellij/pull/3668), but I'm having some trouble building this on aarch64-linux through the darwin linux builder (I don't have access to a Linux machine at the moment).

Does it need curl in buildInputs?

Yeah, I didn't mention it but I also added curl to the build inputs of course :)

@tjni I also found that by looking what other packages in nixpkgs are doing, it's working now!

It would be helpful if anyone could test this on darwin also.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 353630

aarch64-darwin

:white_check_mark: 1 package built:

zellij

Does 0.41.1 work without 21de802c9f23bb75a02a737aaf928200c10fba3d and did we not need it before the version bump? Otherwise that should probably be squashed into the first commit if it's unique to the version bump.

Does 0.41.1 work without 21de802 and did we not need it before the version bump? Otherwise that should probably be squashed into the first commit if it's unique to the version bump to avoid a commit that technically is breaking a package (Doesn't truly matter, just a nit to think about for atomic commits.). Otherwise, LGTM.

It does work, it just has a vendored curl binary, which is not ideal in terms of security updates.
I'd like to keep the commits separate, since they are kind of orthogonal concerns. But I also don't feel very strong either way.

Does 0.41.1 work without 21de802 and did we not need it before the version bump? Otherwise that should probably be squashed into the first commit if it's unique to the version bump to avoid a commit that technically is breaking a package (Doesn't truly matter, just a nit to think about for atomic commits.). Otherwise, LGTM.

It does work, it just has a vendored curl binary, which is not ideal in terms of security updates. I'd like to keep the commits separate, since they are kind of orthogonal concerns. But I also don't feel very strongly either way.

If it works without it, that's fine to me.


Support nil rows in table

Suppose that I am doing the following:
User.where(...).map {|u| u.projects.last}

But not all users are having projects, only some of them.
In this case what I am gonna see is:
Hirb Error: undefined method `id' for nil:NilClass
    /Users/bogdan/.rvm/gems/ruby-2.2.2@talkable/gems/hirb-0.7.3/lib/hirb/helpers/object_table.rb:10:in `block (2 levels) in render'
    /Users/bogdan/.rvm/gems/ruby-2.2.2@talkable/gems/hirb-0.7.3/lib/hirb/helpers/object_table.rb:10:in `each'
    /Users/bogdan/.rvm/gems/ruby-2.2.2@talkable/gems/hirb-0.7.3/lib/hirb/helpers/object_table.rb:10:in `inject'
    /Users/bogdan/.rvm/gems/ruby-2.2.2@talkable/gems/hirb-0.7.3/lib/hirb/helpers/object_table.rb:10:in `block in render'
    /Users/bogdan/.rvm/gems/ruby-2.2.2@talkable/gems/hirb-0.7.3/lib/hirb/helpers/object_table.rb:9:in `each'
    /Users/bogdan/.rvm/gems/ruby-2.2.2@talkable/gems/hirb-0.7.3/lib/hirb/helpers/object_table.rb:9:in `inject'
    /Users/bogdan/.rvm/gems/ruby-2.2.2@talkable/gems/hirb-0.7.3/lib/hirb/helpers/object_table.rb:9:in `render'
    /Users/bogdan/.rvm/gems/ruby-2.2.2@talkable/gems/hirb-0.7.3/lib/hirb/helpers/auto_table.rb:22:in `render'
    /Users/bogdan/.rvm/gems/ruby-2.2.2@talkable/gems/hirb-0.7.3/lib/hirb/formatter.rb:73:in `_format_output'
    /Users/bogdan/.rvm/gems/ruby-2.2.2@talkable/gems/hirb-0.7.3/lib/hirb/formatter.rb:56:in `format_output'
    /Users/bogdan/.rvm/gems/ruby-2.2.2@talkable/gems/hirb-0.7.3/lib/hirb/view.rb:205:in `render_output'
    /Users/bogdan/.rvm/gems/ruby-2.2.2@talkable/gems/hirb-0.7.3/lib/hirb/view.rb:123:in `view_output'
    /Users/bogdan/.rvm/gems/ruby-2.2.2@talkable/gems/hirb-0.7.3/lib/hirb/view.rb:201:in `view_or_page_output'
    /Users/bogdan/.rvm/gems/ruby-2.2.2@talkable/gems/hirb-0.7.3/lib/hirb/view.rb:187:in `output_value'
    /Users/bogdan/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/irb.rb:490:in `block (2 levels) in eval_input'
    /Users/bogdan/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/irb.rb:623:in `signal_status'
    /Users/bogdan/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/irb.rb:486:in `block in eval_input'
    /Users/bogdan/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/irb/ruby-lex.rb:245:in `block (2 levels) in each_top_level_statement'
    /Users/bogdan/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/irb/ruby-lex.rb:231:in `loop'
    /Users/bogdan/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/irb/ruby-lex.rb:231:in `block in each_top_level_statement'
    /Users/bogdan/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/irb/ruby-lex.rb:230:in `catch'
    /Users/bogdan/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/irb/ruby-lex.rb:230:in `each_top_level_statement'
    /Users/bogdan/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/irb.rb:485:in `eval_input'
    /Users/bogdan/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/irb.rb:395:in `block in start'
    /Users/bogdan/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/irb.rb:394:in `catch'
    /Users/bogdan/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/irb.rb:394:in `start'
    /Users/bogdan/.rvm/gems/ruby-2.2.2@talkable/gems/railties-4.1.10/lib/rails/commands/console.rb:90:in `start'
    /Users/bogdan/.rvm/gems/ruby-2.2.2@talkable/gems/railties-4.1.10/lib/rails/commands/console.rb:9:in `start'
    /Users/bogdan/.rvm/gems/ruby-2.2.2@talkable/gems/railties-4.1.10/lib/rails/commands/commands_tasks.rb:69:in `console'
    /Users/bogdan/.rvm/gems/ruby-2.2.2@talkable/gems/railties-4.1.10/lib/rails/commands/commands_tasks.rb:40:in `run_command!'
    /Users/bogdan/.rvm/gems/ruby-2.2.2@talkable/gems/railties-4.1.10/lib/rails/commands.rb:17:in `<top (required)>'
    bin/rails:8:in `require'
    bin/rails:8:in `<main>'

if the first user in result has projects and inspect output otherwise.
This is tricky and very confusing.
It would be cooler if hirb would realise that some objects in result set are nil and some are not, and represent nil rows with some clear ASCII graphics instead.

Thanks for reporting your issue! This is one of my 1 active issues. Use that link to check how soon your issue will be answered. Don't forget to check your issue against this project's CONTRIBUTING.md. Cheers.

I'm open to a pull request depending on what the specific ASCII graphic is. Personally I don't have a need for this use case. I would just append .compact to any troublesome result

Append .compact doesn't always tell you a story. Especially when you are viewing a small set of records and want to know corresponding project for each. .compact will remove relations: you would know that only m of n users have projects but you don't know which ones from the initial list.

Understood. I'm open to an explorative pull request

It appears that all items in an array are treated as the same type.
When I do
2.2.2 :010 > [Katello::Repository.first, Katello::ContentViewPuppetEnvironment.first]

I am seeing
Hirb Error: undefined method `cp_label' for #<Katello::ContentViewPuppetEnvironment:0x000000077a7ab8>


Make the service discover running configurations upon restart

Currently, the ManagedProperties service will create a proxy that is independent of the main service. Even if the ManagedProperties bundle is stopped, the proxy will keep working.
The problem is, that ManagedProperties will not rediscover its old proxies when it starts again. This should be fixed.

I changed the way the ManagedPropertiesBroker checks if another configuration already exists. The service now uses the ServiceRegistry directly, eliminating the use for an internal registry.


A rule that rejects obvious words in the commit title

This PR is closed and replaced with https://github.com/nblockchain/conventions/pull/67 because some commits needed to be squashed and rebased.


Slight Grammar Fixes

"open" begins with a vowel sound, so it would be optimal to use "an" as opposed to nothing.

Thanks! But "software" is a mass noun rather than a count noun (i.e. you can't say "a software"). The adjectival phrase "open source" doesn't affect that rule.


Printing mutation tests output in case it failed

Signed-off-by: Michael Shitrit<EMAIL_ADDRESS>

/approve
/lgtm


Minor updates to passkey response logic

Summary
After talking with the server team, we figured out that the assertion value they were expecting in our response is based on a custom JSON object. When ESTS UX gets a WebAuthN standard response, they condense it to 5 fields and no inner objects. While I was under the impression that a WebAuthN standard object was expected, the inner object of the standard object was similar enough that ESTS accepted it, so it still functioned. But this PR includes changes to purposely construct the custom object, which makes sure that the required fields are present and that any extra fields are cut out. ESTS said that they will document the custom object on their side, and I'll link that in my own documentation.
This PR also makes small changes to the error/exception strings we send; the exception name and a prefix (for ESTS to more easily identify an error vs an actual assertion) are now added to the string.

Putting the "skip-consumers-check" tag, not because it's a breaking change, but because all of the checks are passing except for the MSAL build and test, which is currently blocked for MSAL checks in general due to an issue with one of the lab accounts.


Feature/dockstore 582 test endpoints

For #582

[x] Check that you pass the basic style checks and unit tests by running mvn clean install

Changes Unknown when pulling e54d96a003c669125038b898d146fb12ad7ef53f on feature/dockstore_582_test_endpoints into ** on develop**.

Changes Unknown when pulling e54d96a003c669125038b898d146fb12ad7ef53f on feature/dockstore_582_test_endpoints into ** on develop**.

Changes Unknown when pulling b50d8b20930fa1ce8f1dc1e2f7bdbe0d7219276f on feature/dockstore_582_test_endpoints into ** on develop**.


docs: adding Old Forge Double Crusted Stuffed White Pizza recipe to pizza-recipes.md

Description
This PR adds Old Forge Style Double Crusted Stuffed White Pizza recipe to pizza-recipes.md

What type of PR is this? (check all applicable)

[X] 🍕 Feature
[ ] 🐛 Bug Fix
[X] 📝 Documentation Update
[ ] 🎨 Style
[ ] 🧑💻 Code Refactor
[ ] 🔥 Performance Improvements
[ ] ✅ Test
[ ] 🤖 Build
[ ] 🔁 CI
[ ] 📦 Chore (Release)
[ ] ⏩ Revert

Related Tickets & Documents

Mobile & Desktop Screenshots/Recordings

Added tests?

[ ] 👍 yes
[X] 🙅 no, because they aren't needed
[ ] 🙋 no, because I need help

Added to documentation?

[ ] 📜 README.md
[X] 📓 docs.opensauced.pizza
[ ] 🍕 dev.to/opensauced
[ ] 📕 storybook
[ ] 🙅 no documentation needed

[optional] Are there any post-deployment tasks we need to perform?
[optional] What gif best describes this PR or how it makes you feel?

I'm having a hard time adding the image file. I have the image and need to add it and link it in the .md file. I know I need to figure out how to do that before you can merge.
Thank you for the opportunity to learn to contribute to open source during my first Hacktoberfest!

I'm having a hard time adding the image file. I have the image and need to add it and link it in the .md file. I know I need to figure out how to do that before you can merge.
Thank you for the opportunity to learn to contribute to open source during my first Hacktoberfest!

Hi @Emmarie-Ahtunan! 😄 Welcome to OpenSauced! :) To add an image via Markdown, you do this:
  ![Alt text](/filepath/name of picture file)

Thank you so much, @CBID2! I'm working on getting it added to the file first right now so that I can do that step. I think I found the answer to how to add it to the image file.

Can you also fill out the PR form @Emmarie-Ahtunan? When you’re making a PR, it’s important to do this so maintainers have an idea about what you’re contributing.

@CBID2 I think I covered everything. Thank you for your feedback, help, and any additional feedback and help! It means a lot to me!

@CBID2 I think I covered everything. Thank you for your feedback, help, and any additional feedback and help! It means a lot to me!

You're welcome @Emmarie-Ahtunan! 😄 One more thing, you need to link the issue that your PR solves in the Related Issues & Documents section in your PR form. It helps maintainers gain a understand the problem your PR solves. Here's how it's done:
Relates to #issue
In your PR, it would be Relates to 32

@CBID2 I think I covered everything. Thank you for your feedback, help, and any additional feedback and help! It means a lot to me!

You're welcome @Emmarie-Ahtunan! 😄 One more thing, you need to link the issue that your PR solves in the Related Issues & Documents section of your PR form. It helps maintainers gain a understand the problem your PR solves. Here's how it's done:
Relates to #issue
In your PR, it would be Relates to #32

Thank you so very much, @CBID2! I've learned so much from you and @adiati98 today. I am so grateful! I can go fix the regional pizza now too with you additional feedback. TYSM! <3

Congratulations @Emmarie-Ahtunan!:) You just made your first contribution! 🥳 It was wonderful working with you! 😄 If you want to stay updated on OpenSauced, join our Discord community! :) We'd love to have you! :)

I'm in the Discord and very excited to finally be engaging with OpenSauced. I learned about y'all from a former DevRel at GH! Again, thank you so much and looking forward to more contributions!


[BUG] When it starts and generates the qr code this error appears:

Evidence of bug

That's the wrong repository. Look for help here: https://github.com/pedroslopez/whatsapp-web.js.


Add advertiser classes and handle adv set terminated events

Convert hci.OwnAddressType to enum
Add LegacyAdvertiser and ExtendedAdvertiser classes
Rename start/stop_advertising() => start/stop_legacy_advertising()
Handle HCI_Advertising_Set_Terminated
Properly restart advertisement on disconnection

Maybe we should merge this request after we have a way to test extended advertising?


Texture from CityGML to obj and mtl

Hi,
I saw in the readme that :

The texture from the CityGML is not converted to OBJ (future work).

Is this planned for anytime soon ?
Could I help for it ?
Thanks

Hi DragonRock,
Due to other obligations I do not have plans to implement features such as the conversion of textures any time soon, sorry.
If it's urgent for you to have this functionality, maybe FME (http://www.safe.com) can help you. However, FME is a commercial product.
If you have an idea how to implement the conversion of textures, and you want to contribute to the project, perhaps you can try to extend the code.
Cheers,
Filip


start app error with pm2

When i use pm2 to deploy my sails app on VPS or my PC , I get an error: Error: The hook 'orm' is taking too long to load.
I try test many case before create this issue. When i try create a clean app to test what cause error. And i recognize  if sails app have any models, start app with pm2 will get this error. If i don't have any models in my app, it working.
I try start app with command pm2 start app.js -x -- --prod follow this site
Please help me resolve this error. If this error involve sails( i think orm or waterline) i hope sails team can fix it soon.

i just resolve this error. This is my mistake! You uncomment line migrate: 'alter' in file config/models.js to resolve this error. Thanks for reading!


Rakefile:91-92: Enable sqlint into rake task chain after...

The puzzle DEV-9a75a902 from #DEV has to be resolved:
https://github.com/dgroup/lazylead/blob/fa330048b74cb93ea11f8d3628f6cee0a5df4351/Rakefile#L91-L92
The puzzle was created by Yurii Dubinka on 06-Jun-20.
role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

The puzzle DEV-9a75a902 has disappeared from the source code, that's why I closed this issue.


Design the electrical schematic with Capital

This issue to create and describe the electrical schematic of the ventilator using Mentor Capital.

I think we can close this issue.