[BUG]: Random crashes and freezes. (With logs.)

Hyprland Version
Hyprland, built from branch  at commit 1b48642fd15c433c53876f1b933dcd46265caf8f dirty ().
Bug or Regression?
Bug
Description
Hyprland crashed on me twice! And I think it is due to an assert statement somewhere in the code. I have logs.
hyprlandCrashReport866.txt:
--------------------------------------------
   Hyprland Crash Report
--------------------------------------------
Oops

Hyprland received signal 11 (Segmentation fault)

Version:<PHONE_NUMBER>117f7f150c6f2a2ce4dede6e8cbb25
Tag: v0.28.0

System info:
	System name: Linux
	Node name: Pongo
	Release: 6.4.10-zen2-1-zen
	Version: #1 ZEN SMP PREEMPT_DYNAMIC Sun, 13 Aug 2023 01:33:59 +0000

GPU:
	05:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt [Radeon 680M] [1002:1681] (rev c1) (prog-if 00 [VGA controller])

os-release:
	NAME="EndeavourOS"
	PRETTY_NAME="EndeavourOS"
	ID="endeavouros"
	ID_LIKE="arch"
	BUILD_ID=rolling
	ANSI_COLOR="38;2;23;147;209"
	HOME_URL="https://endeavouros.com"
	DOCUMENTATION_URL="https://discovery.endeavouros.com"
	SUPPORT_URL="https://forum.endeavouros.com"
	BUG_REPORT_URL="https://forum.endeavouros.com/c/arch-based-related-questions/bug-reports"
	PRIVACY_POLICY_URL="https://endeavouros.com/privacy-policy-2"
	LOGO="endeavouros"

Backtrace:
	#0 | Hyprland(_ZN13CrashReporter18createAndSaveCrashEi+0x458) [0x5600ff25c3e8]
		??
		??:0
	#1 | Hyprland(_Z25handleUnrecoverableSignali+0x47) [0x5600ff1f5727]
		??
		??:0
	#2 | /usr/lib/libc.so.6(+0x3e710) [0x7fad1343e710]
		??
		??:0
	#3 | Hyprland(_ZN12CFramebuffer5allocEii+0x263) [0x5600ff2da263]
		??
		??:0
	#4 | Hyprland(_ZN15CHyprOpenGLImpl18makeWindowSnapshotEP7CWindow+0x25c) [0x5600ff2e466c]
		??
		??:0
	#5 | Hyprland(_ZN6Events20listener_unmapWindowEPvS0_+0x252) [0x5600ff277ae2]
		??
		??:0
	#6 | Hyprland(_Z13handleWrappedP11wl_listenerPv+0x40) [0x5600ff286490]
		??
		??:0
	#7 | /usr/lib/libwayland-server.so.0(wl_signal_emit_mutable+0x7e) [0x7fad13e7101e]
		??
		??:0
	#8 | /usr/lib/libwlroots.so.12032(wlr_surface_unmap+0x2a) [0x7fad13f389da]
		??
		??:0
	#9 | /usr/lib/libwlroots.so.12032(+0xaa1f8) [0x7fad13f641f8]
		??
		??:0
	#10 | /usr/lib/libwlroots.so.12032(+0xaae48) [0x7fad13f64e48]
		??
		??:0
	#11 | /usr/lib/libwayland-server.so.0(wl_event_loop_dispatch+0x14f) [0x7fad13e72b8f]
		??
		??:0
	#12 | /usr/lib/libwayland-server.so.0(wl_display_run+0x27) [0x7fad13e732d7]
		??
		??:0
	#13 | Hyprland(main+0x9b6) [0x5600ff1e50d6]
		??
		??:0
	#14 | /usr/lib/libc.so.6(+0x27cd0) [0x7fad13427cd0]
		??
		??:0
	#15 | /usr/lib/libc.so.6(__libc_start_main+0x8a) [0x7fad13427d8a]
		??
		??:0
	#16 | Hyprland(_start+0x25) [0x5600ff1f3215]
		??
		??:0

Log tail:
[LOG] Callback 560100599d20 -> 560100599d18, XWayland Window removed.
[LOG] Callback 560100599d88 -> 560100599d80, XWayland Window removed.
[LOG] Callback 560100599df0 -> 560100599de8, XWayland Window removed.
[LOG] Unmapped window<PHONE_NUMBER>10 removed instantly
[LOG] Window 5601005a5b70 destroyed, queueing. (class )
[LOG] XWayland class raw: (null)
[LOG] Callback 5601005a5cd0 -> 5601005a5cc8, XWayland Window removed.
[LOG] Callback 5601005a60e0 -> 5601005a60d8, XWayland Window removed.
[LOG] Callback 5601005a6280 -> 5601005a6278, XWayland Window removed.
[LOG] Callback 5601005a62e8 -> 5601005a62e0, XWayland Window removed.
[LOG] Callback 5601005a6350 -> 5601005a6348, XWayland Window removed.
[LOG] Unmapped window 5601005a5b70 removed instantly
[LOG] New XWayland Surface created (class (null)).
[LOG] Registered signal for owner 560100e0c2e0: 560100e0bdf0 -> 560100e0ca30 (owner: XWayland Window)
[LOG] Registered signal for owner 560100e0c2e0: 560100e0be00 -> 560100e0ca98 (owner: XWayland Window)
[LOG] Registered signal for owner 560100e0c2e0: 560100e0bd70 -> 560100e0c418 (owner: XWayland Window)
[LOG] Registered signal for owner 560100e0c2e0: 560100e0beb0 -> 560100e0c9c8 (owner: XWayland Window)
[LOG] Registered signal for owner 560100e0c2e0: 560100e0bd80 -> 560100e0c828 (owner: XWayland Window)
[LOG] Registered signal for owner 560100e0c2e0: 560100e0da60 -> 560100e0c348 (owner: XWayland Window)
[LOG] Registered signal for owner 560100e0cb00: 560100e0da90 -> 560100e0cb08 (owner: CWLSurface)
[LOG] CWLSurface 560100e0cb00 called init()
[LOG] Registered signal for owner 560100e0c2e0: 560100e0da70 -> 560100e0c3b0 (owner: CWindow)
[LOG] Searching for matching rules for  (title: )
[LOG] Window got assigned a surfaceTreeNode 0
[LOG] Registered signal for owner 560100e0c2e0: 560100e0bdd0 -> 560100e0c550 (owner: XWayland Window Late)
[LOG] Registered signal for owner 560100e0c2e0: 560100e0bde0 -> 560100e0c7c0 (owner: XWayland Window Late)
[LOG] Registered signal for owner 560100e0c2e0: 560100e0be10 -> 560100e0c480 (owner: XWayland Window Late)
[LOG] Registered signal for owner 560100e0c2e0: 560100e0bdb0 -> 560100e0c688 (owner: Xwayland Window Late)
[LOG] Registered signal for owner 560100e0c2e0: 560100e0bdc0 -> 560100e0c6f0 (owner: Xwayland Window Late)
[LOG] Registered signal for owner 560100e0c2e0: 560100e0bec0 -> 560100e0c4e8 (owner: XWayland Window Late)
[LOG] Registered signal for owner 5601005a3850: 560100e0da80 -> 5601005a38c8 (owner: SurfaceTreeNode)
[LOG] Registered signal for owner 5601005a3850: 560100e0da50 -> 5601005a3930 (owner: SurfaceTreeNode)
[LOG] Registered signal for owner 5601005a3850: 560100e0da90 -> 5601005a3998 (owner: SurfaceTreeNode)
[LOG] Creating a surfaceTree Root! (pWindow: 560100e0c2e0)
[LOG] Map request dispatched, monitor eDP-1, xywh: 1226.000000 461.000000 266.000000 33.000000
[LOG] Window 560100e0c2e0 unmapped (class )
[LOG] Unregistered late callbacks XWL
[LOG] Callback 560100e0c578 -> 560100e0c570, XWayland Window Late removed.
[LOG] Callback 560100e0c7e8 -> 560100e0c7e0, XWayland Window Late removed.
[LOG] Callback 560100e0c4a8 -> 560100e0c4a0, XWayland Window Late removed.
[LOG] Callback 560100e0c510 -> 560100e0c508, XWayland Window Late removed.
[LOG] Callback 560100e0c718 -> 560100e0c710, Xwayland Window Late removed.
[LOG] Callback 560100e0c6b0 -> 560100e0c6a8, Xwayland Window Late removed.
[CRITICAL]
==========================================================================================
ASSERTION FAILED!

Framebuffer incomplete, couldn't create! (FB status: 0)

at: line 43 in Framebuffer.cpp

hyprlandCrashReport974.txt:
--------------------------------------------
   Hyprland Crash Report
--------------------------------------------
*thud*

Hyprland received signal 6 (Aborted)

Version: 96d555e8e794627bfc561e294e148ab8a9961fcc
Tag: v0.29.1

System info:
	System name: Linux
	Node name: Pongo
	Release: 6.4.12-zen1-1-zen
	Version: #1 ZEN SMP PREEMPT_DYNAMIC Thu, 24 Aug 2023 00:37:46 +0000

GPU:
	05:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt [Radeon 680M] [1002:1681] (rev c1) (prog-if 00 [VGA controller])

os-release:
	NAME="EndeavourOS"
	PRETTY_NAME="EndeavourOS"
	ID="endeavouros"
	ID_LIKE="arch"
	BUILD_ID=rolling
	ANSI_COLOR="38;2;23;147;209"
	HOME_URL="https://endeavouros.com"
	DOCUMENTATION_URL="https://discovery.endeavouros.com"
	SUPPORT_URL="https://forum.endeavouros.com"
	BUG_REPORT_URL="https://forum.endeavouros.com/c/arch-based-related-questions/bug-reports"
	PRIVACY_POLICY_URL="https://endeavouros.com/privacy-policy-2"
	LOGO="endeavouros"

Backtrace:
	#0 | Hyprland(_Z12getBacktracev+0x62) [0x55988f22a492]
		??
		??:0
	#1 | Hyprland(_ZN13CrashReporter18createAndSaveCrashEi+0x42c) [0x55988f20505c]
		??
		??:0
	#2 | Hyprland(_Z25handleUnrecoverableSignali+0x47) [0x55988f19c9d7]
		??
		??:0
	#3 | /usr/lib/libc.so.6(+0x3e710) [0x7f191043e710]
		??
		??:0
	#4 | /usr/lib/libc.so.6(+0x8e83c) [0x7f191048e83c]
		??
		??:0
	#5 | /usr/lib/libc.so.6(raise+0x18) [0x7f191043e668]
		??
		??:0
	#6 | Hyprland(_ZN12CFramebuffer5allocEii+0x25f) [0x55988f28642f]
		??
		??:0
	#7 | Hyprland(_ZN15CHyprOpenGLImpl18makeWindowSnapshotEP7CWindow+0x25c) [0x55988f28e28c]
		??
		??:0
	#8 | Hyprland(_ZN6Events20listener_unmapWindowEPvS0_+0x2bb) [0x55988f21b00b]
		??
		??:0
	#9 | Hyprland(_Z13handleWrappedP11wl_listenerPv+0x40) [0x55988f22abf0]
		??
		??:0
	#10 | /usr/lib/libwayland-server.so.0(wl_signal_emit_mutable+0x7e) [0x7f1910ed901e]
		??
		??:0
	#11 | /usr/lib/libwlroots.so.12032(wlr_surface_unmap+0x2a) [0x7f1910fa15aa]
		??
		??:0
	#12 | /usr/lib/libwlroots.so.12032(+0x83459) [0x7f1910fa5459]
		??
		??:0
	#13 | /usr/lib/libwayland-server.so.0(+0xb9ba) [0x7f1910eda9ba]
		??
		??:0
	#14 | /usr/lib/libwayland-server.so.0(wl_client_destroy+0xab) [0x7f1910edb0db]
		??
		??:0
	#15 | /usr/lib/libwayland-server.so.0(+0xc60e) [0x7f1910edb60e]
		??
		??:0
	#16 | /usr/lib/libwayland-server.so.0(wl_event_loop_dispatch+0xa2) [0x7f1910edaae2]
		??
		??:0
	#17 | /usr/lib/libwayland-server.so.0(wl_display_run+0x27) [0x7f1910edb2d7]
		??
		??:0
	#18 | Hyprland(main+0x8d9) [0x55988f18c089]
		??
		??:0
	#19 | /usr/lib/libc.so.6(+0x27cd0) [0x7f1910427cd0]
		??
		??:0
	#20 | /usr/lib/libc.so.6(__libc_start_main+0x8a) [0x7f1910427d8a]
		??
		??:0
	#21 | Hyprland(_start+0x25) [0x55988f19a1c5]
		??
		??:0

