[IMPROVEMENT] (Nuget private chocolatey repository not searched - user and password required)

Please confirm these before moving forward

[X] I have searched for my issue and have not found a work-in-progress/duplicate/resolved issue.
[X] I have tested that this issue has not been fixed in the latest (beta or stable) release.
[X] I have checked the FAQ section for solutions.
[X] This issue is about a bug (if it is not, please use the correct template).

UniGetUI Version
3.1.2 beta 3
Windows version, edition, and architecture
Windows 10 Pro 22H2 19045.4894
Describe your issue
Private Nuget choco repository that requires authentication is not searchable.
Steps to reproduce the issue
No response
UniGetUI Log
[2024-10-09 16:25:28]    __  __      _ ______     __  __  ______
                        / / / /___  (_) ____/__  / /_/ / / /  _/
                       / / / / __ \/ / / __/ _ \/ __/ / / // /
                      / /_/ / / / / / /_/ /  __/ /_/ /_/ // /
                      \____/_/ /_/_/\____/\___/\__/\____/___/
                          Welcome to UniGetUI Version 3.1.2-beta3
[2024-10-09 16:25:28]
[2024-10-09 16:25:28] Version Code:  3,1193
[2024-10-09 16:25:28] Encoding Code Page set to 852
[2024-10-09 16:25:28] Using bundled GSudo at C:\Program Files\UniGetUI\Assets\Utilities\gsudo.exe
[2024-10-09 16:25:29] Loaded language locale: pl
[2024-10-09 16:25:29] Randomly-generated background API auth token for the current session: h2ki6o9ybl2yy83ukelwr3tu6fg7sb9kshov6ot8bhv31905ud0aok5ww0672nqr
[2024-10-09 16:25:29] Api running on http://localhost:7058
[2024-10-09 16:25:29] Lang files were updated successfully from GitHub
[2024-10-09 16:25:30] UniGetUI is up to date
[2024-10-09 16:25:30] Command cargo was not found on the system
[2024-10-09 16:25:30] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Cargo
                      █ Enabled: True
                      █ Found: False
                      █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT
                      █ INSTALLED OR IT HAS BEEN MISCONFIGURED
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2024-10-09 16:25:30] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Pip
                      █ Enabled: True
                      █ Found: True
                      █ Fancy exe name: pip
                      █ Executable path: C:\Program Files (x86)\Python311-32\python.exe
                      █ Call arguments:  -m pip
                      █ Version:
                      █   pip 23.0.1 from C:\Program Files (x86)\Python311-32\Lib\site-packages\pip (python 3.11)
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2024-10-09 16:25:30] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Winget
                      █ Enabled: True
                      █ Found: True
                      █ Fancy exe name: winget.exe
                      █ Executable path: C:\Users\kbalicki\AppData\Local\Microsoft\WindowsApps\winget.exe
                      █ Call arguments:
                      █ Version:
                      █   System WinGet CLI Version: v1.8.1911
                      █   Using Native WinGet helper (COM Api)
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2024-10-09 16:25:31] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: .NET Tool
                      █ Enabled: True
                      █ Found: False
                      █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT
                      █ INSTALLED OR IT HAS BEEN MISCONFIGURED
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2024-10-09 16:25:31] Downloaded new icons and screenshots successfully!
[2024-10-09 16:25:31] Command scoop was not found on the system
[2024-10-09 16:25:31] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Scoop
                      █ Enabled: True
                      █ Found: False
                      █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT
                      █ INSTALLED OR IT HAS BEEN MISCONFIGURED
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2024-10-09 16:25:32] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Npm
                      █ Enabled: True
                      █ Found: True
                      █ Fancy exe name: npm
                      █ Executable path: C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe
                      █ Call arguments:  -NoProfile -ExecutionPolicy Bypass -Command npm
                      █ Version:
                      █   10.7.0
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2024-10-09 16:25:32] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Chocolatey
                      █ Enabled: True
                      █ Found: True
                      █ Fancy exe name: choco.exe
                      █ Executable path: C:\ProgramData\chocolatey\bin\choco.exe
                      █ Call arguments:
                      █ Version:
                      █   2.3.0
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2024-10-09 16:25:33] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: PowerShell7
                      █ Enabled: True
                      █ Found: True
                      █ Fancy exe name: pwsh.exe
                      █ Executable path: C:\Program Files\PowerShell\7\pwsh.exe
                      █ Call arguments:  -NoProfile -Command
                      █ Version:
                      █   PowerShell 7.4.5
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2024-10-09 16:25:36] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: PowerShell
                      █ Enabled: True
                      █ Found: True
                      █ Fancy exe name: powershell.exe
                      █ Executable path: C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe
                      █ Call arguments:  -NoProfile -Command
                      █ Version:
                      █   Name                           Value
                      █   ----                           -----
                      █   PSVersion                      5.1.19041.4894
                      █   PSEdition                      Desktop
                      █   PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
                      █   BuildVersion                   10.0.19041.4894
                      █   CLRVersion                     4.0.30319.42000
                      █   WSManStackVersion              3.0
                      █   PSRemotingProtocolVersion      2.3
                      █   SerializationVersion           <IP_ADDRESS>
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2024-10-09 16:25:36] LoadComponentsAsync finished executing. All managers loaded. Proceeding to interface.
[2024-10-09 16:25:39] Found 43 installed packages from Chocolatey
[2024-10-09 16:25:40] Found 34 available updates from Pip
[2024-10-09 16:25:40] Ignored updates database was never loaded, so it is going to be loaded now
[2024-10-09 16:25:42] Found 0 available updates from Npm
[2024-10-09 16:25:42] Found 44 available updates from Winget
[2024-10-09 16:25:43] Found 0 available updates from PowerShell
[2024-10-09 16:25:44] Found 53 installed packages from Pip
[2024-10-09 16:25:46] Found 16 available updates from Chocolatey
[2024-10-09 16:25:46] Found 1 installed packages from PowerShell7
[2024-10-09 16:25:47] Found 0 installed packages from Npm
[2024-10-09 16:25:49] Found 2 installed packages from PowerShell
[2024-10-09 16:25:49] Found 0 available updates from PowerShell7
[2024-10-09 16:25:51] Found 428 installed packages from Winget
[2024-10-09 16:26:41] Found 0 available packages from Chocolatey with the query *
[2024-10-09 16:26:49] Found 0 available packages from Chocolatey with the query ac
[2024-10-09 16:26:53] Found 0 available packages from Chocolatey with the query acfk
[2024-10-09 16:31:18] Found 0 available packages from Chocolatey with the query acfk 1.2.9
[2024-10-09 16:31:29] Found 0 available packages from Chocolatey with the query acfk 1.2.0
[2024-10-09 16:42:29] Command parse_pip_search.exe was not found on the system
[2024-10-09 16:42:31] Error finding packages on manager Pip with query acfk 1.2.0]
[2024-10-09 16:42:31] System.AggregateException: One or more errors occurred. (An error occurred trying to start process 'parse_pip_search.exe' with working directory 'C:\Program Files\UniGetUI'. Nie można odnaleźć określonego pliku.)
                       ---> System.ComponentModel.Win32Exception (2): An error occurred trying to start process 'parse_pip_search.exe' with working directory 'C:\Program Files\UniGetUI'. Nie można odnaleźć określonego pliku.
                         at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
                         at UniGetUI.PackageEngine.Managers.PipManager.Pip.FindPackages_UnSafe(String query) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.Pip\Pip.cs:line 95
                         at UniGetUI.PackageEngine.ManagerClasses.Manager.PackageManager.<>c__DisplayClass52_0.<FindPackages>b__0() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.PackageManagerClasses\Manager\PackageManager.cs:line 165
                         at System.Threading.Tasks.Task`1.InnerInvoke()
                         at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
                      --- End of stack trace from previous location ---
                         at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
                         at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
                         --- End of inner exception stack trace ---
                         at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
                         at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
                         at System.Threading.Tasks.Task.Wait(TimeSpan timeout, CancellationToken cancellationToken)
                         at System.Threading.Tasks.Task.Wait(TimeSpan timeout)
                         at UniGetUI.PackageEngine.ManagerClasses.Manager.PackageManager.FindPackages(String query) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.PackageManagerClasses\Manager\PackageManager.cs:line 165
[2024-10-09 16:42:31] Found 0 available packages from Chocolatey with the query acfk 1.2.0]
[2024-10-09 16:42:31] Found 0 available packages from PowerShell7 with the query acfk 1.2.0]
[2024-10-09 16:42:31] Found 0 available packages from Winget with the query acfk 1.2.0]
[2024-10-09 16:42:32] Found 0 available packages from Npm with the query acfk 1.2.0]
[2024-10-09 16:43:03] Found 0 available packages from PowerShell with the query acfk 1.2.0]
[2024-10-09 16:47:30] Found 43 installed packages from Chocolatey
[2024-10-09 16:47:31] Found 1 installed packages from PowerShell7
[2024-10-09 16:47:31] Found 53 installed packages from Pip
[2024-10-09 16:47:31] Found 2 installed packages from PowerShell
[2024-10-09 16:47:32] Found 0 installed packages from Npm
[2024-10-09 16:47:32] Found 428 installed packages from Winget
[2024-10-09 16:47:34] Command parse_pip_search.exe was not found on the system
[2024-10-09 16:47:36] Error finding packages on manager Pip with query acfk
[2024-10-09 16:47:36] System.AggregateException: One or more errors occurred. (An error occurred trying to start process 'parse_pip_search.exe' with working directory 'C:\Program Files\UniGetUI'. Nie można odnaleźć określonego pliku.)
                       ---> System.ComponentModel.Win32Exception (2): An error occurred trying to start process 'parse_pip_search.exe' with working directory 'C:\Program Files\UniGetUI'. Nie można odnaleźć określonego pliku.
                         at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
                         at UniGetUI.PackageEngine.Managers.PipManager.Pip.FindPackages_UnSafe(String query) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.Pip\Pip.cs:line 95
                         at UniGetUI.PackageEngine.ManagerClasses.Manager.PackageManager.<>c__DisplayClass52_0.<FindPackages>b__0() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.PackageManagerClasses\Manager\PackageManager.cs:line 165
                         at System.Threading.Tasks.Task`1.InnerInvoke()
                         at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
                      --- End of stack trace from previous location ---
                         at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
                         at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
                         --- End of inner exception stack trace ---
                         at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
                         at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
                         at System.Threading.Tasks.Task.Wait(TimeSpan timeout, CancellationToken cancellationToken)
                         at System.Threading.Tasks.Task.Wait(TimeSpan timeout)
                         at UniGetUI.PackageEngine.ManagerClasses.Manager.PackageManager.FindPackages(String query) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.PackageManagerClasses\Manager\PackageManager.cs:line 165
[2024-10-09 16:47:37] Found 1 available packages from Npm with the query acfk
[2024-10-09 16:47:37] Found 0 available packages from PowerShell7 with the query acfk
[2024-10-09 16:47:37] Found 0 available packages from Chocolatey with the query acfk
[2024-10-09 16:47:37] Found 0 available packages from Winget with the query acfk
[2024-10-09 16:48:03] Found 0 available packages from PowerShell with the query acfk

Package Managers Logs
Logged native task on manager Chocolatey. Task type is FindPackages
Process start time: 2024-10-09 16:47:34
Process end time:   2024-10-09 16:47:37

