[Bug]: RivaTuner Statistics Server / rtss - not persisting all user configs

Prerequisites

[X] I have written a descriptive issue title.
[X] I have searched all issues/PRs to ensure it has not already been reported or fixed.
[X] I have verified that I am using the latest version of Scoop and corresponding bucket.

Package Name
rtss
Expected/Current Behaviour
"Regular" RTSS keeps these folders and files on uninstall because they contain user-made changes:

\Profiles
\Plugins\Client*.cfg
\Plugins\Client\Overlays*.ovl

scoop package only persists this folder:

\scoop\persist\rtss\Profiles
\scoop\persist\rtss\Plugins\Client\Overlays

Note that \Plugins\Client\*.cfg are missing. This means that any plugin configurations added or configured by user will be reset on update & deleted on cleanup.
It would be expected to at least persist files in this manner:
\Plugins\Client\*.cfg
Steps to Reproduce
scoop install rtss

Open RTSS and enable and configure plugins offered, eg I've added and enabled custom overlay and hotkey to toggle it.

When new version is released:
scoop update rtss

Customizations will be gone.

Possible Solution
This is related to the issue I've just reported for MSI Afterburner ( https://github.com/ScoopInstaller/Extras/issues/9788 )
Either persist files \Plugins\Client\*.cfg or add a Note for user to move the files manually before cleanup deletes them.
Scoop and Buckets Version
Current Scoop version:
v0.3.1 - Released at 2022-11-15

'extras' bucket:
b4ebfb2dc (HEAD -> master, origin/master, origin/HEAD) jackett: Update to version 0.20.2267

'java' bucket:
fec2bd1a (HEAD -> master, origin/master, origin/HEAD) temurin8-nightly-jre: Update to version 8.0.362-3.0.202211181811

'main' bucket:
e13981012 (HEAD -> master, origin/master, origin/HEAD) tflint: Update to version 0.43.0

Scoop Config
last_update          scoop_repo                              scoop_branch
-----------          ----------                              ------------
19.11.2022. 16:05:54 https://github.com/ScoopInstaller/Scoop master

PowerShell Version
Name                           Value
----                           -----
PSVersion                      7.3.0
PSEdition                      Core
GitCommitId                    7.3.0
OS                             Microsoft Windows 10.0.22621
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Additional Softwares
No response

@luxzg Do you mind sharing the names of the files you want persisted from the \Plugins\Client\ folder?

Not at all.
After I've uninstalled RTSS (choosing to KEEP user files during uninstall) I was left with 2 files in my \Plugins\Client\ folder:
HotkeyHandler.cfg
OverlayEditor.cfg

As the name says HotkeyHandler keeps settings about hotkeys setup in RTSS Settings, while OverlayEditor keeps settings about the current Overlay in use.
As is scoop seems to keep overlay configuration (designs) in \scoop\persist\rtss\Plugins\Client\Overlays but overlay wouldn't be applied if the overlay name in use is named differently and thus not expected by RTSS defaults.
I've just realized that it is possible that I could be wrong because this was my first install through scoop, and default install doesn't have these files (created only after settings are selected and applied), but json seems to be confirming what I'm seeing:
"persist": [
        "Plugins\\Client\\Overlays",
        "Profiles"
    ],

In my case it would need two more files at least:
Plugins\\Client\\HotkeyHandler.cfg,
Plugins\\Client\\OverlayEditor.cfg