Log tail:
[LOG] Searching for matching rules for Gimp-2.10 (title: *words.xcf-2.0 (RGB color 8-bit gamma integer, GIMP built-in sRGB, 11 layers) 1920x4860 – GIMP)
[LOG] Window<PHONE_NUMBER>e0 set title to *words.xcf-2.0 (RGB color 8-bit gamma integer, GIMP built-in sRGB, 11 layers) 1920x4860 – GIMP
[LOG] Searching for matching rules for Gimp-2.10 (title: *words.xcf-2.0 (RGB color 8-bit gamma integer, GIMP built-in sRGB, 11 layers) 1920x4860 – GIMP)
[LOG] Window<PHONE_NUMBER>e0 set title to *words.xcf-2.0 (RGB color 8-bit gamma integer, GIMP built-in sRGB, 11 layers) 1920x4860 – GIMP
[LOG] Searching for matching rules for Gimp-2.10 (title: words.xcf-2.0 (RGB color 8-bit gamma integer, GIMP built-in sRGB, 11 layers) 1920x4860 – GIMP)
[LOG] Window<PHONE_NUMBER>e0 set title to words.xcf-2.0 (RGB color 8-bit gamma integer, GIMP built-in sRGB, 11 layers) 1920x4860 – GIMP
[LOG] Set keyboard focus to surface<PHONE_NUMBER>10, with window name: • Discord | @☽ Luna ☾ - Brave
[LOG] Hyprctl: dispatcher workspace : 1
[LOG] Set keyboard focus to surface 559890fcdff0, with window name: words.xcf-2.0 (RGB color 8-bit gamma integer, GIMP built-in sRGB, 11 layers) 1920x4860 – GIMP
[LOG] Hyprctl: dispatcher workspace : 2
[LOG] Searching for matching rules for Gimp-2.10 (title: words.xcf-2.0 (RGB color 8-bit gamma integer, GIMP built-in sRGB, 11 layers) 1920x4860 – GIMP)
[LOG] Window<PHONE_NUMBER>e0 set title to words.xcf-2.0 (RGB color 8-bit gamma integer, GIMP built-in sRGB, 11 layers) 1920x4860 – GIMP
[LOG] Searching for matching rules for Gimp-2.10 (title: words.xcf-2.0 (RGB color 8-bit gamma integer, GIMP built-in sRGB, 11 layers) 1920x4860 – GIMP)
[LOG] Window<PHONE_NUMBER>e0 set title to words.xcf-2.0 (RGB color 8-bit gamma integer, GIMP built-in sRGB, 11 layers) 1920x4860 – GIMP
[LOG] Searching for matching rules for Gimp-2.10 (title: words.xcf-2.0 (RGB color 8-bit gamma integer, GIMP built-in sRGB, 11 layers) 1920x4860 – GIMP)
[LOG] Window<PHONE_NUMBER>e0 set title to words.xcf-2.0 (RGB color 8-bit gamma integer, GIMP built-in sRGB, 11 layers) 1920x4860 – GIMP
[LOG] Keybind triggered, calling dispatcher (64, , 49)
[LOG] Set keyboard focus to surface<PHONE_NUMBER>10, with window name: • Discord | @☽ Luna ☾ - Brave
[LOG] Keybind triggered, calling dispatcher (64, , 50)
[LOG] Set keyboard focus to surface 559890fcdff0, with window name: words.xcf-2.0 (RGB color 8-bit gamma integer, GIMP built-in sRGB, 11 layers) 1920x4860 – GIMP
[LOG] Keybind triggered, calling dispatcher (64, , 51)
[LOG] Keybind triggered, calling dispatcher (64, , 50)
[LOG] Set keyboard focus to surface 559890fcdff0, with window name: words.xcf-2.0 (RGB color 8-bit gamma integer, GIMP built-in sRGB, 11 layers) 1920x4860 – GIMP
[LOG] Keybind triggered, calling dispatcher (64, , 49)
[LOG] Set keyboard focus to surface<PHONE_NUMBER>10, with window name: • Discord | @☽ Luna ☾ - Brave
[LOG] Keybind triggered, calling dispatcher (64, , 50)
[LOG] Set keyboard focus to surface 559890fcdff0, with window name: words.xcf-2.0 (RGB color 8-bit gamma integer, GIMP built-in sRGB, 11 layers) 1920x4860 – GIMP
[LOG] Keybind triggered, calling dispatcher (64, , 51)
[LOG] Keybind triggered, calling dispatcher (64, , 50)
[LOG] Set keyboard focus to surface 559890fcdff0, with window name: words.xcf-2.0 (RGB color 8-bit gamma integer, GIMP built-in sRGB, 11 layers) 1920x4860 – GIMP
[LOG] Keybind triggered, calling dispatcher (64, , 49)
[LOG] Set keyboard focus to surface<PHONE_NUMBER>10, with window name: • Discord | @☽ Luna ☾ - Brave
[LOG] Keybind triggered, calling dispatcher (64, , 49)
[LOG] Keybind triggered, calling dispatcher (64, , 49)
[LOG] Keybind triggered, calling dispatcher (64, , 49)
[LOG] Destroying workspace ID 3
[LOG] Window 5598913d86b0 unmapped (class Brave-browser)
[LOG] Unregistered late callbacks XWL
[LOG] Callback 5598913d8948 -> 5598913d8940, XWayland Window Late removed.
[LOG] Callback 5598913d8bb8 -> 5598913d8bb0, XWayland Window Late removed.
[LOG] Callback 5598913d8878 -> 5598913d8870, XWayland Window Late removed.
[LOG] Callback 5598913d8ae8 -> 5598913d8ae0, Xwayland Window Late removed.
[LOG] Callback 5598913d8a80 -> 5598913d8a78, Xwayland Window Late removed.
[CRITICAL]
==========================================================================================
ASSERTION FAILED!

Framebuffer incomplete, couldn't create! (FB status: 0)

at: line 43 in Framebuffer.cpp

How to reproduce
Just use Hyprland for long enough I guess. :-)
Crash reports, logs, images, videos
hyprlandCrashReport866.txt
hyprlandCrashReport974.txt

driver bug, or out of vram


Dexie-export-import in web worker

Hi dfahlander,
I tried to import dexie-export-import script in web worker and got the error:
"Uncaught ReferenceError: window is not defined"
Here is a reference to window:
if(typeof process === 'object' && process.env) env = process.env;
else env = window;

I see that you have already checked  if window exists in case of commonjsGlobal declaration:
var commonjsGlobal = typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};

I think this check solves this issue too.

Hm. Seems this is done in a dependency: clarinet.
I've created a PR in clarinet: https://github.com/dscape/clarinet/pull/65

PR was merged and I've released a new version of dexie-export-import that has the newer version of clarinet bundled.
npm i<EMAIL_ADDRESS>
@KurkoNorbert Please verify it fixes it.

Hi,
Tested. It is fixed.
Thanks @dfahlander


MH-13258, Broken User Provider Removal

All user providers in Opencast are dynamically bound to the user
directory service which then acts as a unified interface to access all
users in Opencast.
This means that during at runtime, new user providers can dynamically be
added and old ones removed. However, the removal process in the
directory service is broken which can cause references to old user
services being left in the system. This can then lead to effects like
invalid users or multiple references to identical users.
This patch fixes the removal of user providers.
Work sponsored by SWITCH

@staubesv are you taking the review or can I assign myself? This seems to be a simple spelling mistake.

@mtneug, it's a SWITCH patch. Hence, @staubesv shouldn't take it. If you can review this, it would be great.

Works as intended.


txt to fif format transformation of eeg data

Dear mne-python users,
Some months ago I managed to turn a txt file with my eeg data into fif format using mne-python. I had used the Rawarray class and the create_info from the meas_info.py.
Now I have to use the improved mne-python version.
I downloaded the latest whole updated mne-python-dev_head_t package from Github, which has a lot of changes in some functions from the one I had.  And now I tried to transform my txt original data to .fif format using again the create_info and the Rawarray class. However, I have some trouble using Rawarray class (i have copied it inside meas_info.py)
my code for the format transformation is this one:
ch_names=('Fc6','Fc2','F8','F4','Fz','AFz','Fp2','Fpz','Fp1','P3','T7','A1','Fc1','Fc5','F3','F5','P8','P4','Cp6','Cp2','A2','T8','C4','O2','Oz','O1','Pz','C2','P7','Cp1','Cp5','C3');
ch_types=('eeg','eeg','eeg','eeg','eeg','eeg','eeg','eeg','eeg','eeg','eeg','eeg','eeg','eeg','eeg','eeg','eeg','eeg','eeg','eeg','eeg','eeg','eeg','eeg','eeg','eeg','eeg','eeg','eeg','eeg','eeg','eeg')
sfreq=1000
info=meas_info.create_info(ch_names,sfreq,ch_types)
data=np.load('subject1_data.npy')
myraw=meas_info.RawArray(data,info)
print(myraw._data)
myraw.save('subj1data_raw.fif')
(I have done first .txt -> .mat -> npy)
the error that I get is:
Creating RawArray with float64 data, n_channels=32, n_times=627000
Traceback (most recent call last):
File "main123.py", line 39, in
myraw=meas_info.RawArray(data,info)
File "", line 2, in init
File "/home/atakoulini/Documents/mne-python-dev_head_t/mne/utils.py", line 541, in verbose
return function(*args, **kwargs)
File "/home/atakoulini/Documents/mne-python-dev_head_t/mne/io/meas_info.py", line 1221, in init
self.proj = None
AttributeError: can't set attribute
Rawarray uses the Baseraw wich is inside the base.py . I checked the Baseraw into the previous mne-python package that I had and there are plenty of differences with the Baseraw into the mne-python-dev_head_t .
Could you please tell me a way to do the txt to fif transformation of my eeg data?  (My txt file has 627000 raws and 32 lines standing for the 32 electrodes)
thanks a lot in advance,
ata

Hello @atalanti it is not a good idea to modify the source code the way you did it. This may lead to some funky interactions and makes it very difficult to help you, technicallt you're now using a version of MNE nobody else uses. This being said, could you possibly share some parts of your data to allow us to reproduce your problem? I don't really see why this script should not work.