-- Task information
  Begin package search with url=https://nexus.****.com/repository/choco-group//Search()?searchTerm=%27acfk%27&targetFramework=%27%27&includePrerelease=false on manager Chocolatey

-- Task errors
  Failed to fetch api at Url=https://nexus.****.com/repository/choco-group//Search()?searchTerm=%27acfk%27&targetFramework=%27%27&includePrerelease=false with status code Unauthorized

The task reported success

Relevant information
I can search a packet by choco builtin 'find' feature without any login prompt
C:\WINDOWS\system32>choco find acfk
Chocolatey v2.3.0
acfk 1.2.0
1 packages found.
Searching by https api requires login and password.
Screenshots and videos
No response

I will investigate


Add calibration result plotting functions

Added tools to plot the mixer calibration results.
show_lo_result() and show_if_result() plot the calibration data of the LO leakage and image sideband as well as the chosen calibration parameters: I_0, Q_O, dc_gain and dc_phase.

Missing:

[ ] Modify changelog
[ ] Write Readme documentation
[ ] Docstrings
[ ] Tests


docs: Ben Thomas Component Reviews Submission

All component reviews for final submission. Prettier formatting applied, hopefully correctly this time.
ben
Description
Submitting component reviews. Prettier formatting should be applied this time.
Type of change

[X] Documentation (update or new)

How Has This Been Tested?
Documentation has been run through recommended addons, including Prettier.
Testing Checklist:
Not applicable.
Checklist:

[X] I have made corresponding changes to the documentation

Hi Ben,
There needs to be some changes to these reviews before they get added in, for example we need screenshots of what each component looks like currently and what it will look like after the udpate.
Also the migration plan needs to be more detailed and you need to also include things like interactions with other components, the outcome of the component and what data its passing.
At present these are very limited and not detailed enough for a review.

Not completed so closed from T1 2023


Fix publishEvent RefreshRoutesResultEvent before cache.put

publishEvent RefreshRoutesResultEvent executed in front of cache.put()
will cause the object which is listening to RefreshRoutesResultEvent
get data from routeLocator.getRoutes() is still old

@tom916 Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@tom916 Thank you for signing the Contributor License Agreement!


Implement a more responsive update loop

The current update loop is very conservative, and there can be a several-second lag before new content is available in completions.
Implement a more responsive update loop.
A short-term solution to getting faster updates is to reduce window_polling_period, and possibly completion_min_update_period.
-gary

A more responsive update loop has been implemented. Updates are now triggered when the user types (specifically, when completion requests are received) rather than simple background polling. This is more responsive and should save a bit of battery life vs constant polling at a low rate.
Note that this changes the units of the window_polling_period configuration item from sec to msec.


[BUG] im getting not responding while playing mid-game

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.

What problem did you encounter?
i was playing counter blox and then roblox being not responding for a few mins after that and when i reopen roblox and try to play again,it got more often,ive checked all the crashing guide but its not working at all

yeah it happening only when i installed bloxstrap somehow,roblox feels very smooth but when i switched it works fine but it makes roblox unplayable

sure i will show it but not right now cuz i'm cooking,sorry !

oh yeah i set my fps limit on fast flag as 60 and lightning is voxel and everything else is default though

One of the FastFlag editor itself too. Show a screenshot if there's anything there, or let me know if there isn't.

there is none at all

Do you have fullscreen optimizations disabled?

nah man,i dont play on full screen so

anyways heres your screenshot you asked

In the Integrations section of the menu, can you try disabling everything there is there, and then try playing a game, see if the issue still happens?

alright ill try it later though

hmm no its not working i still get not responding

its not working either

Okay, I'm a little bit confused since there shouldn't be any functional differences between standard Roblox and Bloxstrap now.
Brief troubleshooting step, can you open the version folder in the %localappdata%\Bloxstrap\Versions folder, delete the ClientSettings folder, and then afterwards directly launch RobloxPlayerBeta?

alright ill do that later

alright its still not responding

can you add some sort of log for bloxstrap or roblox itself ?
it might helps alots

alright its still not responding

This is implying an issue with Roblox itself then.
Now that I'm reading your original post again:

yeah it happening only when i installed bloxstrap somehow

I'm not asking about whether it was happening before you installed it, I'm asking about if it currently happens only with Bloxstrap. Switch to the stock Roblox bootstrapper and see if you still encounter the issue there.

okay

its working fine with roblox default but bloxstrap make it not responding somehow

Last thing, in the behaviour section of the menu, can you try enabling the option to "force roblox reinstallation"?

it seems to be work ! thanks for your help


Memory leak in com.microsoft.commonlogging.channel.Persistence.ctx

I'm using LeakCanary to look for memory leaks, and it looks like there is a static instance of Context being kept in Persistence.
08-06 15:22:09.320   8729-16627/D/LeakCanary﹕ * GC ROOT static com.microsoft.commonlogging.channel.Persistence.ctx
If you have more questions or want the full logs, I am a Microsoft employee. You can email me at<EMAIL_ADDRESS>

Closing this as the CLL team supposedly fixed the issue.


output is wrong when set state_outputs=True for RNN layer

@piiswrong  and others,
I change example/rnn/rnn_cell_demo.py to get 3 ouputs. The changes as below.
rnn = mx.sym.RNN(data=embed_tm, state_size=num_hidden,
num_layers=num_lstm_layer, mode='lstm',
name='LSTM',
# The following params can be omitted
# provided we do not need to apply the
# workarounds mentioned above
state=rnn_h_init,
state_cell=rnn_c_init,
parameters=rnn_params,
state_outputs=True)
hidden = mx.sym.Reshape(data=rnn**[0]**, shape=(-1, num_hidden))
However, it report the error as below:
mxnet/mxnet_cuda/dmlc-core/include/dmlc/logging.h:235: [19:58:58] src/symbol/static_graph.cc:488: Check failed: it != grad_map.end() bad graph: Cannot find node LSTM's 1-th output
Can someone help to check what's wrong in graph?

what's rnn.list_outputs()?

You need to also include rnn[1] when constructing the executor, like BlockGrad(rnn[1]).

rnn.list_output() shows ['LSTM_output', 'LSTM_state', 'LSTM_state_cell']
@sxjscience  can you provide more details how to include rnn[1] to replace below? My intention is to get point of rnn[0/1/2] separately then do operation.
hidden = mx.sym.Reshape(data=rnn[0], shape=(-1, num_hidden))

I find that the RNN layer requires all the output nodes for calculating the gradient. Our final symbol should be something like
rnn = mx.sym.RNN(..., mode='lstm', ..., state_outputs=True)
your_loss = f(rnn)
net = mx.sym.Group([your_loss, mx.sym.BlockGrad[rnn[1]], mx.sym.BlockGrad[rnn[2]]])

However, I think it's not so convenient.
Similar thing holds for the SliceChannel operator, i.e, we need to include all the outputs when building the executor.
I think we should find a way to solve this. @piiswrong Do you know whether NNVM provides a way to solve the problem?

I think this is fixed in nnvm. @tqchen COuld you confirm?

I've tried using the SliceChannel. Should be fixed in nnvm.

But how about in current version w/o nnvm?
@sxjscience  could you help to write a runnable example code?

@zhenlinluo Yes. I'll continue working on the example after meeting with my supervisor tomorrow.

@sxjscience  how is going on?

Guys, I've got a similar problem using SliceChannel in the latest version of NNVM.
The problem arises in partial grouping. Example code shown below:
import mxnet as mx

data0 = mx.sym.Variable("data0")

group = mx.sym.SliceChannel(data0, num_outputs=4, axis=1)

output0 = group[0]
output1 = group[1]
output2 = group[2]
output3 = group[3]

group_again = mx.sym.Group([output0, output1, output2])#, output1, output2, output3, output4,
                            #output5, output6])

exe = group_again.simple_bind(ctx=mx.gpu(), data0=(10, 4))

Error trackback:
[21:06:59] /home/data/czhangbr/mxnet/dmlc-core/include/dmlc/./logging.h:235: [21:06:59] src/pass/infer_shape_type.cc:118: Check failed: finfer != nullptr Attribute FInferShape is not registed by op _NoGradient
---------------------------------------------------------------------------
MXNetError                                Traceback (most recent call last)
<ipython-input-1-c718a24b7bc9> in <module>()
     15
     16
---> 17 exe = group_again.simple_bind(ctx=mx.gpu(), data0=(10, 4))

/home/data/czhangbr/anaconda2/lib/python2.7/site-packages/mxnet/symbol.pyc in simple_bind(self, ctx, grad_req, type_dict, group2ctx, **kwargs)
    717         executor = self.bind(ctx, arg_ndarrays,
    718                              grad_ndarrays, grad_req, aux_ndarrays,
--> 719                              group2ctx=group2ctx)
    720         return executor
    721

/home/data/czhangbr/anaconda2/lib/python2.7/site-packages/mxnet/symbol.pyc in bind(self, ctx, args, args_grad, grad_req, aux_states, group2ctx, shared_exec)
    848                                          aux_args_handle,
    849                                          shared_handle,
--> 850                                          ctypes.byref(handle)))
    851         executor = Executor(handle, self, ctx, grad_req, group2ctx)
    852         executor.arg_arrays = args