I'll post here results of rtss_fixed install:
PS C:\Users\lux_z> scoop install rtss_fixed
Installing 'rtss_fixed' (7.3.3) [64bit] from MyScoop bucket
%5BGuru3D.com%5D-RTSS.zip (22,6 MB) [=============================================] 100%
Checking hash of %5BGuru3D.com%5D-RTSS.zip ... ok.
Extracting %5BGuru3D.com%5D-RTSS.zip ... done.
Running pre_install script...
MethodInvocationException: C:\Users\lux_z\scoop\apps\scoop\current\lib\install.ps1:1037
Line |
1037 |          Invoke-Command ([scriptblock]::Create($script -join "`r`n"))
     |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Exception calling "Create" with "1" argument(s): "At line:5 char:59 +
     | 'HotkeyHandler.cfg', 'OverlayEditor.cfg' | ForEach-Object {if (!(Test … +
     | ~ Missing closing '}' in statement block or type definition.  At line:5 char:157 + …
     | \Plugins\Client\$_")) {New-Item "$dir\Plugins\Client\$_" | Out-Null}) +
     | ~ Unexpected token ')' in expression or statement."
Linking ~\scoop\apps\rtss_fixed\current => ~\scoop\apps\rtss_fixed\7.3.3
Creating shim for 'RTSS'.
Remove-Item: C:\Users\lux_z\scoop\apps\scoop\current\lib\core.ps1:692
Line |
 692 |              Remove-Item -Path "$shim.$path_app" -Force -ErrorAction S …
     |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | An object at the specified path C:\Users\lux_z\scoop\shims\rtss.shim. does not exist.
WARN  Overwriting shim ('rtss.exe' -> 'RTSS.exe') installed from rtss
Creating shortcut for RivaTuner Statistics Server (RTSS.exe) failed: Couldn't find C:\Users\lux_z\scoop\apps\rtss_fixed\current\RTSS.exe
Persisting Plugins\Client\Overlays
Persisting Profiles
Persisting Plugins\Client\HotkeyHandler.cfg
Persisting Plugins\Client\OverlayEditor.cfg
Running post_install script...
'rtss_fixed' (7.3.3) was installed successfully!

Observations:

scoop\persist\rtss_fixed\Plugins\Client\HotkeyHandler.cfg is persisted but it looks like a folder
scoop\persist\rtss_fixed\Plugins\Client\OverlayEditor.cfg is persisted but it looks like a folder
in the apps folder I have RTSSSetup733.exe seems it did not expand/extract properly
tried with sudo but same error and result

Thank you, I'll will fix this as soon as I can.

@luxzg Try uninstalling rtss_fixed with this command:
scoop uninstall rtss_fixed -p

Then update scoop:
scoop update

Afterwards, reinstall rtss_fixed
scoop install rtss_fixed

scoop install rtss_fixed
Install was success.
I see two files in persist folder, empty files.
Opened app, settings, enabled two settings, set one hotkey.
scoop uninstall rtss_fixed without p
Files still persisting
scoop install rtss_fixed
running RTSS.exe, checking settings, everything remembered.
Thank you, I think it's ready! You've been great! :)


Create a test port of Fulcro Inspect

It does not need to be very full-featured yet...just enough to see a bit of what is going on.

Inspect is working


Create JSON Schema for basis of request and repsonse

Given my proposal seems to have been boradly accepted, and work to merge it in has already begun, it clear (to me) that JSON Schema documents are required to formally define some aspects of the JSON structure.
My intension is for these to be mainly informative, and not assume that all implementers will use the schemas, but they SHOULD use the schemas where possible.
This issue sets out to achive the following:

[x] Create a base request and response JSON Schema
[x] Use references to modularise parts of the schema
[x] Separate components into individual files

My expectations are to have a PR ready by 2018/08/16 at the latest, which is roughly two and a half working weeks.

I have created the base schema files and a few example components.
https://github.com/Relequestual/ga4gh-discovery-search-api/tree/json-schema
I'll make a PR shortly. I'll later add a readme.md.
The source for these are in in YAML.
Run npm install followed by npm run yaml2json to conver the YAML files to JSON, if you find JSON easier to read. YAML supports multi line content, which makes comments and descriptions easier to read.
I'll be adding some npm run commands to compile the request and response schemas to transclude any use of $ref, resulting in a single request and response JSON file, but these should not be edited. Humans should read YAML, machines should read the compiled (and possibly transcluded) JSON.
@harindra-a @fschiettecatte Hopefully this adequately demonstrates the component based JSON system. If you're not familiar or rusty with JSON Schema, let me know if you have any especific questions.
(One specific immdiate comment, the URLs used in $id fields are for identifiers only, and are not required to be network accessible.)

Left to do:

[ ] Add readme to explain content
[ ] Explain how to build inc expectations
[ ] Explain file structure
[ ] Explain how to update files
[ ] Explain how to add new components
[ ] Add CI to validate schemas are valid

Stretch goals:

[ ] Add build script to compile single equest and response schema

@Relequestual What are your thoughts on the interplay between JSON Schema and OpenAPI? You have mentioned using the latter before but not the former.

Assuming you mixed "latter" and "former" here...
OpenAPI 3 uses JSON Schema draft-5 for payload definitions.
OpenAPI can be used to define the API endpoints, but if there's only one endpoint, it seems a little overkill, as we're mostly interested in the request and response payload. That being said, I'm not opposed to defining an OpenAPI document, which can reference the existing JSON Schema files.
I've used the latest (draft-7), which adds a few nice things since 5, but I believe it's backwards compatible in a way which wouldn't cause any issues when used in OpenAPI.
Open to more comments / thought.

Based on recent emails to the group from Tony Brookes, it looks like rather than present a proposal for the Search API format before implementing, his group and Illumina will put together and implement a solution that they feel will work for everyone.
As such, I don't know if it's condusive to continue to work on my proposed solution, with the sight to modify the spec documents to conform. (Regardless, there are a number of blocking issues that still need to be resolved, which have been included in the initial release milestone).
@harindra-a I guess this is your call, as you're looking for this first implementation to reflect the first release of the API at the GA4GH plenary start of Oct. I feel it's risky to mark something as a first version without any chance for driver projects to input or feedback on the solution. (I believe neither Tony or Illimina represent a Driver Project in this context).

Hi @Relequestual, the effort by Tony and Illumina is their own effort and between Illumina and CafeVariome as far as I know. Tony is of course welcome to present his proposal and we can take pieces/inspiration of it (as we did from yours) as needed. Nara/François/me/you/others from MME and Elixir/other drivers etc, coming to Search meetings are driver representatives, so the SearchAPI IS driver driven, and part of the GA4GH official roadmap and we have to deliver. Illumina has confirmed to me (las week again) they will be compliant and a reference of our SearchAPI as well.


Fix test failures on Internet Explorer (#229)

Fixes https://github.com/tildeio/htmlbars/issues/229.
-- Convert value for setAttribute() to string
-- Make repairClonedNode() safe to call on uncloned nodes (e.g. first rendering)
Tested with IE 11, and I expect based on what was failing before that it will also take care of IE 9 and 10, but let's see what the saucelabs tests say.  My first approach was to not call repairClonedNode() the first time (by modifying the code for template.render()), but it made a different test fail, and having the dom helper handle it seems more appropriate anyway.
The added tests were not strictly speaking required, since there were other failing tests, but these make the failure's cause explicit.
[EDIT: passes IE 8+]

Mucho gracias.


Fix BP_FunctionalTest_SimpleAvoidanceWithObstacles

Currently the RU soldiers are trying to go through the US soldier when the should go around the obstacle.

Merged into https://github.com/HaywireInteractive/OnAllFronts/issues/656

Merged into HaywireInteractive/OnAllFronts#656

Actually in that issue I kept the test disabled, so reopening this.


master-node connection issue

Master node
-jdk,jenkins,git,maven installed
-java env set
-added user
-keygenerate
Node
-jdk,maven installed
-jave env set
-add user
can you help me on his how to fix this issue

jenkins@ip-172-31-30-243:~$ ssh-copy-id<EMAIL_ADDRESS>/usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/home/jenkins/.ssh/id_rsa.pub"
The authenticity of host '<IP_ADDRESS> (<IP_ADDRESS>)' can't be established.
ECDSA key fingerprint is SHA256:uUzrkuPD/ZcHaOoKMk38cE3nUvuAB/Xe/ahqgP43GKc.
Are you sure you want to continue connecting (yes/no)? yes
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed
/usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys
<EMAIL_ADDRESS>Permission denied (publickey).
jenkins@ip-172-31-30-243:~$

Did you copy public key to the node if no try to copy public key to the node first

jenkins@ip-172-31-30-243:$ ssh-copy-id<EMAIL_ADDRESS>/usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/home/jenkins/.ssh/id_rsa.pub"
The authenticity of host '<IP_ADDRESS> (<IP_ADDRESS>)' can't be established.
ECDSA key fingerprint is SHA256:uUzrkuPD/ZcHaOoKMk38cE3nUvuAB/Xe/ahqgP43GKc.
Are you sure you want to continue connecting (yes/no)? yes
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed
/usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys
<EMAIL_ADDRESS>Permission denied (publickey).
jenkins@ip-172-31-30-243:$

I think you did not generate key in home directory but attempting to copy it , so make sure that key was generated in home directory and you copy the key From home directory

You have to generate key in Jenkins user and copy it in nodes Jenkins user , give sudo permission to Jenkins user

i have generated key - this master
jenkins@ip-172-31-25-104:~$ ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/home/jenkins/.ssh/id_rsa):
Created directory '/home/jenkins/.ssh'.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/jenkins/.ssh/id_rsa.
Your public key has been saved in /home/jenkins/.ssh/id_rsa.pub.
The key fingerprint is:
SHA256:ZMg5tv37dFF7UGlhvBQFK4Uk/Q/FXBfkePd9mOSfBs4 jenkins@ip-172-31-25-104
The key's randomart image is:
+---[RSA 2048]----+
|          .o..=X%|
|     . o   .o.+B=|
|      * o   .o*++|
|     . *     ++*=|
|      . S    .=+=|
|         .  o .o=|
|          . .E.o.|
|           o ..  |
|          ...    |
+----[SHA256]-----+

You need to copy the ssh key where Jenkins is looking for!! Check this out
Cat /home/Jenkins/.ssh/known_hosts

use ssh-copy-d jenkins@
try to connect from master using "ssh jenkins@ " to test ssh is working

please try this steps
on master:
as a jenkins user@=> ssh-keygen
=> ssh-copy-id @
and try whether both are pinging or not
ssh node-user-name@ip-of-node or ssh

@sunil3456
root@ip-172-31-19-217:~# cat /home/jenkins/.ssh/known_hosts
|1|YcPHF5jmF61EmwkdnT24IG7UdLo=|/eJrBdpOB6R2otZS01bv4dbAi20= ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBJocAcgfT16iQsHFeP9Ru3E3wd4wWtM6aJKvHzpRSLY3bYmQ6/fINjrAC2Ai1nogg2Y7YY/MTTYn2wgp5sXzY94=

@nagireddy-9
jenkins@ip-172-31-19-217:~$ ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/home/jenkins/.ssh/id_rsa):
Created directory '/home/jenkins/.ssh'.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/jenkins/.ssh/id_rsa.
Your public key has been saved in /home/jenkins/.ssh/id_rsa.pub.
The key fingerprint is:
SHA256:bw/8ok4lXwQoA+3hsw+lKtzydxu+Ae14J9T4gIfa/Ek jenkins@ip-172-31-19-217
The key's randomart image is:
+---[RSA 2048]----+
|    .o   ..      |
|      = .  .     |
|     o +    .    |
|      ++.o .     |
|      +=S o .    |
|     ++* O .     |
| . ...+oE O      |
|  + o .*oB.+     |
|   +.. oO+ .o    |
+----[SHA256]-----+
jenkins@ip-172-31-19-217:~$ ssh-copy-id<EMAIL_ADDRESS>/usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/home/jenkins/.ss                      h/id_rsa.pub"
The authenticity of host '<IP_ADDRESS> (<IP_ADDRESS>)' can't be established.
ECDSA key fingerprint is SHA256:Sd81mryKPZwo6PwYsHFj8r5PUSvNVrFEkTlibduCAkk.
Are you sure you want to continue connecting (yes/no)? yes
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter                       out any that are already installed
/usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompt                      ed now it is to install the new keys
<EMAIL_ADDRESS>Permission denied (publickey).

@anon-42
root@ip-172-31-19-217:~# ssh <IP_ADDRESS>
The authenticity of host '<IP_ADDRESS> (<IP_ADDRESS>)' can't be established.
ECDSA key fingerprint is SHA256:Sd81mryKPZwo6PwYsHFj8r5PUSvNVrFEkTlibduCAkk.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '<IP_ADDRESS>' (ECDSA) to the list of known hosts.
<EMAIL_ADDRESS>Permission denied (publickey).

give the passwordauthenticatin yes on /etc/ssh/sshd_confg of  node(user- jenkins) then restrt the sshd and try it

@devopslearningteja - Yes i given
now working - thanks to all for your suggestion

@devopslearningteja - Yes i given
now working - thanks to all for your suggestion

ok , if issue solved close the issue...


Cannot open video device default: No such file or directory

Hi,
Running the test on my Pop-OS (Ubuntu) 22.04 LTS, I get this error:
[video4linux2,v4l2 @ 0x7f09d40728c0] Cannot open video device default: No such file or directory

  1) test integration test (Membrane.CameraCaptureTest)
     test/membrane_media_capture_plugin/camera_capture_plugin_test.exs:10
     ** (MatchError) no match of right hand side value: {:error, {%Membrane.ParentError{message: "Error starting child :source, reason: {%Membrane.CallbackError{message: \"Invalid value returned from Membrane.CameraCapture.:handle_init:\\n{:error, :\\\"Could not open supplied url\\\"}\\n\"}, [{Membrane.Core.CallbackHandler, :exec_callback, 4, [file: 'lib/membrane/core/callback_handler.ex', line: 155]}, {Membrane.Core.CallbackHandler, :exec_and_handle_callback, 5, [file: 'lib/membrane/core/callback_handler.ex', line: 62]}, {Membrane.Core.Element, :init, 1, [file: 'lib/membrane/core/element.ex', line: 120]}, {:gen_server, :init_it, 2, [file: 'gen_server.erl', line: 851]}, {:gen_server, :init_it, 6, [file: 'gen_server.erl', line: 814]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 240]}]}"}, [{Membrane.Core.Parent.ChildLifeController.StartupUtils, :start_child, 6, [file: 'lib/membrane/core/parent/child_life_controller/startup_utils.ex', line: 180]}, {Enum, :"-map/2-lists^map/1-0-", 2, [file: 'lib/enum.ex', line: 1593]}, {Membrane.Core.Parent.ChildLifeController, :setup_children, 3, [file: 'lib/membrane/core/parent/child_life_controller.ex', line: 204]}, {Enum, :"-flat_map_reduce/3-fun-1-", 3, [file: 'lib/enum.ex', line: 1250]}, {Enumerable.List, :reduce, 3, [file: 'lib/enum.ex', line: 4475]}, {Enum, :flat_map_reduce, 3, [file: 'lib/enum.ex', line: 1249]}, {Membrane.Core.Parent.ChildLifeController, :handle_spec, 2, [file: 'lib/membrane/core/parent/child_life_controller.ex', line: 124]}, {Membrane.Core.CallbackHandler, :"-handle_callback_result/5-fun-0-", 5, [file: 'lib/membrane/core/callback_handler.ex', line: 187]}, {Enum, :"-reduce/3-lists^foldl/2-0-", 3, [file: 'lib/enum.ex', line: 2396]}, {Membrane.Core.Pipeline, :init, 1, [file: 'lib/membrane/core/pipeline.ex', line: 49]}, {:gen_server, :init_it, 2, [file: 'gen_server.erl', line: 851]}, {:gen_server, :init_it, 6, [file: 'gen_server.erl', line: 814]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 240]}]}}

I can attempt to fix it and get it to run on my machine, but I'd need some hint about where the problem might be...
Thank you.

I installed v4l-utils so I could find the devices on my machine:
$ v4l2-ctl --list-devices
    /dev/video0

Then I had to pass an option to the camera to get it to run:
#...
structure =
      child(:source, %Membrane.CameraCapture{device: "/dev/video0"})
#...

It would be good to add that to the doc...
However :

the camera starts (led on), then stops (led off)...
then ffmpeg displays:

[h264 @ 0x7f86f4000cc0] Format h264 detected only with low score of 1, misdetection possible!
[h264 @ 0x7f86f4000cc0] Could not find codec parameters for stream 0 (Video: h264, none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
Input #0, h264, from '*my_project_path*/tmp/Archer.CameraCaptureTest/test-integration-test/output.h264':
  Duration: N/A, bitrate: N/A
  Stream #0:0: Video: h264, none, 25 tbr, 1200k tbn, 50 tbc
    nan M-V:    nan fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0

And then Ctrl-C doesnt kill it properly...
Any hint ?


added ability to pass --xvfb-run-args which are pushed down to Xvfb when present else stripped otherwise

@brian-mann if your changes work (I haven't tried it yet), why not push changes to upstream?
@paulcbetts what do you think?
(disclaimer: I'm pushing for these changes since I need them as well 😄)

It works. We're using it at cypress.

I'd rather use the UNIX standard -- here, so, if you see -- in the args, everything to the left of the args is forwarded to xvfb-run, and everything to the right of the args is sent to the target. For example:
# No --, everything goes to target
xvfb-maybe echo "foo"

# --foo goes to xvfb-run, 'ls -l .' is the command
xvfb-maybe --foo -- ls -l .

No complaints from my side.... who's doing? ;)
I can give it a try, but I suppose I'll have to have another PR (and close this one).

@uuf6429 Just keep committing to this one, no need to create a new PR

I don't think I can, the pr points to Brian's fork (and I'm not allowed to change the PR base).

Implemented in #5 (@brian-mann I urge you to also give it a look)

Implemented in #5 (@brian-mann I urge you to also give it a look)


Get checkout URL for failed order payments

I'm probably overlooking this. When the payment of an order failed, I want the customer to be able to pay it (for instance with a new credit card). How can I retrieve a checkout URL for an unpaid order?
That way, once the customer has paid the order, there will be a new (valid) mandate linked to his account.

There's no simple feature supporting this. Essentially a failed payment means a failed order.
In v2 we're separating payments from orders, so I'll look into adding a retry() to the order there.
For now, I recommend using $billable->validateMandate() to flush the invalid mandate and create a new subscription.


Small window issues

Describe the bug
When the window is resized to small, there are 1) some top menu items overflowing and 2) sidebar items on Settings page don't fill up the whole height of the window.
To Reproduce
Steps to reproduce the behavior:

Resize the window to as small as possible
Stay on file browser page for 1) or go to Settings page for 2)
See error