Hi Denis,
Unfortunately I cannot share the eeg data. However I created a numpy array with smaller dimensions than my data numpy (32 lines x 5700 raws) and random values. I attach it here.  I need to do the txt to fif transformation with the latest version of mne-python-dev_head_t .
Thank you,atalanti
Date: Sun, 19 Apr 2015 12:03:25 -0700
From<EMAIL_ADDRESS>To<EMAIL_ADDRESS>CC<EMAIL_ADDRESS>Subject: Re: [mne-python] txt to fif format transformation of eeg data (#1983)
Hello @atalanti it is not a good idea to modify the source code the way you did it. This may lead to some funky interactions and makes it very difficult to help you, technicallt you're now using a version of MNE nobody else uses. This being said, could you possibly share some parts of your data to allow us to reproduce your problem? I don't really see why this script should not work.
—
Reply to this email directly or view it on GitHub.

@atalanti can you try updating your code (all of it) to latest master? You don't need to use mne-python-dev_head_t, because that has now been merged.

I updated to latest master. Then I tried again to convert my npy data to fif and still I get the same error which is caused due to Rawarray.
/usr/lib/python2.7/dist-packages/sklearn/utils/init.py:11: RuntimeWarning: numpy.ufunc size changed, may indicate binary incompatibility
from .murmurhash import murmurhash3_32
/usr/lib/python2.7/dist-packages/sklearn/utils/sparsetools/init.py:3: RuntimeWarning: numpy.ufunc size changed, may indicate binary incompatibility
from ._min_spanning_tree import minimum_spanning_tree
/usr/lib/python2.7/dist-packages/sklearn/utils/sparsetools/_graph_validation.py:5: RuntimeWarning: numpy.ufunc size changed, may indicate binary incompatibility
from ._graph_tools import csgraph_to_dense, csgraph_from_dense,
/usr/lib/python2.7/dist-packages/sklearn/utils/sparsetools/init.py:4: RuntimeWarning: numpy.ufunc size changed, may indicate binary incompatibility
from ._traversal import connected_components
/usr/lib/python2.7/dist-packages/sklearn/utils/extmath.py:14: RuntimeWarning: numpy.ufunc size changed, may indicate binary incompatibility
from ._logistic_sigmoid import _log_logistic_sigmoid
Creating RawArray with float64 data, n_channels=32, n_times=627000
Traceback (most recent call last):
File "main123.py", line 37, in
myraw=RawArray(data,info)
File "", line 2, in init
File "/home/atakoulini/Documents/mne-python/mne/utils.py", line 541, in verbose
return function(*args, **kwargs)
File "/home/atakoulini/Documents/mne-python/create_info.py", line 189, in init
self.proj = None
AttributeError: can't set attribute
Is there any way to create my fif file with inputs 1. my npy eeg data, 2. the names of my channels, 3. the types of my channels (eeg) and 4. the  MEG device-to-head transform initialization (since I do not have it at all) , without using the Rawarray? Rawarray does not exist anymore in the patest versions.
Thank you,
atalanti

Does this work for you?
import mne
import numpy as np
data = np.zeros((30, 1000))
ch_names = [str(x) for x in range(30)]
info = mne.create_info(ch_names, 1000., 'eeg')
raw = mne.io.RawArray(data, info)

If it does not, you probably do not have an up-to-date installation. If it does, then it should work for your data...

It worked. Thanks a lot of time and help.

No problem -- let us know if you hit any other snags.


gRPC SDK Authorization Policy proto.

Defines SDK Authorization Policy proto. This is required for gRPC OSS Authorization effort, allowing non-xDS users to provide an authorization policy.

Thanks Jiangtao for the review!:)

Thanks Jiangtao for the review!:)

Please remove the "sdk_" prefix from the filename.  We don't use that on any of our other files, so there's no reason we should do it here.
Also, the authoritative source for this proto file should be in the https://github.com/grpc/grpc-proto repo.

Please remove the "sdk_" prefix from the filename.  We don't use that on any of our other files, so there's no reason we should do it here.
Also, the authoritative source for this proto file should be in the https://github.com/grpc/grpc-proto repo.

Please remove the "sdk_" prefix from the filename. We don't use that on any of our other files, so there's no reason we should do it here.
Also, the authoritative source for this proto file should be in the https://github.com/grpc/grpc-proto repo.

Done. Removed sdk_ prefix. Will make the same changes in grpc-proto repo.

Please remove the "sdk_" prefix from the filename. We don't use that on any of our other files, so there's no reason we should do it here.
Also, the authoritative source for this proto file should be in the https://github.com/grpc/grpc-proto repo.

Done. Removed sdk_ prefix. Will make the same changes in grpc-proto repo.


fix android multi-touch bug

in android multi touch, sometimes a new pointer-down event of
one pointer id come without corresponding pointer-up,
and when action_cancel event comes, all the previous pointer ids should be invalidated

Do you have a test sample that shows the problem that this is trying to resolve? Invalidating all pointers on cancel could cause some unwanted behavior.

this fix want to fix the problem found when our tester quickly touch down and up the screen using four fingers. pointer down event of some pointer id without pointer up. finally find that the pointer down event company the cancel, and when cancel happens, all the pointer info in the android touch event is disposed, you can dump that info with event.getPointerCount() and see the value turn to 0 after ACTION_CANCEL

I can't reproduce your issue, what device is this a problem with?


Reuse __SYSTEM_CONFIG.

Indeed, before this patch, there may have been conflict when someone is
overwritting "__SYSTEM_CONFIG" before deployment to uncommon Linux
distribution.

Thank you very much! :D


The server crash

in the latest versions of the plugin, the server frequently crash.
Crash-report folder: https://www.mediafire.com/?bgp902txu2wb69w

/cardinal -v
The lastest version no say nothing, the plugin is in constant update

This isn't related to Cardinal it appears, the issue occurs when saving the worlds. Contact your hosing provider for assistance.


Feature calendar v2

Implementing version 2 of admin calendar including new submission form and entry of shows directly in the calendar.

📝 Changed routes:

/admin/calendar
/submission-v2

(view full size)
(view full size)

And 4 other routes:

/api/admin/search
/api/resend-webhook
/api/show-submission-email
/api/show-submission-v2

Commit 94c15237d5ac483644ad5c7e1fcf50e606caa30c (https://refuge-worldwide-48fzgfut8-refugeworldwide.vercel.app).


Fix scan on landscape mode

Can we please merge this until it starts having conflicts? @lwansbrough

I also need this

works fine! I tested it for month. @lwansbrough please merge

We have been using this too. What would it take to get this merged? Help needed?

additional testers and maintainers are sorely need, if anyone wants to pitch in please get in touch!

also thanks @6pm

@rt2zz You are welcome!

i am sorry in advance,
please check on passing location metadata,
it does not work

@koswarabilly please describe your problem


Builtin handlers

These handlers look nice. I look forward to refactoring some of my shortcodes with them :)


The program is killed by the system

./scripts/train.sh: row 8: 20954 was killed

Hi,
Is it the experiment on ShapeNet-55? It seems that the code is killed due to the memory issue. I recommend to decrease the number of point clouds shown in tensorboard.
You can modify https://github.com/yuxumin/PoinTr/blob/master/tools/runner.py#L215 to (for example)
if val_writer is not None and idx % 2000 == 0:

Close it since no response. Feel free to re-open it if problems still exist


Create jump_search.php

Created Jump_search.php

Closing this PR as it has become stale with no activity in a very long time


Popular

This keeps counters for streams that have been requested often enough and injects them into the transcoding queue.

Cannot figure out why this is happening:
--- FAIL: TestSweeperInc (0.00s)
    sweeper_test.go:38:
        	Error Trace:	sweeper_test.go:38
        	Error:      	"[]" should have 2 item(s), but has 0
        	Test:       	TestSweeperInc
--- FAIL: TestSweeperSweep (0.00s)
    sweeper_test.go:66:
        	Error Trace:	sweeper_test.go:66
        	Error:      	"[]" should have 3 item(s), but has 0
        	Test:       	TestSweeperSweep

Cannot figure out why this is happening:
--- FAIL: TestSweeperInc (0.00s)
    sweeper_test.go:38:
        	Error Trace:	sweeper_test.go:38
        	Error:      	"[]" should have 2 item(s), but has 0
        	Test:       	TestSweeperInc
--- FAIL: TestSweeperSweep (0.00s)
    sweeper_test.go:66:
        	Error Trace:	sweeper_test.go:66
        	Error:      	"[]" should have 3 item(s), but has 0
        	Test:       	TestSweeperSweep

probably because of the race here https://github.com/lbryio/transcoder/pull/11/files/15c5ec8e1f4529e6945b16f1c6ee57c4c70e07a0#r582928485


Failing to use jPopulator with lombok.

Hi,
In my project I am using lombok, to hide all boilerplate part of the code. I am trying to use jPopulator, but for some reason I am getting following error message:
java.lang.NoSuchMethodException: Property '***' has no setter method in class ***
Might be I am doing something wrong? Or these libraries currently can't be used together atm?
P.S. My problem is described here as well: https://stackoverflow.com/questions/34038236/how-to-make-benas-jpopulator-work-with-lombok

Hello,
I think that private field without a setter cannot have a value with jPopulator... Have you tried to use jPopulator after compiling your class with lombok?
Regards,

@MAMABA
Hello,
You are right the field is private with no setter.
But I am not sure why on runtime populator doesn't see any setter, while on previous lines I am using  setters/getters generated by lombok.

@MAMABA
It seems that I found something:
while in master version field is set as accessble:
https://github.com/benas/jPopulator/blob/master/jpopulator-core/src/main/java/io/github/benas/jpopulator/impl/PopulatorImpl.java#L260
in 1.2.0 tag field is set via org.apache.commons.beanutils.PropertyUtils which will fail if there is no accessor method.
I'll try master version

It seems that there is no normal way to include master version through maven. So I am confused a little bit.

I remembre that someone has requested this feature....
I propose you to package and install the master via maven and include it into your POM to do a test.

Hi @jsmirnov
Thank you for pointing out this issue.
There is no reason jPopulator may not work with lombok.
jPopulator is intended to populate standard Java Beans (with default constructor, getters and setters), see the note here.
It uses apache commons beanutils behind the scene to set random values to fields. PropertyUtils complains when there is no setter for the field, and this is fine with what jPopulator was designed for.
To use the snapshot version, you'll need to declare the sonatype snamshot repository:
<repository>
    <id>ossrh</id>
    <url>https://oss.sonatype.org/content/repositories/snapshots</url>
</repository>

and include the snapshot version in your pom. I'll update the documentation with these instructions.
But the problem is, I'm not sure I pushed the last version to central repo.. shame on me :flushed: I'll do it asap.
That said, I'll try to reproduce your use case using lombok and keep you informed.
Kind regards,
Mahmoud
@MAMABA Thank you for your replies!

@benas
What would be snapshot version exactly? 1.3.0-SNAPSHOT? :confused:

@benas
Could you push the latest snapshot

@ jsmirnov
PropertyUtils was replace with setProperty to allow to initiate immutable object where by definition there are no setters.
Additionally Objenesis library was used to create objects in case, default constructor does not exist or is not accessible.

@frankowskid
Well stil i'd like to try with snapshot, might be this will work. On another side I'd really don't understand why jPopulator doesn't work with lombok.

Hi,
I just deployed the 1.3.0-SNAPSHOT to maven central:
https://oss.sonatype.org/content/repositories/snapshots/io/github/benas/jpopulator-core/
Sorry for being late, I was behind a nasty firewall/proxy at work today :rage:
Cheers
Mahmoud

@jsmirnov
Could you share a bean which causing a trouble? I wrote a quick test with bean as below, and it seems to work with both, PropertyUtils.setProperty(...) and current implementation of setProperty().
@Data
public class ObjectWithLombok {
//    @Getter
//    @Setter
private String value;
}
@Test
public void testObjectWithLombok() throws IllegalAccessException, NoSuchMethodException, InvocationTargetException {
    final ObjectWithLombok immutableBean = populator.populateBean(ObjectWithLombok.class);
    assertThat(immutableBean.getValue()).isNotNull();
}

@frankowskid
yes sure. I stripped some stuff but basically it looks like this:
....

@Entity
@Accessors(chain = true)
public class Tour extends UniversallyUniqueIdentity {
    @Getter
    @Setter
    @JsonView(TourView.Summary.class)
    private Integer capacityInPersons;
.....

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof Tour)) return false;
        Tour tour = (Tour) o;
        return Objects.equals(getId(), tour.getId());
    }

    @Override
    public int hashCode() {
        return Objects.hash(getId());
    }
}

@frankowskid @MAMABA @benas
It seems that the problem is neither with lombok, nor with jPopulator.
I mean this seems an issue with JPA related stuff.

@MAMABA @benas @frankowskid
It seems I'v found an issue - @Accessors(chain = true) seems to be it.
Not sure for reasoning.

