Creating a repository profile in OMEVVP

Requirement Breakdown
Details

Objective
A repository profile is an OMEVV wrapper to the dell firmware/solution catalogs. Creating a repository profile is a required pre-requisite to begin able to update firmware to server devices using OMEVVP.

Authentication/Authorization
Authenticate using vCenter credentials (Basic Authorization) and "x_omivv-api-vcenter-identifier" (UUID of the vCenter) as a mandatory header.

List of the tasks in the workflow (in   order)
Ensure that the vCenter user credentials and the corresponding vCenter UUID are accepted.Comply with any input validation (see below)Invoke request to create a repository profilePoll until the repository profile is createdReturn repository profile object

Module type: Library and/or executable
Both

Input and format
Accept the following parametersprofileNamedescriptionprofileTypesharePath(Allow CIFS/NFS/HTTP/HTTPs)shareCredentialprotocolType(CIFS/NFS/HTTP/HTTPS/UNAVAILABLE)checkCertificate(true/false)createdByFollowing are the mandatory parameters : profileName, profileType, protocolType, sharePath

Expected output and format   Export required
Add log message at various execution steps if provided else output to console. Export is not required.

Concurrency requirement.
None

Execution model: synchronous or   asynchronous
Synchronous

Applicable timeouts and retries
Attempt creating the repository profile upto 3 times only when the failure is on account of a network timeout. On any other types of error for instance, providing invalid share path, no retry should be attempted.

Expected error handing
Handle all the network and non network related errors and log them in a user friendly way.

Expected domain specific validation
As specified above

https://github.com/dell/omivv/pull/42


Floater will not close when hover control is clicked (iPad, iOS 13, Safari)

🐛 Bug Report
Using Safari on an iPad, the "convert hover to click" will open the floater but will not close it.
To Reproduce
Open https://d0pt7.csb.app in Safari on an iPadAir 2, iOS version 13.3.1. Note: This does not appear to be an issue on iOS 12. Click on any of the buttons in the hover section of the page, the floater will show. Click on the same button again and the floater will not close.
Expected behavior
The floater should hide once the button is clicked for a second time
  System:
    OS: macOS Mojave 10.14.6
    CPU: (8) x64 Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz
    Memory: 1.12 GB / 16.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 10.15.1 - ~/.nvm/versions/node/v10.15.1/bin/node
    Yarn: 1.5.1 - /usr/local/bin/yarn
    npm: 6.9.0 - ~/.nvm/versions/node/v10.15.1/bin/npm

I don't have a device to test this.
Feel free to submit a PR


Determine the correct package versions by reading packages.config

Current coverage is 93.29%

Merging #2022 into stabilization will not affect coverage as of e5de11e

@@            stabilization   #2022   diff @@
=============================================
  Files                 561     561
  Stmts               35348   35348
  Branches             2269    2269
  Methods
=============================================
  Hit                 32979   32979
  Partial               749     749
  Missed               1620    1620

Review entire Coverage Diff as of e5de11e

Powered by Codecov. Updated on successful CI builds.

:+1:


add text-generation-webui instructions

#87

Since #144 has been merged, please resovle conflict before we can merge it to main branch.


How can we get the data

I have completed the installation of the Shogun Python interface, when i run ：python linear_ridge_regression.py
It is display：
Python 2.7.6 (default, Oct 26 2016, 20:30:19)
[GCC 4.8.4] on linux2
Type "copyright", "credits" or "license()" for more information.

================================ RESTART ================================

Traceback (most recent call last):
File "/usr/local/share/shogun/examples/python/regression/linear_ridge_regression.py", line 8, in
f_feats_train = CSVFile("../../data/regression_1d_linear_features_train.dat")
SystemError: [ERROR] In file /home/xxn/5.1.0.git/src/shogun/io/File.cpp line 71: Error opening file '../../data/regression_1d_linear_features_train.dat'

Is that because I didn't generate the data set? How should I generate a data set?
Thanks！

@xxnyufengzhe please read the manual carefully....
if you want data repository then you should clone it:
git submodule update --init


perf(v2): reduce amount of navbar updates while scrolling

Motivation
This change limits amount of NavBar component updates by not updating it on every keyframe while user scroll through website
fixes #4454
New flame chart

Old flame chart

Have you read the Contributing Guidelines on pull requests?
yes
Test Plan
open website in browser and start scrolling

There is actually more potential for optimization here, as we could add throttle to scroll event

thanks, that looks good :)


Move components to a certain position

I'm trying to reorder my components in GridStack(vertical 1 column layout) to a certain position.
I have implemented following logic for this purpose:
	iterator().forEachRemaining(child -> {
		//move away temporary
		moveComponent(child, 100, 100);
	});

	/*
	 componentIds represents list of some bussiness ids associated with a GridStack components  	and these ids represent the new order for these GridStack components
	*/
	for (int i = 0; i < componentIds.size(); i++) {

		component = //some logic here by getting component by componentIds.get(i)

		moveComponent(component, 0, i);
	}

As a result I have a pretty much the same order as desired but for a some reason some components(not all but some of them) are on the wrong places - not on the places defined by componentIds list.
What am I doing wrong and how to reorder components in order to match the desired order for 100%?

Just call gridStack.moveComponent(component, newX, newY) it should work.
https://github.com/alump/GridStack/commit/a92385761f8b4d49bbe9ab5a60d1cf833b0ea3ae
I made simple test in this commit to reset to original order (if you iterate components those are given in order that they were added to layout). Extra trick there is that it checks the height of component and increases X value by that.
Remember that if you put component to 0,1 but there is already component at 0,0 with height 2, then those will overlap, and client side will try to find next available space for component. This will cascade to other components too.

Thanks for your answer. I have applied your solution and after debugging found an interesting thing.
As you suggested, I have invoked in loop following method:
moveComponent(component, 0, x.getAndAdd(getCoordinates(component).getHeight()));
and printed components order:
	for (int i = 0; i < getComponentCount(); i++) {
		System.out.println(.. component id));
	}

output:
30973
30977
30971
30982
30985
30976
30979
30981
30972
30984
30975
30978
30980
30983
30974

but at display(at browser) the order is slightly different(the picture below represents the end of the list):

but I expect following order:
30984
30975
30978
30980
30983
30974

So for the some reason we have a different picture in memory and on the screen..
How it can be fixed ?

So used gridStack.getCoordinates(childComponent).getY() to short your list, before printing those lists?

I'm not sure I understood you correctly but I have added Y coordinate to my output:
this is a state before reordering:
business id: 30985 component y: 0
business id: 30984 component y: 1
business id: 30983 component y: 2
business id: 30982 component y: 3
business id: 30981 component y: 4
business id: 30980 component y: 5
business id: 30979 component y: 6
business id: 30978 component y: 7
business id: 30977 component y: 8
business id: 30976 component y: 9
business id: 30975 component y: 10
business id: 30974 component y: 11
business id: 30973 component y: 12
business id: 30972 component y: 13
business id: 30971 component y: 14

and this is the state after reordering:
business id: 30973 component y: 0
business id: 30977 component y: 1
business id: 30971 component y: 2
business id: 30982 component y: 3
business id: 30985 component y: 4
business id: 30976 component y: 5
business id: 30979 component y: 6
business id: 30981 component y: 7
business id: 30972 component y: 8
business id: 30984 component y: 9
business id: 30975 component y: 10
business id: 30978 component y: 11
business id: 30980 component y: 12
business id: 30983 component y: 13
business id: 30974 component y: 14

in memory after reordering the order is correct but at browser at the end of the list I have the order as on the picture in my previous message

Found issue, resolving.

0.3.1 released in Vaadin Directory. Hopefully it resolves the issues you have.

http://app.siika.fi/GridStackDemo/#!split - demo now has secondary order behind Roman button.
Example code: https://github.com/alump/GridStack/blob/a92385761f8b4d49bbe9ab5a60d1cf833b0ea3ae/gridstack-demo/src/main/java/org/vaadin/alump/gridstack/demo/SplitView.java

I'll test it in more details tomorrow but at the first look everything work like a charm !
Thank You very much !!


Server Unavailable Error 1006

Hello from Australia, Just wanting to see if you may be able to assist. I have the application running as a docker image in UNRAID (is licensed), From the logs it appears to be completing the media folder scan. However I am unable to connect to the configuration server on port 5800. I am able to load the page to a point. Then I receive error code: 1006 - Server Disconnected.
Any advice for me on this one.
Dan

This is usually caused by a browser caching issue.  To confirm this is the problem, you can check if it's working when accessing the page in a private/incognito window.
Clearing the browser's cache should fix the problem.

Finally got around to being back at machine. So, no change with using
private browser, new browser. clear cache. It's running on http port 5800.
Checked for any network blocks. None to speak of. Have tried to remove and
re-install.
Running through it all again now. I'll come back and say if I got it
working and what was done. What else could I try/check?
[image: image.png]
[image: image.png]
On Sun, May 8, 2022 at 10:52 PM Jocelyn Le Sage @.***>
wrote:

This is usually caused by a browser caching issue. To confirm this is the
problem, you can check if it's working when accessing the page in a
private/incognito window.
Clearing the browser's cache should fix the problem.
—
Reply to this email directly, view it on GitHub
https://github.com/jlesage/docker-filebot/issues/75#issuecomment-1120413502,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXBLY3ICOTOFBXKLSNBVNDDVI62IHANCNFSM5VLZL6YA
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Kind Regards,
Daniel

This is what I have from the startup process:::
I am able to VNC to it.