/home/data/czhangbr/anaconda2/lib/python2.7/site-packages/mxnet/base.pyc in check_call(ret)
     73     """
     74     if ret != 0:
---> 75         raise MXNetError(py_str(_LIB.MXGetLastError()))
     76
     77 if sys.version_info[0] < 3:

MXNetError: [21:06:59] src/pass/infer_shape_type.cc:118: Check failed: finfer != nullptr Attribute FInferShape is not registed by op _NoGradient

@sxjscience  @piiswrong Do you have chance to take a look at this and provide a example ASAP?  I need this to implement RNN layer based seq2seq model.

In nnvm,  mx.sym.RNN has an error:
src/operator/./cudnn_rnn-inl.h:191: Check failed: req[rnn_enum::kState] != kAddTo (3 vs. 3) AddTo is not supported for state
However, I didn't set grad_req  as 'add'.

@zhenlinluo I'm too busy with my phd qualifying exam these days... May look into this after I complete it.

We've switched to gluon (http://gluon.mxnet.io/). Also, this problem has been solved in the lastest MXNet.


Feature request - save Stack at point of promise creation

The on('error' handler receives reason and label -
it would be very useful for debugging to get the stack trace at the point where the promise was created  (not at async callback that caused the error).
I figure it would be VERY easy to implement - and will help debugging generic errors very much. Its not quite the "long stack" feature that chains all the async stacks together, but its better than nothing.
For example:
in Ember if I run:
    RSVP.on('error', function(reason, label) { error_report(reason); })

    authenticate().then(function() {   // ajax can fail here
      store.find('person', 5).then(function() {...});  // or here
      store.find('place', 6).then(function() {...});   // or here
   })

If/When the on('error') handler is activated with a reason of generic Ajax fail exception (eg. Adapter operation failed or similar)  then the reported error contains the stack trace of deep Ember/RSVP internals originating all the way back from a callback of an ajax call.
But I can't tell from this stack which of the ajax calls was it that failed, so that data is almost meaningless!

Ya it isn't hard to implement but it is literally like 100x slower on some platforms, so it would be opt in. Likely when something like the inspector has tracing enabled.
Also real errors in browsers(like chrome) don't display a user  provided stack. Which means normal errors will still appear foo-bar, although other tooling like the ember inspector could do something else.
Related, I'm pushing for console.tagStack from vendors (or similar) so the stack explorer in the debug tools is also useful. Which has some buy-in, and will lead to a much better solution in all cases.

@stefanpenner ETA on that?

@jonathandelgado unsure I don't work on v8/chrome. Maybe ping someone like paul_irish

For those interested in long stack traces. but want them to work in ever situation across all libraries, I would strongly recommend: https://github.com/mattinsler/longjohn it is a wonderful debug aide, and address the issue of single async steps supporting long-stacks and others not.


Enable SourceLink

CSProj files have been updated to enable SourceLink in your nuget
[This pull request was created with an automated workflow]
I noticed that your repository and Nuget package are important for our .NET community, but you still haven't enabled SourceLink.
We have to take 2 steps:

Please approve this pull request and make .NET a better place for .NET developers and their debugging.
Then just upload the .snupkg file to https://www.nuget.org/ (now you can find the snupkg file along with the .nuget file)

You can find more information about SourceLine at the following links
https://github.com/dotnet/sourcelink
https://www.hanselman.com/blog/ExploringNETCoresSourceLinkSteppingIntoTheSourceCodeOfNuGetPackagesYouDontOwn.aspx
If you are interesting about this automated workflow and how it works
https://github.com/JTOne123/GitHubMassUpdater
If you notice any flaws, please comment and I will try to make fixes manually

I'm going to close this stale pull request as it stands with a broken build and outstanding review comments. Once Castle Core gets SourceLink added to common.props rather than littered all over the place we can look at adding it to Windsor.


multicast to .255

Hello
Am trying to set the output IP (with UDP) to <IP_ADDRESS> so that any device on the network that's listening can hear the message - I'm broadcasting to port 1000. When I hit connect the thread shows in the log as starting OK, however when I try to send a message I get "sendto failed with error 13" which as far as I can see is "permission denied" - I can send the message from qlab, and send a message from oscWidgets to the device using its specific IP address.
I'm on a mac running latest OS etc.
Thanks!

It looks like the SO_BROADCAST option needs to be set on the socket somehow..

Yes, you are totally correct.  Fixed.  Thanks for the assist :+1:


fix memory patch, should close #2710

should same as #2580

#2710

If I may--It would seem that we should also restore the virtual destructor that the Rule class had in Modsec 3.0.4.
Since Modsec 3.0.5, the Rule class has not had an explicit destructor; and the compiler has therefore been defining an implicit nonvirtual destructor for the Rule class.  The problem with the nonvirtual Rule destructor is that a call to that destructor will not exercise the subclass destructors.  Restoring the virtual destructor for the Rule class will ensure that the subclass destructors are also called.
The problem of the nonvirtual Rule destructor will certainly manifest when the Rules container will destroy its internal member named "m_rules".  In the Rules class, the m_rules destructor will call the Rule nonvirtual destructor, which will not exercise the Rule objects' subclass destructors.  To ensure that the m_rules destructor exercises each Rule object's subclass destructors, we should restore the virtual destructor that the Rule class had in 3.0.4.  This one-liner in "rule.h" should suffice:
virtual ~Rule() {}
In the above one-liner, the destructor requires no explicit logic because the Rule's virtual destructor will implicitly call the subclass destructors; and in the Rule class itself the internal members will do the right thing when they are destroyed.  (As of 3.0.7, the Rule class's internal members are a shared_ptr and two integers.)

The pull request at https://github.com/SpiderLabs/ModSecurity/pull/2580 also suggested the one-liner:
virtual ~Rule() {}

@mmckenna-yottaa From my test, either virtual would fix the issue, so I make a small change.
And I cannot understand, from shared_ptr's document, it's unnecessary to use virtual. However, in this case, it must use virtual, I still don't know why.

The problem lies in the distinction between virtual and nonvirtual destructors.
In Modsec 3.0.4, the Rule class had a virtual destructor.  In Modsec 3.0.5, the Rule destructor was removed from the source code.  If the source code does not define a destructor (and if no parent class defines a virtual constructor), then the C++ compiler creates an implied nonvirtual destructor.  The nonvirtual destructor can cause memory leaks because the nonvirtual destructor does not invoke the Rule object's subclass destructors.
The memory leak is illustrated in the m_rules member of the Rules class (in rules.h).  When the m_rules vector is destroyed, the destructor for each shared_ptr object invokes exactly the destructor of the Rule class.  Some of the Rule objects in the vector can be from subclasses of Rule.  Unfortunately, the nonvirtual destructor for the Rule object will not invoke the destructors for the subclasses of Rule, thereby causing memory leaks.
To ensure that the Rule object's subclass destructors are invoked, we must declare the Rule destructor as virtual.  In other words, we should restore the virtual Rule destructor that was defined in Modsec 3.0.4.

It's a bug introduced in commit 7a48245aed517c5cba0455b5d4e99cdaea14129e.
When a RuleWithOperator is created, then it's stored into std::shared_ptr<RuleWithActions>, this std::shared_ptr know nothing about it's actual type RuleWithOperator, but RuleWithActions only. There are two options to fix it:

use std::shared_ptr<RuleWithOperator>
make destructor inRuleWithActions or it's superclass virtual.

@zimmerle or @martinhsv Could you verify this?
So, there are three solutions:

add a virtual ~Rule (superclass of RuleWithActions)
make ~RuleWithActions virtual, this commit
use std::shared_ptr<RuleWithOperator> rule instead of std::shared_ptr<RuleWithActions> rule

@mmckenna-yottaa 's explanation is not true:

When the m_rules vector is destroyed, the destructor for each shared_ptr object invokes exactly the destructor of the Rule class.

Actually, the shared_ptr object is std::shared_ptr<RuleWithActions>, it will invoke RuleWithActions's destructor.

@zimmerle @martinhsv @mmckenna-yottaa I just write a simple POC for solutions.
Name it as modsec-2728.cpp
#include <iostream>
#include <memory>
#include <vector>

#ifndef RULE_SHARED_PTR_CLASS
#define RULE_SHARED_PTR_CLASS RuleWithActions
#endif

class Rule {
public:
#ifdef RULE_VIRTUAL
    virtual ~Rule() {}
#else
    ~Rule() {}
#endif

    int getPhase() {
        return 0;
    }
};

class RuleWithActions : public Rule {
public:
#ifdef RULE_WITH_ACTIONS_VIRTUAL
    virtual ~RuleWithActions() {}
#else
    ~RuleWithActions() {}
#endif
};

class RuleWithOperator : public RuleWithActions {
public:
    RuleWithOperator() {
        std::cout << "Constructing RuleWithOperator" << std::endl;
    }

    ~RuleWithOperator() {
        std::cout << "Destructing RuleWithOperator" << std::endl;
    }
};

class Rules {
public:
    bool insert(const std::shared_ptr<Rule> &rule) {
        m_rules.push_back(rule);
        return true;
    }

    std::vector<std::shared_ptr<Rule> > m_rules;
};

class RulesSetPhases {
public:
    bool insert(std::shared_ptr<Rule> rule) {
        return m_rulesAtPhase[rule->getPhase()].insert(rule);
    }

private:
    Rules m_rulesAtPhase[1];
};

class Driver {
public:
    RulesSetPhases m_rulesSetPhases;

    int addSecRule(std::unique_ptr<RULE_SHARED_PTR_CLASS> r) {
        std::shared_ptr<RULE_SHARED_PTR_CLASS> rule(std::move(r));
        m_rulesSetPhases.insert(std::move(rule));
        return 0;
    }
};

int main() {
    Driver driver;
    std::unique_ptr<RuleWithOperator> rule(new RuleWithOperator());
    driver.addSecRule(std::move(rule));
}

And a simple Makefile:
source = modsec-2728.cpp
CXX = g++
CXXFLAGS = -std=c++11 -Wall -Wextra

default: modsec-2728 modsec-2728-virtual-rule modsec-2728-virtual-rule-with-actions modsec-2728-shared-ptr-rule-with-operator

modsec-2728: $(source)
	$(CXX) $(CXXFLAGS) $< -o $@

modsec-2728-virtual-rule: $(source)
	$(CXX) $(CXXFLAGS) $< -o $@ -DRULE_VIRTUAL

modsec-2728-virtual-rule-with-actions: $(source)
	$(CXX) $(CXXFLAGS) $< -o $@ -DRULE_WITH_ACTIONS_VIRTUAL

modsec-2728-shared-ptr-rule-with-operator: $(source)
	$(CXX) $(CXXFLAGS) $< -o $@ -DRULE_SHARED_PTR_CLASS=RuleWithOperator

clean:
	rm -rf modsec-2728 modsec-2728-*

Then you can run:
for x in modsec-2728 modsec-2728-*; do echo $x; ./$x; done

It will show:
modsec-2728
Constructing RuleWithOperator
modsec-2728-shared-ptr-rule-with-operator
Constructing RuleWithOperator
Destructing RuleWithOperator
modsec-2728-virtual-rule
Constructing RuleWithOperator
Destructing RuleWithOperator
modsec-2728-virtual-rule-with-actions
Constructing RuleWithOperator
Destructing RuleWithOperator

We've tested this from the reference before and this did not solve the memory issues for us.

We've tested this from the reference before and this did not solve the memory issues for us.

@iammattmartin I have post poc codes in #2710 , and codes here for addressing.
You should test whether codes in 2710 works, and codes here works.
If codes in #2710 seems fixed, then you should check other patches.
And as addressing here, you can use old modsecurity to check, like before 3.0.4.

liudongmiao is correct.  Executing the code that he posted on Aug 29, 2022, 07:43 GMT, we see that the destructor for
 std::vector<std::shared_ptr<Rule> > m_rules

does invoke the destructor for subclass RuleWithOperator, even when the Rule destructor is not virtual.
liudongmiao's code settles the question.  But bear with me just a little more...
If we use a regular Rule pointer and the Rule destructor is not virtual, then the subclass destructor is not invoked:
 Rule * rulePtr = new RuleWithOperator();
 delete rulePtr;

but we see that the std::shared_ptr does invoke the subclass destructor.  What is going on?  The implementation notes at https://en.cppreference.com/w/cpp/memory/shared_ptr might offer a clue.  The notes refer to a deleter that might point to the object's destructor.
Let me then qualify my recommendation, for what it's worth:
If we do not wish to depend on the shared_ptr implementation in member Rules::m_rules, then we should define a virtual Rule destructor.  ModSecurity 3.0.4 explicitly defined a virtual ~Rule destructor, but ModSecurity 3.0.5 made the Rule destructor implicit and therefore non-virtual.

@mmckenna-yottaa
shared_ptr stores original delete Destructor.
Rule * rulePtr = new RuleWithOperator();
delete rulePtr; // cannot recognize the actual type of rulePtr is RuleWithOperator

Rule *rulePtr = new RuleWithOperator();
std::shared_ptr<Rule> rule(static_cast<RuleWithOperator *>(rulePtr));
// when rule is deconstructing, shared_ptr know it's RuleWithOperator (stores in shared_ptr)

// should be write like this
std::shared_ptr<Rule> rule(new RuleWithOperator());

There are several solution, I just pick the smallest change one.

The discussion around shared_ptr and it automatically calling destructors of derived classes even if the base class is non-virtual is quite interesting.
To buttress the findings, I'll note this explanation: https://stackoverflow.com/questions/3899790/shared-ptr-magic . Although the top-rated answer states "... the C++11 standard also requires this behaviour.", reading through the standard, the wording seems a bit obscure.
Nevertheless, I would agree with @mmckenna-yottaa 's recommendation that the Rule class ought to have a virtual destructor . Not only is the lack of a virtual destructor an issue in the case of new use of raw pointers (which the ModSecurity project should seek to avoid), but also because unique_ptr does not perform the same 'magic' (and we probably do want to do make more use of unique_ptr in future).
This change to add a virtual destructor to the Rule class was implemented recently via #2801 .

This pull request sought to address the same three issues as #2580 :

the lack of a virtual destructor for the Rule class
delete of transformations vector
parser-filename issues

(1) and (2) have already been implemented via a substitute PR (#2801 ), while the solution for (3) in this PR has the same problem as discussed here: https://github.com/SpiderLabs/ModSecurity/pull/2580#issuecomment-1248556750 ).
Given that, I'll go ahead and close this item.
@liudongmiao : I'm open to changing how the delete of the transformations vector occurs, but given where we are now, I think doing so via a fresh PR problem makes the most sense (for example, the reason to make the change now would be more like 'misc code improvement' rather resolving an actual memory leak on reload). Also, if we do proceed that way, making the comparable change to the actions vector should be actively considered simultaneously so that we don't have two different memory-management models active in the same section of code. Feel free to submit a fresh such PR, if you like (but, no obligation, of course).


Main Display Page

Main Page Creation.
Features:
Navigation + Search - Completed
Main Display - Completed
Chat/Direct Messaging - Completed
Posting with attachements(Images/Videos/files) - Completed
Commenting- Completed
Notifications - In progress
Group Creation/Joining - In progress

Some adjustments in alignments and sizes needs to be done. @Alijaffery5 make changes to this branch not the master branch. views/index.html needs to be adjusted. CSS changes to be done css/hf_design.css


perf(compaction): proactively cancel compact tasks that doom to be ex…

…pired cause group split
I hereby agree to the terms of the Singularity Data, Inc. Contributor License Agreement.
What's changed and what's your intention?
proactively cancel compact tasks that doom to be expired cause group split
as referenced in #5823   by @hzxa21

We support cancel compaction task after https://github.com/risingwavelabs/risingwave/pull/4496 so we can actually terminate the compaction task earlier proactively when compaction group split happens, instead of doing the check when the compaction task finished. This is an optimization so we can address it later when needed.

Before this PR, they are canceled in report_compact_task().
After this PR, meta can let CN stop those tasks.
Checklist

[x] All checks passed in ./risedev check (or alias, ./risedev c)

Documentation
If your pull request contains user-facing changes, please specify the types of the changes, and create a release note. Otherwise, please feel free to remove this section.
Types of user-facing changes
Please keep the types that apply to your changes, and remove those that do not apply.

Installation and deployment
Connector (sources & sinks)
SQL commands, functions, and operators
RisingWave cluster configuration changes
Other (please specify in the release note below)

Release note
Please create a release note for your changes. In the release note, focus on the impact on users, and mention the environment or conditions where the impact may occur.
Refer to a related PR or issue link (optional)

ready for review now :-)


zigpy_deconz error in 0.88.1 - line 76, in request     assert sequence not in self._pending

Intel NUC / Ubuntu 18.04 / Docker (Current) and Home Assistant 0.88.1
Conbee USB using ZHA natively, not the deConz add on. Conbee firmware version 0x26300500
Fresh install no previous version
Occasionally this error comes up but all appears to function though maybe one of my sensors isn't reporting immediately all the time I have not verified. I only have 3 Samjin (SmartThings) Motion/Temp sensors integrated so far.
Traceback:
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/zigpy_deconz/zigbee/application.py", line 76, in request
assert sequence not in self._pending
AssertionError

@damarco is this: https://github.com/zigpy/zigpy-deconz/pull/20 for this issue?

Yes. This is duplicate of https://github.com/zigpy/zigpy-deconz/issues/10
May be should close this one and redirect to https://github.com/zigpy/zigpy-deconz/issues/10 to keeps things in one place.

Closing. Please use the issue mentioned above for tracking purposes.


When selecting ONAP in v2 console, message "EasyCLA is not enabled"

Summary
When selecting the project ONAP under the LF Networking Fund group, the message "EasyCLA is not enabled for this project please work with the project manager to get EasyCLA enabled" appears.
ONAP is in the projects-cla-groups table with what appears to be the correct information:
{
"cla_group_id": "b71c469a-55e7-492c-9235-fd30b31da2aa",
"cla_group_name": "ONAP",
"date_created": "2020-10-13T17:48:00.539321+0000",
"date_modified": "2021-01-20T15:52:26.990694+0000",
"foundation_name": "LF Networking",
"foundation_sfid": "a094100000aErheAAC",
"note": "Added mapping as part of a database migration on: 2020-10-14 00:49:07.292277",
"project_name": "Open Networking Automation Platform",
"project_sfid": "a092M00001IV4BoQAL",
"repositories_count": 0,
"version": "v1"
}
This is the only project which shows this error when selected.

Resolved. Closing ticket.


Implement Dot Density Analysis

Design in https://github.com/CartoDB/design/issues/115

This is very useful when calculating dummy datasets for usecases. @javisantana @rochoa could we try to prioritize this?

what are the usecases that this "analysis" covers?

creating dummy data based on population - or any other column- distribution as an internal tool is the first one as commented above.

Dont be troll

Ok, let's discuss this one a little bit. As I understand the analysis creates a random set of points within a polygon based on column, some questions:

how do we avoid going too far with the number of points (the UI sets 1 points per XX of that attribute)

If we don't have a mínimum amount of points the sampling is not useful and results totally misleading, so how do we avoid that?

I think the sampling function has some issues:

the sampling being done by the function is linear but it should not be (we are using non projected geometry)
not sure if that works with polygons with holes check select st_makeline(st_linemerge('MULTILINESTRING((0 0, 1 1), (2 2, 3 3))'));

does not make more sense to have this analysis when we have more than one column? with one single column a choropleth should be more effective.

how do we avoid going too far with the number of points (the UI sets 1 points per XX of that attribute)
I think that we can do this in one of two ways.  In camshaft we can do a quick summation over the geometries and counts to check to see if its under a given threshold. Or we can do it on a per geometry basis. No geometry can have more than x number of points.
if we don't have a mínimum amount of points the sampling is not useful and results totally misleading, so how do we avoid that?
I think we take care of that in the messaging around the method. Many of the analysis we are producing will need some awareness by the user to use them correctly (Moran I for example) so I think we  make it as clear as possible that this method is primarily for visualization and works best when there is a large number of points form different categories.
Though with dasymetric dot density I think there is a good case for using this as real analysis to resample on different overlapping geometries but thats a separate thread.
the sampling being done by the function is linear but it should not be (we are using non projected geometry as we use 4326)
Yeah we should fix this. For small geometries like we have been using up to now this hasn't been too much of an issue but it should be easy enough to fix.
not sure if that works with polygons with holes check select st_makeline(st_linemerge('MULTILINESTRING((0 0, 1 1), (2 2, 3 3))')); fails
That makes sense, this version was an attempt by me to make this faster than the original version which just generates a random point on the polygons bounding box and then rejects it if its out with the original polygon and accepts it if not. Happy to go back to that way of doing things and apply a few other optimizations to it that Paul Ramsey suggested.

let's tackle those issues right now (specially the holes thing) because that's going to hit very soon

Will take a look first thing tomorrow morning, should be a quick fix.


Can you release the perfoemance on 13 OdinW datasets like GLIP?

I have used the checkpoint "end-to-end-stage" released on other dataset. and my result is this:
Average Precision  (AP) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = 0.012
 Average Precision  (AP) @[ IoU=0.50      | area=   all | maxDets=1000 ] = 0.025
 Average Precision  (AP) @[ IoU=0.75      | area=   all | maxDets=1000 ] = 0.011
 Average Precision  (AP) @[ IoU=0.50:0.95 | area= small | maxDets=1000 ] = -1.000
 Average Precision  (AP) @[ IoU=0.50:0.95 | area=medium | maxDets=1000 ] = 0.000
 Average Precision  (AP) @[ IoU=0.50:0.95 | area= large | maxDets=1000 ] = 0.015
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = 0.513
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=300 ] = 0.513
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=1000 ] = 0.513
 Average Recall     (AR) @[ IoU=0.50:0.95 | area= small | maxDets=1000 ] = -1.000
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=medium | maxDets=1000 ] = 0.000
 Average Recall     (AR) @[ IoU=0.50:0.95 | area= large | maxDets=1000 ] = 0.513
OrderedDict([('bbox_mAP', 0.012), ('bbox_mAP_50', 0.025), ('bbox_mAP_75', 0.011), ('bbox_mAP_s', -1.0), ('bbox_mAP_m', 0.0), ('bbox_mAP_l', 0.015), ('bbox_mAP_copypaste', '0.012 0.025 0.011 -1.000 0.000 0.015')])

i want to know whether the code is erro or the result is really bad. Or can you release the code inference on OdinW datasets?

I have used the checkpoint "end-to-end-stage" released on other dataset. and my result is this:
Average Precision  (AP) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = 0.012
 Average Precision  (AP) @[ IoU=0.50      | area=   all | maxDets=1000 ] = 0.025
 Average Precision  (AP) @[ IoU=0.75      | area=   all | maxDets=1000 ] = 0.011
 Average Precision  (AP) @[ IoU=0.50:0.95 | area= small | maxDets=1000 ] = -1.000
 Average Precision  (AP) @[ IoU=0.50:0.95 | area=medium | maxDets=1000 ] = 0.000
 Average Precision  (AP) @[ IoU=0.50:0.95 | area= large | maxDets=1000 ] = 0.015
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = 0.513
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=300 ] = 0.513
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=1000 ] = 0.513
 Average Recall     (AR) @[ IoU=0.50:0.95 | area= small | maxDets=1000 ] = -1.000
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=medium | maxDets=1000 ] = 0.000
 Average Recall     (AR) @[ IoU=0.50:0.95 | area= large | maxDets=1000 ] = 0.513
OrderedDict([('bbox_mAP', 0.012), ('bbox_mAP_50', 0.025), ('bbox_mAP_75', 0.011), ('bbox_mAP_s', -1.0), ('bbox_mAP_m', 0.0), ('bbox_mAP_l', 0.015), ('bbox_mAP_copypaste', '0.012 0.025 0.011 -1.000 0.000 0.015')])

i want to know whether the code is erro or the result is really bad. Or can you release the code inference on OdinW datasets?
Excuse me, have you solved your problem?

I have used the checkpoint "end-to-end-stage" released on other dataset. and my result is this:
Average Precision  (AP) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = 0.012
 Average Precision  (AP) @[ IoU=0.50      | area=   all | maxDets=1000 ] = 0.025
 Average Precision  (AP) @[ IoU=0.75      | area=   all | maxDets=1000 ] = 0.011
 Average Precision  (AP) @[ IoU=0.50:0.95 | area= small | maxDets=1000 ] = -1.000
 Average Precision  (AP) @[ IoU=0.50:0.95 | area=medium | maxDets=1000 ] = 0.000
 Average Precision  (AP) @[ IoU=0.50:0.95 | area= large | maxDets=1000 ] = 0.015
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = 0.513
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=300 ] = 0.513
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=1000 ] = 0.513
 Average Recall     (AR) @[ IoU=0.50:0.95 | area= small | maxDets=1000 ] = -1.000
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=medium | maxDets=1000 ] = 0.000
 Average Recall     (AR) @[ IoU=0.50:0.95 | area= large | maxDets=1000 ] = 0.513
OrderedDict([('bbox_mAP', 0.012), ('bbox_mAP_50', 0.025), ('bbox_mAP_75', 0.011), ('bbox_mAP_s', -1.0), ('bbox_mAP_m', 0.0), ('bbox_mAP_l', 0.015), ('bbox_mAP_copypaste', '0.012 0.025 0.011 -1.000 0.000 0.015')])

i want to know whether the code is erro or the result is really bad. Or can you release the code inference on OdinW datasets?

Excuse me, have you solved your problem?

I have changed my dataset and test again, then I get a normal result.

I have changed my dataset and test again, then I get a normal result.

Thanks your reply!!1. What is the meaning of changing the data set, modifying the validation set part?2、When you have -1 your loss  is normally decreasing and converging, right?

I changed all dataset ,contains train set and val set.
I just have made a zero-shot on other dataset, so I haven't train the model.
if you can't solve the problem,  I think you can change your dataset have a test. I remember the documents of mmdet have explain why -1 happend.  you can read it.
I see, Thank you! but I don't know where the mmdet's explain.I have checked the comments section on mmdet's github and searched in mmdet's manual

I cann't find the link, but I remebered that there is some problem with your dataset if mAP=-1

I cann't find the link, but I remebered that there is some problem with your dataset if mAP=-1

thanks your reply,I across change the iou_threshold=None in coco.py to slove this problem.(thank you again~)


Fix install_ruby_tools.sh issues

Disable Spring for the vagrant user so it doesn't interfere with the use of the Rails console. See https://github.com/dpla/automation/commit/fa0e9b3e19da5b50ff5fef0a891600bfa41213dd
Set rbenv global so it's always correct whenever you do vagrant ssh.

:rocket:


Anil Panda Test Issue - I am Learning

[ ] This is a test issue and I am learning. Taking my first baby steps

Ok, now the issue is resolved. I can close the damn thing

Closing the issue as there is no more new comments.


[New Model]: Asepct Model to Handle Parquet Files

Model Description
A semantic description is needed, which describes the content of an parquet file and therefore parquet files need a proper reference for a data consumer to "interpret" such a file.
In addition the description of a submodel descriptior in an Asset Administration Shell should be given, with respect to
"interface" (https://admin-shell-io.github.io/aas-specs-antora/IDTA-01002/v3.1/specification/interfaces-payload.html#_endpoint),
"semanticId".
Relevant Standards

Example Data

Child of Feature: https://github.com/eclipse-tractusx/sig-release/issues/721
linked to: https://github.com/eclipse-tractusx/eclipse-tractusx.github.io/issues/942

The outcome of definition of submodelDescriptors is in issue:
https://github.com/eclipse-tractusx/eclipse-tractusx.github.io/issues/942


bump vitessce-python: Change argument order

The add_view signature changed with https://github.com/vitessce/vitessce-python/pull/115, but everything else seems to work after the upgrade.

huh... so I'm getting test failures locally now. I don't think that should block this, but there might be complications.

good with john!


Feature/codecov

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@6f9c869). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             master    #30   +/-   ##
=======================================
  Coverage          ?   100%
=======================================
  Files             ?      1
  Lines             ?      6
  Branches          ?      0
=======================================
  Hits              ?      6
  Misses            ?      0
  Partials          ?      0

Continue to review full report at Codecov.

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

Coverage remained the same at 100.0% when pulling 28902daa6284c55242a8ab52d90c80f17059220c on feature/codecov into 6f9c869bb5d8939041247b9aa8115165370181c5 on master.

Coverage remained the same at 100.0% when pulling 28902daa6284c55242a8ab52d90c80f17059220c on feature/codecov into 6f9c869bb5d8939041247b9aa8115165370181c5 on master.

Coverage remained the same at 100.0% when pulling 28902daa6284c55242a8ab52d90c80f17059220c on feature/codecov into 6f9c869bb5d8939041247b9aa8115165370181c5 on master.

Coverage remained the same at 100.0% when pulling 28902daa6284c55242a8ab52d90c80f17059220c on feature/codecov into 6f9c869bb5d8939041247b9aa8115165370181c5 on master.


pangram: Add case-insensitive test

see #266

@behrtam Here also a more descriptive commit message would be really helpful.

I think there's a better description than that, I just don't know what it is right now.

Any new ideas or someone else?

No new ideas, "upper and lower case versions of the same character should not be counted separately" is the best I have for now.

+1 to "upper and lower case versions of the same character should not be counted separately"; it's a little verbose, but perfectly clear.

Perfect, thanks both of you. Than I guess we are good to go.

Thanks @behrtam :heart:


Adding reposync command

@tbielawa @jupierce This is one half of the task of syncing repos. It will sync the entire repo set used by any OCP version to a given local directory. From there the rest of the tasks should be all jenkins-side to sync that up to use-mirror.
Note:

I used the -n option which only syncs the newest version of a package in the repo
I used --delete so that it should clear out old packages when resynced
The above are meant to be used such that the local sync dir is never deleted between syncs to speed up subsequent sync tasks.
Currently, for 4.0, this results in 24GB and 19,000 packages.

/lgtm


Helloc profile

Please make sure to check the following boxes creating your pull request, thank you very much!

[ ] Add Blog Header, including title, author, image, categories, tags, etc.
For example:
---
title: Your Great Blog Title
author: your_github_id
categories: project
tags:
  - python
  - padlocal
image: /assets/2021/02-your-blog-slug/teaser.jpg
---

One line bio

Your blog post content Your blog post content
Your blog post content Your blog post content
Your blog post content Your blog post content

It will be easier to start drafting your post by using a existing post file as your template, for example, this one

[ ] Keep all filenames lowercase, and use - to connect words instead of space. e.g. 2017-10-06-wechat-pc-impactor.md instead of 2017-10-06-WeChat PC Impactor.md

[ ] Embed video/pdf from YouTube/Bilibili/local (if there's any) by using {% include iframe.html src="URL_or_PATH" %}. (Learn more about how to embed file/url in the post by reading this blog post

[ ] Save photo to local before publishing, to a folder named by ${MONTH}-${YOUR_BLOG_SLUG}/ under /assets/2021/ directory.

[ ] Select a beautiful and meaningful teaser image for your blog

[x] Create your contributor profile (if you are a first time contributor)
For excample:

jekyll/_contributors/lijiarui.md

---
name: Jiarui LI (李佳芮)
site: https://lijiarui.github.io
bio: 句子互动创始人 & CEO，微软人工智能最具价值专家 (AI MVP)
avatar: /jekyll/assets/contributors/lijiarui/avatar.png
email<EMAIL_ADDRESS>twitter: https://weibo.com/u/2175505900
---

Here is the example file:

lijiarui.md: https://github.com/wechaty/wechaty.js.org/blob/master/jekyll/_contributors/lijiarui.md
It will shown like this on wechaty website: https://wechaty.js.org/contributors/lijiarui/

To learn more about the contribute guideline, visit: https://wechaty.js.org/docs/contributor-program/

PR: https://github.com/wechaty/python-wechaty/pull/291

It's great to see that your PR has been passed the CI testing!
One more thing: could you please add your PR title (and link to the URL) to your profile so that other developers can learn from it about you more?
Thank you very much.

done


Remove SdbMini

Should be merged after merging https://github.com/rizinorg/rizin/pull/412

I have found another place in Rizin codebase where SdbMini is used

I have found another place in Rizin codebase where SdbMini is used

https://github.com/rizinorg/rizin/pull/443

https://github.com/rizinorg/rizin/pull/443


Python files with trailing whitespace

Hello all, I wrote this small Ruby script that can check files for trailing whitespace and then print the file path and line number where the trailing whitespace occurs.  I ran the script against the python files in this repository and found a list of files with trailing whitespace as seen below.  I did not check every file, but for the ones I did check the trailing whitespace does occur.  PEP 8 -> https://www.python.org/dev/peps/pep-0008/#other-recommendations  says we should avoid trailing whitespace.  Are we interested in getting this whitespace removed ?
tests/operation/testoperation.py: 82
tests/operation/testoperation.py: 96
tests/operation/testoperation.py: 110
tests/operation/testdatashader.py: 277
tests/core/testtree.py: 53
tests/core/testtree.py: 61
tests/core/testtree.py: 77
tests/core/testdimensioned.py: 143
tests/core/data/testbinneddatasets.py: 240
tests/teststreams.py: 411
tests/teststreams.py: 471
tests/element/testgraphelement.py: 93
tests/element/testgraphelement.py: 118
tests/element/testelementconstructors.py: 182
tests/element/teststatselements.py: 95
tests/element/teststatselements.py: 138
tests/plotting/bokeh/testpathplot.py: 59
tests/plotting/bokeh/testlayoutplot.py: 133
tests/plotting/bokeh/testlayoutplot.py: 182
tests/plotting/bokeh/testpointplot.py: 20
tests/plotting/bokeh/testpointplot.py: 130
tests/plotting/bokeh/testpointplot.py: 156
tests/plotting/bokeh/testelementplot.py: 30
tests/plotting/bokeh/testgraphplot.py: 120
tests/plotting/bokeh/testoverlayplot.py: 82
tests/plotting/bokeh/testcallbacks.py: 93
tests/plotting/bokeh/testcallbacks.py: 129
tests/plotting/bokeh/testcallbacks.py: 134
tests/plotting/bokeh/testwidgets.py: 233
tests/plotting/testplotutils.py: 435
examples/gallery/apps/bokeh/gapminder.py: 74
doc/nbpublisher/profile_docs/ipython_notebook_config.py: 33
doc/nbpublisher/profile_docs/ipython_notebook_config.py: 35
doc/nbpublisher/profile_docs/ipython_notebook_config.py: 37
doc/nbpublisher/profile_docs/ipython_notebook_config.py: 79
doc/nbpublisher/profile_docs/ipython_notebook_config.py: 84
doc/nbpublisher/profile_docs/ipython_notebook_config.py: 119
holoviews/operation/datashader.py: 124
holoviews/operation/datashader.py: 687
holoviews/operation/element.py: 447
holoviews/operation/element.py: 582
holoviews/core/spaces.py: 1157
holoviews/core/data/pandas.py: 127
holoviews/core/data/dask.py: 129
holoviews/core/data/xarray.py: 207
holoviews/core/data/xarray.py: 325
holoviews/core/dimension.py: 334
holoviews/element/comparison.py: 498
holoviews/plotting/bokeh/chart.py: 58
holoviews/plotting/bokeh/chart.py: 566
holoviews/plotting/bokeh/path.py: 72
holoviews/plotting/bokeh/path.py: 108
holoviews/plotting/bokeh/path.py: 126
holoviews/plotting/plot.py: 452
holoviews/plotting/util.py: 568
holoviews/plotting/renderer.py: 457
holoviews/plotting/plotly/chart.py: 96
holoviews/plotting/plotly/chart.py: 100
holoviews/plotting/mpl/chart3d.py: 188
holoviews/plotting/mpl/chart.py: 618
holoviews/plotting/mpl/path.py: 14
holoviews/plotting/mpl/path.py: 101
holoviews/plotting/widgets/init.py: 361

Are we interested in getting this whitespace removed ?

Yes! I hate trailing whitespace myself as I have it highlighted in my editor. Thanks for the list of files, I'll go through them and remove that unnecessary whitespace (except in nbpublisher as that isn't actually part of holoviews)


Adds deep link support and interfaces for new device pairing and new thread invites

This is all really close. We could merge it and forge on just knowing that we need to do something about this https://github.com/textileio/textile-mobile/issues/177 now or at some point before the desktop app goes out for testing.

Ah, this relies on the frameworks being generated by https://github.com/textileio/textile-go/pull/158
I didn't update the Android framework because that textile-go PR is still a WIP so we'll update both as soon as it is ready.... not ideal but keeping it moving


App Installation & Uninstallation Process

This is a basic version that has default methods to implement a bigcommerce app
Requirements

PHP
Laravel
MySql Database

Done


Update to Lean nightly-2022-07-06

Name changes in the standard library:

isDelayedAssigned => isMVarDelayedAssigned
getDelayedAssignment? => getDelayedMVarAssignment?

Thanks!!!


[#4554] Don't require a profile for dbt deps and clean commands

resolves #4554
Description
Changing a profile parsing exception from a CompilationException to a ParsingException caused a failure in the code that intended to trap the error.
Switch to not loading the profile when we don't need it, and remove code that incorrectly reported the nature of the error.
Checklist

[x] I have signed the CLA
[x] I have run this code in development and it appears to resolve the stated issue
[x] This PR includes tests, or tests are not required/relevant for this PR
[x] I have updated the CHANGELOG.md and added information about my change

Prior to this pull request for the dbt deps and clean commands we would attempt to load the profile and if it failed would mis-report an error and then proceed with an UnsetProfile. The code would also set 'send_anonymous_usage_stats' to False for cases where the profile failed to load, which meant that for this edge case we had a different default for that attribute. Since we refactored the UserConfig/flags code, having an 'unset' user config no longer makes sense. It also doesn't make a lot of sense to go to extra work to validate profiles (and issue incorrect error messages) when the profile isn't required for the command.
This change simplifies the '_get_rendered_profile' code to use the UnsetProfile directly, and set the user_config separately.


OpenEXR build fails with multiple errors

Hi everyone,
I was trying to build OpenEXR from this repo.
I was able to compile and install IlmBase, but when I try to make OpenEXR there are a few c++ errors, the main one being that ILMTHREAD_NAMESPACE is not defined.
Any pointers on what's wrong? : )
I'm on Centos 7.6, using gcc 7.3.1.
Thanks!
Making all in config
make[1]: Entering directory '/home/users/vvzen/Documents/code/building-stuff/openexr/OpenEXR/config'
make  all-am
make[2]: Entering directory '/home/users/vvzen/Documents/code/building-stuff/openexr/OpenEXR/config'
make[2]: Leaving directory '/home/users/vvzen/Documents/code/building-stuff/openexr/OpenEXR/config'
make[1]: Leaving directory '/home/users/vvzen/Documents/code/building-stuff/openexr/OpenEXR/config'
Making all in IlmImf
make[1]: Entering directory '/home/users/vvzen/Documents/code/building-stuff/openexr/OpenEXR/IlmImf'
g++ -DHAVE_CONFIG_H -I. -I../config -pthread -I/usr/include/OpenEXR -I/usr/include/libdrm   -pthread -I.. -I../config     -pipe -g -O2 -std=c++14 -pthread -MT b44ExpLogTable.o -MD -MP -MF .deps/b44ExpLogTable.Tpo -c -o b44ExpLogTable.o b44ExpLogTable.cpp
mv -f .deps/b44ExpLogTable.Tpo .deps/b44ExpLogTable.Po
/bin/sh ../libtool  --tag=CXX   --mode=link g++ -pipe -g -O2 -std=c++14 -pthread   -o b44ExpLogTable b44ExpLogTable.o -pthread -pthread -lImath -lHalf -lIex -lIexMath -lIlmThread   -lpthread  -pthread
libtool: link: g++ -pipe -g -O2 -std=c++14 -pthread -o b44ExpLogTable b44ExpLogTable.o -pthread -pthread -pthread  -lImath -lHalf -lIex -lIexMath -lIlmThread -lpthread -pthread
./b44ExpLogTable > b44ExpLogTable.h
g++ -DHAVE_CONFIG_H -I. -I../config -pthread -I/usr/include/OpenEXR -I/usr/include/libdrm   -pthread -I.. -I../config     -pipe -g -O2 -std=c++14 -pthread -MT dwaLookups.o -MD -MP -MF .deps/dwaLookups.Tpo -c -o dwaLookups.o dwaLookups.cpp
In file included from ./ImfIO.h:45:0,
                 from dwaLookups.cpp:54:
./ImfInt64.h:49:7: error: ‘IMATH_NAMESPACE’ has not been declared
 using IMATH_NAMESPACE::Int64;
       ^~~~~~~~~~~~~~~
./ImfInt64.h:50:7: error: ‘IMATH_NAMESPACE’ has not been declared
 using IMATH_NAMESPACE::SInt64;
       ^~~~~~~~~~~~~~~
In file included from dwaLookups.cpp:54:0:
./ImfIO.h:117:13: error: ‘Int64’ does not name a type; did you mean ‘int64_t’?
     virtual Int64 tellg () = 0;
             ^~~~~
             int64_t
./ImfIO.h:125:25: error: ‘Int64’ has not been declared
     virtual void seekg (Int64 pos) = 0;
                         ^~~~~
./ImfIO.h:191:13: error: ‘Int64’ does not name a type; did you mean ‘int64_t’?
     virtual Int64 tellp () = 0;
             ^~~~~
             int64_t
./ImfIO.h:199:25: error: ‘Int64’ has not been declared
     virtual void seekp (Int64 pos) = 0;
                         ^~~~~
In file included from dwaLookups.cpp:55:0:
./ImfXdr.h: In function ‘void Imf_2_3::Xdr::write(T&, double)’:
./ImfXdr.h:544:12: error: ‘Int64’ does not name a type; did you mean ‘int64_t’?
     union {Int64 i; double d;} u;
            ^~~~~
            int64_t
./ImfXdr.h: In function ‘void Imf_2_3::Xdr::read(T&, double&)’:
./ImfXdr.h:831:12: error: ‘Int64’ does not name a type; did you mean ‘int64_t’?
     union {Int64 i; double d;} u;
            ^~~~~
            int64_t
./ImfXdr.h:833:13: error: ‘Int64’ was not declared in this scope
     u.i = ((Int64) b[0]        & 0x00000000000000ffULL) |
             ^~~~~
./ImfXdr.h:833:13: note: suggested alternative:
In file included from ./ImfInt64.h:44:0,
                 from ./ImfIO.h:45,
                 from dwaLookups.cpp:54:
/usr/include/OpenEXR/ImathInt64.h:53:31: note:   ‘Imath::Int64’
     typedef long unsigned int Int64;
                               ^~~~~
In file included from dwaLookups.cpp:55:0:
./ImfXdr.h:833:20: error: expected ‘)’ before ‘b’
     u.i = ((Int64) b[0]        & 0x00000000000000ffULL) |
                    ^
dwaLookups.cpp: At global scope:
dwaLookups.cpp:65:35: error: ‘ILMTHREAD_NAMESPACE’ has not been declared
             class Runner : public ILMTHREAD_NAMESPACE::Thread
                                   ^~~~~~~~~~~~~~~~~~~
dwaLookups.cpp:65:56: error: expected ‘{’ before ‘Thread’
             class Runner : public ILMTHREAD_NAMESPACE::Thread
                                                        ^~~~~~
dwaLookups.cpp:67:17: error: expected primary-expression before ‘public’
                 public:
                 ^~~~~~
dwaLookups.cpp:67:17: error: expected ‘}’ before ‘public’
dwaLookups.cpp:67:17: error: cannot convert ‘<brace-enclosed initializer list>’ to ‘int’ in initialization
dwaLookups.cpp:67:17: error: expected ‘;’ before ‘public’
dwaLookups.cpp: In function ‘int cpuCount()’:
dwaLookups.cpp:439:10: error: ‘ILMTHREAD_NAMESPACE’ has not been declared
     if (!ILMTHREAD_NAMESPACE::supportsThreads()) return 1;
          ^~~~~~~~~~~~~~~~~~~
dwaLookups.cpp: In function ‘void generateLutHeader()’:
dwaLookups.cpp:495:9: error: ‘ILMTHREAD_NAMESPACE’ has not been declared
     if (ILMTHREAD_NAMESPACE::supportsThreads()) {
         ^~~~~~~~~~~~~~~~~~~
dwaLookups.cpp:498:79: error: invalid use of incomplete type ‘class {anonymous}::LutHeaderWorker::Runner’
             runners.push_back( new LutHeaderWorker::Runner(*workers[i], (i==0)) );
                                                                               ^
dwaLookups.cpp:65:19: note: forward declaration of ‘class {anonymous}::LutHeaderWorker::Runner’
             class Runner : public ILMTHREAD_NAMESPACE::Thread
                   ^~~~~~
dwaLookups.cpp:502:29: warning: possible problem detected in invocation of delete operator: [-Wdelete-incomplete]
             delete runners[i];
                             ^
dwaLookups.cpp:502:29: warning: invalid use of incomplete type ‘class {anonymous}::LutHeaderWorker::Runner’
dwaLookups.cpp:65:19: note: forward declaration of ‘class {anonymous}::LutHeaderWorker::Runner’
             class Runner : public ILMTHREAD_NAMESPACE::Thread
                   ^~~~~~
dwaLookups.cpp:502:29: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined
             delete runners[i];
                             ^
make[1]: *** [Makefile:785: dwaLookups.o] Error 1
make[1]: Leaving directory '/home/users/vvzen/Documents/code/building-stuff/openexr/OpenEXR/IlmImf'
make: *** [Makefile:491: all-recursive] Error 1

Although you've built IlmBase, it appears to be picking up a pre-installed older version (it compiles with -I /usr/include/OpenEXR which is possibly not where you want to install OpenEXR). The other errors are symptoms of failing to pick up a version of IlmBase from OpenEXR-2.0 or later.
It appears that the configure script doesn't confirm the version of IlmBase, which should be fixed.
Was that the location that IlmBase installed into? If you used the 'configure' script and didn't set prefix when compiling IlmBase, try something like env PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure (there should be a file IlmBase.pc inside the folder pointed to by PKG_CONFIG_PATH)

@peterhillman Thanks a lot!
This was the issue, I completely forgot that I previously downloaded and tried to install openexr v2.2.0 and ilmbase 2.3.0 from the website.
env PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure solved it!

Seems to be resolved, so closing.


Peer metrics ledger_transaction_count exported by Prometheus is different from the transaction count in the chaincode

Description
I checked the transaction count via the chaincode or SDK should be like 500, but in the Grafana(from Prometheus), there was only like 350(ledger_transaction_count), less than the number from the chaincode.
And I know there were some transactions with the status MVCC_READ_CONFLICT, but I didn't see them in the Grafana. If you fetch the transactions via chaincode or SDK, it's expected you won't get transactions with the above status. So it's expected the number of transaction count in the Grafana should be greater than the number from the chaincode.
Here are the peer metrics I get from the endpoint /metrics, you can see that the ledger_transaction_count only shows the transactions with validation_code=VALID, it didn't count another transaction status like MVCC_READ_CONFLICT
...
# HELP ledger_transaction_count Number of transactions processed.
# TYPE ledger_transaction_count counter
ledger_transaction_count{chaincode="_lifecycle:syscc",channel="mychannel",transaction_type="ENDORSER_TRANSACTION",validation_code="VALID"} 3
ledger_transaction_count{chaincode="basic:1.0.1",channel="mychannel",transaction_type="ENDORSER_TRANSACTION",validation_code="VALID"} 226
ledger_transaction_count{chaincode="unknown",channel="mychannel",transaction_type="CONFIG",validation_code="VALID"} 3
...

FYI.
Official Metrics doc
https://hyperledger-fabric.readthedocs.io/en/release-2.2/metrics_reference.html

Steps to reproduce

Start the Fabric's services peer, orderer, prothemetus and grafana
Deploy the smart contract
Invoke the chaincode (Could try to invoke the chaincode multiple times at the same time to reproduce transaction status MVCC_READ_CONFLICT)
Check the transaction count in the Grafana and via chaincode or SDK

ledger_transaction_count has a validation flag label associated with it.
If you have two transactions, where one is valid, and one is invalid with MVCC_READ_CONFLICT, you will get two counters incremented, e.g.:
ledger_transaction_count{chaincode="basic:1.0.1",channel="mychannel",transaction_type="ENDORSER_TRANSACTION",validation_code="VALID"} 1
ledger_transaction_count{chaincode="basic:1.0.1",channel="mychannel",transaction_type="ENDORSER_TRANSACTION",validation_code="MVCC_READ_CONFLICT"} 1

This is working as intended.

ledger_transaction_count has a validation flag label associated with it. If you have two transactions, where one is valid, and one is invalid with MVCC_READ_CONFLICT, you will get two counters incremented, e.g.:
ledger_transaction_count{chaincode="basic:1.0.1",channel="mychannel",transaction_type="ENDORSER_TRANSACTION",validation_code="VALID"} 1
ledger_transaction_count{chaincode="basic:1.0.1",channel="mychannel",transaction_type="ENDORSER_TRANSACTION",validation_code="MVCC_READ_CONFLICT"} 1

This is working as intended.

Thanks for your reply.
In my environment, I didn't see the below output, that's quite strange
ledger_transaction_count{chaincode="basic:1.0.1",channel="mychannel",transaction_type="ENDORSER_TRANSACTION",validation_code="MVCC_READ_CONFLICT"} 1
Or does it have any filter parameters when calling the /metrics endpoint?

There is no filter for /metrics endpoint. I tried calling the /metrics endpoint with one valid and one invalid transaction and I get back:
ledger_transaction_count{chaincode="basic:1",channel="mychannel",transaction_type="ENDORSER_TRANSACTION",validation_code="MVCC_READ_CONFLICT"} 1
ledger_transaction_count{chaincode="basic:1",channel="mychannel",transaction_type="ENDORSER_TRANSACTION",validation_code="VALID"} 1

Then anything I can do for the result from the /metrics? cuz now the metrics are not correct and can't be a health index for my application

There is no filter for /metrics endpoint. I tried calling the /metrics endpoint with one valid and one invalid transaction and I get back:
ledger_transaction_count{chaincode="basic:1",channel="mychannel",transaction_type="ENDORSER_TRANSACTION",validation_code="MVCC_READ_CONFLICT"} 1
ledger_transaction_count{chaincode="basic:1",channel="mychannel",transaction_type="ENDORSER_TRANSACTION",validation_code="VALID"} 1

Can I confirm that each transaction, even the transaction's validation code is VALID or MVCC_READ_CONFLICT or other status, it should show from the /metrics, right?

There is no filter for /metrics endpoint. I tried calling the /metrics endpoint with one valid and one invalid transaction and I get back:
ledger_transaction_count{chaincode="basic:1",channel="mychannel",transaction_type="ENDORSER_TRANSACTION",validation_code="MVCC_READ_CONFLICT"} 1
ledger_transaction_count{chaincode="basic:1",channel="mychannel",transaction_type="ENDORSER_TRANSACTION",validation_code="VALID"} 1

Can I confirm that each transaction, even the transaction's validation code is VALID or MVCC_READ_CONFLICT or other status, it should show from the /metrics, right?

I checked the code... for every transaction in a block, regardless of the validation status, will result in a counter increment for ledger_transaction_count with corresponding validation_code label.

There is no filter for /metrics endpoint. I tried calling the /metrics endpoint with one valid and one invalid transaction and I get back:
ledger_transaction_count{chaincode="basic:1",channel="mychannel",transaction_type="ENDORSER_TRANSACTION",validation_code="MVCC_READ_CONFLICT"} 1
ledger_transaction_count{chaincode="basic:1",channel="mychannel",transaction_type="ENDORSER_TRANSACTION",validation_code="VALID"} 1

Can I confirm that each transaction, even the transaction's validation code is VALID or MVCC_READ_CONFLICT or other status, it should show from the /metrics, right?

I checked the code... for every transaction in a block, regardless of the validation status, will result in a counter increment for ledger_transaction_count with corresponding validation_code label.

Thanks for the code checking and could you share where the code is?

There is no filter for /metrics endpoint. I tried calling the /metrics endpoint with one valid and one invalid transaction and I get back:
ledger_transaction_count{chaincode="basic:1",channel="mychannel",transaction_type="ENDORSER_TRANSACTION",validation_code="MVCC_READ_CONFLICT"} 1
ledger_transaction_count{chaincode="basic:1",channel="mychannel",transaction_type="ENDORSER_TRANSACTION",validation_code="VALID"} 1

Can I confirm that each transaction, even the transaction's validation code is VALID or MVCC_READ_CONFLICT or other status, it should show from the /metrics, right?

I checked the code... for every transaction in a block, regardless of the validation status, will result in a counter increment for ledger_transaction_count with corresponding validation_code label.

Thanks for the code checking and could you share where the code is?

The stats update happens as soon as the block is committed:
https://github.com/hyperledger/fabric/blob/main/core/ledger/kvledger/kv_ledger.go#L726
Here's the ultimate counter increment:
https://github.com/hyperledger/fabric/blob/main/core/ledger/kvledger/metrics.go#L69-L74

I believe the explanation above resolves the issue, closing.


Warnings present in Xamarin Android Seed Project

Device Information
IDE: Xamarin Studio
Platform: Android
URL:https://auth0.com/docs/quickstart/native/xamarin
*Description
When the user tries to run the project, there's no readme file specifying for anything to be done before building. So when the user just opens the solution in Xamarin Studio and clicks on Run, 2 warning messages show up.
Screenshot

Please ensure that you use Visual Studio Mac, and not Xamarin Studio


Make changelogs non-translatable

To avoid people wasting their time on old changelogs, make them non-translatable. If it is possible to make the latest one translatable, then do that, otherwise none are translatable.

Not going to implement this, could be useful to see past change versions translated.


Need help related to permissions

Hi Håkan,
I need your help for setting the permissions.
I have  created a new group "General User" using the interface and i wanted to give permissions to it like "ADMIN_SITETREE, ADMIN_PAGE_PUBLISH, ADMIN_CONTENT_PUBLISH, ADMIN_CONTENT, ADMIN_PAGE" only. But when i am trying to add these permissions for this group, it throws an exception "key with the same name already exists."
Please suggest.
Thanks & Regards
Pankaj Gupta

+1


In HTTPServer specification, Port:0 give error, should be Port:nil for kernel assigned ports

Based on comments from @helje5:
Don't do port: 0, should raise an error.
Do port: nil for kernel assigned, or a real port

Based on discussions in #81
@seabaylea :
For 0 vs nil, the trade off is that allowing nil means using an Optional and having to do a whole bunch of nil checks. Rather than supporting 0 for random port (which is wrong as 0 is actually a reserved port), I think the question is whether there's a real need for kernel assigned port.

The kernel assign port is probably useful for testing, but is it required there (or for any other use cases)?

Helge:
Kernel assigned ports are very useful, I use them all the time for plenty of scenarios (backend servers, on-device per-app servers, etc.).
It is more like the other way around - assigned ports are only really useful for front facing servers. And whether Swift will replace Apache/NGINX/your-load-balance-of-choice soon is yet to be seen ;-) I mean,. we don't even have sendfile support (!), so you need something to deliver static resources efficiently anyways.

Just to be clear as this is missing from this issue: I don't care that much whether 0 or nil. But neither should be used, but addresses (which then may have similar issues).

I think we got down to staying with 0 where you're setting point (in the convenience case vs. a full address), because it means we don't have to deal with Optionals and nil checks, and there's precedent with what's done elsewhere (Node.js, Golang, etc).

C programmers are used to using 0 for randomly assigned ports by bind, however I can see why having a 0 might be confusing to a Swift programmer, new to kernel programming.  However, making 0 give errors can be confusing to the C programmer.
I don't think the nil checks are that bad and they don't happen too frequently.
In all, given the changes proposed in #89 , this issue probably won't get us very much, so I propose we close it.

Closing based on the above discussions.

Referencing relevant comment from #81 :
https://github.com/swift-server/http/pull/81#issuecomment-343612743


Fix / work around a couple of new clippy 1.75 warnings

@GuillaumeGomez Any idea what's with https://github.com/gtk-rs/gtk-rs-core/actions/runs/7300850123/job/19896312494?pr=1254 ? This fails regularly now since recently.

Absolutely no idea. :-/


Add support for dynamic shapes in IREE on Linalg on tensors.

This revision pipes dynamic shapes through IREE on tensors all the way to LLVM.
Peculiarities of TieShapeOp require some genuflexions to traverse IR and recover proper
indices for the memref shapes in bufferization.
This creates an asymmetry that it would be welcome to remove in the future, once we have core support for ranked shapes types and subshape operations as discussed in
https://llvm.discourse.group/t/linalg-and-shapes/2421.
PiperOrigin-RevId: 350429972

Sending this a little early as I have some "off by one" issue around the view / subview that makes the result shifted to the left (i.e. leading values missing, some trailing values set to zero and possible memory stomping).
Still the impl. is close to finished so I can benefit from a review and maybe other pairs of eyes to see where I am off.

Sending this a little early as I have some "off by one" issue around the view / subview that makes the result shifted to the left (i.e. leading values missing, some trailing values set to zero and possible memory stomping).
Still the impl. is close to finished so I can benefit from a review and maybe other pairs of eyes to see where I am off.


updates to symmetric entrainment  function, remove sort(a) from rd, reasonable set of parameters

In this pull I removed the sqrt(a) that was multiplying rd ( this requires changes in the parameters).
I also changed the entrainment / detrainment rate to be symmetric with respect to up and down motions and added a ql flag that prevents detrainment in dry conditions.
I re-adjusted the parameters to give reasonable results with significant improvements in DyCOMS.
I included the various relevant comments from the previous pull that I canceled.

Now the physical meaning of rd in the code is not plume_spacing anymore. To me it looks like a characteristic length for the updraft horizontal scale. I suggest to change the name plume_spacing to something else and make 0.13 a tunable value in the paramlist.

Now the physical meaning of rd in the code is not plume_spacing anymore. To me it looks like a characteristic length for the updraft horizontal scale. I suggest to change the name plume_spacing to something else and make 0.13 a tunable value in the paramlist.

Sounds good to me. Remeber to also change it in plotting scripts. I think we plot it in 1D timeseries plots


Unknown database type "point" requested

I have a column called "coordinates" and it has the type "point". The library is crashing

[Doctrine\DBAL\DBALException]
Unknown database type point requested, Doctrine\DBAL\Platforms\MySQL57Platf
orm may not support it.

Same problemi @aconital have you managed to solve the issue?

@aconital I've solved the issue using laravel grimzy/laravel-mysql-spatial:^1.0 package.
For Laravel 5.6+ just use:
composer require grimzy/laravel-mysql-spatial:^1.0
And regenerate migration, good to go

@keremcankaya0 thanks will try

@aconital ah one last thing after you require the package and create the migrations, you'll see that the package is no longer throwing exception however still not using the correct field in the migration file. Just manually change that to according to your needs(poing, geometry etc) and try migration refresh, thats all

For Laravel 5.7 and postgresql:
composer require phaza/laravel-postgis


move osm metrics enable/disable to osm namespace command

Should the metrics enable/disable functionality be flags on the osm namespace command rather than their own parent command? You can enable/disable metrics on a namespace, so it is related to namespace management.
cc/ @eduser25

@michelleN it was done this way for the following reasons:

Because it made sense to have all metrics related commands consolidated under the osm metrics subcommand
Because there were also inquiries to enable metrics on a per pod basis

To support 2, if we moved metrics under the namespace command we would need to create another command just for pods, ex. osm pod enable-metrics --pod <name>?
I think it might make sense for metrics to be its own subcommand just because this will very likely be extended in the future to expose other metrics-related functionality.
Something like osm namsepace enable-metrics foo also looks okay, just that my preference would be to house all metrics related CLI commands under osm metrics ...

gotchya the per pod metrics scenario seems like a good justification for keeping it in a separate command. thankss


Refresh view call without a viewSelector?

This is more of a general question.  I reviewed the code but don't see where I can do this.  If I'm changing viewIDs myself and not using a viewSelector, is there a call to the controller or service that will ensure that the charts will refresh?  Just changing the viewIDs in the chart JSON does not appear to do it.

This is not implemented, yet.
But a work around:
Destroy the DOM-Elements and rebuild them with the new viewID.
For that you can use ng-if.
Something like that:
Your init viewId
$scope.query = {... ids: 'ga:81197147', ...};
Now you want to change the id -> set a flag or reset our $scope.query
in your template you have something like that on your chart or report:
.... ng-if="$scope.query"
This will cause, that the elements will be removed from the dom
And after that you can set your $scope.query again with new ids.
Hope that helps and works ^^

closed because of the good working workaround and very less interest^^


Add SQL Alchemy for SQL statements

Is your feature request related to a problem? Please describe.
Right now, we are using raw SQL for statements in ocean_lib/data_store/auth_tokens.py. This is flagged as a potential security risk, via SQL injection.
Describe the solution you'd like
We should move to using Flask SQL Alchemy instead.
Describe alternatives you've considered
A similar solution already exists in the provider repository.

kill it

Done, but blocked by deprecating fake OCEAN.


notebook for exploring dataset

crawl file system
count files per label
total, avg sample length for each label

also record sample rate; if we have to downsample too much, that could be a disqualifier


Created new job wrapper script for Python3 environment

Fixes #10641
Status
ready
Description
This PR adds a new job wrapper script to be used for Py3 WMAgents, such that we load the correct python3 and py3-future libraries during runtime in the worker node.
If the job is requesting for slc6_* ScramArch, we do not have our own COMP packages deployed in CVMFS, but a symlink that Shahzad created to some specific CMSSW version. More info at: https://github.com/dmwm/WMCore/issues/10642
Note that the job wrapper is exactly the same as submit.sh, only difference is regarding the python and future libraries that we source.
Is it backward compatible (if not, which system it affects?)
NO (meant to only be used in Py3 WMAgent (and T0 agent, in the future)
Related PRs
None
External dependencies / deployment changes
None

This has been tested with a Py3 WMAgent (1.5.2.pre1) and things seem to be working properly. Any comments or concerns are welcome at any time though.


Fix SV inheritance logic using slivar

This is a different approach at solving #4 (compared to #35) that uses brentp/slivar to handle filtering by inheritance for structural variants.
Advantage:

since both small variants and structural variants are tagged by slivar expr, we can use slivar compound-hets not only to look for compound-hets within a variant type (e.g., two SNVs), but also between variant types (e.g., SNV and inversion)

Disadvantage:

compared to #4, this approach is far more trusting of the genotype output of pbsv

I use a custom version of slivar-functions.js with all references to sample.GQ and config.min_GQ removed, but config.min_DP and all references to sample.AB are unchanged.  We may want to adjust these thresholds.  Also, all BNDs seem to be included in the compound-het output, and I'm not yet sure why.

I did not follow all the details, but the updated slivar logic for trios looks good to me.

Also, all BNDs seem to be included in the compound-het output, and I'm not yet sure why.
If you are testing on older pbsv files it might be that interchromosomal BNDs are written twice (e.g. for a chr2/chr6, the chr2 endpoint will be output both by the pbsv call -r chr2 and pbsv call -r chr6)

I did not follow all the details, but the updated slivar logic for trios looks good to me.

Also, all BNDs seem to be included in the compound-het output, and I'm not yet sure why.
If you are testing on older pbsv files it might be that interchromosomal BNDs are written twice (e.g. for a chr2/chr6, the chr2 endpoint will be output both by the pbsv call -r chr2 and pbsv call -r chr6)

Next week I'll clean up the output path names and get this into a state for review.  I'll produce some examples too.

Next week I'll clean up the output path names and get this into a state for review.  I'll produce some examples too.


Wrong grafana dashboard query

Spegel version
v0.0.24
Kubernetes distribution
Kubeadm
Kubernetes version
1.28
CNI
Calico
Describe the bug
monitoring/grafana-dashboard.json line 401
 "expr": "max(rate(http_request_duration_seconds_bucket{job=\"spegel\"})) [$__interval]"

The $__intreval variable is not defined and range should be inside rate
 "expr": "max(rate(http_request_duration_seconds_bucket{job=\"spegel\"}[$__interval]))"

I am happy to take contributions if you want to fix this problem. I am currently not using the Grafana dashboard myself so I rely on the community to fix any potential problems.


Program no longer works?

Hi! I don't really know how to make a proper GitHub issue, but when trying to use the program, these just get spammed in the console it opens up:
(node:22036) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:23824) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open 'C:\Users\MYUSERNAME\Appdata\Local\osu!\Songs\143397 Natsume Chiaki - Hanairo Biyori\[bold:0,size:20]なつめ千秋 花色日和'
The gif never gets synced up to the music. Is this a problem on my end or does this need fixing on the developer end?

Thanks for the report! Sometimes that happens when the game updates. If you could grab the new .exe here and replace it in the folder

Thanks! Works perfectly now!


Installation of proprietary software

Issue description
Maybe it's very silly question, but I can't handle it myself.
I'm trying to install ANSYS at my laptop. If just run INSTALL script, it says, that can't find df.
I tried to create FHS environment using example for Android from Wiki (https://nixos.org/wiki/FHS_environments), but installer can't see any software installed at /bin and /usr/bin.
Tried to provide PATH to /usr/bin, but it didn't help.
Technical details

System: NixOS: 17.03pre99759.f66d782 (Gorilla)
Nix version: 1.11.6
Nixpkgs version: (run nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion)

Try using steam-run -- it gives fairly close environment to the one used by Steam for games which is often also good enough for various proprietary applications. Install it:
environment.systemPackages = [ (steam.override { nativeOnly = true; newStdcpp = true; }).run ];

, where nativeOnly sets it to use native NixOS libraries instead of pre-built Steam ones, and newStdcpp pulls new C++ ABI. Use:
> steam-run ./proprietary-binary

@abbradar Thanks! Seems, that everything works properly.

@frigatefreedom Could you please describe in more detail how you managed to install ANSYS?
I manage to start their InstallShield, but cannot proceed further - it complains that it cannot find JRE.
This is what I do:
steam-run bash
ANS_IGNOREOS=true JAVA_HOME=/usr/lib/openjdk ./install -is:javahome /usr/libopenjdk/
My relevant piece of configuration.nix:
environment.systemPackages = with pkgs; [     (steam.override {     nativeOnly = true;     extraPkgs = pkgs: [ bc openjdk xpdf ];     }).run ]


micro-core Javadoc link on readme is broken

http://www.javadoc.io/doc/com.aol.microservices/micro-core/0.62
Gives a "The connection was reset" error in place of the actual docs.

This looks to be resolved now.


Please add a CHANGELOG file

Now the version is updated almost daily... I will check how to process documents efficiently.
But is it really necessary?:sweat_smile: currently has very few users, and I think there are almost no users who watch CHANGELOG.

No description provided.

Hey I think in the readme, there is some info about the features with ref to their versions! It's not much but manageable for a fast-moving project!

We have a CHANGELOG now!
I will add the old version changes when I have time. (also welcome pr for that. XD)


Reusing karate feature file in JMeter-as-code

Lately started using Karate(https://github.com/karatelabs/karate) which essentially has the feature file written in gherkin format. I use it for API automation testing which is basically easier when written in a simpler English format.
Just a thought/idea: By any chance can we reuse the feature file for performance testing using JMeter-as-code?
Note: They(i.e Karate) have already implemented Gatling for performance testing.

Hello @bitlin
Thanks for the idea, I don't use Karate, I will check and give you a detailed answer later (~1 week).
Best regards


Create Dockerfile receipt

Use some Docker Ionic image as base and ensure that works with version 1.7

Done.


How to play the stream wav file multiple times on demand?

Hey guys, following the example below:
var fs = require('fs');
var wav = require('wav');
var Speaker = require('speaker');

var file = fs.createReadStream('track01.wav');
var reader = new wav.Reader();

// the "format" event gets emitted at the end of the WAVE header
reader.on('format', function (format) {

  // the WAVE header is stripped from the output of the reader
  reader.pipe(new Speaker(format));
});

// pipe the WAVE file to the Reader instance
file.pipe(reader);

How could I call file.pipe(reader) multiple times in order to play the same ding.wav sound over and over again as needed without memory leak (adding more emit listeners)?
Could you give me some examples triggering the .wav file on a separate function on demand?
Thank you for the help! Appreciate it!
Awesome job on this library by the way! :)

Hey!
Unfortunately, this question falls outside the scope of this module, I would recommend posting to StackOverflow.
Good luck!