@jsmirnov @MAMABA @benas
It is not a lombok issue. It seems to be an issue of chain setter. Below class fails test.
public class ObjectWithLombok {
    private String value;

    public String getValue() {
        return value;
    }

    public String setValue(String value) {
        this.value = value;
        return value;
    }

It seems to be a BeanUtils issue, which implements Java Bean specification.
The section "7.1 Accessor methods" states that getter/setter must be:

For simple properties the accessor type signatures are:
void setFoo(PropertyType value); // simple setter
PropertyType getFoo();           // simple getter

So chain setter does not fit into this specification.
See also:
http://stackoverflow.com/questions/22743765/beanutils-not-works-for-chain-setter

Hi,
Same here, I've tried to populate a Java Bean annotated with lombok and it is working fine with jPopulator.
@frankowskid Great analysis, in fact @Accessors(chain = true) generates fluent getters and setters which are not compliant with Java Bean standard definition. That's why PropertyUtils.setProperty does not find the standard setter.
This issue is clearly explained here: http://zeroturnaround.com/rebellabs/a-fluent-api-or-not-a-fluent-api-that-is-the-question/, see "Being fluent: where and why? > The Java Bean" section.
Since jPopulator is intended to populate standard Java Beans (as mentioned in the documentation), I guess this issue is caused by a misuse of the library.
Kind regards
Mahmoud


Typo - "sumbit"

Hi,
Under HTML FORM, I see a typo -
'Methods':[
['sumbit',[function() {return ''}],'high'],

Thanks as always your input is awesome :D


Allow multiple filetypes, such as "c.doxygen" or "php.drupal".

This patch makes two small changes:

Add a ! to the one function definition that lacks it, so that```
:unlet loaded_syntastic_plugin
:runtime plugin/syntastic.vim

2. Replace `s:ModeMapAllowsAutoChecking()` with the [Dictionary-function](http://vimdoc.sourceforge.net/htmldoc/eval.html#Dictionary-function) `g:syntastic_mode_map.AllowAutoChecking()`.  This should not affect the behavior of the  script, but I think this is what Dictionary functions were invented for.

The big change in this patch is to rewrite the functions `s:CacheErrors()` and `s:ModeMapAllowsAutoChecking()` so that multiple filetypes are checked separately.

I actually removed this functionality from the code only a few days ago thinking that it was just bloat that would never be used --> Fail!
I have reverted that commit.
RE dictionary functions: I am not against this, and have been tempted to start putting methods on error hashes. A lot of the plugin could be rewritten like this, but for now I want to keep it all consistent. In the future this may change though.
Thanks :)

Thanks for making the change.  AFAIAC, the use case "c.doxygen" is hypothetical.  That is the example under :help 'filetype'.  The case I actually use is "php.drupal", a little more esoteric.  See the vimrc project on drupal.org.
I am not sure whether Dictionary functions are a good idea or a solution in search of a problem.  This is the first time I tried using one.
My changes to s:CacheErrors() may be character-wise identical to the ones you made.  My version of s:ModeMapAllowsAutoChecking() (which I made into a Dictionary function) was about half as long as yours; perhaps easier to maintain, since there is less code duplication; certainly harder to read than yours.

I see you came up with an even better version of s:ModeMapAllowsAutoChecking().  Very nice.  I did a little testing, and it seems to work as expected.


[feature] Turn off refresh for plan/apply

Summary
Fixes https://github.com/chanzuckerberg/fogg/issues/310. This turns off refresh for plan/apply. This gives us quicker plan/apply at the expense of some correctness checks.
Test Plan
unittests + apply in repos
References

https://www.terraform.io/docs/commands/refresh.html
https://www.terraform.io/docs/commands/plan.html#refresh-true

Should we make a flag for refresh?

I guess I don't understand why we don't want to ever refresh before applying changes. We may want to skip refresh most of the time when developing something, but should not always do so, right?

I guess I don't understand why we don't want to ever refresh before applying changes. We may want to skip refresh most of the time when developing something, but should not always do so, right?

Maybe. If everything is managed through terraform then feels like refresh is wasted work. If we enforce that invariant then we'd never really want to refresh. Also requires people to use immutable references to modules (using master would mean that local copies of the modules do not get refreshed). I agree with adding a flag to control this though.

The speedup is quite significant which makes me think we want this.

Sounds good!


Expose search as a filter on cards and printings

This has landed in a preliminary state and is live on the API preview URL.  See https://github.com/NetrunnerDB/netrunnerdb-api-server/releases/tag/api-preview-0.3 for more details.

while we are still making a few tweaks, we have search exposed as a filter for cards and printings, so closing this off.


Publish Kuksa SDK Snapshot Builds to GitHub Packages

Is your feature request related to a problem? Please describe.
We want to provide an easy way to integrate the Kuksa SDK along with it's dependencies.
Describe the solution you'd like
To provide an easy way to integrate the Kuksa SDK, we should publish our Kuksa SDK to the GitHub Packages Registry (https://docs.github.com/en/packages/working-with-a-github-packages-registry). This allows an easy retrieval of the Kuksa SDK using Maven / Gradle dependency resolution.
Whenever something is merged to main, the resulting Kuksa SDK should be published as a snapshot build.
Non-Snapshot Builds / Releases will be part of a separate ticket.

GitHub Packages requires each user to provide a custom api key to download our dependencies. Therefore GitHub Packages is out of the question for now.
An issue was created inside the eclipse helpdesk (https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/3684), however that topic might take some more time.
Changing the scope of this ticket therefore from "Publish to a global repository" to "Publish to MavenLocal" for now, so we can use it internally for testing until the issues are sorted out.


Added no-tabs to the overrides

Hi, thanks for your pull request!
Could you give an example where this rule causes problems when used with Prettier?

airbnb-eslint-config specifies "no-tabs": "error" https://github.com/airbnb/javascript/blob/master/packages/eslint-config-airbnb-base/rules/style.js#L280-L281 which causes a clash with prettier "useTabs": true

Oh, I see. I forgot that Prettier supports indenting with tabs these days :) This probably needs to be a special rule – it can still be useful to people indenting with spaces. I'll try to look into this soon.


Add autofix support for UnnecessaryReturnKeyword rule

Proposed Changes
This adds support for auto-fixing the UnnecessaryReturnKeyword rule automatically. I've tested it locally in a repository that I was applying this rule to, and it seems to work as expected.
It's unclear to me if I need to do any additional work to document this or if additional tests would be appropriate. Likewise, the files in lib changed as a result of this when I ran the build. I'm not sure if I'm meant to commit those, or if they are covered by the release process.
In short, repo newbie here! Feedback welcome. :)

@jonnybot0 i'm sorry i critically lack of time to maintain npm-groovy-lint, and before merging other PRs we would need to succeed to upgrade to latest groovy / CodeNarc versions, but I definitely keep this PR open for the day we can merge it ! :)


Documentation for people v1 API create_contact has unused kwarg parent

I am trying to create a contact, but I am getting the following error message.
Exception Class: TypeError
Exception Message: Got an unexpected keyword argument "parent"
Lib version: 1.2
import httplib2
from apiclient.discovery import build
from oauth2client.file import Storage

storage = Storage('session.dat')
credentials = storage.get()

http = httplib2.Http()
credentials.authorize(http)

created_contacts = list()

new_contact = {
    'names': [
        {
            'displayName': 'Test Contact',
            'givenName': 'Test Contact',
            'displayNameLastFirst': 'Test Contact'
        }
    ],
    'phoneNumbers': [
        {
            'value': '+55 11 99999-9999',
            'canonicalForm': '+55 11 99999-9999'
        }
    ]
}

contact_info = build(serviceName='people', version='v1', http=http) \
    .people() \
    .createContact(parent='people/me', body=new_contact) \
    .execute()

@edilson-silva
Oddly parent is listed as a kwarg but there is no more information about it in the generated docs.  It also isn't in the REST documentation. That may be a bug in the documentation generator. Can you try removing parent?
This is unrelated to the question, but please use a different library for credentials storage as oauth2client is deprecated.

I experience the same issue unfortunately.

@bertin0 can you try sending a request without parent?

contact_info = build(serviceName='people', version='v1', http=http) \
    .people() \
    .createContact(body=new_contact) \
    .execute()

I just checked and it seems to work. Thanks for the workaround. (Why didn't I think about this?)

Thanks for reporting back! It looks like this is a documentation bug.


PSR-2 Support

What about converting the code to PSR-2 styled syntax? It can be done fast with PHP Coding Standards Fixer. I can update the code if you want me to. What do you think?
Later we could perhaps integrate this package with https://styleci.io to check all pull requests automagically before they get merge them in. I use this on all of my packages.

Thanks for your vibrant contribution to the project! I think it's a good idea to follow the PHP coding standard, so please feel free to convert the code.

Great! I'm on it. What about integrating https://styleci.io? Maybe you could sign up?

Merged in https://github.com/cosenary/Instagram-PHP-API/commit/0adab45cc27916640b904ff72b773d9ff578255b


GLV multiplication for ecMul

This closes #88

This implementation was introduced in PR #155. We continued our work in that branch.


Broken packages -- please disable/mark

Issue:

The windows packages are all broken.

Hi @conda-forge/core,
Please move my package from main to broken on the conda-forge channel on anaconda.org
because:
The windows packages:
win-32/sisl-0.9.2-py27_1.tar.bz2
win-64/sisl-0.9.2-py27_1.tar.bz2

are both broken and I would like to mark them broken.

Done. Can you check if I got the right ones?

@ocefpaf, thanks! Perfect!


How to save data in Mongo?

FastAPI Contrib version: 0.2.7
FastAPI version: 0.59.0
Python version: 3.7.7
Operating System: MacOS

Description
Hello. I was looking for tools with what will be possible to play FastAPI with MongoDB in nice, simple way, because I never before using NoSQL. I found FastAPI_Contrib, my attention takes especially two of features:

ModelSerializers: serialize (pydantic) incoming request, connect data with DB model and save

MongoDB integration: Use models as if it was Django (based on pydantic models)

I was trying all day to understand the documentation how to use FastAPI_Contrib, unfortunately documentation is so hard for entry-level users. What I want to achieve at this time is nothing more than just:

Create Model
Create Serializer
Send the request with data from for example Postman
Save that data in MongoDB

Just a first step of CRUD...
What I Did
I was trying take it in very different ways, but for this issue I will present the most simply way based on documentation...
Project Structure:
project/
- project/
-- sample/
--- __init__.py
--- serializers.py
- __init__.py
- main.py

project/main.py:
import os

from fastapi_contrib.db.utils import setup_mongodb, create_indexes
import motor.motor_asyncio
from fastapi import FastAPI
from dotenv import load_dotenv

from project.serializers import sample_router

load_dotenv(verbose=True)
DATABASE_URL =os.getenv("DB_URL")

SECRET = os.getenv("SECRET")

CONTRIB_APPS = os.getenv("CONTRIB_APPS")
CONTRIB_APPS_FOLDER_NAME = os.getenv("CONTRIB_APPS_FOLDER_NAME")

client = motor.motor_asyncio.AsyncIOMotorClient(
    DATABASE_URL, uuidRepresentation="standard"
)
db = client["sample"]

app = FastAPI()

@app.on_event("startup")
async def startup():
    setup_mongodb(db)
    await create_indexes()
    print('Is it connected to DB?')

app.include_router(sample_router)

project/sample/serializers.py
from fastapi import APIRouter
from fastapi_contrib.db.models import MongoDBModel
from fastapi_contrib.serializers import openapi
from fastapi_contrib.serializers.common import Serializer

# from yourapp.models import SomeModel

sample_router = APIRouter()

class SomeModel(MongoDBModel):
    field1: str

    class Meta:
        collection = "test"

@openapi.patch
class SomeSerializer(Serializer):
    read_only1: str = "const"
    write_only2: int
    not_visible: str = "42"

    class Meta:
        model = SomeModel
        exclude = {"not_visible"}
        write_only_fields = {"write_only2"}
        read_only_fields = {"read_only1"}

@sample_router.post("/test/", response_model=SomeSerializer.response_model)
async def root(serializer: SomeSerializer):
    model_instance = await serializer.save()
    return model_instance.dict()

When I send data as POST to /test/ from postman
{
  "write_only2": 2,
  "field1": "string"
}

or by curl
curl -X POST "http://<IP_ADDRESS>:8000/test/" -H  "accept: application/json" -H  "Content-Type: application/json" -d "{\"id\":0,\"field1\":\"string\",\"write_only2\":0}"

Then I got errors:

if I will remove:
    class Meta:
        collection = "test"

as it in an example in documentation then I got other error:

I will be grateful if someone will explain to me using simple examples how to properly combine models, serializers, and perform CRUD operations on them reflected in MongoDB.
By the way.
I think is it good idea to rewrite documentation to be more affordable to not so advenced users. And add to them a tutorial, awesome will be to see there real world examples. I think, good documentation can make this package a very popular.
Regards,
Oskar

I also had a similar problem, resulting in AttributeError: 'NoneType' object has no attribute 'split' - it will be awesome if we can get some guidance on this.

Hey all, I forked, dove-in, and figured it out. You need an ENV variable called CONTRIB_FASTAPI_APP and it needs to be whatever your fastapi main app is in dot notation as a string.
i.e. Mine is 'main.app'
os.environ['CONTRIB_FASTAPI_APP'] = 'main.app' to test.

Yeah guys, sorry that this is not in the docs. Hopefully I will have time soon to update descriptions on how everything works in various topics. And @smeggingsmegger thanks for the help here!


Unable to get shiny (metallic) material when not loading from GLTF.

Per discussion on Discord yesterday regarding materials not showing metallic-type reflection in Animats viewer.
Built a test case. This is based on the Rend3 example "cube-no-framework" and can be used as an example in Rend3's "examples" directory if added to the workspace list in the base Cargo.toml file. It draws a simple sphere and uses the same material parameters discussed on Discord yesterday. It's not showing any specular reflection at all.
sphere-no-framework.zip

It works with 2 changes:
don't set: clearcoat_factor: Some(1.0),
roughness_factor: Some(0.4), // not good: 0.9 as I mentioned

Yes. Turned off clearcoat factor and clearcoat roughness for above picture. Clearcoat factor alone overrides metallic. Thanks.

This is simply that Rend3 doesn't do environmental reflections at all yet. Expected future feature, but not a bug.


How to one click copy advanced uri ?

no any option, no any shortcuts.
obsidian://open?vault=vaultName&file=Test%2F2

I found the uri is diff : obsidian://advanced-uri?vault=  vs obsidian://open?vault=
Why not add option in obsidian://open?vault=<your-vault>&filepath=my-file&heading=Goal  ???

This is a restriction of the Obsidian api. Another so called action (like open and search) is needed. But adding somehow the option to copy an adcanced-uri URI is a good idea.

Okay. That's the restriction of ob's api. Hope they will open this .
Directly heading and block by ob's uri is really useful .
Yeah. shortcut to copy uri is really indeed.
Thank you .


Errors duplicated

Hello. When I try execute validation.passes() several times, for example:
if(validation.passes()) { ... }
return validation.passes();

Then validation.errors duplicated as mush as many calls function (passes, fails, check).
For example:
validation.passes();
validation.passes();
validation.fails();
validation.errors.all(); // { login: ['The login field is required.', 'The login field is required.', 'The login field is required.']  }

Could you fix it?
Thank you.

Sure. Until there is a fix, save the result of the first passes() or fails() call into a variable instead of calling those methods multiple times.

Already :) thanks.

Fixed in 2.0.7


Removes use of deprecated method in example

When I was working on adding the loom tests (for https://github.com/jonhoo/rust-evmap/pull/62) I was seeing:
---- src/lib.rs -  (line 35) stdout ----
warning: use of deprecated item 'evmap::WriteHandle::<K, V, M, S>::empty': Renamed to remove_entry
  --> src/lib.rs:68:16
   |
36 | book_reviews_w.empty("The Adventures of Sherlock Holmes");
   |                ^^^^^
   |
   = note: `#[warn(deprecated)]` on by default

I don't see it normally when I cargo check --examples so I'd love to figure that out ... but in the meantime, this updates the one obvious example from #59

This change is

Oh, yeah, doctests are never run by cargo check :)

Ohh so we only see the deprecated warnings when the tests are run - not when cargo checks the examples?

Ah, but this wasn't an example, this was a doctest. Which are only ever compiled when cargo t runs doctests!

Ahh okay that makes more sense. But when I do cargo test, it runs doc tests and doesn't report anything. And cargo test --doc doesn't report anything ... I wonder why it showed up when I was doing the loom tests 🤔 Be nice if it showed up more readily!

Oh, that's really weird then... Hmm.... Yeah, don't know then? Are you using a different compiler version or something when working with loom? Or maybe different feature flags?

I think the only difference is RUSTFLAGS="--cfg loom" cargo test --doc vs cargo test --doc

That's bizarre. I don't see why the former should surface more warnings than the latter.. Unless it's simply that the former had to re-compile, whereas the latter just re-ran the already-compiled doctest binaries? Could you try making a minor change and running cargo test --doc again?
Actually, also, can you try just bumping the minor version in Cargo.toml and then re-run cargo test --doc?

It would appear that, when I switch between RUSTFLAGS="--cfg loom" cargo test --doc and regular cargo test --doc it recompiles anyway (maybe because of the different config?):
~/p/rust-evmap (loom-tests↑1|✔) $ RUSTFLAGS="--cfg loom" cargo test --doc
   Compiling cfg-if v0.1.10
   ...
     Finished test [unoptimized + debuginfo] target(s) in 10.45s
   Doc-tests evmap

running 7 tests
test src/lib.rs -  (line 177) ... ok
...

failures:

---- src/write.rs - write::WriteHandle (line 29) stdout ----
...

---- src/lib.rs -  (line 35) stdout ----
warning: use of deprecated item 'evmap::WriteHandle::<K, V, M, S>::empty': Renamed to remove_entry
...

~/p/rust-evmap (loom-tests↑1|✔) $ cargo test --doc
   Compiling libc v0.2.71
   ...
    Finished test [unoptimized + debuginfo] target(s) in 10.72s
   Doc-tests evmap

running 7 tests
test src/lib.rs -  (line 177) ... ok
...

test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out

But, in any case, if I bump the version, I still don't see the warning without RUSTFLAGS="--cfg loom". Although I also don't see it re-compiling ... I bumped the version of of the evmap package - is that what you meant? Or did you mean the minor version of some dependency? If I knock rand down to 0.6 I see the recompilation but no deprecation warning 🤷

I have no idea then :shrug: Maybe file an issue on rust-lang/rust?


Add a great source for the Arabic language (Sunovels, Rewayat Club))