Warning: Could not resolve keysym XF86ChannelUp
Warning: Could not resolve keysym XF86ChannelDown
Warning: Could not resolve keysym XF86Break
Warning: Could not resolve keysym XF86VideoPhone
Warning: Could not resolve keysym XF86ZoomReset
Warning: Could not resolve keysym XF86Editor
Warning: Could not resolve keysym XF86GraphicsEditor
Warning: Could not resolve keysym XF86Presentation
Warning: Could not resolve keysym XF86Database
Warning: Could not resolve keysym XF86Voicemail
Warning: Could not resolve keysym XF86Addressbook
Warning: Could not resolve keysym XF86DisplayToggle
Warning: Could not resolve keysym XF86SpellCheck
Warning: Could not resolve keysym XF86ContextMenu
Warning: Could not resolve keysym XF86MediaRepeat
Warning: Could not resolve keysym XF8610ChannelsUp
Warning: Could not resolve keysym XF8610ChannelsDown
Warning: Could not resolve keysym XF86Images
Warning: Could not resolve keysym XF86NotificationCenter
Warning: Could not resolve keysym XF86PickupPhone
Warning: Could not resolve keysym XF86HangupPhone
Warning: Could not resolve keysym XF86Fn
Warning: Could not resolve keysym XF86Fn_Esc
Warning: Could not resolve keysym XF86FnRightShift
Warning: Could not resolve keysym XF86Numeric0
Warning: Could not resolve keysym XF86Numeric1
Warning: Could not resolve keysym XF86Numeric2
Warning: Could not resolve keysym XF86Numeric3
Warning: Could not resolve keysym XF86Numeric4
Warning: Could not resolve keysym XF86Numeric5
Warning: Could not resolve keysym XF86Numeric6
Warning: Could not resolve keysym XF86Numeric7
Warning: Could not resolve keysym XF86Numeric8
Warning: Could not resolve keysym XF86Numeric9
Warning: Could not resolve keysym XF86NumericStar
Warning: Could not resolve keysym XF86NumericPound
Warning: Could not resolve keysym XF86NumericA
Warning: Could not resolve keysym XF86NumericB
Warning: Could not resolve keysym XF86NumericC
Warning: Could not resolve keysym XF86NumericD
Warning: Could not resolve keysym XF86CameraFocus
Warning: Could not resolve keysym XF86WPSButton
Warning: Could not resolve keysym XF86CameraZoomIn
Warning: Could not resolve keysym XF86CameraZoomOut
Warning: Could not resolve keysym XF86CameraUp
Warning: Could not resolve keysym XF86CameraDown
Warning: Could not resolve keysym XF86CameraLeft
Warning: Could not resolve keysym XF86CameraRight
Warning: Could not resolve keysym XF86AttendantOn
Warning: Could not resolve keysym XF86AttendantOff
Warning: Could not resolve keysym XF86AttendantToggle
Warning: Could not resolve keysym XF86LightsToggle
Warning: Could not resolve keysym XF86ALSToggle
Warning: Could not resolve keysym XF86Buttonconfig
Warning: Could not resolve keysym XF86Taskmanager
Warning: Could not resolve keysym XF86Journal
Warning: Could not resolve keysym XF86ControlPanel
Warning: Could not resolve keysym XF86AppSelect
Warning: Could not resolve keysym XF86Screensaver
Warning: Could not resolve keysym XF86VoiceCommand
Warning: Could not resolve keysym XF86Assistant
Warning: Could not resolve keysym XF86BrightnessMin
Warning: Could not resolve keysym XF86BrightnessMax
Warning: Could not resolve keysym XF86KbdInputAssistPrev
Warning: Could not resolve keysym XF86KbdInputAssistNext
Warning: Could not resolve keysym XF86KbdInputAssistPrevgroup
Warning: Could not resolve keysym XF86KbdInputAssistNextgroup
Warning: Could not resolve keysym XF86KbdInputAssistAccept
Warning: Could not resolve keysym XF86KbdInputAssistCancel
Warning: Could not resolve keysym XF86RightUp
Warning: Could not resolve keysym XF86RightDown
Warning: Could not resolve keysym XF86LeftUp
Warning: Could not resolve keysym XF86LeftDown
Warning: Could not resolve keysym XF86RootMenu
Warning: Could not resolve keysym XF86MediaTopMenu
Warning: Could not resolve keysym XF86Numeric11
Warning: Could not resolve keysym XF86Numeric12
Warning: Could not resolve keysym XF86AudioDesc
Warning: Could not resolve keysym XF863DMode
Warning: Could not resolve keysym XF86NextFavorite
Warning: Could not resolve keysym XF86StopRecord
Warning: Could not resolve keysym XF86PauseRecord
Warning: Could not resolve keysym XF86VOD
Warning: Could not resolve keysym XF86Unmute
Warning: Could not resolve keysym XF86FastReverse
Warning: Could not resolve keysym XF86SlowReverse
Warning: Could not resolve keysym XF86Data
Warning: Could not resolve keysym XF86OnScreenKeyboard
Warning: Could not resolve keysym XF86PrivacyScreenToggle
Warning: Could not resolve keysym XF86SelectiveScreenshot
Warning: Could not resolve keysym XF86Macro1
Warning: Could not resolve keysym XF86Macro2
Warning: Could not resolve keysym XF86Macro3
Warning: Could not resolve keysym XF86Macro4
Warning: Could not resolve keysym XF86Macro5
Warning: Could not resolve keysym XF86Macro6
Warning: Could not resolve keysym XF86Macro7
Warning: Could not resolve keysym XF86Macro8
Warning: Could not resolve keysym XF86Macro9
Warning: Could not resolve keysym XF86Macro10
Warning: Could not resolve keysym XF86Macro11
Warning: Could not resolve keysym XF86Macro12
Warning: Could not resolve keysym XF86Macro13
Warning: Could not resolve keysym XF86Macro14
Warning: Could not resolve keysym XF86Macro15
Warning: Could not resolve keysym XF86Macro16
Warning: Could not resolve keysym XF86Macro17
Warning: Could not resolve keysym XF86Macro18
Warning: Could not resolve keysym XF86Macro19
Warning: Could not resolve keysym XF86Macro20
Warning: Could not resolve keysym XF86Macro21
Warning: Could not resolve keysym XF86Macro22
Warning: Could not resolve keysym XF86Macro23
Warning: Could not resolve keysym XF86Macro24
Warning: Could not resolve keysym XF86Macro25
Warning: Could not resolve keysym XF86Macro26
Warning: Could not resolve keysym XF86Macro27
Warning: Could not resolve keysym XF86Macro28
Warning: Could not resolve keysym XF86Macro29
Warning: Could not resolve keysym XF86Macro30
Warning: Could not resolve keysym XF86MacroRecordStart
Warning: Could not resolve keysym XF86MacroRecordStop
Warning: Could not resolve keysym XF86MacroPresetCycle
Warning: Could not resolve keysym XF86MacroPreset1
Warning: Could not resolve keysym XF86MacroPreset2
Warning: Could not resolve keysym XF86MacroPreset3
Warning: Could not resolve keysym XF86KbdLcdMenu1
Warning: Could not resolve keysym XF86KbdLcdMenu2
Warning: Could not resolve keysym XF86KbdLcdMenu3
Warning: Could not resolve keysym XF86KbdLcdMenu4
Warning: Could not resolve keysym XF86KbdLcdMenu5
Errors from xkbcomp are not fatal to the X server
ls: write error: Broken pipe
[amc] Changes detected in input folder.
[amc] Waiting 10 seconds before proceeding...
[services.d] starting x11vnc...
[services.d] starting app...
[app] starting FileBot...
[x11vnc] starting...
[services.d] done.
14/05/2022 04:50:33 passing arg to libvncserver: -rfbport
14/05/2022 04:50:33 passing arg to libvncserver: 5900
14/05/2022 04:50:33 passing arg to libvncserver: -rfbportv6
14/05/2022 04:50:33 passing arg to libvncserver: 5900
14/05/2022 04:50:33 passing arg to libvncserver: -desktop
14/05/2022 04:50:33 passing arg to libvncserver: FileBot
14/05/2022 04:50:33 x11vnc version: 0.9.14 lastmod: 2015-11-14 pid: 1004
14/05/2022 04:50:33 Using X display :0
14/05/2022 04:50:33 rootwin: 0x42 reswin: 0x400001 dpy: 0x5878040
14/05/2022 04:50:33
14/05/2022 04:50:33 ------------------ USEFUL INFORMATION ------------------
14/05/2022 04:50:33 X DAMAGE available on display, using it for polling
hints.
14/05/2022 04:50:33 To disable this behavior use: '-noxdamage'
14/05/2022 04:50:33
14/05/2022 04:50:33 Most compositing window managers like 'compiz' or
'beryl'
14/05/2022 04:50:33 cause X DAMAGE to fail, and so you may not see any
screen
14/05/2022 04:50:33 updates via VNC. Either disable 'compiz' (recommended)
or
14/05/2022 04:50:33 supply the x11vnc '-noxdamage' command line option.
14/05/2022 04:50:33 X COMPOSITE available on display, using it for window
polling.
14/05/2022 04:50:33 To disable this behavior use: '-noxcomposite'
14/05/2022 04:50:33
14/05/2022 04:50:33 Wireframing: -wireframe mode is in effect for window
moves.
14/05/2022 04:50:33 If this yields undesired behavior (poor response,
painting
14/05/2022 04:50:33 errors, etc) it may be disabled:
14/05/2022 04:50:33 - use '-nowf' to disable wireframing completely.
14/05/2022 04:50:33 - use '-nowcr' to disable the Copy Rectangle after the
14/05/2022 04:50:33 moved window is released in the new position.
14/05/2022 04:50:33 Also see the -help entry for tuning parameters.
14/05/2022 04:50:33 You can press 3 Alt_L's (Left "Alt" key) in a row to
14/05/2022 04:50:33 repaint the screen, also see the -fixscreen option for
14/05/2022 04:50:33 periodic repaints.
14/05/2022 04:50:33 GrabServer control via XTEST.
14/05/2022 04:50:33
14/05/2022 04:50:33 Scroll Detection: -scrollcopyrect mode is in effect to
14/05/2022 04:50:33 use RECORD extension to try to detect scrolling windows
14/05/2022 04:50:33 (induced by either user keystroke or mouse input).
14/05/2022 04:50:33 If this yields undesired behavior (poor response,
painting
14/05/2022 04:50:33 errors, etc) it may be disabled via: '-noscr'
14/05/2022 04:50:33 Also see the -help entry for tuning parameters.
14/05/2022 04:50:33 You can press 3 Alt_L's (Left "Alt" key) in a row to
14/05/2022 04:50:33 repaint the screen, also see the -fixscreen option for
14/05/2022 04:50:33 periodic repaints.
14/05/2022 04:50:33
14/05/2022 04:50:33 XKEYBOARD: number of keysyms per keycode 7 is greater
14/05/2022 04:50:33 than 4 and 51 keysyms are mapped above 4.
14/05/2022 04:50:33 Automatically switching to -xkb mode.
14/05/2022 04:50:33 If this makes the key mapping worse you can
14/05/2022 04:50:33 disable it with the "-noxkb" option.
14/05/2022 04:50:33 Also, remember "-remap DEAD" for accenting characters.
14/05/2022 04:50:33
14/05/2022 04:50:33 X FBPM extension not supported.
Xlib: extension "DPMS" missing on display ":0".
14/05/2022 04:50:33 X display is not capable of DPMS.
14/05/2022 04:50:33 --------------------------------------------------------
14/05/2022 04:50:33
14/05/2022 04:50:33 Default visual ID: 0x21
14/05/2022 04:50:33 Read initial data from X display into framebuffer.
14/05/2022 04:50:33 initialize_screen: fb_depth/fb_bpp/fb_Bpl 24/32/5120
14/05/2022 04:50:33
14/05/2022 04:50:33 X display :0 is 32bpp depth=24 true color
14/05/2022 04:50:33
14/05/2022 04:50:33 Listening for VNC connections on TCP port 5900
14/05/2022 04:50:33 Listening for VNC connections on TCP6 port 5900
14/05/2022 04:50:33 listen6: bind: Address in use
14/05/2022 04:50:33 Not listening on IPv6 interface.
14/05/2022 04:50:33
14/05/2022 04:50:33 Xinerama is present and active (e.g. multi-head).
14/05/2022 04:50:33 Xinerama: number of sub-screens: 1
14/05/2022 04:50:33 Xinerama: no blackouts needed (only one sub-screen)
14/05/2022 04:50:33
14/05/2022 04:50:33 fb read rate: 1408 MB/sec
14/05/2022 04:50:33 fast read: reset -wait ms to: 10
14/05/2022 04:50:33 fast read: reset -defer ms to: 10
14/05/2022 04:50:33 The X server says there are 10 mouse buttons.
14/05/2022 04:50:33 screen setup finished.
14/05/2022 04:50:33