Expected behavior
I'm including these issues in one because they both might be solved with setting the minimum size of the window. If it should be avoided, then we can split this up into two separate issues.
For 1) some items could be automatically moved to the More options flyout menu when the window size is not wide enough to show all of them.
For 2) it might be related to the fact there is the Settings item on the browser page sidebar at that position the same place where is an empty slot on the sidebar of the Settings page, so I suppose they're using the same layout (didn't checked yet). In that case the solution could be hiding that secion on the Settings page.
Screenshots
For 1) see middle of the picture with Refresh and Search buttons over each other:

For 2) see empty space at the bottom left corner on the sidebar:

Desktop (please complete the following information):

OS Version: Windows 10 20H2 19042.789
App version: v<IP_ADDRESS>

@yaichenbaum For the navigation toolbar items being clipped off, would it help if we switched to a customized version of the CommandBar control?

@duke7553 The toolbar items will be fixed in the future when we move some items around. The goal is to switch to a regular command bar so the items can overflow.

@yaichenbaum Right, that's what I was referring to. We'd just need to customize the item style so toolbar buttons look like they do now.

With the other changes I have in mind, the styles likely won't need to be changed very much.

@nvi9 The first issue is now resolved in main,  can you check if the second issue is an issue with the NavigationMenu?

@yaichenbaum the first issue is resolved, but there is another instead: the Search and the More options buttons are hidden on the right.

And the sidebar can be resized to as wide as the smallest window, I don't know if this was intentional or not.

The second one seems to be an issue with the NavigationView control, IsSettingsVisible="False" (here) hides the settings item instead of collapsing it.

@nvi9 Do you want to fix the issue with the sidebars max width?

@yaichenbaum yes, that would be a partial solution.
To prevent hiding by overflow of the path bar and the search button (see screenshot from the previous comment) we could set min width of the sidebar to a lower/percent value or collapse it automatically as it was suggested on Discord (#design) on Friday.

@nvi9 That's a great idea, do you want me to assign you this issue?

@yaichenbaum I don't know how much time I'll have for this in the next days/week, but we can give it a try.
First I'll try to implement the collapsing NavigationView based on the width of the window, then find some solution for the overflowing parts, then dig deeper about hiding the settings item completely on the bottom of settings navigation view.
Do you think we should split this up into different PR-s (and issues) or we're good with one?

@nvi9 I think it can be done in one PR.

Problem 2) is a known issue, there is a PR for it already: https://github.com/microsoft/microsoft-ui-xaml/pull/4193


fix lua module name conflict with nvim-snippets

If you use LazyVim, now default use nvim-snippets by default (replace the luasnip), which based on neovim's native snippet API (neovim 0.10 is released).
And nvim-snippets's lua module name is snippets, which is the same as one of the kustomize.nvim's lua module name.
As a source of nvim-cmp, will load the nvim-snippet's main module:
https://github.com/garymjr/nvim-snippets/blob/main/lua/snippets/utils/cmp.lua#L16
And kustomize.nvim's snippets module will be called, event if enable_lua_snip is false.
Cuz luasnip is not the default snippet engine of the latest LazyVim, it's not been loaded, then will be an error if kustomize.nvim is been used:

This PR fix that by rename the snippets module to luasnip_kustomize_snippets to avoid the module name confliction.

Currently I use this plugin config to avoid this issue, will change it back if PR is been merged:
return {
  {
    "imroc/kustomize.nvim",
    branch = "fix-luasnip",
    requires = "nvim-lua/plenary.nvim",
    ft = "yaml",
    opts = {
      enable_key_mappings = false,
      enable_lua_snip = false,
      build = {
        additional_args = {
          "--enable-helm",
          "--load-restrictor=LoadRestrictionsNone",
        },
      },
    },
    keys = {
      {
        "<leader>kb",
        function()
          require("kustomize").build()
        end,
        desc = "build (kustomize)",
      },
    },
    config = function(_, opts)
      require("kustomize").setup(opts)
    end,
  },
}

Thanks for your PR. Interesting move of LazyVim.
Maybe I should take a look at native snippets, too. What is better than working on your Neovim config 😉

Yes!


Dynamic table with dynamic name

I need to create table at runtime  (like tables with same schema ,multiple times with different names as per requirement ).Is it possible using moor? It would be of great help if someone can explain it in detail .Thank you

This doesn't sound like a reasonable requirement to me, but you can do that with moor. For instance, let's say you had a table class called Users. You can then define an additional class to use a custom name:
class UsersWithCustomName extends $UsersTable {
  final String dynamicName;

  DelegatedTable(GeneratedDatabase db, this.dynamicName) : super(db);

  @override
  String get actualTableName => dynamicName;
}

You can include that table like this:
@UseMoor(...)
class MyDatabase extends _$MyDatabase {

  // ...