Website link (https://sunovels.com) and (https://rewayat.club)
We hope to add it because it is very beautiful

Don't open duplicate issues. Also wrong repo.


Expiration check troubles with ParseUnverified

Hello,
I have a JWT token which, when I enter into jwt.io debugger, gives me the following expiry date:
{
  "exp":<PHONE_NUMBER>,

In human time, this is 05/23/2018 @ 12:29am (UTC) (so, this token should already be expired, correct?)
Also, when using this token with the Postgrest endpoint, it returns:
{"message":"JWT expired"}

In my code I have the following expiration check (using this library):
func isTokenExpired(tokenString string) bool {
        fmt.Printf("The token is:\n%s\n", tokenString)
	var p jwt.Parser

	_, b, err := p.ParseUnverified(tokenString, &jwt.StandardClaims{})

        for _, p := range b {
                fmt.Printf("%s\n", p)
        }

	switch err.(type) {
	case *jwt.ValidationError:
		vErr := err.(*jwt.ValidationError)
		switch vErr.Errors {
		case jwt.ValidationErrorExpired:
			return true
		default:
			return false
		}

	default:
		return false
	}

When parsed, the err is always nil. Can you advise on what I'm doing wrong here?
I want to check if the token is expired before prompting the user to generate a new one.

To my knowledge, ParseUnverified doesn't check if the token is expired or not. If you still want to use ParseUnverified over Parse, you could add a check against token.Claims.Valid(), but that requires you storing a Token pointer.

Does the expiration time parsing really require signature verification also? Or is it just an oversight in this library?

ParseUnverified intentionally performs little validation. It just parses the token. It exists mostly to assist with debugging. As others have mentioned, you can access the claims validation code directly with token.Claims.Valid().
In general, there should be few cases where you want to do this outside of testing/debugging. The contents of a token are meaningless if the signature is invalid.

Thanks. My intention was for a client to check if it's locally cached JWT is expired, to ask the user to re-login, before making a request to the upstream server that fails due to the JWT being expired - so it's a case where:

Local client doesn't have the signing key so it can't verify any real signature
It just needs to know the expiry time

Just a convenience but I don't need to have it.

That makes sense. You should be able to get there with ParseUnverified and token.Claims.Valid().

I believe token.Claims.Valid() works. Thanks for the suggestions!


bigtable: emulator does not return timestamp granularity in ModifyColumnFamilies

The production server includes the granularity field in the response for a ModifyColumnFamilies() the emulator does not.  We should probably change the emulator.

Fixed by 69069404eb9c2a927057dda702c05e3c50e28025


Can't import library module from finetune/make_captions.py

A library module refactor appears to have broken dependencies in several finetune scripts

Interesting, that's a good point. The issue originated while using the Kohya GUI provided in https://github.com/bmaltais/kohya_ss but I have a feeling the dependencies may not have been installed with -e .. I will test this approach. The PR may no longer be required.

Confirmed that the -e . flag solves this in other environments as well.


Feat: Add Logging

Topic
Add logging levels to SFM
Service
Backend

Added initial logging to the backend with commit #2874612. Small changes will be needed to incorporate Azure SDK insights once the app is deployed in Azure.


feat: add trophy

SVG is no bueno. @ghgamble who gave you the SVG? I can reach out to them and show them what needs fixed.

Ronnie did, Casey


Takeoff

The general modification was concerned with url setups in both views and templates specifically for questionnaire and member apps

Let us change the gitignore file first.


Broken link in primitive types list

Documentation feedback

Page title: Data types
Page URL: https://crate.io/docs/crate/reference/en/latest/general/ddl/data-types.html
Source: https://github.com/crate/crate/blob/4.2/docs/general/ddl/data-types.rst

The link https://crate.io/docs/crate/reference/en/4.2/general/ddl/data-type-text in the list of 'primitive types' is a broken link and gives a 404.

Fixed via https://github.com/crate/crate/pull/10729


Canonical location in PREFIX for menu item artifacts

The CEP preview of menuinst creates shortcuts for Linux, macOS and Windows in three default locations:

Linux: ~/.local/share/applications
macOS: ~/Applications
Windows: whatever the default locations for Start Menu, Quick Launch and Desktop are.

For this we create full files with computable paths, so we can re-obtain these paths at uninstall time if needed. The problem is that these files might not be there by the time we want to uninstall them (Windows users might rename or move the shortcuts, and they'd still work; macOS users might put the .app directory somewhere else; I am not expecting Linux users to mess with their .desktop files but you never know).
Instead of doing this, @goanpeca and I were talking about creating the actual menu files in PREFIX itself (under var/menuinst or similar), and the symlink to this canonical location from the system parts. This needs to be tested (specially on Windows, with different letter units?), but it should work.  It would also have the benefit of having an easy-to-find location for the generated shortcuts without having to re-run menuinst to find out.

not stale


Shipyard variables Stored ships not set and Stored ships n model not updating correctly

Hi CmdrMcDonald,
Before I begin, I would like to thank you for all the time and hard work you've put into EDDI so all the rest of us can enjoy a truly immersive experience!
I have found two issues regarding shipyard variables after using the ((EDDI ship swapped)) event:
Issue #1: {INT:Stored ships} is currently NOT SET.
I have 2 ships in storage. I tried looking at {TXT:Stored ship n=1,2 model} and they are populated, so EDDI seems to know that I have 2 ships in storage. I have also checked the Shipyard tab in EDDI configuration and all 3 of my ships are listed.
Issue #2: {TXT:Stored ship n model} is not updating correctly.
I am using VoiceAttack to say {TXT:Stored ship n=1,2 model) after the ((EDDI ship swapped)) event to debug. What I found is if I swap from my Cobra into my Viper the variables for n=1,2 shows my Viper and Sidewinder as stored, and not my Cobra and Sidewinder. If I swap back to my Cobra the two ships showing as stored show up as my Cobra and my Sidewinder as opposed to my Viper and Sidewinder.
I have included both my EDDI.log and Ships.json files. Any help you can provide on this would be much appreciated. Thank you!
EDDI.zip
EDIT #1:
I just checked with ED Market Connector and it is not showing the correct ship I am in unless I do an update. I guess this won't be updated until my next ship swap or docking event.

{INT:Stored ships} will be set in the next release, although it will be known as {INT:Stored ship entries} to be consistent with other similar values.
The companion API can be a little slow, so obtaining up-to-date information on current ship Vs. shipyard ships can be tricky.  I've tweaked the existing code to attempt to handle this situation a bit better where it does have the information that it needs (e.g. swapping ships rather than purchasing a new ship).

I checked using ED Connector and the update there is also lagged.  I see your note #111 and I agree that would probably be the only way to permanently resolve this issue. Anyway, thanks for your work on this amazing plug-in!

This is fixed in release 2.2.0.


nano.db is undefined

When I run "yarn start", I've got the following error.
yarn run v1.15.2
credentials.iam_apikey: xxx
credentials.iam_username: xxx
/Users/ayatokura/ibmdojo/dxchallenge/watson-discovery-news-alerting/app/node_modules/@cloudant/cloudant/cloudant.js:164
  nano.use = nano.db.use = use;
                         ^
TypeError: Cannot set property 'use' of undefined
    at new Cloudant (/Users/ayatokura/ibmdojo/dxchallenge/watson-discovery-news-alerting/app/node_modules/@cloudant/cloudant/cloudant.js:164:26)
    at getCloudantService (/Users/ayatokura/ibmdojo/dxchallenge/watson-discovery-news-alerting/app/src/bluemix/config.js:50:20)
    at Object.<anonymous> (/Users/ayatokura/ibmdojo/dxchallenge/watson-discovery-news-alerting/app/src/models/access.js:22:18)
    at Module._compile (internal/modules/cjs/loader.js:776:30)
    at loader (/Users/ayatokura/ibmdojo/dxchallenge/watson-discovery-news-alerting/app/node_modules/babel-register/lib/node.js:144:5)
    at Object.require.extensions.(anonymous function) [as .js] (/Users/ayatokura/ibmdojo/dxchallenge/watson-discovery-news-alerting/app/node_modules/babel-register/lib/node.js:154:7)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:690:17)
error Command failed with exit code 1.

@ayatokura this code pattern hasn't been updated in a while, and I'm sure the issue has to do with old API's accessing newly created Watson services. If you are interested in learning how to use Watson Discovery, I would suggest taking a look at any of the code patterns linked to here - https://developer.ibm.com/series/learning-path-watson-discovery/


Merge events do not show up

Limitation of the GitHub notifications API... 😢
I'd consider using the Events API, but that shows stuff on your home page (so other user's activities). example
Gonna close unless you've got another idea?

Ugh. GitHub can and we can't. 😐

Ya pretty big limitation on the API. Also doesn't support releases, doesn't give you Issue/PR status in the endpoint, and more. Super limited...


Bug: $convertFromMarkdownString not converting bold-italic correctly

Lexical version: 0.3.7
Steps To Reproduce
Using $convertFromMarkdownString does not convert bold-italic correctly.
Link to code example:
https://codesandbox.io/s/lexical-md-bold-italic-issue-kphmfp?file=/src/Editor.js
The current behavior
Text surrounded by 3 stars or underscores only renders as bold.
The expected behavior
Text surrounded by 3 stars or underscores should render as bold and italic.

As per https://lexical.dev/docs/api/lexical-markdown there are transformers which should be handling this:
BOLD_ITALIC_STAR
BOLD_ITALIC_UNDERSCORE

From a quick look these appear to be set up correctly in the code, but I don't understand why they're not working correctly.
https://github.com/facebook/lexical/blob/c85d94d07c1ac6ad81eb0da541f1e67ae8b833fa/packages/lexical-markdown/src/v2/MarkdownTransformers.ts#L252-L263

I've investigated this some more & realised I need to supply a theme. https://lexical.dev/docs/getting-started/theming


Can't Create C# Script?

Godot crashes while i'm attaching a C# script node??

Can't see anything in gif.
What is your Mono version? What is the node name? What is the class name?


Initial

I noticed it wasn't checking if the user is authorized.
We should make sure that's added to it.

Is there a need to authenticate people for this API endpoint? I don't believe the information returned is sensitive, after all it's exactly what you'd find in /u/groupbot's comment history

I mean, in general it's good practice to require authentication for an API path unless it's an open API for public use. In this case, it's strictly for the web interface for what I'm assuming will be for mods, even though we don't currently use it.

This was actually created for /u/inhumantsar and their bot /u/tacostats, so it is for public use. I might want to add authentication later, but for now I'd like to keep it open since I don't think there's any harm and it'll make development easier for them


Zoom slider

A user suggested to replace “Min Zoom” and “Max Zoom” with two or one slider.

It needs a few styling fixes, but what do people think in general

Branch: https://github.com/orangemug/editor/tree/feature/add-range-slider
Demo: https://1167-84182601-gh.circle-artifacts.com/0/artifacts/build/index.html#0.35/0/0

In general it looks good!
The slider handles look different, but OK, with Chrome on Linux:

Some thoughts:

It's nearly impossible to hit integer values with the sliders. Could there be some kind of snapping implemented?
It's not possible to enter decimal places in the box beneath the sliders when you start there with an integer value.
Maybe one decimal place for the value if it is set with the slider is sufficiant.

The sliders are non functional with Firefox on Linux.
It is only possible to adjust the value with a click on the slider bar. The slider handle itself is not slideable.

I've changed the range (slider) step to 0.1 in the demo https://1184-84182601-gh.circle-artifacts.com/0/artifacts/build/index.html#0.35/0/0
I think the firefox issue is actually to do with #372. I think we're blocking the UI thread for too long which is causing the slider to 'stall'. I'll leave this ticket until I've completed the performance ticket and revisit then.

I still find it very difficult to hit integer values.
What about only using integer values as steps for the slider?
I think most of the time a user wants to use integer values and if not, non-integer values could be added via the box next to the slider or via the JSON editor.

There are a few bugs still with default values, but here's an updated demo https://1213-84182601-gh.circle-artifacts.com/0/artifacts/build/index.html

Great, now it's usable :+1:

@orangemug is there still something to do before you want submit a PR?


Data input pipeline does not implement Batch for "from_tensor_slices(dict(df))"

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 20.04
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary): latest from source
TensorFlow version (use command below): latest from source
Python version: 3.8
Bazel version (if compiling from source): 3.6.0
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory: 2070

Describe the current behavior
https://www.tensorflow.org/guide/data#consuming_csv_data
titanic_slices = tf.data.Dataset.from_tensor_slices(dict(df))
That code will have dictionary object slice.
element_spec returns {dict:XX} This throws exception if we use Batch from the same documentation,
  windows = ds.window(window_size, shift=shift, stride=stride)

  def sub_to_batch(sub):
    return sub.batch(window_size, drop_remainder=True)

  windows = windows.flat_map(sub_to_batch)
  return windows

closing this as duplicate of #46066


[mwc-select] auto select upon options updated (native select parity)

Describe the bug
When setting the options of the mwc-select component, say post render, asyncly, the value of the select component is not being changed.
Native select behaves differently - when the options 'injected', the first option is automatically become selected CodePen here.
To Reproduce
Steps to reproduce the behavior:

Insert into the DOM <mwc-select></mwc-select>
Wait a bit, to let the init cycle to settle down
Do <selectElementReference>.innerHTML = '<mwc-list-item value="1">1</mwc-list-item><mwc-list-item value="2">2</mwc-list-item>'
Observe that preselect of the first item is NOT happening

Expected behavior
When the options list is replaced:

if the current value of the list is not in options anymore - do select the first option (and notify on change)
if the current value of the list is in the options - ensure that the option's label is updated as per relevant option in the list

Update: there are 2 misbehaves that I'm seeing happening due to this issue:

when the options are set to a whole new list of values, the value (and as such the visibly chosen option's text) remains the old one
when the options are set to a new list of values when some of the values are overlapping (and say that the currently selected value is present in the new list, but with different label) - the label remains the old one

Heya, here you need to call the layoutOptions method. It was only in canary, but just released in v0.21.0

What do you mean "you need to call" - is it something that consumer need to do upon options update or the mwc-select itself watches for slotted/assigned items change and does it?
Please pay attention, that consumer driven approach is not quite convenient, since mostly options are 'injected' via some data-centric framework like Vue/Angular and there is no actual code scripted to perform some kind of a 'post-inject-layout' call.

Hello, sorry for the lack of clarity:
When the options inside the select change it is necessary to call mwcSelect.layoutOptions().
I understand the DX issues associated with this, and as of now we cannot watch slot changes due to current limitations with google internal tooling. We are actively considering other options.
In the meantime it's possible to set a mutation observer on the select. Demo while we reconsider our approach.

cc @allan-chen for next sync

Ah, understood, thank you and yet, it would be nice to not require proactive layoutOptions call due the declarative flows of data binding which in this case becomes impossible.
Thanks again and it is up to you if to close the issue or keep it for the further tracking!


All entities have status unknown

I have successfully added my Beko Washing machine to the Homewhiz android app
Then I have successfully created the home assistant integration via the cloud option.
I restarted HA but all entities have the status "unknown".
In the log I see this error:
TypeError: HomewhizCloudUpdateCoordinator.refresh_connection() takes 1 positional argument but 2 were given

Thanks for reporting this issue! 👍
Could you please test if this issue still occurs with the latest beta release?
Also, we would need more information, such as the washing machine model, device digital ID , etc. Thanks!

I have the same issue … brand new install.
Beko B300 washing machine
Serial<PHONE_NUMBER>

Hello, I encountered the same problem. But I noticed that one day the sensors were updated, and then again went into unknown status. So I realized that even though the distance from my pi4 to the washing machine without obstacles is about 10 meters, it is still too much. then I moved the raspberry closer and the sensors began to update correctly.
So even though HA quickly pairs with the machine, try moving your server closer.

@Australian from the UK 😄, you have to enable beta versions in HACS, else you won't be able to select them. This issue should be resolved with https://github.com/home-assistant-HomeWhiz/home-assistant-HomeWhiz/commit/824447e9320161cded513cbcd99bc569e0e6d148#diff-c619c691a17d896c7ed65accc1ab7ae20644e650e1d6bc4dd05bed22dc79735e - so with the latest 0.5.0 beta release.


Is there a way to add custom deprecated methods on the DeprecatedClassMethods?

Question
I would like to know if I can add custom deprecated methods to Rubocop DeprecatedClassMethods cops. We wrote a custom cop to add this ability in our project. So, can we do that?
If no, what do you think about that?
If yes, can you share some tips with me? I read the Ruby Docs from the Cop and some Google Search but I couldn't find anything.
Why?
We use this solution to help us envolve our codebase through all the teams.

This could be quite useful, but I'd venture to say that most deprecated methods will be instance methods, not class methods.
A cop with inline nodepattern could be a more generic solution:
Lint/OurDeprecations:
  Inline:
  - Pattern: '(send #global_const(:Book) :find! $_id)
    AutoCorrect: 'Book.find_by_custom_id!($1)'
    Message: 'Use Book.find_by_custom_id!'
  - Pattern: '(send #global_const(:Book) :find_by! (hash (pair (sym :id) $_id)))'
    AutoCorrect: 'Book.find_by_custom_id!($1)'
    Message: 'Use Book.find_by_custom_id!'

We could allow instance methods with a grep on the name of the receiver, e.g.:
  - Pattern: '(send ${(send _ /books/) (lvar /books/)} :find! $_id))'
    AutoCorrect: '$1.find_by_custom_id!($2)'
    Message: 'Use Book.find_by_custom_id!'

That could flag something like Bookstore.catalog.current_books.find("hitchhiker's guide to the galaxy") and even auto-correct it to Bookstore.catalog.current_books.find_by_custom_id!("hitchhiker's guide to the galaxy")

@matheuslc , can you share your custom cop or a small example with us?
I would like to warn the usage of deprecated methods, but I don't know how to make Rubocop warn on these methods.
I'm deprecating the old methods with the warn method.

I too would find value in this kind of cop. We have about 100 methods that we don't want people using any more. We won't have the time to fix all the existing code, but we don't want any new code using those methods.


Bash session closes on errors after importing IDF environment (IDFGH-8757)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
v5.1-dev-1826-gac99c0ad6b
Operating System used.
Linux
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
No response
What is the expected behavior?
Bash session to remain open
What is the actual behavior?
After install.sh and export.sh, the bash session abruptly terminates with code 1 after certain events.
Steps to reproduce.
Running bash 5.2.9 and python 3.11.0, btw.
Just build any app in a way that would cause a compilation error.
Running 'printenv $IDF_PATH' also triggers it.
Reproducing #10116 (which causes install.sh to fail) also triggers the issue.
Build or installation Logs.
No response
More Information.
No response

@KaeLL Could you check what is the output of set -o | grep errexit in a new terminal, and after running each of the ./install.sh and . ./export.sh?
(Are you by any chance sourcing install.sh as . ./install.sh? That would invoke set -e in your current shell and cause the  behavior you describe.)

check what is the output of set -o | grep errexit

You caught me. The install.sh/export.sh routine is done by a script I wrote myself that had a set -e at the beginning for some reason.  Thanks.


Move Material page animations to Material layer.

PageRoute is now MaterialPageRoute.
This also changes the following:

Now the HeroController is a Navigator observer, rather than a feature
of HeroPageRoutes, which are gone. This means heroes can work between
any kind of ModalRoute now.

ModalPageRoute is moved from modal_barrier.dart to routes.dart.

It allows routes to opt-out of their modal barrier being a shortcut to
popping the route.

Features of PageRoute that aren't Material-specific get promoted to
ModalRoute features: storage, the subtree key, offstageness...

The AnimatedModalBarrier is still a ModalRoute feature.

LGTM!


Feature/mat 6735

MADiE PR
Jira Ticket: MAT-6735
(Optional) Related Tickets:
Summary

Ability to select an expansion that qdm execution, The list of manifest is dummy,  the real list of manifest options will be hooked up in a coming story. https://jira.cms.gov/browse/MAT-6736

All Submissions

[ ] This PR has the JIRA linked.
[ ] Required tests are included
[ ] No extemporaneous files are included (i.e Complied files or testing results)
[ ] This PR is into the correct branch.
[ ] All Documentation as needed for this PR is Complete (or noted in a TODO or other Ticket)
[ ] Any breaking changes or failing automation are noted by placing a comment on this PR.

DevSecOps
If there is a question if this PR has a security or infrastructure impact, please contact the Security or DevOps engineer assigned to this project to discuss it further.

[ ] This PR has NO significant security impact (i.e Changing auth methods, Adding a new user type, Adding a required but vulnerable package)
[ ] All CDN/Web dependencies are hosted internally (i.e MADiE-Root Repo)

Reviewers
By Approving this PR you are attesting to the following:

Code is maintainable and reusable, reuses existing code and infrastructure where appropriate, and accomplishes the task’s purpose
The tests appropriately test the new code, including edge cases
If you have any concerns they are brought up either to the developer assigned, security engineer, or leads

It has Codacy issues

Not sure what codacy is complaining about


fix: update the S3 log bucket critical tag

Summary
Update the file queue and virus def S3 access log bucket to no longer be marked as critical.

I might have been a bit too fast on approving this one since the Terraform plan failed. Sorry!

All good!  I've let Guillaume know about the bug 😄


Comparing Triplets Python solution #418

Solved issue #(your issue number)
In Language- (your used language)

[x] Updated README Link
[x] Added code with comments

Thanks for contributing!

Mention issue number

Mention issue number

Done


chore(Algebra/GroupWithZero/Action/Opposite): Move from GroupTheory.GroupAction.Opposite

Please clean up that align before merging.
bors delegate+

bors merge


Support image data as a numpy array

I have a use case where my data is in memory in a numpy array.  It would be great to be able to support this use case.

My workaround is to save the NumPy array as a temporary image and use that. A bit ugly, but it works. But I support the request to the author to suggest a better way to handle this case

I'm not sure what exactly you mean by "a temporary image" but converting it to a PIL image and then passing that in should work well. I think I would prefer that over trying to support any numpy array, since it might not always be straightforward to support this generically (e.g. if the array needs reshaped from N to X*Y before it can be read as an image).
https://stackoverflow.com/questions/10965417/how-to-convert-a-numpy-array-to-pil-image-applying-matplotlib-colormap
If you have a case where this doesn't work well, please let me know.


Add dark mode and minor css fixed

Added Dark mode Support -
1] On clicking on the toggle button it will change the mode i.e ( text color/ background color etc) of UI
2] It will persist the selected mode as we are storing the mode value in local storage