The VNC desktop is: HIDDEN:0
0

Have you tried the x11vnc '-ncache' VNC client-side pixel caching feature
yet?
The scheme stores pixel data offscreen on the VNC viewer side for faster
retrieval. It should work with any VNC viewer. Try it by running:
x11vnc -ncache 10 ...
One can also add -ncache_cr for smooth 'copyrect' window motion.
More info: http://www.karlrunge.com/x11vnc/faq.html#faq-client-caching
FileBot 4.9.6 (r9125)
JNA Native: 6.1.0
MediaInfo: 21.09
Tools: fpcalc/1.5.1 7z/16.02 unrar/6.02
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2022-04-14 (r811)
Groovy: 3.0.9
JRE: OpenJDK Runtime Environment 17.0.2
JVM: OpenJDK 64-Bit Server VM
CPU/MEM: 8 Core / 8 GB Max Memory / 27 MB Used Memory
OS: Linux (amd64)
HW: Linux HIDDEN 5.10.28-Unraid #1 SMP Wed Apr 7 08:23:18 PDT 2021 x86_64
GNU/Linux
CPU/MEM: Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz [MemTotal: 33 GB |
MemFree: 290 MB | MemAvailable: 18 GB]
STORAGE: btrfs [/] @ 13 GB | fuse.shfs [/storage] @ 6 TB | fuse.shfs
[/watch] @ 6 TB | fuse.shfs [/output] @ 6 TB | fuse.shfs [/config] @ 6 TB
p
DATA: /config
Package: DOCKER
License: FileBot License HIDDEN (Valid-Until: 2023-05-15)
Done ヾ(＠⌒ー⌒＠)ノ
[amc] Invoking AMC script...
On Sat, May 14, 2022 at 4:43 AM Daniel Taylor @.***>
wrote:

Finally got around to being back at machine. So, no change with using
private browser, new browser. clear cache. It's running on http port 5800.
Checked for any network blocks. None to speak of. Have tried to remove and
re-install.
Running through it all again now. I'll come back and say if I got it
working and what was done. What else could I try/check?
[image: image.png]
[image: image.png]
On Sun, May 8, 2022 at 10:52 PM Jocelyn Le Sage @.***>
wrote:

This is usually caused by a browser caching issue. To confirm this is the
problem, you can check if it's working when accessing the page in a
private/incognito window.
Clearing the browser's cache should fix the problem.
—
Reply to this email directly, view it on GitHub
https://github.com/jlesage/docker-filebot/issues/75#issuecomment-1120413502,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXBLY3ICOTOFBXKLSNBVNDDVI62IHANCNFSM5VLZL6YA
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Kind Regards,
Daniel

--
Kind Regards,
Daniel

By default, the unRAID template uses the default Bridge network type and the UI is available on port 7813.
Can you try with default settings?

I am getting this same error when using Safari, but not when using Chrome. When checking the console, safari states the following
WebSocket connection to 'wss://sub.domain.com/filebot/websockify' failed: The operation couldn’t be completed. Socket is not connected
While doing some research I believe there may be an issue with Safari closing the socket if junk is detected from the server. If you go to the following site and click "Send Junk", then the socket is closed as well.
https://libwebsockets.org/testserver/
Is it possible that junk is being sent from our server and the browser is closing the connection? I used the same NGINX configs that you post in your ReadMe and I tried it with a subdomain as well as a sub folder, but both produce the same issue on Safari only.
When looking at the NGINX logs, this is what populates every time is fails to load
2022/06/05 00:43:59 [error] 852#852: *43 open() "/opt/novnc/css/bootstrap.min.css.map" failed (2: No such file or directory), client: <IP_ADDRESS>, server: , request: "GET /css/bootstrap.min.css.map HTTP/1.0", host: "filebot-upstream", referrer: "https://dashboard.johnson-plex.com/filebot/"

Is it working in a private window?

It does not

On Jun 5, 2022, at 7:08 AM, Jocelyn Le Sage @.***> wrote:

Is it working in a private window?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.

Which device are you using to access the site ?  Do you have the same issue on multiple devices ?  Do you have a valid certificat for the URL ?

This is on a 2021 M1 Pro MacBook Pro. I just tested it on my iphone and it seems to be working fine with Safari on this device. Maybe an issue with the new M1 processors?
And I tried it with the default certificates provided by  your images as well as my own personal certificates, both had the exact same results.

On Jun 5, 2022, at 4:06 PM, Jocelyn Le Sage @.***> wrote:

Which device are you using to access the site ? Do you have the same issue on multiple devices ? Do you have a valid certificat for the URL ?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.

With the latest image, noVNC has been upgraded, along with other internal components.
Can you verify if you still have the issue with the latest version ?


ios xcode build error mediapipe_simple_subgraph

OS Platform and Distribution
MacOS:13.4.1   iOS 14+
Compiler version
No response
Programming Language and version
Python 3.9.6, Python3 3.10.5
Installed using virtualenv? pip? Conda?(if python)
No response
MediaPipe version
0.10.1
Bazel version
6.1.1
XCode and Tulsi versions (if iOS)
xcode <IP_ADDRESS>C18 Tulsi Version 0.20221005.88
Android SDK and NDK versions (if android)
No response
Android AAR (if android)
None
OpenCV version (if running on desktop)
stable 4.8.0 (bottled)
Describe the problem
I have using bazel6.1.1 and mediapipe0.10.1 by tulsi to generate Mediapipe.xcodeproj.
However, when I use Xcode14.2 to build Mediapipe.xcodeproj whitch target PoseTrackingGpuApp, there is a failed.
Please give me a hand.
xcode line 42:

Linking mediapipe/graphs/pose_tracking/subgraphs/pose_landmarks_to_render_data_graph_text_to_binary_graph [for tool] failed: (Exit 1): cc_wrapper.sh failed: error executing command (from target //mediapipe/graphs/pose_tracking/subgraphs:pose_landmarks_to_render_data_graph_text_to_binary_graph)

Complete Logs

[2,435 / 2,778] [Sched] Linking mediapipe/modules/pose_landmark/pose_segmentation_filtering_graph_text_to_binary_graph [for tool]; 18s ... (128 actions, 13 running)

When you use --proto, that you should check for conformity yourself, using the existing --conform

From Executing genrule @org_tensorflow//tensorflow/lite/acceleration/configuration:configuration_schema:
  (cd /private/var/tmp/_bazel_ln/9fad4a2b9724713093bb405896e32e97/sandbox/darwin-sandbox/2556/execroot/mediapipe && \
    exec env - \

    APPLE_SDK_PLATFORM=MacOSX \

    APPLE_SDK_VERSION_OVERRIDE=13.1 \

    LD_LIBRARY_PATH=/Applications/Xcode.app/Contents/Developer/../SharedFrameworks/ \

    PATH=/Applications/Xcode14.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:/Applications/Xcode14.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/appleinternal/bin:/Applications/Xcode14.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/bin:/Applications/Xcode14.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/libexec:/Applications/Xcode14.2.app/Contents/Developer/Platforms/iPhoneOS.platform/usr/bin:/Applications/Xcode14.2.app/Contents/Developer/Platforms/iPhoneOS.platform/usr/appleinternal/bin:/Applications/Xcode14.2.app/Contents/Developer/Platforms/iPhoneOS.platform/usr/local/bin:/Applications/Xcode14.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode14.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/local/bin:/Applications/Xcode14.2.app/Contents/Developer/usr/bin:/Applications/Xcode14.2.app/Contents/Developer/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin \

    XCODE_VERSION_OVERRIDE=<IP_ADDRESS>C18 \

    ZERO_AR_DATE=1 \

  external/local_config_cc/cc_wrapper.sh @bazel-out/darwin-opt-exec-50AE0418-ST-9facee45ddd0/bin/mediapipe/graphs/pose_tracking/subgraphs/pose_landmarks_to_render_data_graph_text_to_binary_graph-2.params)

# Configuration: bf39d3f5ca248adbc9d37236fd8390d43638ade27be51943084feeb41e324e2d

# Execution platform: @local_execution_config_platform//:platform

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging

stderr (/private/var/tmp/_bazel_ln/9fad4a2b9724713093bb405896e32e97/execroot/mediapipe/bazel-out/_tmp/actions/stderr-3651) 1523255 exceeds maximum size of --experimental_ui_max_stdouterr_bytes=1048576 bytes; skipping

Aspect @tulsi//:tulsi/tulsi_aspects.bzl%tulsi_outputs_aspect of //mediapipe/examples/ios/posetrackinggpu:PoseTrackingGpuApp up-to-date:

  bazel-bin/mediapipe/examples/ios/posetrackinggpu/PoseTrackingGpuApp.tulsiouts

Error: /Users/ln/mediapipe-0.10.1/mediapipe/graphs/pose_tracking/subgraphs/BUILD:24:26: Linking mediapipe/graphs/pose_tracking/subgraphs/pose_landmarks_to_render_data_graph_text_to_binary_graph [for tool] failed: (Exit 1): cc_wrapper.sh failed: error executing command (from target //mediapipe/graphs/pose_tracking/subgraphs:pose_landmarks_to_render_data_graph_text_to_binary_graph)

When I cd /private/var/tmp/_bazel_ln/9fad4a2b9724713093bb405896e32e97/sandbox/darwin-sandbox/2699/execroot/mediapipe. there isn't have sandbox/darwin-sandbox/2699/execroot/mediapipe

Hello @KrystalNa,
Thank you for raising this request, We see that issue is already known to us. Please allow us sometime to discuss internally and provide any workaround or fix on this issue.

Is there any mediapipe version and bazel version can build success in ios platform?

I have build success Mediapipe.xcodeproj.
mediapipe <IP_ADDRESS>
bazel 5.3.2
macOS Ventura 13.4.1
Xcode 14.2

@KrystalNa,
Could you please confirm the you are using the macOS x86_64(Intel based) or M1, M2 arm64 based? Thank you

基于Intel

Please use the official MP Tasks CocoaPods libraries.


random-word

wordle-game project looks like it doesn't have random-word feature.
so, i contribute this project. but, code is not clear :(

Sorry for that :). I'm still pretty new to React. In fact, This is my second project with React. Feel free to update the code.

wordle-game project looks like it doesn't have random-word feature. so, i contribute this project. but, code is not clear :(


Bellingham, WA

To<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: [*** INSERT UNIQUE SUBJECT LINE ***]
Message: (Don't forget to replace the [x]'s with your information!)
Dear Bellingham City Council,
My name is [YOUR NAME] and I am a resident of [YOUR NEIGHBORHOOD/DISTRICT]. I am writing to demand that the Bellingham City Council adopt a city budget that prioritizes community wellbeing, and redirects funding away from the police.
The Bellingham city budget allocates about many times more funding towards public safety than to human services.  I demand that the City Council begin meaningfully defunding the Bellingham Police Department and re-allocate those funds to programs proven to more effectively promote a safe and equitable community: community-based mental health services, substance abuse treatment services, affordable housing programs, and more. I demand a budget that reflects the actual needs of Bellingham residents.
History has shown that police "reform" is not enough. We must take a hard look at the ways that the current system in place fails to serve--and in fact actively harms--our community, and come together to reimagine the role of police in our city.  Our town is small, close-knit, and empathetic, and defunding the police and reallocating that funding towards social services would make this an even more amazing place to live.
I understand that this is a massive change and we can't make it overnight, and that Bellingham also faces huge challenges dealing with coronavirus, but please do not spend too much time with forums and community tours.  I demand an immediate commitment to action on defunding the police.
Thank you for your time,
[YOUR NAME][YOUR ADDRESS]
[YOUR EMAIL][YOUR PHONE NUMBER]

This is largely copied from https://defund12.org/santabarbara?browse with some adjustments for Bellingham.

Thank you for submitting your city to defund12.org! Your request is now in the queue for review and publishing. We’ll reply here if we have any questions.

Hey @wpalchemist -
In the second paragraph you say that the budget "allocates about many times more funding towards public safety than to human services." Can we be more specific here? It'd be very effective if you compare numbers or percentages of funding between departments, as well as citing your source (ex: "according to the FY2020 proposed budget...").

@mahrer I have updated the text to include more accurate information about the budget.

Some very minor edits:
--
To<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: [*** INSERT UNIQUE SUBJECT LINE ***]
Message: (Don't forget to replace the [x]'s with your information!)
Dear Bellingham City Council,
My name is [YOUR NAME] and I am a resident of [YOUR NEIGHBORHOOD/DISTRICT]. I am writing to demand that the Bellingham City Council adopt a city budget that prioritizes community wellbeing, and redirects funding away from the police.
The Bellingham city budget for 2019-2020 allocates over $30 million to the police department, about a third of the total budget. I demand that the City Council begin meaningfully defunding the Bellingham Police Department and re-allocating those funds to programs proven to more effectively promote a safe and equitable community: community-based mental health services, substance abuse treatment services, affordable housing programs, and more. I demand a budget that reflects the actual needs of Bellingham residents.
History has shown that police "reform" is not enough. We must take a hard look at the ways that the current system in place fails to serve--and in fact actively harms--our community, and come together to reimagine the role of police in our city. Our town is small, close-knit, and empathetic, and defunding the police and reallocating that funding towards social services would make this an even more amazing place to live.
I understand that this is a massive change and we can't make it overnight, and that Bellingham also faces huge challenges dealing with coronavirus, but please do not spend too much time with forums and community tours. I demand an immediate commitment to action on defunding the police.
Thank you for your time,
[YOUR NAME]
[YOUR ADDRESS]
[YOUR EMAIL]
[YOUR PHONE NUMBER]

on it


HttpLogWriter take log level as configuration

Allow developers to pick the loglevel without adding new java classes.
Detailed Description

I'd like to keep Logbook configurations just in yml (for spring applications). With the current implementation of the writer, I have to write my own class in order to change the level.
Context

Logbook is just configured through application.yml
Possible Implementation

I recommend we do a couple of things:

enhance LogbookProperties with a new property.. maybe logbook.write.default-log-level
enhance LogbookAutoConfiguration and autowire the properties into the writer() bean method and allow devs to externally configure the log level. Hopefully we can avoid a switch-case..

We used to have that, but removed it because it didn't really serve a purpose. What's your use case/requirement to change the log level?

It's definitely a preference (so keeping at TRACE by default is fine, but lemme override like most spring configurations :))
fwiw spring likes debug level

but lemme override like most spring configurations :))