  @override
  List<DatabaseSchemaEntity> get allSchemaEntities => [
    ...super.allSchemaEntities,
    UsersWithCustomName(this, 'users2')
  ];
}
```dart

Hi Simon,
Consider a case like this, there is a table with GPS trial data. Whenever a
new trip is recording we will create a gps  trial table with trip I'd
tagged in its table name. In normal Sqlite we will be defining the schema
once and will pass trip I'd as argument to table class and will create a
table with same schema and that trip I'd  appended in its table name. I was
trying to implement the same in moor. As I'm new to this I have no idea how
to implement this in moor.
Thank you.
On Thu, Dec 10, 2020, 1:49 AM Simon Binder<EMAIL_ADDRESS>wrote:

This doesn't sound like a reasonable requirement to me, but you can do
that with moor. For instance, let's say you had a table class called Users.
You can then define an additional class to use a custom name:
class UsersWithCustomName extends $UsersTable {
final String dynamicName;
DelegatedTable(GeneratedDatabase db, this.dynamicName) : super(db);
@override
String get actualTableName => dynamicName;
}
You can include that table like this:
@UseMoor(...)class MyDatabase extends _$MyDatabase {
// ...
@override
List get allSchemaEntities => [
...super.allSchemaEntities,
UsersWithCustomName(this, 'users2')
];
}
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/simolus3/moor/issues/963#issuecomment-742023955, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AGK3LBELH6QWILYNWBSR3LLST7LTHANCNFSM4UTD36KQ
.

I'm not aware of any benefits associated with the approach of one table per trail. Quite contrary, having unnecessarily many tables will slow down your app as the entire schema is scanned and parsed when you open the database. Storing thousands of tracks with millions of points in two tables shouldn't be any issue with the right index, but having thousands of tables will be very noticable.
You can store trips and their tracks with two tables:
class Trips extends Table {
  IntColumn get id => integer().autoIncrement()();
  TextColumn get name => text()();
  // more properties of a recorded trail
}

class TrackPoints extends Table {
  // the track containing this point
  IntColumn get tripId => integer().customConstraints('NOT NULL REFERENCES trips (id)')();
  RealColumn get lat => ...
  RealColumn get lng => ...
  // more properties of a point
}

If you're more comfortable using sqlite, you might want to take a look at moor files. They allow you to declare tables and queries with direct SQL that gets verified at compile-time. You still get auto-updating streams and type-safety. You can also write Dart queries for tables defined in moor files.
You can create tables dynamically by creating a new Migrator(this).createTable(yourDynamicTable) in your database class, but note that having a fixed amount of tables is probably better.

Thanks, I'll check it out.
On Thu, Dec 10, 2020, 9:46 PM Simon Binder<EMAIL_ADDRESS>wrote:

I'm not aware of any benefits associated with the approach of one table
per trail. Quite contrary, having unnecessarily many tables will slow down
your app as the entire schema is scanned and parsed when you open the
database. Storing thousands of tracks with millions of points in two tables
shouldn't be any issue with the right index, but having thousands of tables
will be very noticable.
You can store trips and their tracks with two tables:
class Trips extends Table {
IntColumn get id => integer().autoIncrement()();
TextColumn get name => text()();
// more properties of a recorded trail
}
class TrackPoints extends Table {
// the track containing this point
IntColumn get tripId => integer().customConstraints('NOT NULL REFERENCES trips (id)')();
RealColumn get lat => ...
RealColumn get lng => ...
// more properties of a point
}
If you're more comfortable using sqlite, you might want to take a look at moor
files https://moor.simonbinder.eu/docs/using-sql/moor_files/. They
allow you to declare tables and queries with direct SQL that gets verified
at compile-time. You still get auto-updating streams and type-safety. You
can also write Dart queries for tables defined in moor files.
You can create tables dynamically by creating a new
Migrator(this).createTable(yourDynamicTable) in your database class, but
note that having a fixed amount of tables is probably better.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/simolus3/moor/issues/963#issuecomment-742622319, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AGK3LBATMMWHW4C6BB2H3VLSUDX53ANCNFSM4UTD36KQ
.

Ok. I'll close this for now, but let me know if you run into more issues.

Sure .
On Fri, Dec 11, 2020, 12:02 AM Simon Binder<EMAIL_ADDRESS>wrote:

Ok. I'll close this for now, but let me know if you run into more issues.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/simolus3/moor/issues/963#issuecomment-742711255, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AGK3LBE3AUX63JJFVGAR3E3SUEH5LANCNFSM4UTD36KQ
.

Hi @simolus3
I have one more doubt , is there any limit for number of rows in a table??

A row can have up to<PHONE_NUMBER>3709551616 (2⁶⁴) rows, that usually isn't a problem :) If you want to select many rows at once you might run into memory issues but if you apply an appropriate filter or limit, it won't be a problem.

Ok. Thank you.
On Mon, Dec 14, 2020, 7:03 PM Simon Binder<EMAIL_ADDRESS>wrote:

A row can have up to<PHONE_NUMBER>3709551616 (2⁶⁴) rows, that usually isn't a
problem :) If you want to select many rows at once you might run into
memory issues but if you apply an appropriate filter or limit, it won't be
a problem.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/simolus3/moor/issues/963#issuecomment-744442703, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AGK3LBEHQ2PWYUMUX2KE2CDSUYHZ5ANCNFSM4UTD36KQ
.


error to update and upgrade

I installed the latest pi4 image. I can connect to the network and see the topics of the iCreate and pi4.
I tried to follow the instructions for setting up the robot. I get this error when using sudo apt update && sudo apt upgrade:
Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 2706 (unattended-upgr)         Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 2706 (unattended-upgr)         Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 2706 (unattended-upgr)         Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by ^Cocess 2706 (unattended-upgr)... 495s
bluetoothctl is not installed on the pi4., so I cannot pair my controller/joystick. I cannot install it either because I get a similar error.

@nidia-bucarelli  The error you are seeing is probably just because the rpi is installing automatic updates. To see whether it is just related to daily updates you can do what is described here https://itsfoss.com/could-not-get-lock-error/.
To the second issue: I believe that installing the bluetooth package on the rpi should fix this, run:
sudo apt install pi-bluetooth
If after installing this you get an error saying that there is no default controller available:
You have to do the following:
sudo systemctl start hciuart
And such that hciuart.service is started at boot do this:
sudo systemctl enable hciuart.service

Hello. Thanks much. The Pi4 is now working. I just left the RPi ON for 1 day.


Fix some TODO(3.0) occurrences in ssl/t1_lib.c

One was related to probing for the combination of signature and hash
algorithm together. This is currently not easily possible. The TODO(3.0)
is converted to a normal comment and I've raised the problem as issue
number #14885 as something to resolve post 3.0.
The other TODO was a hard coded limit on the number of groups that could
be registered. This has been amended so that there is no limit.
Fixes #14333

Checklist

[ ] documentation is added or updated
[ ] tests are added or updated

24 hours has passed since 'approval: done' was set, but this PR has failing CI tests.  Once the tests pass it will get moved to 'approval: ready to merge' automatically, alternatively please review and set the label manually.

This pull request is ready to merge

Pushed. Thanks.


I2C address can't change

Hello, I have purchased the product with part number 100080101-01-EVAL, which is listed as part number 2190-100080101-01-EVAL-ND. I encountered an issue where I need to change the sensor address. For example, I want to change the original sensor address from 18 to 30. Initially, I was able to successfully update the address, but after connecting via Bluetooth and powering off, the previously set sensor address reverted back to the default value and I am unable to change the address anymore. What could be the cause of this issue? How should I proceed if I still need to change the address?
I have encountered the same issue with both the Bluetooth module on the Bluno Beetle v1.1 and the HC-06 Bluetooth module connected to the Arduino UNO board. After modifying the address, it reverts back to the default address and cannot be changed again. Does this sensor support address modification? Currently, I have two devices with the address set to 18, but I need to modify three different addresses: 18, 30, and 40. How should I proceed to handle this?
I'm using this code to change the address. However, when I try to modify it, it doesn't change successfully in one attempt. I need to repeatedly refresh and modify it to make the change successful.I used the Example6_SetI2CAddress code file provided to make the modification.

Another issue I encountered is that I can successfully change the address when I set it to 18, but any other address setting fails.
It is possible that the sensor's address modification is locked or restricted？？

@nseidle
Hello, I have purchased the product with part number 100080101-01-EVAL, which is listed as part number 2190-100080101-01-EVAL-ND. I encountered an issue where I need to change the sensor address. For example, I want to change the original sensor address from 18 to 30. Initially, I was able to successfully update the address, but after connecting via Bluetooth and powering off, the previously set sensor address reverted back to the default value and I am unable to change the address anymore. What could be the cause of this issue? How should I proceed if I still need to change the address?
I have encountered the same issue with both the Bluetooth module on the Bluno Beetle v1.1 and the HC-06 Bluetooth module connected to the Arduino UNO board. After modifying the address, it reverts back to the default address and cannot be changed again. Does this sensor support address modification? Currently, I have two devices with the address set to 18, but I need to modify three different addresses: 18, 30, and 40. How should I proceed to handle this?
I'm using this code to change the address. However, when I try to modify it, it doesn't change successfully in one attempt. I need to repeatedly refresh and modify it to make the change successful.I used the Example6_SetI2CAddress code file provided to make the modification.

Another issue I encountered is that I can successfully change the address when I set it to 18, but any other address setting fails.
It is possible that the sensor's address modification is locked or restricted？？

Why did repost the whole post? Do you use mere example code from this library or just a part of it? Address reverting after power off is normal.
Do you use XSHUT pin?

Why did repost the whole thing? Do you use mere example code from this library or just a part of it? Address reverting after power off is by design, btw.
Do you use XSHUT pin?

Why did you repost the whole thing? Do you use mere example code from this library or just a part of it? Address reverting after power off is by design, btw.
Do you use XSHUT pin?

@Shamshala Sorry, because I don't know how to delete the previous post, because I suddenly found that I typed less.
What is XSHUT pin??
I use arduino UNO board for testing.

Ok, sice you don't know XSHUT pin, that's probably your issue. The address change is per datasheet possible during sensor initialization ("boot"?) so if your code misses the right point after you power the whole gizzmo up, you are out of luck to do it afterwards. You better turn your gizzmo up while XSHUT set as output low, then flip it to an input and initialize the sensor during which change the address.

But there is no XSHUT pin on my module, and my module only has RST, INT, SDA, SCL, GND, VCC pins on my module.

Alright, then try to use the RST (assuming it's abbreviation for reset.

So? Did you managed the code? Does it work?

So? Did you manage the code? Does it work?

here is snippet to change the address. I use pololu
`#define INTERRUPT_PIN 12
#define SHUTDOWN_PIN 13
SFEVL53L1X distanceSensor(Wire, SHUTDOWN_PIN, INTERRUPT_PIN);
void setup(void)
{
Wire.begin();
Serial.begin(115200);
Serial.println("VL53L1X Qwiic Test");
distanceSensor.sensorOff();
distanceSensor.setI2CAddress(0x52);
distanceSensor.sensorOn();
`

its amazing they dont show this in any of the example code, maybe they are just trying to frustrate us and waste a lot of our time chasing ghosts.


improve additionalProperties support

Currently we always type additionalProperties as Record<string, unknown> but it's possible for a more specific type to be used in some cases.

additionalProperties - Value can be boolean or object. Inline or referenced schema MUST be of a Schema Object and not a standard JSON Schema. Consistent with JSON Schema, additionalProperties defaults to true.

ref: https://spec.openapis.org/oas/v3.0.3#properties
https://github.com/mnahkies/openapi-code-generator/blob/3d5b74e43b1c70a129b4a082cbcb1c5f7f61550d/packages/openapi-code-generator/src/typescript/common/type-builder.ts#L127-L131

Initial support added in #57 but schema generation still ignores them I think

I think after #126 / #200 and various other changes, the additionalProperties support is pretty complete now.


ec2 volume throughput

noticed the throughput property is missing from the AWS::EC2::Volume resource object.
couldn't find any existing unit tests for this resource.

Thanks!


Export modal for (Zeus/BlueWallet) accounts: Link to docs

Description

Scanning a QR code with Zeus leads to an error - no information about further steps available
This was fixed.

Open todo:
Add a link on how to do that in the export screen
Link to docs in i.e. Zeus/BlueWallet?
Screenshots

Steps to reproduce the behaviour:
-Visit to getalby.com
-Click on "Install Alby"
-Click "Add extension to Chrome"
-Click "Get started"
-Input a password
-Confirm a password
-Click "Next"
-Input new email
-Input correct password
-Click “Continue”
-Scan the QR code with Zeus
Expected behaviour
Should be information about possible further actions
Alby information
Alby Version: [v1.11.2]
Alby installed through Google Chrome
Device information
OS: [macOS Monterey 12.0.1 ]

Browser [chrome, safari]
 Browser Version [Safari Version 15.1, Chrome Version 103.0.5060.114]
Are you working on this issue?
No

=> remove that option because we now can export the account from the accounts list.
=> add help section on how to connect the account to a mobile app (link this in the export function)

this was changed.
but we could still add a link on how to do that in the export screen

but we could still add a link on how to do that in the export screen

Link to where?

I don't know. create a help page for that? link to docs in Zeus/BlueWallet?

I don't know. create a help page for that? link to docs in Zeus/BlueWallet?

 Ok, thanks.

Is this issue still valid?

Is this issue still valid? If yes I'd like to add the link for further actions if QR code fails for Zeus/BlueWallet.

If you're still interested, I think this is still valid, but this QR shows now only for non-alby account connectors


Logging to Key Vault

Can one of the admins verify this patch?

Closing this for now because we expect the logging we want will be provided by azure-core.


Detect changes against most recent commit in PR instead of just on push

Currently it's only possible to detect changes against most recent commit if triggered by push using base: ${{ github.ref }}, it would be nice if it would also be supported for trigger pull_request.

I think I'm running into this issue but I am not sure.
I have the following:
on:
  pull_request:
    branches:
      - master
      - release/*
...
jobs:
  update-dockers:
    runs-on: ubuntu-latest
    permissions:
      pull-requests: read
...
    steps:
      - name: Checkout repository
        uses: actions/checkout@v3
      - name: Filter Dockerfile changes
        uses: $dorny/paths-filter@v3
        id: filter
        with:
          list-files: shell
          filters: |
            dockerfile:
              - added|modified: 'Dockerfile.*'

Then I push on a PR branch a change that affects a file detected by the filter (at lease on push events):
::group::Fetching list of changed files for PR#492 from Github API
Invoking listFiles(pull_number: 492, per_page: 100)
Received 2 items
[changed] .gitea/workflows/main.yml
[changed] Dockerfile.deb11.6
::endgroup::
Detected 2 changed files
Results:
::group::Filter dockerfile = false
Matching files: none
::endgroup::
Changes output set to []

There is any matching, but 'Dockerfile.deb11.6' should have matched!
Am I missing something ?
Many thanks,
Francesco

Sorry, I found the problem. Replacing:
- added|modified: 'Dockerfile.*'
With:
- added|modified|changed: 'Dockerfile.*'
Make it worked.


Update README

LGTM.com is down since last year
(https://github.blog/2022-08-15-the-next-step-for-lgtm-com-github-code-scanning/)
graphql-language-service-server-cli -> graphql-language-service-cli

this readme needs a lot more changes than this but it's a start!

@sh-cho can you please rebase your branch or merge in the latest changes from graphiql:main? We had a linter error on main (which is now resolved) that's causing the checks on this PR to fail.


Award Eligibility in Camunda- CSG-PTDEP

https://app.zenhub.com/files/319429847/2f48750e-a746-40ff-8373-4ba094194b6f/download
Additional Information
BCAG-PT = BC Access Grant for Part-Time Students
-When determining "Program longer than 2 years" use Program_length: 1-2 years, 2-3 years, 3-4years, 4-5years, 5years or more
Acceptance Criteria

[ ] Create dynamic eligibility per attached file

Testing Scenarios
If the student have dependants,

CSG-PTDEP grant is given

If the student have no dependants

CSG-PTDEP grant is not given


Handle job failures

Currently when a part of a job fails, the entire job is marked as failed and no subsequent parts will be processed. Two potential issues with this:

The part may succeed if retried (for example, intermittent AWS failures)
If one part fails, reprocessing the entire job means duplicated work.

Depending on the nature of the job, we may want to keep processing subsequent parts and have some sort of requeue mechanism and/or a retry on individual jobs.

Proposed solution to these two issues, respectively:

Add a retriables argument which would take a list of Exception classes which, if raised, will not mark the job as failed but retry. Probably need a max_retries arg too.

Add a process_part_on_job_failed boolean arg to keep processing each part even if previous parts have failed.

Unclear to me how ecs-watchbot's built-in retry mechanism fits into this...

Refining this idea based on some realworld™ usage (thx @dnomadb @pratikyadav)
When a single part fails, having the entire job fail is not ideal.  Most of the time, we want a reduce mode job to behave more like the normal watchbot worker - just defer errors to ecs-watchbot's own retry logic.
the idea
Change the default behavior of watchbot_progress.Part so that if any exception occurs in the context block, it will not cause the entire reduce job to fail.  If the context block doesn't raise an Exception it's assumed to be successful and the part will be marked as complete, same as before.

with Part(jobid=jobid, partid=partid):
   # context block
   # if this raises an Exception, we don't fail the whole job
   # gives it a chance to succeed on retry
   # and doesn't block subsequent parts

If you do want to explicitly fail fast and stop the entire job, you can give a list of Exception classes which will mark the job as failed if one is encountered.

with Part(jobid=jobid, partid=partid, fail_job_on=[SomeCriticalError]):
   # context block

PR coming shortly...


Storage table bindings failing with pre-compiled Azure Functions project

We've been using pre-compiled app to deploy our azure functions project (due to the built-in tooling not being ready in time) but we've run into an issue when adding new functions that bind to table storage.
The code was ported from existing webjobs that had the same table bindings, however it's now failing on host startup.
The errors are:
GenericArguments[0], 'OurTableEntity', on 'Microsoft.Azure.WebJobs.Host.Tables.TableExtension+TableToIQueryableConverter1[TElement]' violates the constraint of type parameter 'TElement'.`
and
Can't bind Table to type 'Microsoft.WindowsAzure.Storage.Table.CloudTable'.
For the GenericArgs issue, here's the relevant info (anonymized):
public class OurEntity : TableEntity
{
    //Properties are here
}

{
  "disabled": false,
  "scriptFile": "..\\bin\\OurFunctions.dll",
  "entryPoint": "OurFunctions.TheFunction.Run",
  "bindings": [
    {
      "type": "serviceBusTrigger",
      "name": "message",
      "topicName": "ourTopic",
      "subscriptionName": "ourSubscription",
      "connection": "App.ServiceBus.ConnectionString",
      "accessRights_": "Manage",
      "direction": "in"
    },
    {
      "type": "table",
      "name": "ourTable",
      "tableName": "ourEntities",
      "connection": "App.Storage.ConnectionString",
      "direction": "in"
    },
    {
      "type": "serviceBus",
      "name": "results",
      "queueName": "ourOtherQueue",
      "connection": "App.ServiceBus.ConnectionString",
      "accessRights_": "Manage",
      "direction": "out"
    }
  ]
}

public static async Task Run(string message, IQueryable<OurEntity> ourEntities, IAsyncCollector<OutObj> results, TraceWriter log, CancellationToken token)
and with the cloud table error, I'm just binding to a CloudTable object as an input.
My guess is that it's a WindowsAzure.Storage DLL mismatch. I downgraded to v7.2.1 and am testing it.
I'm surprised there isn't any assembly binding redirects working.

Just an update, downgrading to WindowsAzure.Storage v 7.2.1 fixed the issue.
I don't consider this a resolution, just a workaround.

The latest azure function runtime pins to 7.2.1...so webjob package version 2.0.0 should be fine

Yes its expected behavior that you need to use Storage 7.x when running on functions 1.x.

@APErebus I ran into the same issue. How do you manage to make it work? I think I don't understand what you meant by downgrade the package to 7.2.1. There is no other dll reference in the project other than Microsoft.NET.Sdk.Functions.

What version of Microsoft.NET.Sdk.Functions are you targeting?

I am using 1.0.6 version of Microsoft.NET.Sdk.Functions.

What version mismatch are you getting? Open new issue.


Tasks: Support LATER/NOW workflow

The plugin supports the TODO/DOING workflow of task management by
hard-coding the TODO and DOING strings in the task filtering logic.
This adds support for the LATER/NOW workflows based on the user's
preferredWorkflow configuration in the LogSeq settings.
Demo:

Hi! Sorry for some reason Github stopped sending me email notifications.
Apologies, I'm in the midst of converting my plugins to Typescript!
This is implemented in v1.9 in the marketplace.
Sorry again for the trouble!

No problem! Thanks for the plugin!


Admin edit dos2 declarations

This adds the ability for users with the role admin-ccs-sourcing to view and edit DOS2 declarations.
It also removes the G-Cloud 7 column from their suppliers view, because work on agreements for that framework should be all finished now (although the pages will still be accessible via direct URL if they do need to do any G7 work).
NOTE ~~This will require changes to the functional tests, coming soon!~
Corresponding PR for functional tests is here:

[ ] https://github.com/alphagov/digitalmarketplace-functional-tests/pull/238

BEFORE

AFTER

👍


Commutativity of vector multiplication when types are different

Hi!
I found that emult() determines the output vector type based on the type of the vector that it is called on. This way we lose commutativity, due to the data loss.
Small example to reproduce the issue:
from pygraphblas import *

a = Vector.from_type(UINT64, 3)
b = Vector.from_type(BOOL, 3)
c = Vector.from_type(UINT64, 3)
a[0] = 2
a[1] = 2
a[2] = 10
#b[0] = 0
b[1] = 1
b[2] = 1
#c[0] = 1
c[1] = 1
#c[2] = 1
x = a.emult(b, mask=c.vector[0], desc=descriptor.ooco)
print(x)
print(x.to_string())
x = b.emult(a, mask=c.vector[0], desc=descriptor.ooco)
print(x)
print(x.to_string())

This yields:
<Vector (3: 2)>
 0| 2
 1|
 2|10

<Vector (3: 2)>
 0| 1
 1|
 2| 1

I think this could be slightly related to #15
What do you think @michelp ?

Hi @attilanagy234 This is now fixed in PR #72, the types now commute according first the current semiring, and if that is not set then to C like type promotion rules.  See the types.promote() function.


Spell files are old and link does not work

In https://github.com/vim/vim/tree/master/runtime/spell/da we got:
da_DK.diff
main.aap

They seem to be quite old, like 11 and 13 years since last update.
In main.aap and README.txt it says:
http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries
But seems the link does not work anymore. Maybe it should be:
http://download.services.openoffice.org/contrib/dictionaries/
Also on the link that works the files seems old.
If i go to http://www.stavekontrolden.dk/ they link to libreoffice: https://extensions.libreoffice.org/extensions/stavekontrolden-danish-dictionary
Could it be that openoffice spell is not being updated and that things have moved to libreoffice?
I dont know i would just like to make sure we get the latest stuff.

If i get http://download.services.openoffice.org/contrib/dictionaries/da_DK.zip the aff file says:
#Stavekontrolden version 1.0
#Denne fil er en del af Stavekontrolden – et softwareprodukt, der gør det muligt at stavekontrollere på dansk.

#Copyright (C) 2007 Foreningen for frit tilgængelige sprogværktøjer

If i get https://extensions.libreoffice.org/extensions/stavekontrolden-danish-dictionary/2.4/@@download/file/dict-da-2.4.oxt the aff file says:
#Stavekontrolden version 2.4
#Denne fil er en del af Stavekontrolden - et softwareprodukt, der gør det muligt at stavekontrollere på dansk.

#Copyright (C) 2018 Foreningen for frit tilgængelige sprogværktøjer

I'm guessing Vim uses the first which is 11 years older the the second.


Setup doesn't work with attw

This setup has a few issues:

It breaks under this condition https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/UntypedResolution.md
If there's more than a single file, the .sh script will not properly update ESM import paths.

Good catch! Do you have a proposal for fixing 1? Would you like to submit a PR for 2?


Add package libwpg version 0.3.3

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[x] The toolchain has been rebuilt successfully (or no changes were made to it)
[x] The toolchain/worker package manifests are up-to-date
[x] Any updated packages successfully build (or no packages were changed)
[x] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
[x] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[x] All package sources are available
[x] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[x] LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
[x] All source files have up-to-date hashes in the *.signatures.json files
[x] sudo make go-tidy-all and sudo make go-test-coverage pass
[x] Documentation has been updated to match any changes to the build system
[ ] Ready to merge

Summary

What does the PR accomplish, why was it needed?
Add package libwpg version 0.3.3
Change Log

NA

Does this affect the toolchain?

NO
Associated issues

NA

Links to CVEs

NA

Test Methodology

Buddy Build

AMD64
ARM64

A few small requests but otherwise looks good.

Thank for your review and approval. I have implemented your suggestions and ran Buddy builds after that. Here are the results.

AMD64
ARM64


Connect and discover services slow on Android

Connect and discover services slow on Android
But fine on iOS

If you can’t use flutterblue connect device with Android Phone. You can try low version Api of Android. These apis are deprecated but worked very well in some Android Phone. These
Phones are bad support with new API: you can call the function successful, but scan and connect will be very slow and easy connect fail. To solve this problem, change file:
android/src/main/java/com/pauldemarco/flutterblue/
see new file on my fork: https://github.com/mjl0602/flutter_blue.git
This change didn't solve this problem completely. To solve this problem, must add new args to control the api version. but not use Build.VERSION.SDK_INT. It's works bad.
简单的说，就是很多手机系统到了新版本，但是对新版本的硬件API支持的很差，强制换成老版本的用法就好了。希望作者加一个字段来控制具体用什么版本的API来搜索。

I think I found the problem, but don't know how to fix it. I also have this problem that often connecting is very slowly.
When debugging the connection I figured out, that if I set a breakpoint at line 133 the connection is established almost immediately.
Alternatively I added a sleep(const Duration(milliseconds: 1000)); before the subscription. This is solving the issue even though it needs at least one second.(Note: this is for figuring out what's wrong and shouldn't be part of the implementation)
Can anyone confirm that?
If so, the problem is listening to the devices state-changes "too early", meaning that the connection is not established, but we're listening to the changes. If so we're not getting the first state update and it 'feels' like we're not connected even though we might be.
I


For GSSAPI authentication support default keytab with multiple realms

Say we have joined to multiple domains and have got multiple keytabs each for every domain. Then we merged these keytabs to one default keytab. Then if we want to connect to any domain we must specify exact principal we want to use from keytab otherwise the first will be always used.
In this pull-request I suggest this algorithm: if auth mechanism is GSSAPI and None is passed as password in set_credentials() then it will attempt to acquire gss cred from default keytab using user and realm as principal.

Thanks again for your PR. I solved the conflicts and tested your modifications against the existing test cases locally.
Everything looked fine until I remembered something about why I ended up using gss_acquire_cred instead of gss_krb5_import_cred. With the former one, I'm able to use GSS-SPNEGO mechanism (which eventually falls back to GSSAPI), but with gss_krb5_import_cred I receive the following error:
GSSAPI Error: Unspecified GSS failure.  Minor code may provide more information (SPNEGO cannot find mechanisms to negotiate)
I'm not familiar enough with GSSAPI or Kerberos to cope with this problem. I'm hoping you might have some idea about it.


Choosing animations

Choose moving or stop animations
Flip player direction left or right

https://github.com/user-attachments/assets/8d153f70-238b-41b7-a771-418ba7c0bae1


Ensure all objects using Creation are constructed via Creation

Brief feature description
As iceoryx aims to be fully noexcept the DesignPattern::Creation creates object that would throw an exception in the constructor. However, it doesn't require objects not to be default construct-able.

[ ] Add type trait
[ ] Refactor code accordingly

UDS done: https://github.com/eclipse-iceoryx/iceoryx/compare/master...ApexAI:iox-%23613-remove-param-less-ctor-because-of-creation-pattern

@mossmaurice closed since #1036 is trying to remove the creation pattern because it as several issues.


Improved send_file.rs example to use streaming.

This is to show what I have wrote so far. It does not compile in the current state.
This addresses issues #3432

We still have build errors:
line 82 mismatched types
expected StreamBody<_>, found ReaderStream<File>
and line 61 mismatched types
expected Response<BoxBody<Bytes, Error>>, found Response<BoxBody<_, Infallible>>

You'll need to use map_err(|e| e as _) on the Full, and you'll need to import StreamExt and use .map_ok(Frame::data) on the ReaderStream before it can be converted into a StreamBody.

I am not sure what you mean by map_err(|e| e as _) on the Full .
Also are you referring to StreamExt from the tokio-stream crate(https://docs.rs/tokio-stream/latest/tokio_stream/trait.StreamExt.html)?

I can also confirm that it builds and works. Now ready to pull.


[BUG] Is there a mistake when detect OS type on Windows?

Hello, thanks for your awesome job. I found this lib can't run correctly on my Windows 11, it's hostOs has been detected as "Linux(arch=X64, version=10.0)" rather than "Windows":
Maybe there is a mistype in the code below:
internal fun hostOs(osName: String, archName: String, version: String): Platform.OS {
  val arch = hostArch(archName)
  return when (hostOs(osName)) {
    DesktopOs.Macos -> Platform.OS.MacOs(arch, version)
    DesktopOs.Linux -> Platform.OS.Linux(arch, version)
    DesktopOs.Windows -> Platform.OS.Linux(arch, version) // this should be Platform.OS.Windows
    DesktopOs.Unknown -> Platform.OS.Unknown(arch, version)
  }
}

the origin code is here:
https://github.com/psuzn/multiplatform-paths/blob/66f3fedbe19d9a1221b14d1d1fc924913336bf7b/platform-identifier/src/desktopCommonMain/kotlin/me/sujanpoudel/utils/platformIdentifier/os.kt#L43

Thank you for this.

v0.2.2-beta-1 fixes this. It might take an hour or so for this pre-release to propagate to Maven Central.

Thanks a lot, this version(https://github.com/psuzn/multiplatform-paths/releases/tag/v0.2.2-beta-1) works perfectly as expected.

Closing this as v0.2.2 has been released.
Again, thank you @jixiaoyong for the catch.


update labelValues openapi examples and grafana tutorial

This improves the openapi docs for the labelValues endpoints on /api/test and /api/run as well as giving more details on /labelValues filtering in the grafana tutorial.

Why did you remove the instructions regarding starting grafana?

I think the instructions are out of scope for the target audience and were honestly never meant to be included. They were my notes of the attempts to get granfana running along side the development instance of Horreum so that they could both communicate using localhost.
I could see us including them some of the developer guides but I hope an end user is not trying to connect Horreum and Grafana with both using localhost.

I think the instructions are out of scope for the target audience and were honestly never meant to be included. They were my notes of the attempts to get granfana running along side the development instance of Horreum so that they could both communicate using localhost.
I could see us including them some of the developer guides but I hope an end user is not trying to connect Horreum and Grafana with both using localhost.

I think we covered in the pre-requisites that Grafana should be up and running and the user should have the ability to create dashboards.  Therefore, it is fine to drop starting Grafana from the guide


Workaround to build .deb package of dump1090-fa 3.6.3 Without bladeRF, on armhf & amd64

Workaround to build dump1090-fa 3.6.3 "deb package" Wihout bladeRF on armhf and amd64
This method is based on the method posted by wiedehopf in Flightaware Forums
I tried it successfully on x64 machine (Intel PC)

Debian 9.5 (stretch) amd64
Ubuntu 18.04 amd64

On both I could successfully built amd64 package as shown below.
.
abcd@debian:~$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 9 (stretch)"

sudo apt install git
git clone https://github.com/flightaware/dump1090.git
Cloning into 'dump1090'...
... ...
... ...

cd dump1090

sudo nano debian/control
#Scroll down till you find the first lines below.
#Scroll down further to find second line.
#Delete libbladerf in both lines as shown in red below.

sudo nano debian/rules
#Scroll down till you find the line shown below.
#Change BLADERF=yes to BLADERF=no as shown in red.

#Install packages to fulfill dependencies
sudo apt install debhelper dh-systemd librtlsdr-dev libusb-1.0-0-dev
sudo apt install pkg-config libncurses5-dev lighttpd

#Build the dump1090-fa package
sudo dpkg-buildpackage -b

dpkg-buildpackage: info: source package dump1090-fa
dpkg-buildpackage: info: source version 3.6.3
.... ....
.... ....
.... ....
dpkg-deb: building package 'dump1090' in '../dump1090_3.6.3_all.deb'.
        dpkg-deb -z1 -Zxz -Sextreme --build debian/.debhelper/dump1090-fa/dbgsym-root ..
dpkg-deb: building package 'dump1090-fa-dbgsym' in '../dump1090-fa-dbgsym_3.6.3_amd64.deb'.
        dpkg-deb --build debian/dump1090-fa ..
dpkg-deb: building package 'dump1090-fa' in '../dump1090-fa_3.6.3_amd64.deb'.
 dpkg-genbuildinfo --build=binary
 dpkg-genchanges --build=binary >../dump1090-fa_3.6.3_amd64.changes
dpkg-genchanges: info: binary-only upload (no source code included)
 dpkg-source --after-build dump1090
dpkg-buildpackage: info: binary-only upload (no source included)

#Go out of dump1090 directory, and check:
cd ../
ls
dump1090                dump1090-fa_3.6.3_amd64.buildinfo  dump1090-fa_3.6.3_amd64.deb
dump1090_3.6.3_all.deb  dump1090-fa_3.6.3_amd64.changes    dump1090-fa-dbgsym_3.6.3_amd64.deb

#INSTALL
sudo dpkg -i dump1090-fa_3.6.3_*.deb

#REBOOT
sudo reboot

.
Added Receiver marker and Range Rings
Opened file for editing:
sudo nano /etc/default/dump1090-fa
In the line:
RECEIVER_OPTIONS="--device-index 0 --gain -10 --ppm 0 --net-bo-port 30005"
added:
--lat xx.xxxx --lon yy.yyyy
The line became:
RECEIVER_OPTIONS="--device-index 0 --gain -10 --lat xx.xxxx --lon yy.yyyy --ppm 0 --net-bo-port 30005"
(used actual latitude and longitude in place of xx.xxx and yy.yyyy)
.

Ubuntu 18.04.1 amd64 - dump1090-fa installed by "deb package" built WITHOUT bladeRF

.
Debian 9.5 (stretch) amd64 - dump1090-fa installed by "deb package" built WITHOUT bladeRF

SUGGESTED MODIFICATION (UNTESTED)
Open file dump1090-fa.sh for editing
sudo nano adsb-receiver/bash/decoders/dump1090-fa.sh
Deleted this whole chunk of code
## BUILD AND INSTALL THE BLADERF PACKAGE FROM SOURCE IF NOT INSTALLED

# Check if the needed bladeRF packages are installed.
if [[ $(dpkg-query -W -f='${STATUS}' libbladerf2 2>/dev/null | grep -c "ok installed") -eq 0 ]] || [[ $(dpkg-query -W -f='${STATUS}$

... ... ...
... ... ...
... ... ...

        sudo dpkg -i libbladerf-udev_*.deb
    fi
fi
echo ""

.
Add 4 lines starting with ## DELETE REQUIRMENT TO INSTALL bladeRF, as shown below
## BUILD AND INSTALL THE DUMP1090-FA PACKAGE

echo ""
echo -e "\e[95m  Building and installing the dump1090-fa package...\e[97m"
echo ""
if [[ ! "${PWD}" = "${RECEIVER_BUILD_DIRECTORY}/dump1090-fa/dump1090" ]] ; then
    echo -e "\e[94m  Entering the dump1090-fa git repository directory...\e[97m"
    cd ${RECEIVER_BUILD_DIRECTORY}/dump1090-fa/dump1090 2>&1
fi

## DELETE REQUIRMENT TO INSTALL bladeRF
 sed -i 's/, libbladerf-dev//g' ${RECEIVER_BUILD_DIRECTORY}/dump1090-fa/dump1090/debian/control
 sed -i 's/libbladerf1 (>= 0.2016.06),//g' ${RECEIVER_BUILD_DIRECTORY}/dump1090-fa/dump1090/debian/control
 sed -i 's/BLADERF=yes/BLADERF=no/' ${RECEIVER_BUILD_DIRECTORY}/dump1090-fa/dump1090/debian/rules

echo -e "\e[94m  Building the dump1090-fa package...\e[97m"
echo ""
dpkg-buildpackage -b
echo ""

For what it is worth I followed the suggested edits and your other edits on install dump1090-fa on bionic.  Install went without any foreseeable problems or errors on Ubuntu 18.04 bionic.
I am having some hardware issues persist that are causing no signals to be sent and 'No data received from the SDR for a long time, it may have wedged' messages to appear in my system log, but I believe those are probably unrelated to the install issue and may be more related to the fact I am trying to get it to work as a usb passthrough device on a libvirt machine.

Been toying with making this work both last night and tonight...
Honestly sick of trying to make things work with dump1090-fa and bladeRF.
I am not going to script homebrew patches and what not to make third party packages build. I do not have the time nor the drive to fix what other should, especially those who profit off what I am trying to offer the community through free labor.
I am honestly thinking dump1090-fa will become a second class citizen as of v3.x as far as this project is concerned until the paid members of the community who seem to refuse to fix things or give up information on how they made things work on their end offer up a solution to fix the problem.

I do not know...
I spent the last two nights trying to make this work.
This has gone beyond my pay grade.
As of now and into the foreseeable future think of dump1090-fa as a second class citizen as far as this project is concerned. At least until whoever can fix the issue be it either the developers of bladeRF or FlightAware I am done wasting time on it. There are other dump1090 options available so I would recommend sticking with those.
I like how these bladeRF build issues are directed to me not only here but on other sites as well as if I have anything to do with bladeRF or the FlightAware fork of Dump1090. All I try to do is offer a simple interface to run their build commands nothing more...

I do not know...
I spent the last two nights trying to make this work.
This has gone beyond my pay grade.
I have scripted patches, altered commands with no success.
Basically wasted hours I could have spent on v3.x.
As of now and into the foreseeable future think of dump1090-fa as a second class citizen as far as this project is concerned. At least until whoever can fix the issue be it either the developers of bladeRF or FlightAware. Until then I am done wasting time on it. There are other dump1090 options available so I would recommend sticking with those.
I like how these bladeRF build issues are directed to me not only here but on other sites as well as if I have anything to do with bladeRF or the FlightAware fork of Dump1090. All I try to do is offer a simple interface to run their build commands nothing more...

I spent the last two nights trying to make this work. I have had no luck on Raspbian or Debian Stretch. This project is not about fixing third party shortcoming, which is what this apparently is, so I did not go as far as going through all the hacks which may have worked for others even though I did try to script some.
As stated this has gone beyond the scope of the project. I have scripted patches, altered commands with no success. Basically wasted hours I could have spent on v3.x.
I cant even get things to build on Raspbian/Debian Stretch anymore....
As of now and into the foreseeable future think of dump1090-fa as a second class citizen as far as this project is concerned. At least until whoever can fix the issue be it either the developers of bladeRF or FlightAware do so. Until then I am done wasting time on it.
There are other dump1090 options available so I would recommend sticking with one of those.
I like how these bladeRF build issues are directed to me not only here but on other sites as well as if I have anything to do with bladeRF or the FlightAware fork of Dump1090. All I try to do is offer a simple interface to run their build commands nothing more...
I know there is a simple solution out there why people are so tight lipped is beyond me.
I will gladly and with no remorse mark this issue as "wontfix" until someone shows me where the scripts are the cause of the issue or show me a solution which does not require my scripts patching third party source code in order to make things build.

If I recall correctly, when I complained in FA Forum about failure to build dump1090-fa by "adsb-receiver project scripts", Oliver has mentioned "...he is using wrong version of bladeRF". I just now tried to locate it, but could not. Will try to search again.

Tried the package supplied with Raspbian/Debian bladerf (0.2014.09~rc2-5) and the latest from their repository located at https://github.com/Nuand/bladeRF (the 2018 releases) with no luck. If I could get an answer as to what version works I would gladly pull said source code to build.

Oliver did not tell which is the correct version, but gave the hint that the version being used is wrong one

Joe, I have sent you a pm with some info about graphs in Flightaware forum.

The bladeRF issue should be fixed.
Refer to issue #500


Stashing instead of deleting.

I believe that deleting entries is too dangerous feature to have in the main interface. Instead the entries should just be "hidden" so if an user accidentally deletes a diary entry it could be recovered. This would be easy enough to achieve by moving them to some kind of stash/backup directory instead of deleting them.
In the future it would be possible to add a mode for browsing the stash and recovering entries but since they can be just files in a directory there wouldn't be any hurry for implementing that.
Applying some kind of weak cipher such as rot13 to the stashed entries would be desirable for those who want to grep -r the diary directory, or some parent directory of it and don't want to match the entries in the stash.
In reddit PM @in0rdr suggested that a version control such as git could be used instead but I don't believe this would be an appropriate solution unless some kind of hook system was implemented and this could end up being much more complicated than just moving the the deleted entries to a stash.

I'm all for a "stash". However how would "merging" deleted entries work? If it's just for reference then has no issue I can see.

However how would "merging" deleted entries work?

Stash current one, recover the one you want was the workflow I was thinking of.
I guess some option to open current entry and selected stashed entry with vimdiff or something similiar could work as well.

That makes sense how you want to go about it. It'd be nice to show a possible comparison. Even with no feature to merge.

It'd be nice to show a possible comparison. Even with no feature to merge.

This would be possible by just changing the diff program. People who use vimdiff could edit, people who set it to diff -y -d or something similiar could see the difference. Obviously in case of a non-interactive differ it would also have to be piped into a pager so it won't exit immediately.

Personally, I think this makes thing too complicated. But I think I have a compromised option, rename diary entry filename YYYY-MM-DD to .YYYY-MM-DD.
It's not deletion, but hidden action a. And what user want to create a new one (or hide again) on a date with hidden entry, the user gets a warning.
a: Of course, the hidden is just for file listing command. For grep, * won't expand to hidden filenames.
Git, as @in0rdr suggested as mentioned in OP's post, is really a better option, the functionality is already there for what OP wants, that literally is stash, but really unnecessary if you commit anything changed.
About hook, you can just wrap diary with a script and every time it exits, check with git status, if changes (including new files not in repository), auto-commit using timestamp as commit message.
The only drawback with Git is the user has to have Git, which isn't a big issue, good chance Git is already installed, the real problem is the user needs to know how to use Git when wanting to recover stuff.
Frankly, I don't think we need anything done for this, Git can do, but if have to, whether hidden file approach or any other method, this has to be optional option, not by default. Please KISS.


Release kafka consumer for 7.48.0-rc.4

What does this PR do?

Motivation

Additional Notes

Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] Changelog entries must be created for modifications to shipped code
[ ] Add the qa/skip-qa label if the PR doesn't need to be tested during QA.

Fix already released with 4.1.2


ipam: Protect release from releasing alive IP

It has been observed that kubelet calls CNI DELETE multiple times with
potentially stale CNI result information. This can lead to a race condition
where the initial CNI DELETE properly releases the IP in use which then gets
reused by a different pod. Any subsequent CNI DELETE with the stale IP will
then cause the IP of the live pod to be released. While the pod will continue
to function, the next scheduled pod will attempt to use that IP and
continuously fail to be scheduled due to a IP in use error.
This is a regression of commit ab61853 which introduced the ability for CNI
DELETE to release an IP even if the endpoint deletion fails which is required
to fix the race condition when the CNI binary gets killed in between allocating
an IP and creating the endpoint.
Fixes: ab61853ca3 ("cni: Release IP even when endpoint deletion fails")
Fixes: #10065

This change is

test-me-please

Coverage increased (+0.03%) to 44.712% when pulling a9e5656a8ab9e2f1080fc7290614446f60ec74d0 on pr/tgraf/ipam-release-protection into 161fcd49340561363521f71e76d4408dcae9fe5c on master.

test-me-please

@raybejjani Looks like this is already backported? Did we just forget to update tags?


[Connectedk8s] Adding support for passing custom tenant id through env var

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[x] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your PR is merged into master branch, a new PR will be created to update src/index.json automatically.
The precondition is to put your code inside this repo and upgrade the version in the PR but do not modify src/index.json.

If this PR is for a new extension or change to an existing extension, use the following to try out the changes in this PR:
docker run -it microsoft/azure-cli:latest
export EXT=<NAME>
pip install --upgrade --target ~/.azure/cliextensions/$EXT "git+https://github.com/alphaWizard/azure-cli-extensions.git@arpgudev#subdirectory=src/$EXT&egg=$EXT"

Connectedk8s

hi @fengzhou-msft could you pls review the PR thanks


Deoping

Hello. I was wondering if there is a way that I can de op certain people whenever they join a different world

No, there is no way to de-op players depending on what world they join. Instead, I'd recommend using a permissions plugin (such as LuckPerms or PermissionsEx) where your admins (ops) have all permissions you want on every world with the exception of the worlds you're wanting them not to.


fix(Footer): modified flex layout

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


[FABmenu bug]: The links are active even if the floating button is not clicked

The ul still remains in the DOM tree because of which those links are still active and if clicked in that region.
I guess we have to fadeIn and fadeOut ul so that the links are not seen when the button is not clicked or add a hide class to the ul element.

This is the inbox behavior so we are fine with the way it is behaving


Add sideload/install appx or msix packages via drag and drop [Feature]

I know Windows officially has this function but sometimes for no reason the "Desktop App Installer" does not work or even open.

I know Windows officially has this function but sometimes for no reason the "Desktop App Installer" does not work or even open.

Thank you very much for your advice. I later add to the project development progress list (to be developed). I have time to research and develop.
非常感谢您的建议。我稍后添加到项目开发进展列表中(待开发内容)。有时间我去研究并开发。

I know Windows officially has this function but sometimes for no reason the "Desktop App Installer" does not work or even open.

This year is the last year of my master's degree and I need to finish my graduation task. In the last few months of this year until March of next year, the application will no longer add new features, and will continue to pay attention to the winui team, the Windowsappsdk team and the csWinRT team, and continue to optimize the application(such as native aot). I will start the research of new functions after March next year. If you have any new requirements or new ideas, please leave a message
今年是我硕士的最后一年，我需要完成我的毕业任务。今年最后的几个月到明年的三月份，应用不再添加新功能，会继续关注 winui 团队，Windowsappsdk 团队和 csWinRT 团队，对应用继续进行优化（例如 native aot)。明年三月后我会开始新功能的研究，如果您有什么新的需求或新的想法欢迎您留言，请您谅解


Add type 'button' for buttons to avoid submit form when press it

When you put image-viewer component in your form if one button is press it will send the submit action of the form. So I had the type "button" to correct the form submit.

Thanks for the pull request. I've now published your change into the npm build (1.0.13)


MathML-to-TeX?

This is a great tool, thank you for taking the time to build it.
My question is: is there a way to reverse the procedure and take a MathML and convert it back to TeX?
Thanks for your time and help

I'm not aware of any such tool.
The Temml copy-tex extension might be a useful substitute.


Window overlap while using BSP layout

"It is important to note that you'll need to use yabai in bsp or stack layout mode in order to prevent app windows to overlap simple-bar."
Even though I have layout set to BSP in my Yabai config, it still overlaps.
On:
Yabai v5.0.2
Apple M1
Version 13.2.1 (22D68)

Currently I just set my top padding to 40 on Yabai as a work around this issue!
Great widget, can finally get my Mac to look like my older linux setup.. thanks for sharing!


Parsing of negative immediates seems bugged

According to the readme, immediate values should support signed integer values, but in fact they do not. As an example, the following fails to parse:
block 0 {
  r0 = -7;
  exit(0);
}

Actually, it seems that the source language provided by Compiler_utils2 doesn't support negative literal integers either, so we probably don't need to worry about this.


No "Viewer" note

Can't open a feed. There is no "Viewer" button or fast command (cmd+shift+p) available.

Turned out I need to enable it after installation.


MSID: 89611 Version: 2 DOI: 10.1101/2<IP_ADDRESS>7964

MSID: 89611
Version: 2
Preprint DOI: https://doi.org/10.1101/2<IP_ADDRESS>7964
Step 1. Awaiting reviews
Editorial to post reviews via hypothesis
Useful links:

DocMap: https://data-hub-api.elifesciences.org/enhanced-preprints/docmaps/v2/by-publisher/elife/get-by-manuscript-id?manuscript_id=89611
New model tracking: https://docs.google.com/spreadsheets/d/1_fHaoOy7hjyocptKtVJRijeNpUY4hBS7Ck_aVmx6ZJk/
Reviews on sciety: https://sciety.org/articles/activity/10.1101/2<IP_ADDRESS>7964

For trouble shooting (e.g. no Docmaps available):

DocMap issue addressing: https://miro.com/app/board/uXjVNCwK6EI=/
Explore DataHub DocMaps API: https://lookerstudio.google.com/reporting/4c2f0368-babb-4beb-b5b3-497e7e7b0f08/page/ejphD
Unmatched submissions and preprints: https://lookerstudio.google.com/u/0/reporting/9f86204f-3bf7-477c-9b18-5c5ef141bf69/page/p_gxi57ha93c
Unmatched manuscripts spreadsheet: https://docs.google.com/spreadsheets/d/15QcK8w-ssB7109RQEDtFpJPZ0J5HTGxoHa_2TtpMBbg/edit#gid=1336081641

Step 2. Preview reviewed preprint
Production QC content ahead of publication
Instructions:

QC preview: https://prod--epp.elifesciences.org/previews/89611v2
Update ticket with any problems (add blocked label)
When QC OK, add QC OK label to ticket and add publication date and time to https://docs.google.com/spreadsheets/d/1amAlKvdLcaDp5W8Z8g77NmkwbMF5n_u89ArSqPMO8jg
Move card to next column
(At end of the day post link in #enhanced-preprint and ask for PDF to be generated)

Useful links:

Preprint DOI :  https://doi.org/10.1101/2<IP_ADDRESS>7964
Confirm reviews returned by EPP: https://prod--epp.elifesciences.org/api/reviewed-preprints/89611/v2/reviews
To update the MECA path in the docmap: https://docs.google.com/spreadsheets/d/1mctCQuNFBjSn97Lihy7_vBO6z7-N-oqyLv4clyi6zHg

Step 3: Awaiting search reindex
This step adds the reviewed preprint to the homepage: https://elifesciences.org
The search reindex is triggered once an hour. We need the reviewed preprint to be indexed as the search application serves the journal homepage.
Useful links:

Jenkins pipeline to reindex search can be triggered sooner or monitored here: https://alfred.elifesciences.org/job/process/job/process-reindex-reviewed-preprints/

Step 4: Published! PDF requested
Waiting for PDF to be generated
Useful links:

PDF tracking: https://docs.google.com/spreadsheets/d/106_XeDjmuBae7gexOTNzg60lapeqjl2aRn9DzupGyS8/

Step 5: Introduce PDF to data folder and git repo
Upload PDF to relevent folder in git repo https://github.com/elifesciences/enhanced-preprints-data/
Step 6: Done!

[ ] Kettle is on!

elocations missing from references.


x/net/http2: make Transport occasionally send PING frames to server

What version of Go are you using (go version)?

$ go version
go version go1.12.4 linux/amd64

Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/gaorong1/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/gaorong1"
GOPROXY=""
GORACE=""
GOROOT="/usr/local/go"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build866234888=/tmp/go-build -gno-record-gcc-switches"

What did you do?

Nowadays, the ClientConn  in x/net/http2 package has supported to send ping frame to peer, but the related default clientConnPool doesn't support this feature and clientConnPool is an internal struct, we couldn't reuse this struct and add our own logic,  As a result, If we want all connections in a connection pool to send ping fame to keep connection alive and identify failed connections, we must implement a new customized connpool,  which seems a hard work to do.
IMHO, maybe we should add support in default clientConnPool to let all connection periodically send ping fame to peer?
What did you expect to see?
add support in default clientConnPool to let all connection periodically send ping fame to peer?
What did you see instead?

/cc @fraenkel

@bradfitz One idea would be to have a ConfigureWrappedTransport(t1 *http.Transport, func(ClientConnPool) ClientConnPool) error.  We can wrap the underlying connection pool with whatever is provided and let the user decide on when/how often to invoke Pings based on the lifetime of a ClientConn.
If we want this baked into the clientConnPool, we currently have no good way to pass additional information forward, e.g. ping interval.
While this is a client->server issue, does anyone ever do server -> client initiated?

@fraenkel in what situations server->client would be used?
I think a client starts a connection, therefore sends Ping frames to check if server is gone on long poll connections. Server wants to do tear down, which has to send Goaway. Client should accept Goaway and close connection.
All this is true for http proxies, too.
I am not sure about if it would be useful for server push connections.

@szuecs This is partially about supporting the http/2 spec which allows either endpoint to initiate a ping. A server may want to know if a client is no longer responsive. Today a server relies on the connection being severed but there are many cases where a connection remains active but the client is no longer present, e.g., proxies, or unresponsive. A PING provides an alternative way.

@fraenkel so instead of CloseIdleConnections a proxy could use PING, instead. Thanks

We should probably send occasional PINGs by default on idle connections (configurable, including off), but to get fancier we could also we could send a PING along with any HEADERS if it's been more than some certain threshold duration since the last PING. We can then retry the request on a new connection if we don't get a PING response back soon. We can only do that safely with idempotent+replayable (bodyless or Request.GetBody != nil) so for others (e.g. POST without GetBody) we could do the PING first over a certain threshold and just pay the extra RTT cost.
But probably easiest to start with just occasional PINGs.

I'll work on a patch.


Cut a chart release, a few upgrades are on deck

Cortex itself, Nginx, and the sidecar image are all upgraded on master in the last 3 months. Can you cut a 1.7.0 release please? 🙏

On it.


⚠ Samsung has degraded performance

In 01e40d1, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2259 ms

Resolved: Samsung performance has improved in c8196d3.


Invite email verification errors on whitespace

Keybase Desktop on Mac
"Friend's email" input field complains when a valid email has a trailing space.

Encountered that as well, but on the Android app (latest version, 1.0.2, updated 18 May 2017). Leading or trailing space leads to the error:
There was an error provisioning
Unknown error: Bad username or email:
<EMAIL_ADDRESS>

Ticketed on our side, thanks!


CommandNotFoundException

I ran the flutter_distributor release --name dev-release command in command, but the error log called CommandNotFoundException was confirmed. How can i solve it?

Please provide the complete output log

Please update to 0.3.2


Determine model to track "Treatment"

FEATURE DESCRIPTION
Feature Inspiration
Animals undergo various treatments for different experiments. The treatment conditions need to be recorded and also be searchable. We need a model that will allow us to be flexible, but also provide the ability to provide some structured data.
Feature Description
The model should provide the ability to define commonly used fields (e.g. feeding_status) for a treatment, as well as defined choices for those fields. In addition, there should be the ability to store some less commonly used details as unstructured data (text).
Alternatives Considered
Comment
The goal will be to define a model. We will create a separate issue to actually implement it.

I will look into this. If I find enough info, I'll take the issue and flesh out the design components in the issue owner section.

I'm looking into fleshing out the data model elements for treatments. have a few questions about feeding_status and treatments.

Regarding the table in which a treatment record resides...
Are treatments applied over the entire life of a mouse?  Or...
Is the timing of the application of treatments important to capture?
Are the animals always sacrificed at the time of sampling?  I.e. is there only 1 sampling time?
I saw placeholder rows for "treatment A" and "treatment B".  Based on that:
Are these concurrent distinct treatments?
Is there only ever a max of 2 concurrent treatments?
Given I read you want to combine data based on common treatments...
How should treatments be represented?  I.e. how would you refer to a treatment to link data together using it, i.e. "I want to see all measurements involving mice with treatment _______"?
Can 2 treatments be related enough to want to combine data using the union of multiple treatments?  (or i.e., Would you ever want to search for data associated with a union of treatments (e.g. treatment 1 or treatment 2)?)
Is there an intentional significant difference between a treatment listed as "treatment A" versus "treatment B", or are they of equal importance?  I.e. would you want to ever search specifically for a value for "treatment A"?
Would you ever want to combine data based on a combination of treatments (using "and")?
Regarding the "free text" note field...
Would a note related to treatments be primarily exceptions, caveats, and unique/uncommon extra cases?
Would you ever want to search for key words in the note field?
Do you have example data that includes various treatments?
Regarding feeding_status...
Is feeding_status considered a "treatment"?
Does feeding_status refer to the entire life of the mouse or a specific time period (and can there be multiple feeding_statuses)?

Just for clarification, I was thinking of a treatment as "an action taken on an animal that is not captured in other variables".  Some answers to these questions:

treatments are not always applied over the lifetime of the animal.  Sometimes they are acute and sometimes they are lifetime.  The timing of treatments could be indicated in a note.  Most samples (ie tissues) are collected at the time of sacrifice, but serum samples are sometimes collected at multiple times throughout the experiment.  I recommend providing a time (in minutes after the start of the infusion) for each sample.

under the current model, animals might have zero to any number of treatments (ie A, B, C, D...).  In answers to the other questions, I suggest a new model where "Treatment" is a long-form or "free" text, and each animal would have one treatment.

A treatment could be represented as a long note describing the procedure.  Additional complexity (ie timing of treatment as an extra variable that could be filtered) may not be necessary.  A researcher could describe in 1-5 sentences the necessary details, and then the TraceBase user could on-the-fly decide how to filter / group animals based on the description in treatments.  In this case, a Treatment could be a single field (so that each mouse has one treatment).

3 ii) yes the ability to group / combine animals from multiple treatments would be good.
3 iii) There is not internal significance to the order of treatments.  I think the simple, long-form text for treatments makes more sense.
3 iv) in the long-form treatments model, using 'AND' in a search could be useful.

Yes, a "free text" note field would primarily be used to indicate exceptions / caveats, or extra cases.  I do not imagine searching this field specifically - only checking this field after I've selected animals I'm interested in grouping.

I will draft an example treatment in a separate comment below.

Feeding_status refers to the fasted / fed status of the animal at the time of the experiment. feeding_status could be considered a treatment, but it is something that we always need to know about every animal, and could be independent of a "treatment" in the way the researcher thinks of "treatment".   This could be captured by one of the following options: {ad-lib fed, fasted X hours, fasted X hours then refed Y hours}  or something more generic like {ad-lib fed, fasted <5 hours, fasted 5-12 hours, fasted 12-24 hours, fasted >24 hours, fasted-refed}.

example of treatments:
Title:  "Drinking T3 0.5 mg/L"
Description:  "Mice were provided with 0.5 mg/L T3 dissolved in 0.01% BSA and 20 uM NaOH in their drinking water for 2 weeks prior to the infusion."
Title:  "Drinking Vehicle"
Description:  "Mice were provided with 0.01% BSA and 20 uM NaOH in their drinking water for 2 weeks prior to the infusion.  This is the vehicle treatment for Drinking 0.5 mg/L T3".
After writing these out, I am realizing it might be good to somehow link two treatments together (ie one is placebo and one is the drug).

Just noting that the "time (in minutes after the start of the infusion) for each sample" suggestion is also part of #32 , in case this issue supersedes that one.

I just thought I would point out that the calculation of categorical statistics based on treatment would be limited by listing treatments in free text.  This may or may not be a desired goal, so let me expound a bit to make sure we're all on the same page.
First: the differences between free test and a treatment "name" field (with some sort of (at least limited) control of vocabulary).  With the name field, it will be possible to the the SQL mechanism of "group by", which would allow calculations on other linked fields that have been grouped by a common treatment.  You can do this (in a very limited/imprecise way) with free text using keyword presence/absence, but the display of those grouped fields would not be straightforward to implement.  And (if we wanted to support) the application of subsequent group-by fields (to break the first groups down into all combinations of the 2 group-by terms), those issues become more complex.
I had imagined treatment data as a series of categorical treatment labels/names with an accompanying free text field specific to the animal.  A user could simply select broad-scope treatment terms/categories and add specific notes (either 1 for the animal summarizing all applicable treatments or 1 per treatment category).
I do support the simplified notion of a single free-text field, just as long as we're aware of the limitations that come with the diminished combination utility such a field would have on handling data for plotting & analyses.

I prefer option2. I was thinking about how to model animal treatment a while ago, and here is my note.