Added Dark mode Support -
1] On clicking on the toggle button it will change the mode i.e ( text color/ background color etc) of UI
2] It will persist the selected mode as we are storing the mode value in local storage

@bajran can we add icons for the dark mode button? Something like - https://docs.docker.com/ have

Also, the preview can be viewed at: https://deploy-preview-43--kyaml2go.netlify.app/

Can we also change the input box colors for CR?

Can we also change the input box colors for CR?

yes will update this

@bajran can we add icons for the dark mode button? Something like - https://docs.docker.com/ have

will add the icon @PrasadG193 thanks for suggestion


A display issue

Dear developer!
In the process of using, I found a bug in layout / display. As shown in the figure, in the first page, the text in the red box is half blocked. This may be an adaptation problem. I suspect it is because display and font size are set to large (mainly due to display size).
Because of some problems with my eyesight, I often use the largest font and display.

App version is 1.2.0, my mobile phone is Google nexus 6, screen resolution setting is 1920* 1080, font size and display size are the largest ! ! !, Android system is 8.0.
The above is a description of the problem. The overall experience of the software is good. You can see that the design is very attentive. Thank you very much for the efforts of the developers all the time. I hope to receive a reply.
Thank you!

Thank you for taking the time to report a bug. I appreciate the feedback. Will fix the issue as soon as I can.