Well, Spring itself doesn't let you customize it (as per your link). You could implement your own HttpLogWriter, if it's really urgent though.


Unable to compile > Could not find io.ktor:ktor-network:3.0.1-PYAMSOFT

This was a fresh clone of the project [1] today at an empty folder, running the most recent android studio (ladybug 2024.2.1 Patch 3).
Below is the error message when trying to compile.
How can this be solved?
Thank you in advance.
94: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':ui:mergeDebugAndroidTestNativeLibs'.
> Could not resolve all files for configuration ':ui:debugAndroidTestRuntimeClasspath'.
   > Could not find io.ktor:ktor-network:3.0.1-PYAMSOFT.
     Required by:
         project :ui > project :server

* Try:

[1] commit version: https://github.com/pyamsoft/tetherfi/commit/33f28f2d4d5faead27ce0db425ab61cd867d0ec8

Hi, please see #348, which talks about the same problem.
This project uses a fork of Ktor, which you will need to build yourself.

Hi, please see #348
This project uses a fork of ktor, which you will need to build yourself

Hello, please don't close the ticket so quickly.
Anyone trying to compile the source code will stumble on the same issue. Was now looking in the archive and this has been mentioned before.
Just "build yourself tor" isn't helpful, the complete instrutions can be found here: https://github.com/pyamsoft/tetherfi/issues/348#issuecomment-2460456067
Can you please include a section "How to compile" so that this error does not reoccur for others?
If you want, I can also submit that section as documentation but might be more pratical for you to write it.
Thank you.

Hi sorry about that
The issue is pinned and has instruction included in it, so I figure that anyone looking for a build solution would see the pinned issue first as a due diligence.
I will look to add a section to the wiki about compilation, but the fork is a temporary solution until upstream supports a single line of code addition. At the point ktor can complete my feature request, the fork will no longer be needed and the project would build out of the box.


Explore GradientBoosting algorithm used by Wikimedia's ORES

From https://meta.wikimedia.org/wiki/Objective_Revision_Evaluation_Service

The Objective Revision Evaluation Service (ORES) is a web service that provides machine learning as a service for Wikimedia Projects. The system is designed to help automate critical wiki-work -- for example, vandalism detection and removal.

It looks like Wikimedia's Objective Revision Evaluation Service (ORES) makes use of the GradientBoosting algorithm. I am curious about:

Why the choice of GradientBoosting
How would it be useful in the context of gabbar

Hyperlinks

https://meta.wikimedia.org/wiki/Objective_Revision_Evaluation_Service/damaging

We will soon have a setup to try out multiple algorithms and measure performance. Closing.


feat(docs): dateType property

Gets back dateType property but without direction for relative format.

@TC-MO @MFori Hi guys, marketing is asking for these updates so that they can publish a few pieces that should go today. What are the next steps to getting this published?

From my side it is good to go

@TC-MO @MFori Hi guys, marketing is asking for these updates so that they can publish a few pieces that should go today. What are the next steps to getting this published?

@GriffinTrent once today's platform release id released, we can deploy this as well


Warning about Sessionmakers not containing handle even though handle is given

ubuntu@forseti-client-2207-vm:~$ forseti model use 55724594f377ec5f41f4d57e558a44a8; forseti scanner run
A  Mar  2 22:15:37 forseti-server-2207-vm systemd[1]: Stopped Forseti API Server.
A  Mar  2 22:15:37 forseti-server-2207-vm systemd[1]: Started Forseti API Server.
A  Mar  2 22:15:38 forseti-server-2207-vm cloud_sql_proxy[22036]: 2018/03/02 22:15:38 New connection for "forseti-196022:us-central1:forseti-server-2207"
A  [forseti-security] INFO google.cloud.forseti.services.explain.service(create_and_register_service): Service <google.cloud.forseti.services.explain.service.GrpcExplainer object at 0x7f73cd765ed0> created and registered.�
A  [forseti-security] INFO google.cloud.forseti.services.model.service(create_and_register_service): Service <google.cloud.forseti.services.model.service.GrpcModeller object at 0x7f73cc6f44d0> created and registered�
A  [forseti-security] INFO google.cloud.forseti.services.scanner.service(create_and_register_service): Service <google.cloud.forseti.services.scanner.service.GrpcScanner object at 0x7f73cc6f46d0> created and registered.�
A  [forseti-security] INFO google.cloud.forseti.services.notifier.service(create_and_register_service): Service <google.cloud.forseti.services.notifier.service.GrpcNotifier object at 0x7f73cc6f47d0> created and registered�
A  Mar  2 22:15:57 forseti-server-2207-vm cloud_sql_proxy[22036]: 2018/03/02 22:15:57 New connection for "forseti-196022:us-central1:forseti-server-2207"
A  [forseti-security] INFO google.cloud.forseti.services.scanner.service(Run): Run scanner service with model: 55724594f377ec5f41f4d57e558a44a8�
A  [forseti-security] INFO google.cloud.forseti.scanner.scanner_builder(build): Initializing the rules engine:
A  [forseti-security] INFO google.cloud.forseti.scanner.scanner_builder(build): Initializing the rules engine:
A  [forseti-security] WARNING google.cloud.forseti.services.dao(_get): Sessionmakers doesn't contain handle, handle = 55724594f377ec5f41f4d57e558a44a8�

This is really not a warning, but rather an info or debug level to say that the handle is not found and will be created.

Resolved #1250


Expose FBTestManagerTestReporter domain object

Otherwise consumers cannot inherit from FBTestManagerTestReporterBase
properly.

@facebook-github-bot shipit

Thanks for importing.If you are an FB employee go to Phabricator to review internal test results.


C library and/or protocol description for foreign clients

Feature Proposed
I'd like to see a C library and/or a protocol description to integrate foreign clients.
Use Case
I'd like to directly connect to rathole from platforms where I can't install anything, e.g. iOS and/or microcontrollers, such as the ESP32 family of devices. For that I wonder whether a C library and/or a protocol description would be feasible, so that we could write our own clients that talk to rathole.

C library may not be feasible. Or what kind of interface are you expecting?
A protocol description is feasible. However, one main blocker is that rathole is still in v0.x, which means, unstable versions so that I can deliver no forward or backward compatibility and change the protocol whenever I see necessary. When the project started, I sketched down some high-level description of the protocol. But as the project moves forward, the details of the protocol remain undocumented. The best you can get is the source. And rathole use bincode to serialize data to binary form.

BTW, I think the idea is cool though.


5.0.2

[x] https://github.com/tuchk4/storybook-readme/issues/132
[x] https://github.com/tuchk4/storybook-readme/issues/135
[x] https://github.com/tuchk4/storybook-readme/issues/141
[x] https://github.com/tuchk4/storybook-readme/issues/147
[x] https://github.com/tuchk4/storybook-readme/issues/149
[x] https://github.com/tuchk4/storybook-readme/issues/151
[x] https://github.com/tuchk4/storybook-readme/issues/140
[x] #137

Going to release all checked issues tomorrow (10.04).
If there are no 100% solution for #140 will release without it.
Current block Prism themes as I wrote here https://github.com/tuchk4/storybook-readme/issues/140#issuecomment-481050876. Maybe some collisions with CSS for MD html.

published 5.0.2


tokio::spawn should have task names

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Using the console, it would be nice if hyper had some task names
Describe the solution you'd like
A clear and concise description of what you want to happen.
Implement a custom function for spawning something with a named parameter. Here is some code I wrote up:
pub fn spawn_named<T>(
	name: &str,
	future: impl std::future::Future<Output = T> + Send + 'static,
) -> tokio::task::JoinHandle<T>
where
	T: Send + 'static,
{
	#[cfg(tokio_unstable)]
	return tokio::task::Builder::new().name(name).spawn(future);

	#[cfg(not(tokio_unstable))]
	tokio::spawn(future)
}

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
N/A
Additional context
Add any other context or screenshots about the feature request here.

