text:
ImportError: libSM.so.6: cannot open shared object file on Cedar (Compute Canada)

on Cedar (Compute Canada)
Running /home/jcohen/sct/scripts/sct_register_to_template.py -qc /home/jcohen/qc_data -c t2 -l /home/jcohen/data/sct_testing/large/vand
erbilt_sct-users_20150910-joshua/t2/labels.nii.gz -i /home/jcohen/data/sct_testing/large/vanderbilt_sct-users_20150910-joshua/t2/t2.nii
.gz -t /home/jcohen/sct/data/PAM50 -v 1 -s /home/jcohen/data/sct_testing/large/vanderbilt_sct-users_20150910-joshua/t2/t2_seg_manual.ni
i.gz -r 1 -ref template -ofolder sct_register_to_template_vanderbilt_sct-users_20150910-joshua_170623111911_118831/
Check folder existence...
Check folder existence...
Check folder existence...

Check template files...
OK: /home/jcohen/sct/data/PAM50/template/PAM50_t2.nii.gz
OK: /home/jcohen/sct/data/PAM50/template/PAM50_levels.nii.gz
OK: /home/jcohen/sct/data/PAM50/template/PAM50_cord.nii.gz

Check parameters:
Data:                 /home/jcohen/data/sct_testing/large/vanderbilt_sct-users_20150910-joshua/t2/t2.nii.gz
Landmarks:            /home/jcohen/data/sct_testing/large/vanderbilt_sct-users_20150910-joshua/t2/labels.nii.gz
Segmentation:         /home/jcohen/data/sct_testing/large/vanderbilt_sct-users_20150910-joshua/t2/t2_seg_manual.nii.gz
Path template:        /home/jcohen/sct/data/PAM50/
Remove temp files:    1

Check input labels...

Create temporary folder...

Copying input data to tmp folder and convert to nii...
sct_convert -i /home/jcohen/data/sct_testing/large/vanderbilt_sct-users_20150910-joshua/t2/t2.nii.gz -o tmp.170623111911_903687/data.ni
i
sct_convert -i /home/jcohen/data/sct_testing/large/vanderbilt_sct-users_20150910-joshua/t2/t2_seg_manual.nii.gz -o tmp.170623111911_903
687/seg.nii.gz
sct_convert -i /home/jcohen/data/sct_testing/large/vanderbilt_sct-users_20150910-joshua/t2/labels.nii.gz -o tmp.170623111911_903687/lab
el.nii.gz
sct_convert -i /home/jcohen/sct/data/PAM50/template/PAM50_t2.nii.gz -o tmp.170623111911_903687/template.nii
sct_convert -i /home/jcohen/sct/data/PAM50/template/PAM50_cord.nii.gz -o tmp.170623111911_903687/template_seg.nii.gz

Generate labels from template vertebral labeling
sct_label_utils -i /home/jcohen/sct/data/PAM50/template/PAM50_levels.nii.gz -vert-body 0 -o template_label.nii.gz

Check if provided labels are available in the template

Binarize segmentation
sct_maths -i seg.nii.gz -bin 0.5 -o seg.nii.gz

Resample data to 1mm isotropic...
sct_resample -i data.nii -mm 1.0x1.0x1.0 -x linear -o data_1mm.nii
Running /home/jcohen/sct/scripts/sct_resample.py -i data.nii -mm 1.0x1.0x1.0 -x linear -o data_1mm.nii
Traceback (most recent call last):
File "/home/jcohen/sct/scripts/sct_resample.py", line 365, in <module>
main()
File "/home/jcohen/sct/scripts/sct_resample.py", line 362, in main
resample()
File "/home/jcohen/sct/scripts/sct_resample.py", line 59, in resample
from nipy.algorithms.registration import resample
File "/home/jcohen/sct/python/lib/python2.7/site-packages/nipy/algorithms/registration/__init__.py", line 18, in <module>
from .scripting import space_time_realign, aff2euler
File "/home/jcohen/sct/python/lib/python2.7/site-packages/nipy/algorithms/registration/scripting.py", line 22, in <module>
import matplotlib.pyplot as plt
File "/home/jcohen/sct/python/lib/python2.7/site-packages/matplotlib/pyplot.py", line 114, in <module>
_backend_mod, new_figure_manager, draw_if_interactive, _show = pylab_setup()
File "/home/jcohen/sct/python/lib/python2.7/site-packages/matplotlib/backends/__init__.py", line 32, in pylab_setup
globals(),locals(),[backend_name],0)
File "/home/jcohen/sct/python/lib/python2.7/site-packages/matplotlib/backends/backend_qt4agg.py", line 18, in <module>
from .backend_qt5agg import FigureCanvasQTAggBase as _FigureCanvasQTAggBase
File "/home/jcohen/sct/python/lib/python2.7/site-packages/matplotlib/backends/backend_qt5agg.py", line 15, in <module>
from .backend_qt5 import QtCore
File "/home/jcohen/sct/python/lib/python2.7/site-packages/matplotlib/backends/backend_qt5.py", line 31, in <module>
from .qt_compat import QtCore, QtGui, QtWidgets, _getSaveFileName, __version__
File "/home/jcohen/sct/python/lib/python2.7/site-packages/matplotlib/backends/qt_compat.py", line 124, in <module>
from PyQt4 import QtCore, QtGui
ImportError: libSM.so.6: cannot open shared object file: No such file or directory

/home/jcohen/sct/scripts/sct_utils.pyNone

/home/jcohen/sct/scripts/sct_utils.pyNone

sct_check_dependencies

--
Spinal Cord Toolbox (jca_issue1362/1795a89130c457176811ef8c7707ff3aac73fc08)
Running /home/jcohen/sct/scripts/sct_check_dependencies.py

OS: linux (Linux-3.10.0-514.21.1.el7.x86_64-x86_64-with-centos-7.3.1611-Core)
CPU cores: Available: 32, Used by SCT: 32
RAM: MemTotal:       264035648 kB
total        used        free      shared  buff/cache   available
Mem:         257847        3095      226543         406       28207      250061
Swap:          4095           0        4095
SCT path: /home/jcohen/sct
Installation type: git
  commit: 1795a89130c457176811ef8c7707ff3aac73fc08
  branch: jca_issue1362
Check Python path...................................[OK]
Check if data are installed.........................[OK]
Check if xlwt (1.0.0) is installed..................[OK]
Check if xlutils (1.7.1) is installed...............[OK]
Check if cryptography (1.6) is installed............[OK]
Check if scikit-learn (0.17.1) is installed.........[OK]
Check if scikit-image (0.12.3) is installed.........[OK]
Check if pyqt (4.11.4) is installed.................[OK]
Check if psutil (5.2.2) is installed................[OK]
Check if matplotlib (1.5.1) is installed............[OK]
Check if pip (9.0.1) is installed...................[WARNING]
  Detected version: 8.1.2. Required version: 9.0.1
Check if requests (2.12.4) is installed.............[OK]
Check if xlrd (0.9.4) is installed..................[OK]
Check if pandas (0.18.1) is installed...............[OK]
Check if mpi4py (2.0.0) is installed................[OK]
Check if dipy (0.11.0) is installed.................[OK]
Check if distribute2mpi (0.3.0) is installed........[OK]
Check if nibabel (2.1.0) is installed...............[OK]
Check if tqdm (4.11.2) is installed.................[OK]
Check if nipy (0.4.0) is installed..................[OK]
Check if numpy is installed.........................[OK]
Check if scipy is installed.........................[OK]
Check if spinalcordtoolbox is installed.............[OK]
Check ANTs compatibility with OS ...................[OK]
Check PropSeg compatibility with OS ................[OK]
Check if figure can be opened.......................[FAIL]

This library is a Qt dependency.
One solution is to disable display backend by creating a file ~/.config/matplotlib/matplotlibrc and add the following parameter
backend      : Agg

authors: jcohenadad peristeri

repo: neuropoly/spinalcordtoolbox


text:
Add HPC templates (slurm and PBS)

Description of the Change
Add supercomputer template for guillimin, mammouth, scinet-gpc, and cedar
Steps and Constraints
The templates are in the install folders, might be better to put them somewhere else
Applicable Issues
Implements or Fixes #1348 to some extent. Still need to better document the wiki...

how about putting these into a new folder called "hpc", and the folder would include a README.md to explain what the folder is about.

Yep, I'll add something in the Readme. For the hpc folder, maybe in documentation/hpc?

i meant creating another specific readme within the hcp folder (because when someone wants to use your template, he will have the info right there)

Yes, absolutely, I got that on the second reading!

I've added a readme and the HPC directory.

source: gharchive/pull-request

authors: jcohenadad poquirion

license: mit

license_type: permissive

license_source: bigquery


text:
create some generic error rendering methods in router

have a method named renderErrorCode(int $code) that will take a code like 400 and locate the corresponding template. This should also set the correct response code in the header.
We may want to support providing a hook for override this more easily later on

#35 would be a better solution.

source: gharchive/issue

repo: neutrinog/atomar


text:
KDE Display Issue on Arch Linux

xrdp version
0.10.1-1
Detailed xrdp version, build options
xrdp 0.10.0
  A Remote Desktop Protocol Server.
  Copyright (C) 2004-2024 Jay Sorg, Neutrino Labs, and all contributors.
  See https://github.com/neutrinolabs/xrdp for more information.

  Configure options:
      --prefix=/usr
      --sysconfdir=/etc
      --libexecdir=/usr/lib
      --localstatedir=/var
      --sbindir=/usr/bin
      --with-systemdsystemunitdir=/usr/lib/systemd/system
      --enable-jpeg
      --enable-tjpeg
      --enable-fuse
      --enable-fdkaac
      --enable-opus
      --enable-rfxcodec
      --enable-mp3lame
      --enable-pixman
      --enable-painter
      --enable-vsock
      --enable-ipv6
      --enable-pam-config=arch
      --enable-rdpsndaudin
      --with-imlib2
      CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/home/anonymous/xrdp/src=/usr/src/debug/xrdp -flto=auto
      LDFLAGS=-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now          -Wl,-z,pack-relative-relocs -flto=auto
      CXXFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/home/anonymous/xrdp/src=/usr/src/debug/xrdp -flto=auto

  Compiled with OpenSSL 3.3.1 4 Jun 2024