Thanks*100000 for your reply! I look forward to your latest version of APK.

Fixed in 9c741ca085f4f1e22987f8580aa275d1edefc8c9.

Fixed in 9c741ca085f4f1e22987f8580aa275d1edefc8c9.

Thank you very much. Happy New Year!

Thank you very much. Happy New Year!


Update _index.en.md

Issue #, if available:
Description of changes:
Small fix to reflect use of word main for default codecommit trunk
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

I realized, not codecommit seems t enforce it, but I have my local git client configured to use main for master when initializing a new repo. However, isn't this considered good practice and should we reflect this in the documentation? I keep the maintainer to decide. I see two options here:
a) Fully adopt the main over master approach
b) Keep it optional, but mention the way to use a different branchname.
In later stages this becomes a gotcha again, as the CodeCommitSourceAction has master as a default branch name, so people who adopted main, like I did, will have some obstacles.
Let me know your opinion. I'm happy to contribute if you decide for either a or b. (I would clearly favour a over b)

Hi @kasitmp, thanks for bringing this up. I completely agree with you and we should move over to main (Option A) . Do you have bandwidth to submit a PullRequest updating all ocurrences of master and replace them with main? Will really appreciate it.

Hi Fernando,
I will do it, happy to contribute.


Icons overlap the informations

Hello!
In the examples you can see how an icon/graphic (e.g. a phone, thermometer, etc.) is displayed, then below it the value of the sensor and then the description of the measuring point.
No matter which icon I use, it always covers the text/measurement values. Only what is in the (custom) button title is displayed above the icon.
So how have the examples been implemented?
Thanks for any help and tips in advance!
:-)

Hi,
one of the disadvantages of the "custom icon" button ist, that (due to technical restrictions) values cannot be rendered on top of the icon. All of the example icons use the "generic" Entity.

Thank you for the feedback!

Entity (generic) -> Domain: Sensor -> Entity: temperature_bmw280 = Temperature is displayed at the top and the title at the bottom
Entity (generic) -> Domain: Sensor -> Entity: temperature_bmw280 + An icon form the Stream Deck Library = only the title at the bottom displayed :-(

Thanks!
Then it would be useful if you could tell us how you realized your examples. ;-)

Oops, lost track of your question. I thin you may have worked this out already, but here is an example:

(% is a workaround for the non-working percent characters)

No problem! ;-)
Thank you very much and have a great day!


Added the ability to select forge version

Added the ability to select forge version by adding -e FORGEVERSION=<IP_ADDRESS>3-1.7.10 or -e FORGEVERSION=RECOMMENDED

Great addition. I'll give it a sanity test this evening, but the code change looks good.
Don't worry about the failed build -- it's an out of date Cassandra container that I fixed on the master branch. If you want to merge latest from itzg:master, that'll clear that up.

Wow, their file naming gets inconsistent within the 1.7.10's. For the current recommended, the file name is forge-1.7.10-<IP_ADDRESS>1-universal.jar but for the versions at or just below latest it's forge-1.7.10-<IP_ADDRESS>8-1.7.10-universal.jar (leading and trailing "1.7.10").
Might have to come up with some smarts in the script to simplify that for users, but let's get your changes out there.
Thanks for the contribution.

Built and pushed with image ID 7042f7009e90

Thanks. I noticed the version numbering too but wasn't quite sure how to handle it.


feat(pkg): add typescript support

Haha, sure!
Just wondering, is TS complaining about JSDoc not being enough?

I mean using the existing
https://github.com/gurgunday/ghtml/blob/09ed967f836d1ae8b488be91f81e9d3a8f1a6312/src/html.js#L41-L46
as type definition ?
I tried
// in ghtml/package.json
{
  // [...]
  "type": "module",
  "bin": "./bin/src/index.js",
  "main": "./src/index.js",
  "types": "./src/index.js",
  // [...]
}

And TypeScript said no
Could not find a declaration file for module 'ghtml'. '/home/x/y/z/node_modules/ghtml/src/index.js' implicitly has an 'any' type.
  Try `npm i --save-dev @types/ghtml` if it exists or add a new declaration (.d.ts) file containing `declare module 'ghtml';`ts(7016)

A tiny .d.ts file seems to be required

Hey,
Thanks for the PR and issue description!
To automate as much as possible, I added TS support in a bit different way, but I made sure to add you as a co-author to the commit
Thanks again!

Closed by 0da36e55f0251f95b4f8afc9ce4dceb6a711322c

 :tada:  Beautiful :tada:


is the makefile broken?

on mac, i download osrm and cd into node_modules/osrm/test/data and run the command
$ make berlin-latest.osrm.hsgr
it download 'berlin-latest.osm.pbf' but errors:
make: *** No rule to make target /osrm-extract', needed by berlin-latest.osrm'.  Stop.
My gcc out of date?