Yea, I get what you mean. Though, as long as it's unstable in Tokio, I don't think we'd add support yet. That said, it's easily possible to provide a hyper::rt::Executor that uses that instead of depending on hyper's default.

Yea, I get what you mean. Though, as long as it's unstable in Tokio, I don't think we'd add support yet. That said, it's easily possible to provide a hyper::rt::Executor that uses that instead of depending on hyper's default.

I think we should prepare for the future, if you know what I mean. A few other libraries I use (serenity) have already implemented this and I think because serenity uses hyper, it'd be nice to see hyper implementing this as well.

Yea, I get what you mean. Though, as long as it's unstable in Tokio, I don't think we'd add support yet. That said, it's easily possible to provide a hyper::rt::Executor that uses that instead of depending on hyper's default.

Quick question, when is this becoming stable?

Unsure, but you can check in on the stabilization issue here: https://github.com/tokio-rs/tokio/issues/4114

To summarise, not coming for a while?


Sample list for download

Maybe this belongs on the "server" page.
Describe the solution you'd like
It would be helpful to be able to quickly download a list of samples collected in a recent project. This could be a similar feature to the download > Stereonet Mobile option online. List could include:
Sample Label, Location, Type, Description.
This is particularly useful in international research that requires paperwork be filed with local customs offices before samples can be shipped.

@andrewkrh Yes, this could be posted here https://github.com/StraboSpot/StraboSpot-Server/issues
@jasonash

Hi @andrewkrh . I have added a samples download to the StraboSpot.org "My Data" page per your request above:

I hope this helps. Please let us know if you need anything else.


tick.hawkes.SimuHawkesExpKernels seed max values

Hi,
While generating hawkes processes with exponential kernels, I ran into an issue with the (optional) seed value. By providing a far too big value (2 ** 42 for example), we are told that the maximal allowed value for seed is 2 ** 32 - 1. However, when passing a seed between 2 ** 31 (included) and 2 ** 32 (included), we get an internal error telling us that the given parameters doesn't have type int.
Thank you

Max integer is 2**31 − 1. Indeed, maybe we should change the error message... Does 2**30 works ?

Hello, thanks for you answer. Indeed 2**30 works fine.


Add fee per kB to transaction view

https://www.reddit.com/r/Bitcoin/comments/3ceyaz/block_explorers_please_display_feeperkb/

That was fast! :) Thanks a lot.
We should update the string 'fee-per-kb' in settings to 'fee rate', do you agree?

Ahh you're talking about Copay? Yes, I think fee rate is a good name for the setting, and when showing the value the text after the unit should be "xxx yyy per kB" where yyy is unit and xxx is value.

this breaks on newly minted coins (no fees) with "value error per kB". Eg: https://insight.bitpay.com/tx/14f76477389a2b26e5a9404b18958ab8e57ddfbb6987a050f6c24689bcab5325

https://github.com/bitpay/insight/pull/638
Thanks for the catch.


List of spectators

The existed API does not support mechanism of subscription.
Task consists of next steps:

Extend structure Game to handle list of spectators.
Extend API of spectators to subscribe a game.
Add method to filter active spectators to the game.
Implement API method read_game_spectators.

I'll take this one
(The Blue Oyster Team)

I'll take this one (The Blue Oyster Team)

Assingned.


Main Window steal focus of child window when the last element with focus is removed

Describe the bug
In WinUI3 an app with a main window that can open a child window by click on a button and an other focusable element (here another unsued button) :

After the click on the button the child window opens over the main window and have the focus:

At this point if in the main window the last element with the focus is removed (here the button that opens the child window because it is the last element clicked) then the main window steals the focus and is bring in front of the child window :

Steps to reproduce the bug

Open new WinUI3 Blank App packaged
Add in the main window xaml a button and a stack panel containing a button

Add in the main window code behind the event after the click in the button inside the stack panel. This event opens a second window and after a delay of 5 seconds remove the button inside the stack panel

Run the project click on the button "Open second window", wait 5 seconds and the main window will steal the focus.

Expected behavior
When the child window has the focus the main window should not be able to steal it.
After testing this on a WPF app and an UWP app, this behaviour is only present in WinUI 3.
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.3.1: 1.3.230502000
Windows version
Windows 11 (21H2): Build 22000
Additional context
After investigation this bug happens because in WinUI3 the focus changes when the last element with the focus is removed. It is like if you switch focus with tab on your keyboard. In UWP and WPF it seems that when the last element with the focus is removed the the focus is not reassigned.
In the example if you removed the unused button then the bug disappears because there is no other element to give the focus.

Same issue for me ! Anyone can help ?

#8087 Same here but WinUI team do not want to response. However with the latest Win11 & Windows App Sdk 1.3.1, I do not meet this issue anymore

I had the same issue, a fix for me was placing AllowFocusOnInteraction="False" in the Winui 3 Parent Window/Page head xaml. This stops it focusing over child Windows when the child is opened from the parent. Before I added the line, the parent would cover the child.

Set AllowFocusOnInteraction="False" on Page/Window is unacceptable because the controls like TextBox which rely on Focus would not work anymore

@zhuxb711 try AllowFocusOnInteraction="True"

I wanted to focus a new child window opened on double tapping a row of a DataGrid.
Setting AllowFocusOnInteraction="False" worked  for me.
For those who are trying the same, can use below mentioned code:
<controls:DataGrid.RowStyle>
    <Style TargetType="controls:DataGridRow">
        <Setter Property="controls:DataGridRow.AllowFocusOnInteraction">
            <Setter.Value>
                <x:Boolean>False</x:Boolean>
            </Setter.Value>
        </Setter>
    </Style>
</controls:DataGrid.RowStyle>


Create a tool that extracts JATS4R Subject and Keyword tags from a DOI of a paper

Create a tool that extracts JATS4R Subject and Keyword tags from a DOI: https://www.niso.org/publications/rp-32-2019-jats4r-subjects-and-keywords-v1

Shoot, I should have played around with CrossRef APIs earlier...


fix bug: ERROR:page.tags.each is not a function

RT
issue: #100

Thank you for your contribution.


Hlm 6385 irs

Summary by CodeRabbit

New Features

Introduced several new classes and enumerations for managing user actions and location captures, including UserAction, UserActionBulkRequest, UserActionController, and LocationCaptureService.
New database tables for USER_ACTION and USER_LOCATION with relevant fields.
Improved validation and enrichment services for user actions.

Bug Fixes

Corrected the string constant for household membership message to enhance clarity.

Documentation

Updated configuration properties related to user actions and location captures.

Chores

Incremented version numbers for development consistency.
Added new SQL migration files to establish database schemas.

@coderabbitai review

@coderabbitai review

@coderabbitai review

@coderabbitai review


Queue:failing not being triggered when Job fails

If I just launch a simple job with an exception in it, it is supposed to be a failure due to Laravel documentation but the method Queue:failing does not launch its callback.
Queue:after, and Queue:before though, are working perfectly.
I thing failed_jobs table insert is even not working and I don't see any approach on the code. All this  functionalities should be developed by scratch?

I think it was related to this issue whitch is fixed now.
https://github.com/vladimir-yuldashev/laravel-queue-rabbitmq/issues/63

Can anyone confirm that it is fixed already?

This works for us on laravel 5.2.39 and laravel-queue-rabbitmq 5.2 (current).


Discussion on training issues I have encountered

Thank you for the implementation for the paper. This is the first time I'm dealing with transformer model, I tried to train over Kinetics700 dataset using this model. and I just want to share some of the issues I have encountered:
The paper suggested that the model works better with pretrained weights. Although this is a direct extension from image transformer, most of vision transformer's weights should apply directly, there are 2 places that are different:

Positional encoding: we have H x W x T instead of HxW. so I copied the same positional encoding for every frame, sort of like how we inflate imagenet weights on I3D without dividing by T. One alternative way I'm thinking is use angular initialization to generate an 1XT  positional encoding and then add to the HxW image positional encoding to form the HxWxT positional encoding.
We are doing two self-attentions now instead of one per block, so there are double amount of weights for qkv and output fcs.  For now per block I use the same weights for the first and second self-attention if I use the same number of heads as the pretrained image model. Alternatively, in a different model I have half number of heads so the time attention and spatial attention will each use half of the heads weights.

Since it is the first time I'm dealing with Transformer, I want to reproduce what the paper claimed so I started with the "original" basic vision transformer setup:

12 heads  12 blocks
GELU instead of GEGLU
embedding size 768
Image size 224, divide to 16x16 patches

With this setup, on a V100 GPU we can only squeeze in 4 videos (4x8x3x224x224) for training even with torch.amp , this means if I'm doing an experiment on an p3x8 machine with 4 V100 gpus (~ 12$/h normally), it would take 39 days to do 300 epochs.  Of course it may not need to train for 300 epochs, but intuitively, training with batch size = 16 is not usually not optimal.
So alternatively, I tried a new model with 6 heads and 8 blocks,  Now I can put 16 videos per GPU, so in total batch size = 64. The model started to train smoothly then training error increases after 7-8 epochs. The training accuracy peaked around 55% and I didn't even bother to run validation because I know clearly it's not working. Below list the relevant configuration  I was using.
DATA:
  NUM_FRAMES: 8
  SAMPLING_RATE: 16
  TRAIN_JITTER_SCALES: [256, 320]
  TRAIN_CROP_SIZE: 224
  # TEST_CROP_SIZE: 224 # use if TEST.NUM_SPATIAL_CROPS: 1
  TEST_CROP_SIZE: 224 # use if TEST.NUM_SPATIAL_CROPS: 3
  INPUT_CHANNEL_NUM: [3]
  DECODING_BACKEND: torchvision
  MEAN: [0.5, 0.5, 0.5]
  STD: [0.5, 0.5, 0.5]
  WEIGHT_DECAY: 0.0
SOLVER:
  BASE_LR: 0.1 # 1 machine
  BASE_LR_SCALE_NUM_SHARDS: True
  LR_POLICY: cosine
  MAX_EPOCH: 300
  WEIGHT_DECAY: 5e-5
  WARMUP_EPOCHS: 35.0
  WARMUP_START_LR: 0.01
  OPTIMIZING_METHOD: sgd
TRANSFORMER:
  TOKEN_DIM: 768
  PATCH_SIZE: 16
  DEPTH: 8
  HEADS: 6
  HEAD_DIM: 64
  FF_DROPOUT: 0.1
  ATTN_DROPOUT: 0.0

So these are the issues are I have encountered for now. I want to share these because hopefully some of you are actually working with video model and maybe we can have a discussion. I think probably my next thing to try is to increase number of depth.
Regards

The original paper said they use pre-trained ViT, and I think training on K400 or K700 without pre-training weights is not a good choice. I also want to reproduce the results of this work, but many details I can't handle.

The original paper said they use pre-trained ViT, and I think training on K400 or K700 without pre-training weights is not a good choice. I also want to reproduce the results of this work, but many details I can't handle.