Operating system & version
Arch Linux
Installation method
git clone & make install
Which backend do you use?
xorgxrdp
What desktop environment do you use?
KDE
Environment xrdp running on
Hyper-V VM
What's your client?
Microsoft RDP client
Area(s) with issue?
Graphic glitches
Steps to reproduce
Successfully connect and authenticate using xrdp and a widescreen monitor with a maximum resolution of 5120x1440.
✔ Expected Behavior
To see the desktop.
❌ Actual Behavior
I have a Samsung Odyssey G9 monitor with maximum resolution of 5120x1440.
I am able to authenticate and login using xrdp.
However, the screen is only partially updated. I can see the KDE spin icon in a small area of the screen (which keeps spinning) and a small subsection of the bottom left corner where task bar icons are, but most of it is just the default Microsoft blue RDP screen.
Anything else?
/var/log/xdrp.log
[2024-07-27T10:51:37.373-0400] [INFO ] Socket 14: connection accepted from [::ffff:192.168.1.5]:58215
[2024-07-27T10:51:37.377-0400] [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem
[2024-07-27T10:51:37.379-0400] [INFO ] Using default X.509 key file: /etc/xrdp/key.pem
[2024-07-27T10:51:37.382-0400] [INFO ] Security protocol: configured [SSL|RDP], requested [SSL|HYBRID|HYBRID_EX|RDP], selected [SSL]
[2024-07-27T10:51:37.422-0400] [ERROR] SSL_read: I/O error
[2024-07-27T10:51:37.424-0400] [ERROR] libxrdp_force_read: header read error
[2024-07-27T10:51:37.426-0400] [ERROR] Processing [ITU-T T.125] Connect-Initial failed
[2024-07-27T10:51:37.427-0400] [ERROR] [MCS Connection Sequence] receive connection request failed
[2024-07-27T10:51:37.428-0400] [ERROR] xrdp_sec_incoming: xrdp_mcs_incoming failed
[2024-07-27T10:51:37.429-0400] [ERROR] xrdp_rdp_incoming: xrdp_sec_incoming failed
[2024-07-27T10:51:37.430-0400] [ERROR] xrdp_process_main_loop: libxrdp_process_incoming failed
[2024-07-27T10:51:37.431-0400] [ERROR] xrdp_iso_send: trans_write_copy_s failed
[2024-07-27T10:51:37.432-0400] [ERROR] Sending [ITU T.125] DisconnectProviderUltimatum failed
[2024-07-27T10:51:38.695-0400] [INFO ] Socket 14: connection accepted from [::ffff:192.168.1.5]:58216
[2024-07-27T10:51:38.697-0400] [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem
[2024-07-27T10:51:38.698-0400] [INFO ] Using default X.509 key file: /etc/xrdp/key.pem
[2024-07-27T10:51:38.700-0400] [INFO ] Security protocol: configured [SSL|RDP], requested [SSL|HYBRID|HYBRID_EX|RDP], selected [SSL]
[2024-07-27T10:51:38.708-0400] [INFO ] Connected client computer name: ANONYMOUS-PC
[2024-07-27T10:51:38.710-0400] [INFO ] client supports gfx protocol
[2024-07-27T10:51:38.712-0400] [WARN ] Received [MS-RDPBCGR] TS_UD_HEADER type 0xc006 is unknown (ignored)
[2024-07-27T10:51:38.713-0400] [WARN ] Received [MS-RDPBCGR] TS_UD_HEADER type 0xc00a is unknown (ignored)
[2024-07-27T10:51:38.716-0400] [INFO ] xrdp_load_keyboard_layout: Keyboard information sent by the RDP client, keyboard_type:[0x04], keyboard_subtype:[0x00], keylayout:[0x00000409]
[2024-07-27T10:51:38.717-0400] [INFO ] xrdp_load_keyboard_layout: model [] variant [] layout [us] options []
[2024-07-27T10:51:38.718-0400] [INFO ] TLS connection established from [::ffff:192.168.1.5]:58216 TLSv1.3 with cipher TLS_AES_256_GCM_SHA384
[2024-07-27T10:51:38.728-0400] [INFO ] Client supports single-screen resizes by xrdp
[2024-07-27T10:51:38.730-0400] [INFO ] xrdp_caps_process_pointer: client supports new(color) cursor
[2024-07-27T10:51:38.732-0400] [INFO ] xrdp_process_offscreen_bmpcache: support level 1 cache size 10485760 MB cache entries 100
[2024-07-27T10:51:38.733-0400] [INFO ] xrdp_caps_process_codecs: NSCodec(CA8D1BB9-000F-154F-589F-AE2D1A87E2D6), codec id [1], properties len [3]
[2024-07-27T10:51:38.734-0400] [INFO ] xrdp_caps_process_codecs: Image RemoteFX(2744CCD4-9D8A-4E74-803C-0ECBEEA19C54), codec id [5], properties len [49]
[2024-07-27T10:51:38.735-0400] [INFO ] Client Capability: LARGE_POINTER_FLAG_96x96 supported
[2024-07-27T10:51:38.738-0400] [INFO ] Loading keymap file /etc/xrdp/km-00000409.ini
[2024-07-27T10:51:38.740-0400] [WARN ] local keymap file for 0x00000409 found and doesn't match built in keymap, using local keymap file
[2024-07-27T10:51:38.742-0400] [INFO ] Login screen monitor height is 1440 pixels over 336 mm (108 DPI)
[2024-07-27T10:51:38.759-0400] [INFO ] xrdp_egfx_create: error 0 channel_id 1
[2024-07-27T10:51:39.576-0400] [INFO ] xrdp_mm_egfx_caps_advertise:
[2024-07-27T10:51:39.602-0400] [INFO ]   version 0x00080004 flags 0x00000000 (index: 0)
[2024-07-27T10:51:39.616-0400] [INFO ]   version 0x00080105 flags 0x00000000 (index: 1)
[2024-07-27T10:51:39.627-0400] [INFO ]   version 0x000a0002 flags 0x00000000 (index: 2)
[2024-07-27T10:51:39.641-0400] [INFO ]   version 0x000a0200 flags 0x00000000 (index: 3)
[2024-07-27T10:51:39.652-0400] [INFO ]   version 0x000a0301 flags 0x00000000 (index: 4)
[2024-07-27T10:51:39.662-0400] [INFO ]   version 0x000a0400 flags 0x00000000 (index: 5)
[2024-07-27T10:51:39.676-0400] [INFO ]   version 0x000a0502 flags 0x00000000 (index: 6)
[2024-07-27T10:51:39.687-0400] [INFO ]   version 0x000a0600 flags 0x00000000 (index: 7)
[2024-07-27T10:51:39.700-0400] [INFO ]   version 0x000a0701 flags 0x00000000 (index: 8)
[2024-07-27T10:51:39.710-0400] [INFO ]   replying version 0x000a0701 flags 0x00000000
[2024-07-27T10:51:39.720-0400] [INFO ] xrdp_mm_egfx_caps_advertise: xrdp_egfx_send_capsconfirm error 0 best_index 8
[2024-07-27T10:51:39.732-0400] [INFO ] xrdp_egfx_reset_graphics:
[2024-07-27T10:51:39.742-0400] [INFO ] xrdp_egfx_reset_graphics: width 5120 height 1440 monitorcount 1
[2024-07-27T10:51:39.751-0400] [INFO ] xrdp_mm_egfx_caps_advertise: xrdp_egfx_send_reset_graphics error 0 monitorCount 0
[2024-07-27T10:51:39.761-0400] [INFO ] xrdp_mm_egfx_create_surfaces: map surface_id 0 left 0 top 0 width 5120 height 1440
[2024-07-27T10:51:39.771-0400] [INFO ] xrdp_encoder_create: starting gfx rfx pro codec session
[2024-07-27T10:51:39.780-0400] [INFO ] xrdp_mm_egfx_invalidate_wm_screen:
[2024-07-27T10:51:39.790-0400] [INFO ] xrdp_mm_egfx_caps_advertise: egfx created.
[2024-07-27T10:51:47.248-0400] [WARN ] Ignoring obsolete SCP port value '3350'
[2024-07-27T10:51:47.562-0400] [INFO ] xrdp_wm_log_msg: sesman connect ok
[2024-07-27T10:51:47.757-0400] [INFO ] xrdp_wm_log_msg: Performing login request for anonymous
[2024-07-27T10:51:47.656-0400] [INFO ] xrdp_wm_log_msg: login was successful - creating session
[2024-07-27T10:51:48.161-0400] [INFO ] xrdp_wm_log_msg: session is available on display 10 for user anonymous
[2024-07-27T10:51:48.164-0400] [INFO ] xrdp_wm_log_msg: Connecting to session
[2024-07-27T10:51:48.167-0400] [INFO ] loaded module 'libxup.so' ok, interface size 10416, version 4
[2024-07-27T10:51:48.168-0400] [INFO ] lib_mod_connect: connecting via UNIX socket
[2024-07-27T10:51:48.169-0400] [INFO ] lib_mod_log_peer: xrdp_pid=2987 connected to Xorg_pid=3002 Xorg_uid=1000 Xorg_gid=1000 client=[::ffff:192.168.1.5]:58216
[2024-07-27T10:51:48.170-0400] [INFO ] xrdp_wm_log_msg: Connecting to chansrv
[2024-07-27T10:51:48.173-0400] [INFO ] Received memory_allocation_complete command. width: 5120, height: 1472
[2024-07-27T10:51:55.696-0400] [ERROR] xrdp_sec_recv: xrdp_mcs_recv failed
[2024-07-27T10:51:55.698-0400] [ERROR] xrdp_rdp_recv: xrdp_sec_recv failed
[2024-07-27T10:51:55.699-0400] [ERROR] libxrdp_process_data: xrdp_rdp_recv failed
[2024-07-27T10:51:55.700-0400] [ERROR] xrdp_process_data_in: xrdp_process_loop failed
[2024-07-27T10:51:55.701-0400] [ERROR] SSL_write: I/O error
[2024-07-27T10:51:55.703-0400] [ERROR] xrdp_iso_send: trans_write_copy_s failed
[2024-07-27T10:51:55.705-0400] [ERROR] Sending [ITU T.125] DisconnectProviderUltimatum failed

With a screen size of 5120x1440 you're likely running into #3083.

With a screen size of 5120x1440 you're likely running into #3083.

Thanks. But what does this mean as far as the xrdp source base on the Arch Linux AUR? I see that some files were changed in librfxcodec but how does that apply to the former?
Regards.

That issue was closed on 2024-07-09, but Arch AUR hasn't picked it up yet. I'm not familiar with AUR release plans or policies, but it's likely to be in the next point release.

We'll release v0.10.1 with the fix within a week. Hang tight until a release and AUR maintainer updates the package to v0.10.1.

We'll release v0.10.1 with the fix within a week. Hang tight until a release and AUR maintainer updates the package to v0.10.1.

Haha. thanks for the update. I couldn't wait so I just took the code for the fix from the link rowlap provided that was committed in the source base, overwrite those source files locally for the package , and made and installed the package again.
I'm happy to report that it worked!

@hammad-awan We have released xrdp v0.10.1 and the issue should be resolved.

Closing as resolved.

authors: hammad-awan metalefty rowlap

repo: neutrinolabs/xrdp


text:
One error:  log_daemon_msg

When I try to start xrdp with sudo service xrdp start I get an error reading /etc/init.d/xrdp: line 76: log_daemon_msg: command not found
Line 76 reads: log_daemon_msg "Starting $DESC "
Any suggestions would be appreciated! Thanks.
I'm on an AWS CentOS 6

Any help would be appreciated. Thanks!

Which version do you use?

No feedback from reporter, closing. But feel free to reopen when you're back.

I have same problem with  SUSE LInux Enterprise 11 sp2,  with 0.9.1 git version of rdp.  I compile from source

Okay, reopen.

authors: jerryhall metalefty rverdugo01


text:
error connecting form W10 to ubuntu 17.10

All PCs are in my lan, here is the rdp error.
I have an headless server with ubuntu
i cannot connect in any way
SSH works well
sudo sudo tail /var/log/xrdp-sesman.log
[20171207-13:10:55] [DEBUG] Closed socket 9 (AF_INET6 :: port 6210)
[20171207-13:10:55] [DEBUG] Closed socket 8 (AF_INET6 ::1 port 3350)
[20171207-13:10:55] [DEBUG] Closed socket 7 (AF_INET6 ::1 port 3350)
[20171207-13:10:55] [INFO ] Xorg :10 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp
[20171207-13:11:05] [ERROR] X server for display 10 startup timeout
[20171207-13:11:05] [INFO ] starting xrdp-sessvc - xpid=1436 - wmpid=1435
[20171207-13:11:05] [ERROR] X server for display 10 startup timeout
[20171207-13:11:05] [ERROR] another Xserver might already be active on display 10 - see log
[20171207-13:11:05] [DEBUG] aborting connection...
[20171207-13:11:05] [INFO ] ++ terminated session:  username lospo, display :10.0, session_pid 1434, ip 0.0.0.0:59574 - socket: 12

You should read /usr/share/doc/xrdp/README.Debian if you haven't read it.

authors: lospo metalefty


text:
Implement vsock support for FreeBSD

FreeBSD supports something very nearly the same as Linux's vsock with Hyper-V, and this patch adds support for it to xrdp.
Practically speaking, this allows you to use enhanced session mode in Hyper-V, if you run Set-VM -EnhancedSessionTransportType HvSocket on the VM in PowerShell. That said, the performance is bad because it is fully software rendered, because the Hyper-V enhanced DRM/DRI driver hasn't been ported to FreeBSD yet (there's a pending change to implement the enhanced framebuffer, but I doubt that makes xorgxrdp able to use hardware accelerated rendering).
One bug is that when g_sck_close tries to run getsockname, EINVAL is returned and the socket is closed normally, but looking at the code, I think that also happens with Linux because sock_info.sa rather than sock_info.sa_vm or sock_info.sa_hvs are passed in, and sa is not the correct structure for the open vsock/hv_sock socket. Fixing this feels like it's probably out of scope for this change, since both Unix sockets and Linux vsocks would suffer from the same problem.
Here's a screenshot showing it in action, forgive the Windows DPI being messed up (I need to reboot, I think, to fix it):

Awesome! Could you fix the formatting and cppcheck?

I believe I've resolved both issues. I also changed the configure script to check for AF_HYPERV, since it looks like this is only available in FreeBSD 13+, and someone may try this in an older FreeBSD.

I will merge after some other PRs.

@ziggythehamster I have updated FreeBSD net/xrdp-devel port and defaulted --enable-vsock.

@metalefty oh, awesome. I was expecting to have to hunt down the port maintainer to get them to change the Makefile :D

I am the maintainer 👍

authors: metalefty ziggythehamster


text:
[newrelic-logging] Adjust order of env list in daemonset to fix dependency reference

Is this a new chart
No
What this PR does / why we need it:
When using persistentVolume mode, the env variable FB_DB references NODE_NAME. This reference is currently not resolved, because NODE_NAME is defined after FB_DB. Therefore, only a single database file named '$(NODE_NAME)-fb.db' is created in the persistent volume, instead of one file for each node. #1408 traced the problem down to this change, which moved the definition of NODE_NAME after the definition of FB_DB.
This PR fixes this, by moving the definition of NODE_NAME before the definition of FB_DB again.
The behavior of kubernetes for dependent environment variables is documented here.
Which issue this PR fixes

fixes #1408

Special notes for your reviewer:
I was thinking about a test that checks if NODE_NAME is defined before FB_DB, but I wasn't able to come up with a way to do this using helm-unittest.
Checklist

[x] Chart Version bumped
[ ] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [mychartname])

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Hi @jsubirat,
Thanks for the feedback! I didn't know that Fluent Bit is able to resolve environment variables. Doing it that way is of course a lot more elegant. I updated the PR according to your suggestions.