The berlin-latest.osrm target depends on berlin-latest.osm.pbf, car.lua and $(OSRM_EXTRACT). $(OSRM_EXTRACT) expands to $(TOOL_ROOT)/osrm-extract --- and because you invoke the Makefile from the subdirectory, $(TOOL_ROOT) is not set (it gets set here in the top level Makefile).
Untested, but I think you can just set $(TOOL_ROOT) to the directory where osrm-extract is in, like this
env TOOL_ROOT=../../lib/binding make

@tharrington if you want to run the tests, just run make test from the node-osrm project root.

Closing here, not actionable.


output table in closed section not visible on open

looks like i merged https://github.com/twosigma/beaker-notebook/pull/2879
too fast.  try this notebook: https://pub.beakernotebook.com/#/publications/563e4f52-572d-47d5-84db-31a8b58581dd
open the section, see there is no table.  delete the section, then the table appears.

interesting, will take a look at this now

please IM me on slack.

I believe this is fixed. Do you want to close this @scottdraves ?


chore: store resource and navigation events by PerformanceEntry

Purpose
We need an event store to link related RUM events. My use case is to link LCP attribution to related RUM events.

Resource event for the image loaded, if any
Navigation event for the current page

Implementation

EventStore maps custom keys to RumEvents. Plugins write to store with context.record(type, event, key) and read from store with context.getEvent(key). LCP attribution can use PerformanceEntry object references as the keys.
ResourcePlugin stores image resource events by reference to the PerformanceResourceTiming entry
NavigationPlugin caches all level 2 events by reference to PerformanceNavigationTiming entry. Level 1 events do not have a related PerformanceEntry, and are therefore ignored.

Not included in this PR

Linking LCP attribution to event IDs for 2 and 3 from above. LCP attribution collected by web-vitals package includes references navigationEntry and lcpResourceEntry. These references can be used as keys to retrieve the related event ID's via context.getEvent(key).

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

issue: It's not obvious from the PR description what problem this change solves, or how this change solves it. Reviewing this change is difficult without this context.

issue: It's not obvious from the PR description what problem this change solves, or how this change solves it. Reviewing this change is difficult without this context.

Updated the description. Tl; DR: this PR creates the API necessary for linking LCP attribution to related resource and navigation events.

Closing for #445


ire is not defined

Hey,
I'm trying to use your hook and for some events I'm getting weird error message:
Uncaught ReferenceError: ire is not defined
    at <anonymous>:1:1
    at gtm.js?id=GTM-AAAAAA:502:414
    at gtm.js?id=GTM-AAAAAA:503:118
    at b (gtm.js?id=GTM-AAAAAA:503:329)
    at Ge (gtm.js?id=GTM-AAAAAA:92:261)
    at e (gtm.js?id=GTM-AAAAAA:279:118)
    at gtm.js?id=GTM-AAAAAA:38:130
    at Array.<anonymous> (gtm.js?id=GTM-AAAAAA:280:475)
    at Object.execute (gtm.js?id=GTM-AAAAAA:280:231)
    at fs (gtm.js?id=GTM-AAAAAA:282:984)

which is this insertBefore part:
if ("SCRIPT" == String(h.nodeName).toUpperCase() && "text/gtmscript" == h.type) {
                            var n = H.createElement("script");
                            n.async = !1;
                            n.type = "text/javascript";
                            n.id = h.id;
                            n.text = h.text || h.textContent || h.innerHTML || "";
                            h.charset && (n.charset = h.charset);
                            var p = h.getAttribute("data-gtmsrc");
                            p && (n.src = p,
                            Yb(n, l));
                            d.insertBefore(n, null);
                            p || l()
                        }

It's a simple event:
sendGTMData({ event: 'verification result code' });

I'm using it inside of useCallback in the custom hook, I'm honestly kinda struggle to find the solution, maybe you can point to the right direction?
Also in the debugger itself I can see that event is detected, plus additional event sent which is optimize.callback
Thank you

Hey, @vjaceslavhl can you provide a stack blitz as I'm unable to reproduce it?
Sorry for the late answer.

Hey @elgorditosalsero,
The issue was resolved. I was wrong by saying that it's that simple event, it was related to "purchase" event.
It seems like google is quite strict with their "purchase" even data format and in my case we were missing one of the keys (honestly, don't remember which one), but ye, the problem was data format.
Pretty sure you can't do much from your side, but if google gives enough info from their side it would be great to have proper error handling and get info which event/key failing, but IIRC I've had exactly same error without any specifics with just native GTM implementation.
Thanks anyway


reuse clients and set transport

Made some changes so that proxy re-use the client to send events. I'll also need to look into what InsecureSkipVerify does. Currently all events have that as false, but any events have InsecureSkipVerify as true. Then client transport gets reset.

@steven0711dong Can you explain why you needed a global client? The parameters you add seem to indicate you want rate limiting w.r.t. the HTTP client but you can already rate limit the outbound requests on the proxy by editing the load factor and max requests. Regardless, there are a few issues with this PR:

InsecureSkipVerify is needed on a per-request basis, thus multiple clients cannot be editing/adjusting the same global HTTP client without a lock, and a lock is not ideal, hence the individual HTTP client for each request.
As you mentioned, your custom HTTP client's transport has no effect if at least one request has InsecureSkipVerify set to true since the default HTTP client's transport will be globally overwritten.
While you do dynamically update the config state from changes in the YAML file, you forgot to update the actual HTTP client's transport values to match.

@btbd Regarding why we reuse client. Below is what I replied to Doug:
tbh I’m not 100% sure, but from the code I read that others wrote, I do not see people creating a new client for each http request. My guess is, if we reuse a client and set the maxConnsPerHost = 700(as an example), the client is able to maintain 700 connections without overwhelming the server(given server could handle 700 connections), but if we create a new client for each http request and do not set the maxConnsPerHost, then there is not even a limit on the amount of connections per client. Not even mention we have so many clients in so many goroutines. Then proxy would overwhelm the sink until the sink could not handle and connections are forcibly dropped creating that connection reset error. But yes, this problem could be solve by setting maxRequests and maxLoadFactor without using maxConnsPerHost.

Please disregard this PR for now, as we are going to have a debug session on Wednesday and then we will decide what kind of changes are needed on proxy.


Implement DQ failed alerting in Ingestion API

Done in https://github.com/opendatadiscovery/odd-platform/pull/138


The api version of Perplexica

Modify query_perplexica.py, utilize Perplexica API to scrap contents.

@shuyugan can you also revise the instructions for using the API in README?

Hi, I have added instructions to set up API, please check.

Looks good, merging this.


targetSdkVersion 23. Add run-time permissions.

With the targetSdkVersion 23, in Marshmallow app should have run-time permissions.

I have submitted a PR for the same. Can some review it please?


Multiple datasets

First of all - awesome work on the node! I've been looking for an alternative to the Dashboard charts for a while now and this looks promising!
Now to my issue - I've not been able to figure out how to have multiple datasets on my chart. I've tried the obvious - just creating two full datasets and combining them to an array:
[{ "channel": "TP01", "color": "Red", "dataset": [{"x": 1, "y": 10}, {"x": 2, "y": 8 }, {"x": 3, "y": 15}] },{ "channel": "TP02", "color": "Blue", "dataset": [{"x": 1, "y": 20}, {"x": 2, "y": 16 }, {"x": 3, "y": 30}] }]
but no go.

Hello Thucar,
The multidataset is not implemented in any chartjs now. It's a new topic that I would like to include in the next version of the node. This month I recover the code and update this version and include a multidataset capacity in some charts: linear and vertical or horizontal bars at first.

Regards

May I suggest an easy quickfix? Allow for a json object as an option. So if I wanted to be very specific with the chart setup, I could just pass the whole chart parameter set as a json object, complete with datasets and any other custom options/plugins I would prefer to use.

Any updates on this? :)

The new versión 0.5.1 implement multiserial line charts. Check it out


Features and properties

I don't understand the parts of the ontology that tie Features to Properties, involving sosa: elements. Some worked examples would help, then we might consider axiomatizations.

Examples, from one of the FSDF Data Graphs, added to the two relevant properties in Commit https://github.com/surroundaustralia/fsdf-kg/commit/59ad5549f3a2b8c51f08fc70ae36015f5f1cf1ad.


chore: merge upstream into develop

Description
This pr is to merge upstream beta8 version into develop branch
Rationale
tell us why we need these changes...
Example
add an example CLI or API response...
Changes
Notable changes:

add each change in a bullet point here
...

Potential Impacts

add potential impacts for other components here
...

Fix CI please.


Fix documentation

Proposal to remove the mention of quarkus-bom from the doc as it is not imported anymore.
https://repo1.maven.org/maven2/org/apache/camel/quarkus/camel-quarkus-bom/2.7.1/camel-quarkus-bom-2.7.1.pom (no quarkus-bom)
https://repo1.maven.org/maven2/org/apache/camel/quarkus/camel-quarkus-bom/2.7.0/camel-quarkus-bom-2.7.0.pom (quarkus-bom)

Good catch, @aldettinger , although now that camel-quarkus-bom does not import Quarkus BOM, it is not a simple replacement anymore. End users would have to also import quarkus-bom and take care that the versions are compatible. I'd vote for removing the whole == Camel Quarkus BOM section.

I've updated the PR accordingly.

ok, backported to 2.7.x also.


Generate kubeconfig using API

Today kubeconfig is being generated by the UI. We should put generation to API level, as an action on the cluster.

Tested with latest build from master
Cluster has a generateKubeconfig method that can be used to get the kube config for the cluster.


c3 add final commit to pages projects

Result:

worker
remix
next

Fixes # [insert GH or internal issue number(s)].
What this PR solves / how to test:
Associated docs issue(s)/PR(s):

[insert associated docs issue(s)/PR(s)]

Author has included the following, where applicable:

[ ] Tests
[x] Changeset (Changeset guidelines)

Reviewer is to perform the following, as applicable:

Checked for inclusion of relevant tests
Checked for inclusion of a relevant changeset
Checked for creation of associated docs updates
Manually pulled down the changes and spot-tested

Note for PR author:
We want to celebrate and highlight awesome PR review! If you think this PR received a particularly high-caliber review, please assign it the label highlight pr review so future reviewers can take inspiration and learn from it.

Converted to draft as I need to tweak the details in the commit message and figure out how we want to handle monorepos

@jculvey yes, I was wondering of the testing situation... I wasn't sure if the tests are ready for covering this, it sounds like they're not completely there, I don't mind having a look and if it doesn't make this PR go hugely out of scope I don't mind adding them here 🙂👍

please adjust and go ahead and merge
sorry I've still got a few items todo (I've noted them in the PRs description) 🙇

I don't think that the e2e tests can run on this PR since I created it from a forked repo, you can see the tests running in this other temporary PR I created just in order to test those: https://github.com/cloudflare/workers-sdk/pull/3776

Closing this in favour of #3776 (which is practically the same PR but created from an internal branch)
Sorry for the inconvenience 🙇


Need a way to obtain list of available typeIds from user-store management REST API

Describe the improvement- in order to create a user-store via REST API we need to provide a value for typeId.

but the supported typeId's need to be documented or come from an API endpoint itself.

This should be added in the documentation IMO. Hence labeling under doc


Changed font size in edit function node

Hi there,
I noticed on my several red engine that the font size of the function node is now bigger than the previous version of red. I did not find the place where I could change this ?
Here are two snapshot, the 1st one with the new version

And as you can see much lower on old version.

I'm pretty sure I missed an option somewhere but still can't find it.
Thank you for your help

I noticed this too, font size seems too big in the new version.

Hi,
The font should be the same size as all the others on the page (labels, debug panel etc). On larger res screens the small font was just too small - so keeping them all the same seemed sensible. Ctrl + and - will zoom the whole page of course including fonts.

dceejay
Thanks, that did the trick, I'm reducing the whole page then just increasing the dashboard with zoom + and - (bottom right)  like this, my node stay a good size and menus are still lower size, exactly what I needed ;-)

+1