I did use pretrained weight from ViT

The original paper said they use pre-trained ViT, and I think training on K400 or K700 without pre-training weights is not a good choice. I also want to reproduce the results of this work, but many details I can't handle.

I did use pretrained weight from ViT

Hi, I also meet the question about training acc. I train model using pertrained weight from ViT, but the acc is lower than a baseline model (only ViT backbone, without time attention). I train on 4V100 GPU, so the batch size can be set as 48=32.  I randomly initialize the weight of model that not contained in ViT (HWT position embeding, time attention).

I got lower train/val performance too.

@zmy1116 , @Hanqer
Can I ask how you two got the pretrained ImageNet weights from ViT? I am training this repo's implementation for a dataset of mine too, but as far as I can tell, there are no pretrained weights available for this repo. Am I wrong?

@zmy1116 , @Hanqer
Can I ask how you two got the pretrained ImageNet weights from ViT? I am training this repo's implementation for a dataset of mine too, but as far as I can tell, there are no pretrained weights available for this repo. Am I wrong?

https://github.com/google-research/vision_transformer

@zmy1116 perhaps you could share/PR the code you used for initializing with pre-trained ViT?

@zmy1116 perhaps you could share/PR the code you used for initializing with pre-trained ViT?

https://arxiv.org/pdf/2103.15691.pdf
This is the google's similar paper, their model 3 is exactly TimeSformer
initialize the weights based on section 3.4.

Yes, I understand that. However, initializing TimeSformer with ViT weights does require some additional code, primarily for mapping the pertained weight names to the TimeSformer weight names. If you've already done this, it would be nice of you to share so we can avoid reinventing the wheel.
I'm doing it right now, and will post what I do if you don't want to share.

Yes, I understand that. However, initializing TimeSformer with ViT weights does require some additional code, primarily for mapping the pre-trained weight names to the TimeSformer weight names. If you've already done this, it would be nice of you to share so we can avoid reinventing the wheel.
I'm doing it right now, and will post what I do if you don't want to share.

please do

Hm, posts an issue requesting help from others on an open-source project, but won't contribute/share code themselves. Fascinating!

Hm, posts an issue requesting help from others on an open-source project, but won't contribute/share code themselves. Fascinating!

won't contribute  seems harsh,  I did share some of my findings,  I shared where the original VIT weights are and I did read multiple papers and shared the google paper and showed the section on weights initialization.  I would think these count something. I would like to think I did provide more information than most of people who posts issues in this repo.

I'm doing it right now, and will post what I do if you don't want to share.
@mckinziebrandon
That would be great, thanks! I’ve also found a similar implementation which says it includes pretrained weights, but i have not yet tested it myself to see if it works as expected (planning to soon) (https://github.com/m-bain/video-transformers)

I'm still very new to the ML space, but would like to contribute as well. I'd be happy to contribute some documentation if we could hop on a Discord/Slack chat and discuss. Really interested in seeing how this model performs and how I can apply it to some videos. Thanks!

@Hanqer @Tonyfy
With multiple rounds of changes and testing, I am able to reproduce similar (not better) result on Kinetics700_2020 with video transformer.
I did the following:

based on google's paper https://arxiv.org/pdf/2103.15691.pdf,  I implemented their model 2, their model 3 is exactly TimeSformer and the model 2 use spatial attention and time attention into 2 separate stages. They claim that doing this is better , also it is now a smaller model, we can fit a batch of 64 with 8 v100.  The model modification is very straight forward based on this repo.

It is important to find good learning rate and I have to do learning rate warm up, otherwise training diverges from very beginning, for kinetics I use the following

SOLVER:
 BASE_LR: 0.05 # 1 machine
 BASE_LR_SCALE_NUM_SHARDS: True
 LR_POLICY: cosine
 MAX_EPOCH: 30
 WEIGHT_DECAY: 5e-5
 WARMUP_EPOCHS: 1.0
 WARMUP_START_LR: 0.01
 OPTIMIZING_METHOD: sgd

I included color jittering in augmentation, not sure how much this helped

After 30 epochs I'm getting ~62% accuracy on kinetics700_2020 with multi-views. My best model (with X3D-M) on this dataset was ~63.4% with multi-views.   I don't think it's good but I don't see any results for this dataset online. The closest public model I could find on this is from SenseTime's lab on K700, they get 64% with multi-views.
So I would say with video transformer i can get a reasonable model , and the training time is around 30h on an 8GPU machine, which I find very interesting.

@zmy1116  Thanks for sharing the training configuration. I do the same thing that finding a good learning rate with warm up. In my setting, I use lr=0.01 and warm up for 2 epochs, model 3 (TimeSformer). But in Kinetics400, I can't get reasonable results. I will test the configuration you shared.
By the way, is your model using 8 frames sampling with sampling rate x32?  Have you trained on Kinetics400?

@zmy1116 Thanks for sharing the training configuration. I do the same thing that finding a good learning rate with warm up. In my setting, I use lr=0.01 and warm up for 2 epochs, model 3 (TimeSformer). But in Kinetics400, I can't get reasonable results. I will test the configuration you shared.
By the way, is your model using 8 frames sampling with sampling rate x32? Have you trained on Kinetics400?

num_frames = 32
sampling_rate = 2
target_fps = 30

Also I used the tublet embedding as the paper suggested, I use tublet of size 16x4, so 32x224x224 inputs will become 8x14x14

Thanks for @zmy1116 's sharing. I will share the results on kinetics400 after testing this configuration.

@zmy1116 have you tried using adamw instead of SGD? I'm currently trying variants of
--batch-size                    = 32
--optimizer                     = adamw
--learning-rate                 = 1.25e-4 # this gets scaled by number of replicas in my code
--w-decay                       = 0.1
--num-epochs                    = 100
--clip-gradient-norm            = 2.5

# Warmup schedule
--lr-schedule-logic             = cosine-with-warmup
--lr-end-lr                     = 0.0
--lr-max-epoch                  = 100
--lr-warm-epoch                 = 30
--lr-start-lr                   = 1e-7

For the data, I'm passing doing the same processing as X3D_M.yaml (appears your configs are setup like this).

@zmy1116 have you tried using adamw instead of SGD? I'm currently trying variants of
--batch-size                    = 32
--optimizer                     = adamw
--learning-rate                 = 1.25e-4 # this gets scaled by number of replicas in my code
--w-decay                       = 0.1
--num-epochs                    = 100
--clip-gradient-norm            = 2.5

# Warmup schedule
--lr-schedule-logic             = cosine-with-warmup
--lr-end-lr                     = 0.0
--lr-max-epoch                  = 100
--lr-warm-epoch                 = 30
--lr-start-lr                   = 1e-7

For the data, I'm passing doing the same processing as X3D_M.yaml (appears your configs are setup like this). A typical GPU setup is 2 machines with 8 V100 GPUs each.

I was not able to get good training with adam/adamw ...  but I have not tested with many configurations because of limited resources

One problem I am trying to figure out is test time inference.
With  X3D/SlowFast/I3D, they do the 30 crops:

Do 10 uniform temporal crops
Per temporal crop generate 3 spatial crops: first resize the shorter side to 256 then crop 256x256 from left middle and right

Even they train on 224x224, at inference they can still do 256x256 because it's a conv net and with 3 crops they can cover the entire image
Now with transformer, I train with 224x224 and  we can't feed in 256x256 inputs at inference time (unless we modify the network). So for spatial crop I can:

resize the shorter side to 224,  do 3 crops, 3 crops will cover the full image
resize the shorter side to 256, do 3 crops: top left, middle, bottom right

You wouldn't think it matters, but to my surprise, the second method actually produce better result, even if we cover more space with first method. I guess it's because during training, I resize the shorter side between 256 to 320 so the model is more used to certain resolution?
Alternatively, I'm thinking about if I should modify the network at test time so the model can take 256x256 inputs:

256X256 produces 16 x 16 tokens of size 16 instead of 14x14, so for the extra two tokens I would just copy the boundary tokens' weights (embedding, positional embedding, spatial transformer related parameters)

This is the first time I work on transformer...I think intuitively it makes sense but I'm not sure.....

@mckinziebrandon @Hanqer
It looks like in original vision transformer after embedding we do a drop out immediately
    x = AddPositionEmbs(
        inputs,
        inputs_positions=inputs_positions,
        posemb_init=nn.initializers.normal(stddev=0.02),  # from BERT.
        name='posembed_input')
    x = nn.dropout(x, rate=dropout_rate, deterministic=not train)

In this implementation we don't. I'm probably chasing rabbit... I don't think it really matters, but since I can't produce better result I'm looking at everything that may cause the discrepancy..

Another maybe irrelevant comment:
I'm starting to examine attention weights using
https://www.kaggle.com/piantic/vision-transformer-vit-visualize-attention-map
Some examples on spatial attentions:

Some examples on temporal attentions (lighter frames represent high attention frames):

@zmy1116 Hi, As for the there crop you mentioned above. I think, eventually, the ConvNet also takes 224x224 input in the training phase. So could you forward the transformer with:

resize the shorter side to 256, do 3 crops: top left, middle, bottom right, and resize the these crops to 224x224.

And for 256x256 input for transformer, it actually should modify the model, especially the positional embedding (need a interpolation to fit the different number of tokens).

@zmy1116 Hi, As for the there crop you mentioned above. I think, eventually, the ConvNet also takes 224x224 input in the training phase. So could you forward the transformer with:

resize the shorter side to 256, do 3 crops: top left, middle, bottom right, and resize the these crops to 224x224.

And for 256x256 input for transformer, it actually should modify the model, especially the positional embedding (need a interpolation to fit the different number of tokens).

I tried to run transformer trained on 224x224 with inputs 256x256 by extending number of positional embeddings (so instead of 14x14 tokens, I have now 16x16 so we have one round of extra positional embedding over the edge, which I interpolate with nearest neighbor value)..  The performance is slightly worse (-0.5%) and the computation time increased a lot..

Interesting attention plots @zmy1116. I've been tracking plots of gradient norms and the associated weight histograms, and I've observed something odd that appears to be caused by zeroing out the temporal attention block during initializing (as recommended by ViVit model 3): the gradients are extremely low and the weights simply do not budge from their initialized values.
For example, here is the histogram (x-axis is time) of the layer norm and qkv weight:

I've also tried only initializing the attention weights themselves with zeros (qkv and to_out) but that does not resolve the issue. I'm now able to get quite good validation accuracy on kinetics-400 compared to before (~70%) but it appears the model is basically ignoring the temporal attention block. Have you looked at your weight/gradient histograms @zmy1116 ?

For moving to 256x256, have you seen this snippet in the timm repo for ViT @zmy1116? https://github.com/rwightman/pytorch-image-models/blob/779107b693010934ac87c8cecbeb65796e218488/timm/models/vision_transformer.py#L386

@mckinziebrandon , ehmmmmmm below list per weight the distribution (in absolute value) for temporal related weights...Indeed they are definitely smaller than spatial related weights.....

Ah, is this timesformer or model 2 of vivit? I'm confused by your naming distinction of "temporal_encoder_layers" and "spatial_encoder_layers".

Ah, is this timesformer or model 2 of vivit? I'm confused by your naming distinction of "temporal_encoder_layers" and "spatial_encoder_layers".

this is the model 2 as this is the one I was able to get good result...  I have not succeeded with TimeSformer ever

Gotcha. Well in any case, interesting that we're observing something similar for both models. Hmmm.

For anybody who's interested, you can find the official implementation of the paper in this repo: https://github.com/facebookresearch/TimeSformer

num_frames = 32
sampling_rate = 2
target_fps = 30
Could you tell me what's relationship between sample_rate and target_fps? what is the sampling strategy?I am very confused about the specific sampling process.  Why don't apply the sampling strategy in TSN(Temporal Segment Networks)?
Thanks for your reply.


Day 2 - github branching interactive resource

This is a really excellent interactive git tutorial that might be a nice addition or visualization tool: https://learngitbranching.js.org/?locale=en_US

Wow this in an incredible resource!! Thanks!

Matt, assigning to you in case you want to use this. Feel free to just include as an additional resource but not go into detail if you like.

More useful visualization resources, listing them out in case they could be useful for future workshops:

https://marklodato.github.io/visual-git-guide/index-en.html

https://ohmygit.org/

https://git-school.github.io/visualizing-git/#free


chore: switch to ruff doc formatting and add ignore types

Here's another small one; let me know what you think:

Remove blacken-docs in pre-commit config.
Set docstring-code-format to true for ruff.
Resolve blanket-type-ignore pre-commit check by adding types to mypy type ignores

Basically, this replaces what blacken-docs would have done.
Note: if you don't care about the type ignores, I can remove that check (python-check-blanket-type-ignore from https://github.com/pre-commit/pygrep-hooks, with or without reverting those annotations). Note: that check will run for users who have pre-commit setup / installed, but not for other users, so it's not enforced in CI, which is probably part of how these 3 ended up here.

Sorry for the delay, been traveling, I hope to review your PR this week.

Note: if you don't care about the type ignores, I can remove that check (python-check-blanket-type-ignore from https://github.com/pre-commit/pygrep-hooks, with or without reverting those annotations). Note: that check will run for users who have pre-commit setup / installed, but not for other users, so it's not enforced in CI, which is probably part of how these 3 ended up here.

I would prefer explicit type ignores that say what rule they are ignoring. So the check is the right one. We should find a way to apply the rule in the CI somehow.


Not a real issue; just saying thanks!

This is not a real issue so feel free to delete it.
I just wanted to say thanks.
I was having a really frustrating day trying to get this pinch/zoom/pan in a scrollview thing to work using constraints. I had it mostly working but there was always something weird with the content size or position, especially after rotating the screen. All the "tutorials" on how to do it were overly simplistic and didn't actually work very well.
I decided to try your code out and it worked perfectly. I adapted to work with any kind of UIView (as long as you pass an explicit aspect ratio) and it has worked great. Really saved my sanity!
Anyway, I tried looking you up on Twitter and I just saw that you're from Kiev. I hope you and your family are safe and are doing as well as you can, given the circumstances.
Take care dude and thanks again

@tylerjames thank you for your feedback, I really appreciate it! Feel free to contact me if you need any help.
PS: Yes, I'm from Kyiv. Not the easiest time indeed. Holding on.


semantic-ui hardcoded style for footer

@perak There is a hardcoded style for the semantic-ui footer in the meteor-kitchen binary "ui inverted center aligned vertical footer segment".
Why do you need this to be hardcoded? I can't change footer style if the id is footer.
Btw i think in a perfect world there shoud be no hardcoded style in the binary.

I agree. If you don't spe ify any class for foter, cli adds default classes but that's bad practice (btw, if you specify anything, e.g. "foo" cli will not touch your classes). I'll remove that.

I didnt specify the class in the json file but the template has the class defined.
I am trying to avoid all template specific declarations in the json file so that i can change the template with minimal changes.

@kadirerdogan what do you suggest?

To add default class into template, so if user not specify any class in json then class from template will be used

To leave as is - if no class defined in json, CLI defines class automatically.

To add application level swith: "do_not_touch_css_classes": true (default false)

... ?
There is also similar case with navbar and menus - if no class defined, default class is added.
Got idea how to avoid this?
Goal is: if user doesn't specify any class in json - kitchen should produce (less or more) visually aesthetic and usable code. So, we definitely need some defaults here (in template or in CLI).


When invited as speaker , invitation dialog not appear

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):