Hi @nluedema , We have validated your PR and found that Fluent Bit is not resolving the variable name ${NODE_NAME} as it doesn't support nested environment variable interpolation. So we agreed internally to do with your previous code changes for now even though it keeps order dependency.
Can you update code to previous one with curved braces and also add a comment mentioning the order dependency to have that variable resolved. So we can proceed with merging your PR.

@nr-rkallempudi @jsubirat
I updated the PR to only include the initial changes. Let me know what you think! A pity that nested environment variable interpolation doesn't work.

authors: CLAassistant nluedema nr-rkallempudi

repo: newrelic/helm-charts

license_source: github-api


text:
Adding nr1-alerts-los-migrator to catalog

Nerdpack Approver

Justin Eveland (jbeveland27)

Functional Changes

Initial catalog release of nr1-alerts-los-migrator

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


text:
perf: Create ring for online, not possible CPUs

Creating perf rings for CPUs that are "possible" but not "online"
(see https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-devices-system-cpu)
fails with:
failed to create perf ring for CPU 64: this processor architecture
does not support this event type

Determine the number of CPUs from the "online" ones.
We only support parsing continuous 0 indexed ranges of CPU numbers, but
the sysfs files can potentially contain multiple ranges (see get_nproc()
in glibc), as this means we can use a simple cpu count and not worry
about the ids / numbers.

Codecov Report

Merging #85 into master will increase coverage by 0.3%.
The diff coverage is 76.47%.

@@            Coverage Diff            @@
##           master      #85     +/-   ##
=========================================
+ Coverage   58.66%   58.97%   +0.3%
=========================================
  Files          24       24
  Lines        1841     1845      +4
=========================================
+ Hits         1080     1088      +8
+ Misses        596      593      -3
+ Partials      165      164      -1

Impacted Files
Coverage Δ

perf.go
73.97% <100%> (ø)
:arrow_up:

marshalers.go
69.74% <75%> (+4.53%)
:arrow_up:

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 0b135e6...1bc4363. Read the comment docs.

authors: arthurfabre codecov-io

repo: newtools/ebpf

license: MIT


text:
No syntax colour in .sass file after loading file

When I type sass code I see colour appear in real time in emacs, however when I reload a .sass file in emacs there's no colour anywhere. Is there a line I can add to my .emacs init file to see colour after loaded a file? Can one run another mode while sass-mode is running? For example could I run web-mode simultaneously to get some if its features?

What do you mean by "reload"? Please can you describe specific steps to reproduce this problem, starting with an Emacs instance launched with the -Q flag?

Same problem here. I open up my Emacs desktop and it loads my .sass file, but only very few of the lines are colored, as visible here: https://i.imgur.com/0Dp7wtF.png
If I edit a line it will be colored accordingly. Newly written lines also seem fine.

I've removed (require 'cl-lib) at the beginning of the file, and it seems to fix the problem.
Don't ask me why, I don't know what cl-lib is. I've just read the Messages buffer and see that it was the source of the problem. This line is probably useful for something, but I don't know what.

've removed (require 'cl-lib) at the beginning of the file, and it seems to fix the problem.
Don't ask me why, I don't know what cl-lib is. I've just read the Messages buffer and see that it was the source of the problem. This line is probably useful for something, but I don't know what.

You've probably just downloaded this file without properly installing its dependencies, which include the cl-lib. That package is bundled in Emacs >= 24.3, but also available separately from GNU ELPA. In any case, there are no clues in any of these comments about how to reproduce the issue.

You've probably just downloaded this file without properly installing its dependencies, which include the cl-lib library.

I've installed it with Emacs' package manager, just as the other packages.

That package is bundled in Emacs >= 24.3, but also available separately from GNU ELPA.

I've got the built-in cl-lib 1.0 (with Emacs 26.2).

In any case, there are no clues in any of these comments about how to reproduce the issue.

Here are the steps to reproduce for me:

Launch package-list-packages
Install sass-mode
Open a .sass file
The color is applied to only a couple of lines (as in the previous comment's screenshot)

I get these errors in the *Messages* buffer:
Error during redisplay: (jit-lock-function 1) signaled (no-catch --cl-block-nil-- t)
Error during redisplay: (jit-lock-function 501) signaled (no-catch --cl-block-nil-- t)

As I've seen --cl-block-nil in this message, and as I've seen the (require 'cl-lib) at the beginning of my ~/.emacs.d/elpa/sass-mode-20161007.626/sass-mode.el file, I've naively tried to remove the (require 'cl-lib) line. I've rebuild the package, restarted Emacs, and the syntax highlight works perfectly with no error message.

Thanks @liZe! Those details were really helpful, and while I wasn't able to reproduce this issue directly locally, I'm relatively confident that it will have been fixed by 247a0d4b. Perhaps you would be willing to try it out?

Perhaps you would be willing to try it out?

It works, thanks a lot!

Great, thanks for confirming!

authors: hrkfdn liZe oliverangelil purcell


text:
서비스 운영하기

* 미션 진행 후에 아래 질문의 답을 Comment로 남겨주세요

각 서버내 로깅 경로를 알려주세요

추가미션을 진행한 경우, Cloudwatch 대시보드 URL을 알려주세요

로깅 경로

nginx -> /var/log/nginx
app -> /var/log/app

nokchax-dashboard

이상하게 action에서 buildx 수행시 503 에러가나네요..
일단 nginx, app 단에만 로그를 추가해서 두개만 남겼습니다. 감사합니다 :)

로깅경로
nginx : /var/log/nginx
app : /home/ubuntu/nextstep/log

fistkim101 Cloudwatch

이번 미션도 재미있었습니다.
감사합니다.

nginx : /varlog/subway/nginx
app : /var/log/subway/
shakevan

@vsh123 대시보드에 아무것도 없어요~ (혹시 저장을 안하신건..)

nginx: /var/log/nginx
app: /var/log/next-step/
sk1737030

환경별 로그 설정에서 해맸네요.
감사합니다!

nginx: /var/log/nginx
app: /var/log/subway
mindock-dashboard

nginx: /var/log/nginx
app: /var/log/subway
oeeen-dashboard

logback 설정에서 헤맸네요.. 공부할 게 많네요 ㅎㅎ 감사합니다.

nginx: /var/log/nginx
app: /var/log/app

mook1594-dashboard

nginx: /var/log/nginx
app: /var/log/app

cloudwatch 설정에서 막힌 부분이 있어서 해결 후 다시 올리겠습니다!

authors: Qualson-JM brainbackdoor fistkim101 mindock nokchax oeeen sk1737030 vsh123 wooyongha

repo: next-step/infra-subway


text:
Steps towards an ANTLR4 based LSP for vscode-nextflow

Warning:
DON'T MERGE INTO MASTER - this needs to go into a feature branch ;)

This PR is going back to a chat I had with Tomaso Paolo (😄). It is purely to provide visibility of my current development effort towards an ANTLR4 based language server protocol implementation of nextflow.
The goal is to have state of the art code completion, variable referencing, type checking, linking to definition statements etc. which is still a bit to go.
Implemented:

[x] support to autocomplete most configuration scope variables in configuration files

To be implemented:

[ ] refactor parseTree traversal helper functions
[ ] support rudimentary type inference for assign statements in config file
[ ] support process scope
[ ] support workflow scope
[ ] support import statements
[ ] support documentation
[ ] support channels
[ ] support variables
[ ] support params
...

@jemunro in case you are looking into something like this as well, lets bundle forces

Hi @uwwint , before you go too much further, I have written an ANTLR4 grammar for Nextflow script and config files. It looks like you already found the Groovy grammar. Let's find a way to add my Nextflow grammars so you don't end up re-inventing the wheel.

Hi @bentsherman,
Perfect! Could you point me to the grammar? It's straight forward to integrate. I'll put some documentation here later today.

It's currently sitting in a private repo. I will see about making it public when I get back from holiday next week.

Awesome @bentsherman. Cannot wait

@uwwint I added my grammar specs for nextflow config files and scripts. I was working with a "tiny groovy" spec to keep things simple, but I think we can move forward with the full groovy spec for now. I haven't set up the Groovy-optimized fork of antlr4 so I can't test these grammars yet, so feel free to run with them.

Hi @bentsherman,
Thanks for the contribution, I have successfully rebased your grammar on the official groovy, split them out, and generated all the compiled code. I will proceed with modifying grammarAdapter to utilise them.

@uwwint I was able to build the grammar and run the grammar test. I decide to use the config files from nf-core/rnaseq because they should provide good coverage of the config language. I'm still getting a few weird errors, seemingly around newlines:
server/configs/rnaseq_base.config

server/configs/rnaseq_modules.config
line 843:91 token recognition error at: ',\n'
-1: message

server/configs/rnaseq_nextflow.config
line 265:114 token recognition error at: '\n'
line 266:0 token recognition error at: '            return obj\n'
line 267:0 token recognition error at: '        }\n'
line 268:0 token recognition error at: '    } else if (type == 'time') {\n'
line 269:0 token recognition error at: '        try {\n'
line 270:0 token recognition error at: '            if (obj.compareTo(params.max_time as nextflow.util.Duration) == 1)\n'
line 271:0 token recognition error at: '                return params.max_time as nextflow.util.Duration\n'
line 272:0 token recognition error at: '            else\n'
line 273:0 token recognition error at: '                return obj\n'
line 274:0 token recognition error at: '        } catch (all) {\n'
-1: message

server/configs/rnaseq_igenomes.config

server/configs/rnaseq_test.config

server/configs/rnaseq_test_full.config

The problem lies with the Groovy grammar, because you still get these errors if you just use the Groovy parser. I'm wondering if the code your ported to typescript in the grammar files need to be updated since I reverted the grammar from Groovy 4 to Groovy 3?

I have concluded that a custom ANTLR grammar isn't the right approach. Even if we did get it to work, it would only produce a "parse" tree, which is just an intermediate step to an AST. I think we would have to rewrite much of the Groovy parser to get to a custom Nextflow AST. Uwe has been radio silent since December, so I'm not expecting him to come save the day anytime soon.
Instead, I think we will implement the LSP in Java/Groovy, so that we can reuse the Groovy parser and Nextflow AST transformations. It will have the same weird errors as Nextflow, but we've made a lot of improvements to error messages recently, so I feel more confident now that we can still provide a good user experience, even if we can't always identify the error down to the exact token.

The thing that clicked for me is the Nextflow DSL is all valid Groovy syntax, so we can just use the Groovy AST, perhaps with a few syntax transformations, to do everything we want to do with the LSP.

One more thing... Jordi started on a Java-based Nextflow LSP here: https://github.com/jordeu/nextflow-language-server
So we already on to a good start!

authors: bentsherman uwwint

repo: nextflow-io/vscode-language-nextflow


text:
🛑 TikTok REST API (SFO3) is down

In beda16a, TikTok REST API (SFO3) (https://tiktok.nextpost.tech/getVideoByID?video_id=7106855913906081070&license_key=$API_KEY&cache_timeout=0) was down:

HTTP code: 400
Response time: 14000 ms

Resolved: TikTok REST API (SFO3) is back up in 6efff87 after 12 minutes.

repo: nextpost-tech/status


text:
[BUG] - onPress not working for button inside Popover

NextUI Version
2.6.8
Describe the bug
<Popover placement='top'>
        <PopoverTrigger>
          <Button onPress={() => console.log('THIS IS NOT EXECUTED')}>Open Popover</Button>
        </PopoverTrigger>
        <PopoverContent>

Popover Content

This is the popover content

        </PopoverContent>
      </Popover>

  Button onPress not working.
  Was working in prev version.
  Next.js 14.2.18

Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
described in my example.
Expected behavior
onPress should trigger function
Screenshots or Videos
No response
Operating System Version
macbook
Browser
Chrome

https://react-spectrum.adobe.com/react-aria/usePress.html

By default, press events stop propagation to parent elements. In cases where a handler decides not to handle a specific event, it can call continuePropagation() to allow a parent to handle it.

You can see what you can do here.

authors: slatqh wingkwong

repo: nextui-org/nextui


text:
Software version bump

Needs the bioconda subread update to be merged first: https://github.com/bioconda/bioconda-recipes/pull/14115
Phil

I love that the linting correctly found that the conda package didn't exist 🎉
Restarting travis tests now that the bioconda PR is merged.. (thanks @apeltzer!)

repo: nf-core/rnaseq


text:
error in gff file (rnaseq branch test-datasets/reference/genes.gff)

We found a problem in the gff file you have as test.

rnaseq
test-datasets/reference/genes.gff

I	ensembl	transcript	335	649	.	+	.	ID=YAL069W;Parent=YAL069W;geneID=YAL069W;gene_biotype=protein_coding;gene_name=YAL069W;gene_source=ensembl;gene_version=1;p_id=P3634;transcript_biotype=protein_coding;transcript_source=ensembl;transcript_version=1;tss_id=TSS1129
I	ensembl	exon	335	649	.	+	.	Parent=YAL069W;exon_id=YAL069W.1;exon_number=1;exon_version=1;gene_biotype=protein_coding;gene_name=YAL069W;gene_source=ensembl;gene_version=1;p_id=P3634;transcript_biotype=protein_coding;transcript_source=ensembl;transcript_version=1;tss_id=TSS1129
I	ensembl	CDS	335	649	.	+	0	Parent=YAL069W;exon_number=1;gene_biotype=protein_coding;gene_name=YAL069W;gene_source=ensembl;gene_version=1;p_id=P3634;protein_id=YAL069W;protein_version=1;transcript_biotype=protein_coding;transcript_source=ensembl;transcript_version=1;tss_id=TSS1129

ID and Parent attributes of transcript features have same IDs. This is not allowed in GFF3 specifications.
We use AGAT that deals with that problem by automatically updating the parent ID to be uniq.
Using this file to test/build pipelines might be problematic. This should be updated.

I can provide you a fixed version of this file if you wish

We also found an awkward transcript at the end of the file that has a CDS of 2 nucleotides long.
I	ensembl	transcript	224563	224862	.	-	.	ID=YAR070C;Parent=YAR070C;geneID=YAR070C;gene_biotype=protein_coding;gene_name=YAR070C;gene_source=ensembl;gene_version=1;p_id=P48;transcript_biotype=protein_coding;transcript_source=ensembl;transcript_version=1;tss_id=TSS435
I	ensembl	exon	224563	224862	.	-	.	Parent=YAR070C;exon_id=YAR070C.1;exon_number=1;exon_version=1;gene_biotype=protein_coding;gene_name=YAR070C;gene_source=ensembl;gene_version=1;p_id=P48;transcript_biotype=protein_coding;transcript_source=ensembl;transcript_version=1;tss_id=TSS435
I	ensembl	CDS	224563	224565	.	-	0	Parent=YAR070C;exon_number=1;gene_biotype=protein_coding;gene_name=YAR070C;gene_source=ensembl;gene_version=1;p_id=P48;transcript_biotype=protein_coding;transcript_source=ensembl;transcript_version=1;tss_id=TSS435

Is it something normal?  It sounds wrong. Maybe it should be removed.

repo: nf-core/test-datasets


text:
Add picard MarkDuplicates and BCFTools variant calling route

nf-core/viralrecon pull request
Many thanks for contributing to nf-core/viralrecon!
Please fill in the appropriate checklist below (delete whatever is not relevant).
These are the most common things requested on pull requests (PRs).
PR checklist

[x] This comment contains a description of changes (with reason)
[x] If you've fixed a bug or added code that should be tested, add tests!
[ ] If necessary, also make a PR on the nf-core/viralrecon branch on the nf-core/test-datasets repo
[x] Ensure the test suite passes (nextflow run . -profile test,docker).
[x] Make sure your code lints (nf-core lint .).
[x] Documentation in docs is updated
[ ] CHANGELOG.md is updated
[x] README.md is updated

Learn more about contributing: CONTRIBUTING.md

Add more parameters for fastp trimming
Add process to MarkDuplicates with optional removal using --filter_dups parameter
Add BCFTools variant calling route
Change --save_pileup > --save_mpileup
Add --min_base_qual and --max_allele_freq param
Add MAKE_SNPEFF_DB process to only build SnpEff database once in the pipeline
Add SAMTOOLS_MPILEUP process to create pileup once using the same parameters and pass to VarScan 2 (DONE)/ iVar (DONE)/ BCFTools (?)
Remove some low frequency variant calling sections from MultiQC to make things a little clearer
Only run VarScan 2 once and then filter based on --max_allele_freq using bcftools filter instead to get high freq variants
Rename high frequency files for VarScan2 / iVar based on --max_allele_freq so pipeline can be re-run with different values without overwriting

Thanks @saramonzon @heuermh :)
Addressed your comments :) Lets see if the tests pass!

repo: nf-core/viralrecon


text:
[Feature Request] Update ISA-JSON schema validation to use dynamically created json from objects

@HLWeil

Done in 73409107e1eb2aa81bc46101935b4048b330c89b

authors: Freymaurer HLWeil


text:
neon-cli telemetry?

Configure neon-cli to transmit telemetry to the neonCLOUD headend where it will be persisted to Grafana services.  We're going to just do this live rather than using rotating log files or a database to keep this simple.

[ ] Honor the NEONKUBE_DISABLE_TELEMETRY=true environment variable by disabling all telemetry
[ ] Configure the OpenTelemetry log/tracing pipelines (we're not doing metrics)
Targets: telemetry.draco.wrt-00.neonforge.net, telemetry.headend.neonforge.net, telemetry.neoncloud.io
[ ] Create traces for important operations:

[ ] Delete cluster
[ ] Deploy cluster
[ ] Deploy built-in cluster
[ ] Logout
[ ] Dashboard
[ ] Lock cluster
[ ] Unlock cluster
[ ] Logout cluster
[ ] Pause cluster
[ ] Cluster purpose
[ ] Cluster reset
[ ] Cluster start
[ ] Cluster stop
[ ] Settings
[ ] Check for updates
[ ] Help
[ ] About
[ ] Exit
[ ] Log exceptions
[ ] Cluster context
[ ] MessageBox

[ ] Verify logs to headend
[ ] Verify traces to headend

REFACTOR: @marcusbooyah and I just discussed a few things.  First, we're going to redirect telemetry and logs from neon-desktop and neon-cli to the neon-desktop-service and have that service handle uploads to the headend.  This will make the user experience more seamless, especially for neon-cli.

[ ] Disable telemetry when neon-desktop-service isn't running.  Most users won't experience this, but this will impact neonKUBE developers (like us).
[x] Write exporters that send telemetry to  neon-desktop-service:

[x] log exporter
[x] trace exporter
[x] flush telemetry when neon-desktop-service is stopped

After second thought, this seems too invasive, so I'm going to close this.

repo: nforgeio/neonKUBE


text:
Cannot click on top of the placeholder text to activate control in uif-textfield

<uif-textfield placeholder="This is the placeholder" />
Expected Behavior
When clicking anywhere in the text field the placeholder text should dispensary
Actual Behavior
Click to the right or below the text activates the control. Clicking on the text itself does nothing.
Steps to Reproduce Behavior
Drop a textfield control with a placeholder in your app. Try to click on top of the placeholder text to activate the text.

The placeholder hides the input element in a way the input focus event does not fire.
Maybe something like this could be a way to a solution:
<label ng-show="labelShown" class="ms-Label" ng-click="labelClick()">{{uifLabel || placeholder}}</label>
and handle the label click in this way:
scope.labelClick = function(ev: any): void{   if (scope.placeholder) {     // focus input   } };

I did this on the label using jQuery:

onclick="jQuery(this).next().focus()"

passing focus to the underlying input control, so the same thing you describe.

I created a new branch: https://github.com/andikrueger/ng-officeuifabric/tree/issue-305-textfield-placeholder
I think it's working as expected. Please have a look and let me know.

authors: andikrueger wobba

repo: ngOfficeUIFabric/ng-officeuifabric


text:
Error: No component factory found for DialogComponent. Did you add it to @NgModule.entryComponents?

I'm submitting a...

[x] Support request
[x] Bug report

Current behavior
The component which is used for dialogBox, which is already available in entryComponents and also consider to be added into LazyModules. In this case the injector is not able to find the component we want to show into a modal.
Error:

ERROR
Error: No component factory found for DialogComponent. Did you add it to @NgModule.entryComponents?

StackBlits Example link: https://stackblitz.com/edit/angular-8-app-example-cn5vja?file=src/duplicate/duplicate.component.ts
Expected behavior
The dialogbox component should get close/unmount via this.dialogRef.close() without any error.
Environment

Angular version: ~8.2.14

For Tooling issues:
- Node version: 12.18.1
- Platform:  Mac

@tonivj5 we do not support versions 9-? We should add it to the entry components.

@tonivj5 we do not support versions 9-? We should add it to the entry components.

we already have it into entry components

@imchaitanya9 as a quick workaround you can add it yourself to AppModule:
import { NgModule } from "@angular/core";
import { BrowserModule } from "@angular/platform-browser";

import { AppComponent } from "./app.component";
import { DuplicateComponent } from "../duplicate/duplicate.component";
import { DialogModule, DialogComponent } from "@ngneat/dialog";

@NgModule({
  imports: [BrowserModule, DialogModule.forRoot()],
  declarations: [AppComponent, DuplicateComponent],
  entryComponents: [DuplicateComponent, DialogComponent],
  bootstrap: [AppComponent]
})
export class AppModule {}

@imchaitanya9 as a quick workaround you can add it yourself to AppModule:
import { NgModule } from "@angular/core";
import { BrowserModule } from "@angular/platform-browser";

import { AppComponent } from "./app.component";
import { DuplicateComponent } from "../duplicate/duplicate.component";
import { DialogModule, DialogComponent } from "@ngneat/dialog";

@NgModule({
  imports: [BrowserModule, DialogModule.forRoot()],
  declarations: [AppComponent, DuplicateComponent],
  entryComponents: [DuplicateComponent, DialogComponent],
  bootstrap: [AppComponent]
})
export class AppModule {}

Thanks for workaround!
however, I got one more error:
ERROR
Error: StaticInjectorError(AppModule)[DuplicateComponent -> DialogRef]:
StaticInjectorError(Platform: core)[DuplicateComponent -> DialogRef]:
NullInjectorError: No provider for DialogRef!

You're using template and it doesn't have DialogRef.

You should do: this.dialog.open(DuplicateComponent)

You should do: this.dialog.open(DuplicateComponent)

I also have to handle input, output for this component.

@NetanelBasal @tonivj5 hey guys, any update on this?

There is no issue here. You should use a component if you want a reference to DialogRef. If you want to use it in the template you can do this:
    <ng-template #modalTpl let-ref>

Hello World

      <button (click)="ref.close()">Close</button>
    </ng-template>

Or did you mean adding it to the entry component?

Released.

@NetanelBasal Hey, I have tried v1.0.3 but I think we still face the same problem.
Let us recap what we notice because I think we created a bit of confusion, apologies for that. So I have created two stackblitz:

Works as expected: https://angular-8-app-example-q5erk3.stackblitz.io
Not working: https://angular-8-app-example-auftkp.stackblitz.io

Both apps have a lazy loaded module, a LazyComponent and a DialogContent component
In 1) the app module DialogContent component is added to the app.module's declarations array and into the entryComponents array.
In 2) the app.module is clean, whilst the lazy.module's declarations array contains the DialogContent and we added the same into the entryComponents array.
In the second stackblitz, when we click on "Show dialog" button, nothing happens and an error is thrown:
ERROR Error: No component factory found for DialogContent. Did you add it to @NgModule.entryComponents?

repo: ngneat/dialog


text:
setActiveLang does not change language in ionic4/angular 8 app

I'm submitting a...

[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[x] Support request
[ ] Other... Please describe:

Current behavior
I have a two button for changing languages which calls setActiveLang(lang)
However, the language is not changed and I don't understand why.
The lang json files are present and when I change the default lang in the module, it's loaded correctly.
Expected behavior
The language should be changed.

Minimal reproduction of the problem with instructions
Generate default stuff with two languages, (en,de)
    {
      provide: TRANSLOCO_CONFIG,
      useValue: {
        availableLangs: ['en', 'de'],
        listenToLangChange: true,
        defaultLang: 'en',
        prodMode: environment.production,
      } as TranslocoConfig
    },
    translocoLoader

Component:
<ng-container *transloco="let t">
  <ion-header>
    <ion-toolbar>
      <ion-title>{{ t('title') }}</ion-title>
    </ion-toolbar>
  </ion-header>

  <ion-content>

    <ion-list-header color="medium">
      <ion-label>{{ t('languages')}}</ion-label>
    </ion-list-header>

    <ion-button id="en" (click)="setActiveLang('en')">en</ion-button>
    <ion-button id="es" (click)="setActiveLang('de')">de</ion-button>
  </ion-content>
</ng-container>

Component.ts
 constructor(private transSrv: TranslocoService) { }

  ngOnInit() {
  }

  setActiveLang(lang) {
    console.log("lang selected", lang);
    this.transSrv.setActiveLang(lang);
  }

Environment

For bug reports please provide the _STEPS TO REPRODUCE_ and if possible a _MINIMAL DEMO_ of the problem, for that you could use our [stackblitz example](https://stackblitz.com/edit/transloco-example)

Ionic:

   Ionic CLI                     : 5.4.2 (C:\Users\xxxx\AppData\Roaming\npm\node_modules\ionic)
   Ionic Framework               : @ionic/angular 4.11.0
   @angular-devkit/build-angular : 0.802.2
   @angular-devkit/schematics    : 8.3.8
   @angular/cli                  : 8.3.8
   @ionic/angular-toolkit        : 2.0.0

Firefox Desktop latest version (69.02)

System:

   Android SDK Tools : 26.1.1 (C:\Users\xxxx\AppData\Local\Android\Sdk)
   NodeJS            : v10.16.2 (C:\Program Files\nodejs\node.exe)
   npm               : 6.11.3
   OS                : Windows 10

Thanks! Works now :)

repo: ngneat/transloco


text:
Trigger a release

The changelog between the last stable release and master is impressive, and esp. in terms of security (privilege fixes), IDN and API.
Security fixes should always trigger a release, but this seems release-worthy in general...

@ngoduykhanh I've asked many times. I have written an ansible collection 6 month ago, and it was broken because we made changes on the API and there were no release since (my installation follows master and I have surprises at deployment).
Please take a break to fix a new release.

Also if you feel that others can help to lessen your burden, please let us know.

I've contributed to this project, and it's not actively updated by the owner, it's mainly updated with proposed PRs. He's busy and sometime takes time to review and merge, but the frequency is pretty random.
It may be a good idea to open the project to a limited board. My feeling is that this software has the power to be a very good frontend to powerdns (I chose it over others mainly because PDNS lacks supporting RBAC rules for the API. The alternatives either lacks of an API to manage the keys or gravity.io for example would need a bit of configuration to do so).

Hey @danimo and @jbe-dw !
We just tagged a new release.
I'll try to tag releases more often and less random, feel free to reach out.

authors: RGanor danimo jbe-dw

repo: ngoduykhanh/PowerDNS-Admin


text:
Error 500 when I try to send an email.

When I try to send an email, I get a 500 error in the F12 console. For some reason, it sends the POST request to 192.168.1.10:465, and I don't know why. Here is my config :
SMTP_HOSTNAME: ssl0.ovh.net
SMTP_PORT: 465
SMTP_USERNAME: "{{ smtp_username }}"
SMTP_PASSWORD: "{{ smtp_password }}"
SMTP_AUTH_TYPE: LOGIN
SMTP_ENCRYPTION: STARTTLS
EMAIL_FROM_ADDRESS: "{{ smtp_username }}"
EMAIL_FROM_NAME: Compte VPN

Bad config of my dnsmasq.

repo: ngoduykhanh/wireguard-ui


text:
Is it possible to use this to animate visibility?

<a-entity scale="1 1 1" visible="true" animation="property: visible; dur: 1250; loop: true; to: false">
Should that code above animate visibility? If so then that aspect of this plugin may not be working.

I'll look into it later, but it doesn't really make sense to animate a boolean value. I'd use the event-set component (https://github.com/ngokevin/kframe/tree/master/components/event-set) or some simple JS to toggle/flicker visibility instead

Well, certainly most of the parameters available won't make sense in this case. Can't tween boolean values. But as an animation concept the idea is just to allow for something to be true and false through a loop. I would try "scale" (scale to an invisible size) but setting that duration causes a problem.
I'll do straight JS then.

Something like:
AFRAME.registerComponent('flicker', {
  tick: AFRAME.utils.throttleTick(function (t) {
    this.el.setAttribute('visible', !this.el.getAttribute('visible'));
  }, 1000);
});

<a-box flicker>

Cool, thanks. I'm still learning how to write components so I'll use this as a first exercise. Thanks again.

Now it can property: visible; from: true; to: false

authors: estevancarlos ngokevin

repo: ngokevin/kframe


text:
Tambahkan informasi pemesanan buku di README

Halo @girikuncoro / @raffifu
Bagaimana jika di README ditambahkan informasi untuk pemesanan buku via penerbit? Untuk memudahkan pembaca repo ini jika ingin membeli buku.
PS: Pencarian di lokapasar memunculkan hasil dengan harga yang berbeda-beda. Hihihi...

terimakasih atas masukannya, untuk sarannya saya tambahkan informasi pemesanan buku yang ini cukup kah?
https://bit.ly/PO-Kubernetes
beserta dengan ebook di android playstore
saya pantau di tokopedia juga banyak tapi memang harganya tergantung resellernya https://www.tokopedia.com/search?st=&q=kubernetes pemula

Oh, ternyata di repo ini sudah ada informasi-nya mas @girikuncoro https://github.com/ngoprek-kubernetes/buku-kubernetes-pemula
Mungkin bisa ditambahkan saja tautan di atas di README. Bagaimana Mas Giri?

ohya betul mas @ariscahyadi yang tambahkan waktu itu, sip begitu saja, boleh minta tolong raise PR? terimakasih

@za dan @girikuncoro saya sudah update pemesanan lewat pre-order, marketplace dan google play store disini https://github.com/ngoprek-kubernetes/buku-kubernetes-pemula

Saya sudah buat PR ya mas @girikuncoro cc: mas @ariscahyadi

Sudah di merge ya @za dan @girikuncoro

Sip mas @ariscahyadi

authors: ariscahyadi girikuncoro za

repo: ngoprek-kubernetes/examples


text:
how to change model in fieldArray child field with ngx-datatable

I'm submitting a ...  (check one with "x")

[X ] support request

Current behavior
I am using ngx-datable with material, similar to the example on the ngx-formly demo page.
GIven 3 columns  qty, unitPrice and extendedPrice. I need to calculate and update the 'readonly' extendedPrice input field when either qty or unitPrice changes.
Rows are laid out as a fieldGroup within a fieldArray
I can catch changes on the qty or unitPrice columns either using a validator or change hook on individual fields, or I can see changes using a validator at the fieldArray level.
However I am unable to target the model for extendedPrice, so there's no way to save the qty * unitPrice value into it's corresponding model.
I suppose I could try parsing 'id' on qty onChange control, then using getElementById to force a value onto the extendedPrice input element but that would be pretty ugly.
Any suggestions?

ultimately I was able to work around this by:

assigning a className to the qty, unitPrice and extendedPrice fields
use the 'change' templateOption for qty and unitPrice to call a function that
calculates the extendedPrice by traversing the change event -> currentTarget.closest() to find the ancestor 'datatable-body-row', then querySelector for the "className input" I had set on the fields to get access to the qty, unitPrice and extendedPrice html input elements.

I had also tried adding a hideExpression on the FieldGroup. This gave me access to the model for that row and I was able to directly alter the model's extendedPrice field. However changing this value in the model did not change the UI, likely due to one-way binding.
ugly but works.. :-(

See https://github.com/ngx-formly/ngx-formly/issues/1447#issuecomment-467808849

thanks for the pointer. Which hook or event would I use to get access to a formControl for the group?

It's better to replicate an example of what you've done using stackblitz so could provide some hints.

just provided an answer to a question that may be related to this too, see https://github.com/ngx-formly/ngx-formly/issues/1547

authors: aitboudad bkcsfi

repo: ngx-formly/ngx-formly


text:
[SUPPORT] input type="tel" for angular material

I'm submitting a support request  (check one with "x")
[ ] bug report
[ ] feature request
[ X ] support request

Current behavior

Specifying type='tel' doesn't work
Expected behavior

type='tel' should look something like this
Minimal reproduction of the problem with instructions

Current Angular Material Behaviour
https://stackblitz.com/angular/jnejqgdmlbb?file=app%2Finput-prefix-suffix-example.ts
What is the motivation / use case for changing the behavior?

Phone number as input should be supported
Please tell us about your environment:

Angular version: 8.3.X

Browser: all

Language: all

create a custom field type, below some links may help:

https://ngx-formly.github.io/ngx-formly/guide/custom-formly-field
https://github.com/ngx-formly/ngx-formly/issues/806#issuecomment-373299577

I agree to use a custom template, But shouldn't this be supported natively by ngx-formly as it is supported by Angular Material?

could you tell me which part do you mean by supported by Angular Material:

prefix-suffix
tel type

for prefix-suffix check https://ngx-formly.github.io/ngx-formly/examples/other/material-prefix-suffix

for tel type, pass typethroughout templateOptions:

{
  type: 'input',
  templateOptions: { type: 'tel' },
}

I meant tel type and this
{
  type: 'input',
  templateOptions: { type: 'tel' },
}

is not working.

still, don't get it, could you please describe to me what going wrong with the following example https://stackblitz.com/edit/angular-b9vm5j 🤔, thanks!

Really sorry. Totally misunderstood the way it works. type='tel' is no different than a type=number input. Thanks for assisting BTW.

still, don't get it, could you please describe to me what going wrong with the following example https://stackblitz.com/edit/angular-b9vm5j 🤔, thanks!

This still allows you to enter alpha characters, it should only accept integer values.

@lartheon use can pass a pattern to validate the entered phone number, there is an example of pattern usage in our doc https://formly.dev/examples/validation/built-in-validations or create a custom field type https://formly.dev/guide/custom-formly-field which rely on angular lib for phone.

Thank you, I'll try it out

@lartheon use can pass a pattern to validate the entered phone number, there is an example of pattern usage in our doc https://formly.dev/examples/validation/built-in-validations or create a custom field type https://formly.dev/guide/custom-formly-field which rely on angular lib for phone.

I got it working, however email doesn't seem to work, I thought Formly validated email addresses out of the box. If not, could you direct me to an example of how to implement and email only field correctly?
Thank you

authors: aitboudad lartheon vishnu-dev


text:
Missing LICENSE file in published package

Current behavior
The published package contains the entry "license": "SEE LICENSE IN LICENSE" its package.json, however the LICENSE file itself is not included.
Expected behavior
The LICENSE file should be included in the package.
Optionally, the license property in the package.json should be changed from SEE LICENSE IN LICENSE to MIT because that matches the assigned SPDX identifier of the LICENSE file of this repository.
How do you think that we should fix this?

Minimal reproduction of the problem with instructions

Environment

ngx-translate version: 15.0.0
Angular version: 16.0.2

For Tooling issues:
- Node version: 18.14.0
- Platform:  Linux

Might be related to #1418

yes, the licence has not changed

Merci beaucoup!

We are using Qodana, and our License Audit is not passed, because of "license": "SEE LICENSE IN LICENSE" that is set in package.json. @ocombe , can you please update the package.json file, with "license": "MIT" ?
For @ngx-translate/core and @ngx-translate/http-loader

You can switch to @codeandweb/ngx-translate - it contains the proper license file and gets updates and fixes.

Fixed in v16. https://ngx-translate.org/getting-started/migration-guide/

authors: CodeAndWeb LeChasseur ocombe ropotvs tkegelmann

repo: ngx-translate/core


text:
v16 returns undefined when translating booleans.

Current behavior
Have translation file like
{
  name: {
    label: 'Name Form Control',
    required: true
  }
}

after translation file has been loaded and we do
this.translationService.instant('name')
the result is
{
  name: {
    label: 'Name Form Control',
    required: undefined
  }
}

Expected behavior
Returns
{
  name: {
    label: 'Name Form Control',
    required: true
  }
}

How do you think that we should fix this?

Minimal reproduction of the problem with instructions

Environment

ngx-translate version: 16.0.3
Angular version: 18.2.9

Browser:
- [ ] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX

For Tooling issues:
- Node version: XX
- Platform:

Others:

The previous implementation relied heavily on any, which made it too permissive. This allowed arbitrary data to be passed into the translation functions, creating challenges during library development. Many parts of the code required complex checks, such as verifying whether the input was an array, object, string, and so on.
I've refined this by restricting input to nested arrays, objects, and strings (with functions allowed if you're using a translation compiler implementation for interpolation). This change simplifies the internal code of ngx-translate, improving clarity and maintainability, albeit with a slight reduction in flexibility.
Unfortunately, any still exists since it's not possible (or at least I found no way) to define a clean recursive structure.

@CodeAndWeb So just unable to have booleans in the translation file now?

As a quick and simple workaround:
You can derive from the TranslateDefaultParser and override the interpolate()
function. This approach might work for your needs.
That said, I cannot guarantee its long-term reliability or that it won’t lead to
unexpected behavior in the future. I acknowledge that this introduces a limitation
in the current version, but as mentioned earlier, this decision was made to ensure
a cleaner and more maintainable codebase for the library.
  public interpolate(expr: InterpolateFunction|string, params?: InterpolationParameters): string|undefined
  {
    if (isString(expr))
    {
      return this.interpolateString(expr as string, params);
    }
    else if (isFunction(expr))
    {
      return this.interpolateFunction(expr as InterpolateFunction, params);
    }
    return expr as any;
  }

authors: CodeAndWeb pjcav


text:
Add cancelUncomplete to @Receiver()

It would be really great if  @Receiver would also accept the cancelUncomplete configuration the same as @Action does.
@Receiver({ cancelUncomplete: true })

@splincode Your opinion?

authors: arturovt visurel

repo: ngxs-labs/emitter


text:
Toolbar dropdowns are placed outside of the default view

Describe the bug
Toolbar dropdowns are placed outside of the default view: see the screenshot

To Reproduce
Use a small screen and click any toolbar button that shows a dropdown.
Expected behavior
It should be snapped to the side of the available space
Desktop (please complete the following information):

OS: Windows 10
Browser: Edge
Version: 91

@bobvandevijver
I will fix in v3.0.2. Thanks for reporting!

@bobvandevijver
The bug has been fixed in v3.0.2. Thanks!

@js87zz Thank you for this fix, I just confirmed the submitted case is indeed fixed.
However, when the screen is a bit smaller (arguably too small for this editor), the following happens:

This was captured on a 444px screen width.

This editor doesn't support mobile devices
https://github.com/nhn/tui.editor/issues/1735
Read comments


text:
fix(dashboard): refresh table list after running a SQL stmt using the editor

fixes https://github.com/nhost/projects/issues/52

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (3c4dd55) 86.28% compared to head (a63ce6e) 86.28%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2549   +/-   ##
=======================================
  Coverage   86.28%   86.28%
=======================================
  Files          86       86
  Lines        9396     9396
  Branches      481      481
=======================================
  Hits         8107     8107
  Misses       1289     1289

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

authors: codecov-commenter onehassan

repo: nhost/nhost


text:
Add a link to NHSEI Platforms transformation blog post from service manual blog posts pages

What
Add a link to blog reusing-the-right-tools-for-the-job from the service manual blog post pages.
Why
To promote the release of Standards and technology content, promote the blog and highlight the collaboration.
Done when

[ ] Design input required to add image
[ ] Add link to blog from the service manual blog post pages
[ ] Include in next release

I'll do this when we release Content Style Council changes. I'm prioritising the standard for creating health content first.

Drafted. In a branch for release in July. Waiting for Tosin to add 2 images.

authors: georginaplatt sarawilcox

repo: nhsuk/nhsuk-service-manual


text:
Users/gorozco/multisession

What does this Pull Request accomplish?
How to mix multiple RFmx personalities using gRPC. It was not clear to me before if we needed to initialize each personality and keep track of the instrument variable.
Why should this Pull Request be merged?
Show customers how to do this programming.
What testing has been done?
Simple execution of the code. This mixes other two existing examples in the same one.

We are branching for the 2.2 release, this change has open conversations and potentially conflicts with #878  . I recommend we wait to submit this after the release

Does anyone know why this failed?
I tried to run mypy externally with those flags and I do not get any error.

Does anyone know why this failed? I tried to run mypy externally with those flags and I do not get any error.

I didn't know a good way to type it out, but I was able to run it locally and have potential fixes for the MyPy complaints. I created a draft PR #996 that has how I run validate_examples.py locally to get the same results. And then you can see the diff for this file I made here. Those changes at least satisfy MyPy, but I'm not sure if all of the changes are correct for your example.

Hi Ryan, thank you for your comments and detail PR. I am going over the changes...
I think I am missing something to validate locally as I get the output below. I am not very familiar with poetry but looks like I need to add an environmental variable?
_C:\github\grpc-device\grpc-device\examples>python ..\source\codegen\validate_examples.py -p "*nirf"
Validating examples using staging_dir: C:\github\grpc-device\grpc-device\build\validate_examples
'poetry' is not recognized as an internal or external command,
operable program or batch file.
'poetry' is not recognized as an internal or external command,
operable program or batch file.
'poetry' is not recognized as an internal or external command,
operable program or batch file.
'poetry' is not recognized as an internal or external command,
operable program or batch file.
'poetry' is not recognized as an internal or external command,
operable program or batch file.
'poetry' is not recognized as an internal or external command,
operable program or batch file.
-- Validating: nirf
-> Running black line-length 100
'poetry' is not recognized as an internal or external command,
operable program or batch file.
-> Running mypy
'poetry' is not recognized as an internal or external command,
operable program or batch file.
FAILED STEP (1): [poetry new .]
FAILED STEP (1): [poetry add grpcio]
FAILED STEP (1): [poetry add --dev grpcio-tools mypy mypy-protobuf types-protobuf grpc-stubs]
FAILED STEP (1): [poetry add --dev --python ">=3.6.2" black]
FAILED STEP (1): [poetry install]
FAILED STEP (1): [poetry run python -m grpc_tools.protoc -IC:\github\grpc-device\grpc-device\build\validate_examples\proto --python_out=. --grpc_python_out=. --mypy_out=. --mypy_grpc_out=. calibrationoperations_restricted.proto debugsessionproperties_restricted.proto deviceid_restricted.proto nidaqmx.proto nidcpower.proto nidevice.proto nidigitalpattern.proto nidmm.proto nifake.proto nifake_extension.proto nifake_non_ivi.proto nifgen.proto nimxlcterminaladaptor_restricted.proto nirfmxbluetooth.proto nirfmxcdma2k.proto nirfmxdemod.proto nirfmxgsm.proto nirfmxinstr.proto nirfmxinstr_restricted.proto nirfmxlte.proto nirfmxnr.proto nirfmxspecan.proto nirfmxspecan_restricted.proto nirfmxtdscdma.proto nirfmxwcdma.proto nirfmxwlan.proto nirfmxwlan_restricted.proto nirfsa.proto nirfsg.proto niscope.proto niscope_restricted.proto niswitch.proto nisync.proto nitclk.proto nixnet.proto nixnetsocket.proto session.proto session_utilities.proto]
FAILED STEP (1): [poetry run black --check --line-length 100 C:\github\grpc-device\grpc-device\build\validate_examples\examples\nirf]
FAILED STEP (1): [poetry run mypy C:\github\grpc-device\grpc-device\build\validate_examples\examples\nirf --check-untyped-defs --ignore-missing-imports]_

Hi Ryan, thank you for your comments and detail PR. I am going over the changes... I think I am missing something to validate locally as I get the output below. I am not very familiar with poetry but looks like I need to add an environmental variable?
_C:\github\grpc-device\grpc-device\examples>python ..\source\codegen\validate_examples.py -p "*nirf" Validating examples using staging_dir: C:\github\grpc-device\grpc-device\build\validate_examples 'poetry' is not recognized as an internal or external command, operable program or batch file. 'poetry' is not recognized as an internal or external command, operable program or batch file. 'poetry' is not recognized as an internal or external command, operable program or batch file. 'poetry' is not recognized as an internal or external command, operable program or batch file. 'poetry' is not recognized as an internal or external command, operable program or batch file. 'poetry' is not recognized as an internal or external command, operable program or batch file.
-- Validating: nirf -> Running black line-length 100 'poetry' is not recognized as an internal or external command, operable program or batch file. -> Running mypy 'poetry' is not recognized as an internal or external command, operable program or batch file. FAILED STEP (1): [poetry new .] FAILED STEP (1): [poetry add grpcio] FAILED STEP (1): [poetry add --dev grpcio-tools mypy mypy-protobuf types-protobuf grpc-stubs] FAILED STEP (1): [poetry add --dev --python ">=3.6.2" black] FAILED STEP (1): [poetry install] FAILED STEP (1): [poetry run python -m grpc_tools.protoc -IC:\github\grpc-device\grpc-device\build\validate_examples\proto --python_out=. --grpc_python_out=. --mypy_out=. --mypy_grpc_out=. calibrationoperations_restricted.proto debugsessionproperties_restricted.proto deviceid_restricted.proto nidaqmx.proto nidcpower.proto nidevice.proto nidigitalpattern.proto nidmm.proto nifake.proto nifake_extension.proto nifake_non_ivi.proto nifgen.proto nimxlcterminaladaptor_restricted.proto nirfmxbluetooth.proto nirfmxcdma2k.proto nirfmxdemod.proto nirfmxgsm.proto nirfmxinstr.proto nirfmxinstr_restricted.proto nirfmxlte.proto nirfmxnr.proto nirfmxspecan.proto nirfmxspecan_restricted.proto nirfmxtdscdma.proto nirfmxwcdma.proto nirfmxwlan.proto nirfmxwlan_restricted.proto nirfsa.proto nirfsg.proto niscope.proto niscope_restricted.proto niswitch.proto nisync.proto nitclk.proto nixnet.proto nixnetsocket.proto session.proto session_utilities.proto] FAILED STEP (1): [poetry run black --check --line-length 100 C:\github\grpc-device\grpc-device\build\validate_examples\examples\nirf] FAILED STEP (1): [poetry run mypy C:\github\grpc-device\grpc-device\build\validate_examples\examples\nirf --check-untyped-defs --ignore-missing-imports]_

Sure thing! And did you run python -m pip install poetry? I don't remember if there was more to it or that was what gets it all set up to be used by the validate script.

Great!

I will add it to the PR #912

authors: reckenro shastriUF yardov

repo: ni/grpc-device


text:
Lighthouse failing with axe-core Error: Cannot read properties of undefined (reading 'actualNode')

🧹 Tech Debt
Looks like lighthouse is failing intermittently on main, since: https://github.com/ni/nimble/commit/090ed10ab16edf555d7ed2114eb8eb54130b2c64
See: https://storage.googleapis.com/lighthouse-infrastructure.appspot.com/reports/1699279168857-58396.report.html
And consistently with the changes proposed here: https://github.com/ni/nimble/pull/1646
See: https://storage.googleapis.com/lighthouse-infrastructure.appspot.com/reports/1699279168857-58396.report.html
With error message:
axe-core Error: Cannot read properties of undefined (reading 'actualNode')

See:

@kjohn1922 thanks for digging in and finding a workaround for what was breaking axe core in lighthouse. If you're feeling ambitious can try to reproduce and report it upstream to https://github.com/dequelabs/axe-core

Found a way to reproduce the axe-core error in dev tools:

Navigate to a built page that causes the error in lighthouse, i.e. currently:
Open dev tools, in the sources tab under breakpoints enable Pause on caught exceptions
In dev tools in the console run the latest axe-core on the page, i.e.document.body.append(Object.assign(document.createElement('script'), {src: 'https://unpkg.com/axe-core/axe.js', onload: () => {axe.run().then(results => {console.log(results)}).catch(err => {console.error('Something bad happened:', err.message)});}}));

Note: the script is loading unminified code and targeting the latest version. As of writing the version resolved to https://unpkg.com/axe-core@4.8.4/axe.js
The script will download and run, may take a few seconds, but should break on the line resulting in an error

The lighthouse update merged as part of #1786 caused this card issue to come-up again so the card was disabled in the example app and the accessibility assertions re-enabled as part of #1809

Assigning to myself to file an issue upstream to axe-core

Created a minimal reproducing example that causes the lighthouse failure
live page: https://axecore-lighthouse-failure.glitch.me/
edit page: https://glitch.com/edit/#!/axecore-lighthouse-failure
Reported an issue to axe-core so hopefully they can handle shadow roots better: https://github.com/dequelabs/axe-core/issues/4335
Reported an issue to lighthouse so hopefully they can be more robust to axe-core failures and still generate accessibility scores: https://github.com/GoogleChrome/lighthouse/issues/15828
Marking the issue blocked. If either the lighthouse or axe-core issue is resolved we may be able to unblock this issue and re-enable the nimble-card in the angular app:
https://github.com/ni/nimble/blob/fe357da0720160103bbd212aa32451e1d3967d85/angular-workspace/projects/example-client-app/src/app/customapp/customapp.component.html#L45-L59

repo: ni/nimble


text:
Wrong constant for empty stream

Hi,
i'd like to say a big thank you for this client, is the most complete we found for node.
I've found a small bug here: https://github.com/nicdex/eventstore-node/blob/master/lib/dist.js#L54, as per spec the empty stream should be 0 and not -1.
It would be really nice to see some documentation. If i've some time i'll try to help. Thanks!

First of all sorry for the delay, I've didn't have time to update that project lately. Also somehow my github notifications are turned off otherwise I would have answered sooner than this.
This is a port of the .Net client, the code is closely as possible to the original. As you can see here https://github.com/EventStore/EventStore/blob/release-v4.0.0/src/EventStore.ClientAPI/ExpectedVersion.cs EmptyStream value is -1. That being said, function documentation seems to says it should be 0. Please open a ticket on the EventStore github project to get confirmation/change and I will gladly port the change if any.
Thank you.

authors: mcasimir nicdex

repo: nicdex/eventstore-node


text:
3-Ingredient Cinnamon Sugar Pie Crust Cookies – The Comfort of Cooking

https://www.thecomfortofcooking.com/2015/08/3-ingredient-cinnamon-sugar-pie-crust-cookies.html

Add melted butter to dough to make the cinnamon and sugar stick.
Somehow make the rolled dough stick together.
Roll in cinnamon and sugar.
Use filling from Claire Saffitz's monkey bread (pecan, cinnamon, sugar, etc.) as option.

repo: nicholaswilde/recipes


text:
Paste format when pasting from Excel file

When pasting values from an Excel file, the Grid is using the HTML format, instead of Plain Text. This is troublesome as Excel can have many visual formats and the Grid is not using the raw value.
Take as an example a value "12345.67" in Excel. Depending on the cell width, Excel will show the value trimmed, rounded or even replaced with "####".

These are the values used if HTML format is first, which are not correct:

However, Plain Text contains the correct raw values:

Proposal:
Change the evaluation to consider clipboard format text/plain first and text/html second.
Second proposal:
Control the order of evaluation with a prop. Some prop called clipboardFormatPriority, with an array of values text/html,text/plain, text.

@nick-keller I have created the PR #368 for your consideration 👍

@nick-keller that is a fair question. Agree. I will have a deeper look at this. A very high level search lead me to Sheetjs. Their approach is to use all of the formats, which I think is interesting:
https://docs.sheetjs.com/docs/demos/local/clipboard/#browser-reading-paste

repo: nick-keller/react-datasheet-grid


text:
The specified bucket does not exist

  Serverless Error ---------------------------------------

  Could not locate deployment bucket. Error: The specified bucket does not exist

Ahh good point, this is due to the serverless.yml.

authors: nicka tvb

repo: nicka/coinboss


text:
Error during compile.

I get the following errors on compile, though they do go away if I keep running the compile...
/Users/.../Documents/Arduino/libraries/BigNumber/number.c: In function 'bc_str2num':
/Users/.../Documents/Arduino/libraries/BigNumber/number.c:1523:7: warning: assignment discards 'const' qualifier from pointer target type
ptr = str;
^
/Users/.../Documents/Arduino/libraries/BigNumber/number.c:1548:7: warning: assignment discards 'const' qualifier from pointer target type
ptr = str;
^

I don't get any warnings under IDE 1.6.9, even with warnings set to "all".

warning: assignment discards 'const' qualifier from pointer target type

That's a warning, not an error. Since it is a warning, if you compile again that source file won't be compiled a second time, and you don't see the message a second time.

authors: nickgammon royord

repo: nickgammon/BigNumber


text:
Release 0.9.4

I was looking into using your library in an application and just realized that the collections functionality I need doesn't appear until the 0.9.4 version. Unfortunately, I don't see a tag for that version or see it listed in npm.  Any idea when it will be released? Is this project currently in active development?

Just published to npm. Been moving fast lately, forgot to release before moving forward!

authors: arlaneenalra nicklandgrebe


text:
Windows support

This branch adds Windows support by replacing the unix commands with node scripts that run the desired command.

It looks good now. Thanks for your contributions @andrepcg.
I pretty much sure that's what we need to support both Mac and Win users.

authors: andrepcg nicksp


text:
Add commnent to README.md

readme~~~

already merged from other PR

authors: Simeuilyang nickyzero


text:
Title Prop returning duplicate Value

I am using it in a Nuxt app and I have only tried twitter network. When I set the title prop it displays twice in the tweet.

Hello @tayler-ramsay,
thank you for reporting this issue, it has been fixed in the lastest release!

Thank You!
Best regards,
Tayler Ramsay ({

({Developer} && "Designer")*

 return {*
             [ Phone: (717) 578-3243,
               *www.tayler.co* <http://www.taylerramsay.com/>  *]*

       }*

  });*

"It's such a fine line between stupid, and clever."
On Wed, May 20, 2020 at 4:02 PM Nicolas Beauvais notifications@github.com
wrote:

Hello @tayler-ramsay https://github.com/tayler-ramsay,
thank you for reporting this issue, it has been fixed in the lastest
release!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/nicolasbeauvais/vue-social-sharing/issues/217#issuecomment-631695529,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABIQ3EIJ3TMSPEGTQBGND5LRSQZNRANCNFSM4NGILKYQ
.

authors: nicolasbeauvais tayler-ramsay

repo: nicolasbeauvais/vue-social-sharing


text:
Is BackoffStrategy intended to be a public or a private interface?

Hi @nidorx, how is it going?
I've found your project on r/golang and nice work.
A quick question, the interface BackoffStrategy is public but it contains a private method which makes it uncallable from outside the package, is this intended?
Cheers,
Firmino

Thanks @flowck . I updated the interface and it is now possible to implement custom strategies.
https://github.com/nidorx/retry/commit/9ece996e0f37b8a1d497ee5d64de98ffc8ad9c0b

authors: flowck nidorx

repo: nidorx/retry


text:
In sensors tab, incorrect number of sensors is displayed when filtering

Alarmo Version
v1.9.3
HA Version
2022.6
Bug description
From arm modes card:

From sensors card (filter dialog):

The correct number is 1, since there is an always-on sensor active (same as in custom bypass mode).
Steps to reproduce
No response
Relevant log output
No response

Should be fixed by https://github.com/nielsfaber/alarmo/commit/da9e96015d2472947a806734ab943a685e44fc99

repo: nielsfaber/alarmo


text:
Create CUDA ring buffer allocator

Implement CUDA allocator using ring buffer strategy. Be sure to unit test creation, allocation, and deallocation

Unit tests passing - d4a852d500082d7101fd18a016bafcf7fcf6503e


text:
port 80 as an option

testing this out and since I have it under a macvlan I can assign it an ip address, hence port 80 would be nice.  I tried to just change the env variable to 80 but no joy.  Then tried port mapping and even URLS as an env variable.. nothing works..
Am I missing something or does this image not allow port 80?
thanks

Hello,
Thanks for the great explanation.  I do have pfsense running and can setup a reverse proxy and even setup cname etc, however, I was just hoping to not have to deal with that for this app.
As I am newer to docker some things do not make sense to me.  One thing I tried to do was use the port mapping feature to map port 80 on the host side to port 3000 on your container side. is this something you have to 'allow' in the image or is your environment variable setting the external port only and hardwiring it to 3000 internally?
  ports:
    - '80:3000'

repo: nihilux-org/roon-web-stack


text:
Linux issues

[x] does not seem to work in vscode under Linux (niivue canvas remains black)
[x] not available in marketplace of vscodium

after releasing the new version, it suddenly started working in Linux

Uploaded to open VSX, which should be available in vscodium

repo: niivue/niivue-vscode


text:
Create additional info blocks

You can make your resume less official by adding more entertaining info, like your hobbies and interest, or what do you like, some interactive content or joke, easter egg, etc.

finally, last comment

repo: nika-sirak/homepage


text:
Salesforce Marketing Cloud Cloudpages No 'Access-Control-Allow-Origin'

I am using html2canvas on Salesforce Marketing Cloud Cloudpages Landing Page and receiving the issue:
Access to image at  from origin  has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
I have included "useCORS: true" in order to display an image in my screenshot and I have set the HTTPHeaders in Salesforce to accept "*". This has not solved the issue

Try this on your  cloud page
<script runat="server">   Platform.Load("Core","1");   HTTPHeader.SetValue("Access-Control-Allow-Methods","GET, POST");   HTTPHeader.SetValue("Access-Control-Allow-Origin","*"); </script>


text:
Fixed Javascript easy issue

Description
Fixed Javascript easy issue
Additional Context

Merged

This is an automated message from Fork, Commit, Merge [BOT].

Thank you for your contribution! Your pull request has been merged. The files have been reset for the next contributor.
What's next?
If you're looking for more ways to contribute, I invite you to check out my other projects. Just click here to find more. These projects contain real issues that you can help resolve. You can also check out the Influences section in the README to find more projects similar to this one.
Also please leave a star to this project if you feel it helped you, i would really appreciate it.
I look forward to seeing your contributions!

authors: mithilesh-patel nikohoffren

repo: nikohoffren/fork-commit-merge


text:
How to set multiple capabilities on a single line?

The "Bundling and Splitting" section covers how to combine context capabilities on the declaration side. E.g.
context foo;
context bar;
context baz;

context kaboodle = foo + bar + baz;

On the declaration side we know that we want to enable "with clauses anywhere where clauses can be used", and I think we have a good sense for what we want from it. Something which we haven't covered yet is how to handle multiple capabilities on the consumer side. With the current syntax, we'd probably expect at least the following to work to set multiple capabilities:
with foo {
    with bar {
        with baz {
            // use `foo`, `bar` and `baz` here.
        }
    }
}

But this is very nested and doesn't necessarily feel great. Also in function bodies we don't have this issue because we can already set multiple context capabilities using a single with clause:
fn qux()
with foo, bar, baz,
{
    // use `foo`, `bar` and `baz` here.
}

There's a question of if and how we might want to support this for with blocks as well. Should we allow something like the following?:
with foo, bar, baz {
    // use `foo`, `bar` and `baz` here.
}

I don't think answering this is a priority, but it does feel like something we should track and find an answer for eventually.

I like using commas in both contexts!

authors: tmandry yoshuawuyts