Device: [e.g. Google Pixel]
OS: [e.g. Android 11]
Version [e.g. 1.0.7]

Additional context
Add any other context about the problem here.

I quote from user "elzahlan" in a previous issue :
It is a network issue in Egypt, you need to use a VPN to be able to accept invites and go to the speakers area

@uosef2111
when I used a VPN I couldn't hear anything

You're supposed to, you know, actually fill in the template.
Anyway, pull requests are welcome.

@uosef2111
when I used a VPN I couldn't hear anything

Join another room then get back to the one you wanna to join and it shall work just fine @IamHolden98


support purging with enterprise version

I haven't ever run sensu enterprise, but why shouldn't these be removed if you want to purge the config on enterprise?

I just now saw #461 which explains, thanks!


shuffle with argument [] returns [ undefined ]

Lazy([]).shuffle() // returns undefined

Should return [] I think.

I think so too :) Investigating.

By the way, I like your username!


balena-yocto-scripts: Update balena-yocto-scripts to v1.17.4

Update balena-yocto-scripts from 1.17.3 to 1.17.4
Changelog-entry: Update balena-yocto-scripts from v1.17.3 to v1.17.4
Change-type: patch

@balena-ci I self-certify!


Fixup role match in classifier of resource_group

What type of PR is this：

[x] bug
[ ] feature
[ ] enhancement
[ ] others

Which issues of this PR fixes ：

https://github.com/StarRocks/starrocks/issues/4381
Problem Summary(Required) ：

When matching roleName to role condition of resource group classifier, use simple role name instead of qualified role name.

[FE PR Coverage check]
:disappointed: fail : 0 / 3 (00.00%)
file detail

path
covered line
new line
coverage

:large_blue_circle:
com/starrocks/catalog/WorkGroupMgr.java
0
3
00.00%

[FE PR Coverage check]
:disappointed: fail : 0 / 7 (00.00%)
file detail

path
covered line
new line
coverage

:large_blue_circle:
com/starrocks/catalog/WorkGroupMgr.java
0
7
00.00%


refactor: avoid nested fields

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


Bot icon in call looks missing for guests

Describe the issue
If you have a guest account in Teams, the bot's icon image looks broken e.g. in gallery review.

Expected behavior
Either the image from the bot registration is displayed or the letters of the bot name, as with other callers. Currently it looks very buggy.

I assume this is not a problem of the Microsoft Graph Media SDK, you should Report this issue directly within teams


[GOBBLIN-601] Add cancellation for AzkabanClient

Dear Gobblin maintainers,
Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below!
JIRA

[x] My PR addresses the following Gobblin JIRA issues and references them in the PR title. For example, "[GOBBLIN-XXX] My Gobblin PR"

https://issues.apache.org/jira/browse/GOBBLIN-601

Description

[x] Here are some details about my PR, including screenshots (if applicable):
Add cancellation to AzkabanClient

Tests

[x] My PR adds the following unit tests OR does not need testing for this extremely good reason:

Commits

[x] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

@htran1 please review


_.lastIndexOf looks wrong on NaN

_.lastIndexOf(array, value, [fromIndex])
console.log(_.lastIndexOf([1, 2, 3, 1, 10, 0], 10,-8))
//  -1
console.log(_.lastIndexOf([1, 2, 3, 1, NaN, 0], NaN,-8))
//  4
It performs differently.
And I think the first one is correct.
Maybe it's not good to use slice to check NAN.
Also, If I am wrong, please point it out,Thanks.

sorry, you put invalid tags on this issue. But I don't know why. Can you give me a hint about something wrong?


HTX is crippled by a large number of disks/or multipath disks.

When HTX is preparing, during the "su - htx", it appears to be going through disks running "parted" (I see console messages indicating that various disk parition tables are being re-read, which is a known symptom of a deficiency in "parted"). With a large disk enclosure, possible multipath, it seems to be looping and touching the same disk over and over. It would appear that whatever algorithm is being used to discover/configure disks does not scale well at all, or has a bug in it.
It did eventually finish, but took over 20 minutes. There were about 130 disks on the system. There were some multipath disks, part of a 106-disk enclosure.
It also appeared to re-touch many of the disks when HTX started (Running), in spite of all those disks being disabled (halted) in the exerciser.

Hi Doug,
We run parted command (parted -mls command) during setup time (su - htx) to figure out on what all disks or its partitions, HTX can run the test,  For multipath, we again run parted and kpartx for that particular device to figure out mpath and its partitions which can be used for testing.
Above steps are must for us to check the availability of the device.
Now, if number of disks are large on the system, scaling is a challenge because of parted command known issue.
We will be looking into it how can we optimize it further.
During HTX run time also, we run parted again on the disks. This is there by design. Reason being, if some one change the system config in-between "su - htx" and "htx" (i.e. start of test), in that scenario, we might run unknowingly on any of the system disk or any of the boot partition, hence corrupting those disks. To avoid this, before actually starting the test, we again run parted.

Hi Preeti,
Yeah, I have run into the parted issues before, too. We know that fdisk does not have the same problems, but there are rumors (that I have not been able to confirm) that fdisk is going to be removed. If indeed fdisk is going way, another approach would be to simply use the ioctl to read the partition table, although I'm not sure of the structure of HTX code to know whether using C code is practical at that point. But, as you also state, the one think parted does is make us aware of just how many times the partition tables are being read. I understand wanting to make sure things haven't changed since the last time you checked, but just within the "su - htx" I see many many calls to parted for the same disk.  This seems like a place for optimization. Of course, even a shell script could optimize some of this, I think, by using the "-nt" test on the block device and the last-captured partition data file.

Thanks Doug for the inputs. But, right now, we don't have the infrastructure to use IOCTL. That will need lot of change on our side.  Need to take a call on this.
For now, I am planning to remove parted command invocation at couple of places during su - htx time which I think might not be required. Will provide you a patch for the testing.

Note, the latest HTX still has severe scaling issues. I was starting up HTX on a system with 2x69 (2 paths) disks in a SAS enclosure, plus 4x5 FC disks, plus a 4 local disks. HTX took over 45 minutes just to complete the "su - htx". Based on the messages, HTX is doing something fundamentally "wrong" in this area - I keep seeing the NVMe drive "repartition" continually during that time. How many times does HTX need to get the partition table for the same drive? It should only need to access each drive once. I seem to recall stumbling across some script/config file that was calling parted without specifying a disk - which is clearly unscalable as that causes parted to scan all disks each time.


vim for C/C++

how to use it tracking C/C++ function? ^_^

I got it.
enter:   ctrl + ]
back:    ctrl + t


Add ability to have include_directories before CFLAGS

Currently , the contents of any CFLAGS or CXXFLAGS environment variables are added to the build cmd prior to include_directories that had been added using fn include:
https://github.com/rust-lang/cc-rs/blob/be62f4a9027a30ccbfffa494ce8ee3487de8cb9b/src/lib.rs#L1766-L1770
This can result in conflicts if the specified includes need to come prior to the CFLAGS includes.
We've worked around this by manually prepending includes to CFLAGS (see https://github.com/aws/s2n-tls/pull/4338), but it would be preferable for this to be configurable in cc.
Thanks!

That's definitely doable.
I would accept any PR for this.


Trouble decoding raw samples

I want to use quiet as part of a system that will already been receiving and process audio so my expected input will just be the raw samples.
To test how this would work with quiet I modified the encode_file.c and decode_file.c examples so instead of using libsndfile they just write to a file:
   ssize_t written = samplebuf_len;
        while (written == samplebuf_len) {
            written = quiet_encoder_emit(e, samplebuf, samplebuf_len);
            if (written > 0) {
                int i;
                fwrite(samplebuf, sizeof(quiet_sample_t), written, result);  // write to file instead of wav
            }
        }

and read from a file:
size_t sample_bytes_read(FILE *sample_file, size_t filelen, quiet_sample_t *samples, size_t sample_len) {
    long count = filelen / sizeof(quiet_sample_t);
    if(count > sample_len){
        count = sample_len;
    }
    long read = fread(samples, sizeof(quiet_sample_t), count, sample_file);

    return read;

}

   while (!done) {
        size_t nread = sample_byte_read(sample_file, filelen, samplebuf, wantread); //read from file instead of wav

        if (nread == 0) {
            break;
        } else if (nread < wantread) {
            done = true;
        }
        ssize_t n = quiet_decoder_consume(d, samplebuf, nread);
        recv_all(d, buf, bufsize, payload);
    }

  quiet_decoder_flush(d);
  recv_all(d, buf, bufsize, payload);

  free(samplebuf);
  free(buf);

In case it is relevant, I am also hardcoding the encoder/decoder options based on the audible profile
encoder:
    quiet_encoder_options *opt = calloc(1, sizeof(quiet_encoder_options));

    opt->encoding = gmsk_encoding;
    opt->checksum_scheme = quiet_checksum_crc32;
    opt->inner_fec_scheme = quiet_error_correction_conv_12_7;
    opt->outer_fec_scheme = quiet_error_correction_none;
    opt->frame_len = 25;

    opt->modopt.center_rads = (4200/sample_rate) * M_PI * 2;
    opt->modopt.gain = 0.15;
    opt->modopt.shape = 1; //LIQUID_FIRFILT_KAISER
    opt->modopt.samples_per_symbol = 10;
    opt->modopt.symbol_delay = 4;
    opt->modopt.excess_bw = 0.35;
    opt->modopt.dc_filter_opt.alpha = 0.01;
    opt->resampler.delay = 13;
    opt->resampler.bandwidth = 0.45;
    opt->resampler.attenuation = 60;
    opt->resampler.filter_bank_size = 64;

decoder:
 quiet_decoder_options *dec_opt = calloc(1, sizeof(quiet_decoder_options));

    dec_opt->encoding = gmsk_encoding;
    dec_opt->demodopt.center_rads = (4200/sample_rate) * M_PI * 2;
    dec_opt->demodopt.shape = 1; //LIQUID_FIRFILT_KAISER
    dec_opt->demodopt.samples_per_symbol = 10;
    dec_opt->demodopt.symbol_delay = 4;
    dec_opt->demodopt.excess_bw = 0.35;
    dec_opt->resampler.delay = 13;
    dec_opt->resampler.bandwidth = 0.45;
    dec_opt->resampler.attenuation = 60;
    dec_opt->resampler.filter_bank_size = 64;

Is this approach valid?  Am I messing up the reading or writing with the file?  The output I get looks like a bunch of floats, but when I try to decode it, the decoder does not pick up a single frame.

I figured out my issue.  I was unintentionally doing integer division when I set the center_rads in my hard-coded profiles.


Dissallow last dragout

In my particular situation I have a main window with several controls around the tab window. I also created a light weight window to receive my torn off tabs. I also can't use FixedCountHeader because when there is more than one tab in the main window I still need to allow the tabs to be reordered.
Default behavior causes my main window frame to disappear if I drag the last tab to a light weight window. So, I wanted to have a behavior similar to the enhancement described here:
https://github.com/ButchersBoy/Dragablz/issues/18
Instead of a simple DissallowDragOut, something more along the lines of DissallowLastDragOut, which is a tab container property.
Investigating the source, I added to TabablzControl this property:
    public static readonly DependencyProperty DissallowLastDragOutProperty = DependencyProperty.Register(
        "DissallowLastDragOut", typeof(bool), typeof(TabablzControl), new PropertyMetadata(default(bool)));

    /// <summary>
    /// Allows a the first adjacent tabs to be fixed (no dragging, and default close button will not show).
    /// </summary>
    public bool DissallowLastDragOut
    {
        get { return (bool)GetValue(DissallowLastDragOutProperty); }
        set { SetValue(DissallowLastDragOutProperty, value); }
    }

And then in the method MonitorReentry right after the FixedHeaderCount test added:
if (DissallowLastDragOut && sourceTabablzControl.Items.Count == 1)
{
return false;
}
This works for me, hope you like it too.
TabablzControl.zip

Hi, TabEmptiedResponse is already provided to help you deal with such scenarios:
https://github.com/ButchersBoy/Dragablz/blob/master/Dragablz/TabEmptiedResponse.cs
You can use this by providing a custom IInterTabClient
https://github.com/ButchersBoy/Dragablz/blob/master/Dragablz/IInterTabClient.cs

Sorry...that's not going to work is it?
But why not only apply FixedCountHeader to equal 1, only when the tab count is 1?

So I tried that, perhaps I'm not doing it right.
The tabs control is bound to an observable collection. And program startup I added on event for CollectionChanged. And within that, if the Tabs Items list == 1 I set the Tabs FixedHeaderCount = 1, otherwise =0.
When it didn't work I put break points in the ItemDragDelta method and the MonitorReentry method of TabablzControl. What I found is that ItemDragDelta is not called when dragging the last tab. And the check in MonitorReentry says:
if (sourceTabablzControl.Items.Count > 1 && e.DragablzItem.LogicalIndex < sourceTabablzControl.FixedHeaderCount)
When I'm dropping my main window (which now has one tab, onto the simplified window. The sourseTabablzControl has one item in it (failing the > 1 test). So reentry allows the drop to happen. I also checked the FixedHeaderCount field in MonitorReentry, it correctly had a value of 1.

BTW, when I made the suggested change, using FixedHeaderCount dynamically, as you suggested worked.


Safe Wallet redirecting to a 404

Link to minimal reproducible example
https://web3modal.com/
Summary
Hey,
I tested the "Safe" option of your modal but by clicking on "Webapp" tab - it directs me to a 404 not found page.
Steps to reproduce:
Go to https://web3modal.com/
Click on "Connect Wallet" (blue button at the top)
Click "All Wallets"
Click on "Safe" then "Webapp"
Click on "Open" (link)
Leads to: https://app.safe.global/wc?uri=wc%3A006a77707b44492cd54376fd68b1adb75fec9b1cf114d62bb0704aef7257b0bd%402%3Frelay-protocol%3Dirn%26symKey%3De87e96b1bc31d3c829087a35c7361536d392da33c1c2aa585c4eae12c142d767
which shows this:

Doing it "manually" by Copying the link (pairing code) and then just pasting it into the pairing code field in the https://app.safe.global/ app works.
List of related npm package versions
these are from my personal project - not sure what the actual https://web3modal.com/ website uses... but same situation on my local build.
"@wagmi/connectors": "^3.1.3",
"@web3modal/wagmi": "^3.2.0",
"viem": "^1.18.4",
"wagmi": "^1.4.5",

I've reported this to Safe.

@Zimtente Safe told me the fix is scheduled to go live on Wednesday (Nov 8).

okay thank you @arein !

Closing this on our end, for progress please reference
https://github.com/safe-global/safe-wallet-web/pull/2747


graphics/libyuv: fix strict-prototype warning by patch

Summary
Fix a strict-prototype warning introduced by libyuv headers.
Impact
Testing

Let's ignore the ci broken by https://github.com/apache/nuttx/pull/7832, and merge this simple patch directly


Box2D port

Hello !
I just ported Box2D to go; it's available here : https://github.com/ByteArena/box2d
Thought you might want to know.

This is great news!. I'm hoping to try it out when I have the time to do so. Thanks for sharing!


fix openshift ssl integration

I missed some key integration on enabling Broker with SSL.
Thanks @shawn-hurley

Nope, I was wrong, this is fine.  I was doing some work on a new /healthz handler and had changed the timeouts and as it was reporting non-ready, it was blocking the controller end point on the getCatalog request making it look like the CA fix had failed.  Interesting.  All is good with this PR.


Linking to new PDF

Description

Related Issue(s)

Checklist

[ ] I have read the contribution guidelines
[ ] I have considered the performance impact of these changes
[ ] Suitable unit/system level tests have been added and they pass
[ ] Documentation has been updated

Addressed in https://github.com/FlowFuse/website/pull/2891


slow response from subject page

When the subject has a large number of observation, for example, http://<IP_ADDRESS>:9002/hipc-signature/#vaccine/vo-0000045/vaccine, the first view is very slow to load. It has been supposed to load only 100 to avoid this problem.

The myth or confusion about this is that I thought commits e3cb (March 7) to 98f5 (March 15) took care of this exact issue (although we didn't have a github issue to document this major change). It turned out that I forgot an important detail about this change: it only works when the subject is shown without additional tier + role filtering. The latter case is a much more complex query using the current data model so was basically left as it was. If you remove the last "/vaccine" from the URL as reported, the query and view will become very fast.
In fact, tier and role are not really used in the latest HIPC data, so the issue can be avoided if we just remove some references to tier or role (useless in the first place) from the data flow.

At this point, all the roles for every type of subject are these:

gene: gene_biomarker
cell subset: tissue, cell_biomarker
pathogen: pathogen
vaccine: vaccine

So a possible solution is to treat cell subset as a special case and handle other subjects regardless of roles.

Tested in production, response time seems fine now.
There is a comment above "Other subjects from CTD2 that are not shown: animal model, cell sample, tissue sample, compound, protein, transcript, RNA. Should we remove some of them from this application?".  Is this still something we need to look at?

Tested in production, response time seems fine now.
There is a comment above "Other subjects from CTD2 that are not shown: animal model, cell sample, tissue sample, compound, protein, transcript, RNA. Should we remove some of them from this application?". Is this still something we need to look at?

If we may need them at some point in the future, we can totally ignore my comment. Otherwise, I suggest we remove those that would never be seen by any users and never were tested.

We don't know what all will be coming in the near future as far as new data types.  If they are not causing any problem, let's leave them there for now.


[ISSUE #996]📝Add doc for ConsumeFromWhere item

Which Issue(s) This PR Fixes(Closes)

Fixes #996
Brief Description

How Did You Test This Change?

🚀Thanks for your contribution🎉. CodeRabbit(AI) will review your code first🔥