ui: multi-language support for Users page and its subpages

Codecov Report

Merging #78 (a222a55) into develop (1d45310) will decrease coverage by 11.04%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##           develop      #78       +/-   ##
============================================
- Coverage    51.72%   40.67%   -11.05%
============================================
  Files          302      233       -69
  Lines        17214    11030     -6184
  Branches      2653     1625     -1028
============================================
- Hits          8904     4487     -4417
+ Misses        7313     5770     -1543
+ Partials       997      773      -224

Impacted Files
Coverage Δ

lib/user/user-authz-service.js
24.07% <0.00%> (-52.40%)
:arrow_down:

lib/helpers/utils.js
21.21% <0.00%> (-45.99%)
:arrow_down:

lib/user/user-service.js
65.21% <0.00%> (-5.38%)
:arrow_down:

src/parts/users/UpdateUser.js
46.74% <0.00%> (-1.14%)
:arrow_down:

src/parts/users/AddUser.js
78.75% <0.00%> (ø)

src/parts/users/AddSingleUser.js
64.55% <0.00%> (ø)

lib/account/account-service.js

lib/user/helpers/user-authz-utils.js

lib/project/project-service.js

lib/study/helpers/entities/study-methods.js

... and 65 more

Continue to review full report at Codecov.

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

all good from my end, pls go ahead and merge


[miniupnpc] update to 2.2.5

Fixes https://github.com/microsoft/vcpkg/issues/19317
No feature needs to test.
Tested the following usage on x64-windows and x64-windows-static:
find_package(PkgConfig REQUIRED)
pkg_check_modules(miniupnpc REQUIRED IMPORTED_TARGET miniupnpc)
target_link_libraries(main PkgConfig::miniupnpc)

find_package(miniupnpc CONFIG REQUIRED)
target_link_libraries(main PRIVATE miniupnpc::miniupnpc)

[x] Changes comply with the maintainer guide
[x] SHA512s are updated for each updated download
[ ] The "supports" clause reflects platforms that may be fixed by this new version
[ ] Any fixed CI baseline entries are removed from that file.
[x] Any patches that are no longer applied are deleted from the port's directory.
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is added to each modified port's versions file.

Thanks for the update!


Can't drop to some dates

Hey there,
I'm using this directive but I'm can't drop my events to some dates. I can drop this event to dates between 27 April to 10 May. After and before this interval I can't drop.
Anyone ?

This happened with version 2.7.3 of full calendar. Downgrading this version works.


[AutoPR eventhub/resource-manager] Event Hubs 2018-01-01: renamed and added VirtualNetworkRules and IPFilterRules

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/3294

This PR has been merged into https://github.com/Azure/azure-sdk-for-go/pull/2147


Chrome and PDF's not playing nice

since piggy backed this on another I thought that I should just make a new one: https://github.com/johnculviner/jquery.fileDownload/issues/98
I am still having an issue where it would throw the error: Resource interpreted as Document but transferred with MIME type application/pdf:
The url does resolve but when it goes to download, nothing happens not even a failure to download message. I switched the file name in the DB to something other than a PDF and it down loads without fail.
I am in chrome.

I don't believe that's an issue with the JS - refer to : http://stackoverflow.com/questions/6587393/resource-interpreted-as-document-but-transferred-with-mime-type-application-zip
Try adding: Content-Disposition: attachment; filename=???.pdf
to your header response.
I get the same message at work, when using this js and when not, using ancient struts - but the downloads etc all work fine - might be something wrong with your actual download content.


Use Transport Request

Description
Remove usage of deprecated BaseNodeRequest
Signed-off-by: Vijayan Balasubramanian<EMAIL_ADDRESS>Check List

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #164 (8b912ad) into feature/h3-grid (7e35b30) will not change coverage.
The diff coverage is n/a.

@@                Coverage Diff                 @@
##             feature/h3-grid     #164   +/-   ##
==================================================
  Coverage              85.13%   85.13%
  Complexity               320      320
==================================================
  Files                     44       44
  Lines                   1063     1063
  Branches                  86       86
==================================================
  Hits                     905      905
  Misses                   124      124
  Partials                  34       34

Impacted Files
Coverage Δ

...eospatial/stats/upload/UploadStatsNodeRequest.java
0.00% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Hacktoberfest Feedback 🎃

Feedback
We want to hear from you! If you’ve used Apollusia, your feedback is incredibly valuable to help us improve the platform.
What kind of feedback are we looking for?
Usability: How easy is Apollusia to use? Are there any features that could be simplified?
Bugs: Did you encounter any issues or unexpected behavior?
Feature Suggestions: Is there something missing that would make Apollusia even better for your needs?
Performance: How does the platform perform? Any slowdowns or bottlenecks?
Feel free to add comments below with your feedback. Thank you for helping us make Apollusia the best it can be!

So , i just went through the live app, it feels empty on the homepage . and theres a need to add some content to it when there is no active polls. Also the user experience needs to be improved. It was a bit hard go through all the fields in the page . for me i had to go through the github documentation to get a better idea of what was the app about. and the design needs to be improved. I would definetly like to make the design better.

@007jithinjose Thanks for the feedback! I totally agree with you that our application lacks better UI and UX. If you feel ready for the challenge and would like to make improvements to both of these parameters, go ahead! It would be best if we could create an issue to clarify what the future design will look like (e.g. Design Mockup) and agree together on whether and how it will be implemented. We can of course assign you this issue and make it visible for others that you are working on this.
Currently known design flaws we got from feedback are:

#172
#111


What's new OpenAPI 2

Fixes #33016

Internal previews

📄 File
🔗 Preview link

aspnetcore/release-notes/aspnetcore-9.0.md
What's new in ASP.NET Core 9.0

@tdykstra  apply your suggestions, then S&M. If I disagree with any, I'll do another PR.


Fix "NameError: undefined local variable or method `bundle_path_index' for main:Object" when using Bundler.

Fixes #680. Can you have a look? @muga

@dmikurube
In short, LGTM
The sample data is embulk example output.
latest release(0.8.24).
embulk preview -b bundle config.yml
NameError: undefined local variable or method `bundle_path_index' for main:Object
  <main> at file:/Users/hsato/.embulk/bin/embulk!/embulk/command/embulk_bundle.rb:6

embulk run -b bundle config.yml
NameError: undefined local variable or method `bundle_path_index' for main:Object
  <main> at file:/Users/hsato/.embulk/bin/embulk!/embulk/command/embulk_bundle.rb:6

patched version(fix-bundler-option-undefined).
% embulk-0.8.24.jar preview -b bundle config.yml
2017-06-16 14:43:12.491 +0900: Embulk v0.8.24
2017-06-16 14:43:13.527 +0900 [INFO] (0001:preview): Listing local files at directory '/private/tmp/example/csv' filtering filename by prefix 'sample_'
2017-06-16 14:43:13.528 +0900 [INFO] (0001:preview): "follow_symlinks" is set false. Note that symbolic links to directories are skipped.
2017-06-16 14:43:13.531 +0900 [INFO] (0001:preview): Loading files [/private/tmp/example/csv/sample_01.csv.gz]
2017-06-16 14:43:13.539 +0900 [INFO] (0001:preview): Try to read 32,768 bytes from input source
+---------+--------------+-------------------------+-------------------------+----------------------------+
| id:long | account:long |          time:timestamp |      purchase:timestamp |             comment:string |
+---------+--------------+-------------------------+-------------------------+----------------------------+
|       1 |       32,864 | 2015-01-27 19:23:49 UTC | 2015-01-27 00:00:00 UTC |                     embulk |
|       2 |       14,824 | 2015-01-27 19:01:23 UTC | 2015-01-27 00:00:00 UTC |               embulk jruby |
|       3 |       27,559 | 2015-01-28 02:20:02 UTC | 2015-01-28 00:00:00 UTC | Embulk "csv" parser plugin |
|       4 |       11,270 | 2015-01-29 11:54:36 UTC | 2015-01-29 00:00:00 UTC |                            |
+---------+--------------+-------------------------+-------------------------+----------------------------+

% embulk-0.8.24.jar run -b bundle config.yml
2017-06-16 14:43:23.955 +0900: Embulk v0.8.24
2017-06-16 14:43:25.166 +0900 [INFO] (0001:transaction): Listing local files at directory '/private/tmp/example/csv' filtering filename by prefix 'sample_'
2017-06-16 14:43:25.169 +0900 [INFO] (0001:transaction): "follow_symlinks" is set false. Note that symbolic links to directories are skipped.
2017-06-16 14:43:25.172 +0900 [INFO] (0001:transaction): Loading files [/private/tmp/example/csv/sample_01.csv.gz]
2017-06-16 14:43:25.213 +0900 [INFO] (0001:transaction): Using local thread executor with max_threads=8 / output tasks 4 = input tasks 1 * 4
2017-06-16 14:43:25.218 +0900 [INFO] (0001:transaction): {done:  0 / 1, running: 0}
1,32864,2015-01-27 19:23:49,20150127,embulk
2,14824,2015-01-27 19:01:23,20150127,embulk jruby
3,27559,2015-01-28 02:20:02,20150128,Embulk "csv" parser plugin
4,11270,2015-01-29 11:54:36,20150129,
2017-06-16 14:43:25.378 +0900 [INFO] (0001:transaction): {done:  1 / 1, running: 0}
2017-06-16 14:43:25.382 +0900 [INFO] (main): Committed.
2017-06-16 14:43:25.382 +0900 [INFO] (main): Next config diff: {"in":{"last_path":"/private/tmp/example/csv/sample_01.csv.gz"},"out":{}}

@hiroyuki-sato Thanks for confirming!

Thanks! And releasing 0.8.25 then.


Add a default 5-min test timeout in ci

Codecov Report
Patch and project coverage have no change.

Comparison is base (979a5f4) 83.96% compared to head (aca46bb) 83.96%.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #146   +/-   ##
========================================
  Coverage    83.96%   83.96%
========================================
  Files           17       17
  Lines         2189     2189
========================================
  Hits          1838     1838
  Misses         351      351

Flag
Coverage Δ

unittests
83.96% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


[AMBARI-24598] Broken markup for alert on Installer Step7

What changes were proposed in this pull request?
Install Wizard -> Step 7 shows alert popup on the top of the page when user creates config group and switches to it. Looks like it has broken markup or styles.
How was this patch tested?
21817 passing (33s)
48 pending

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/3862/
Test PASSed.


bug: can't remap key '

Did you check docs and existing issues?

[X] I have read all the which-key.nvim docs
[X] I have updated the plugin to the latest version before submitting this issue
[X] I have searched the existing issues of which-key.nvim
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
0.10.0
Operating system/version
ubuntu22.04
Describe the bug
can't remap key '
Steps To Reproduce

the latest version: can't remap key '
reset the commit to 4390015b265adf69cf3e344cc13167539f732b2f: remap key ' successfully
reset the commit to c3cfc2bdb03c1b87943a6d02485ad50b86567341: still can't remap key ', so there is some bug in the commit of c3cfc2bdb03c1b87943a6d02485ad50b86567341

Expected Behavior
remap key ' successfully
Health
No response
Log
No response
Repro
vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()

require("lazy.minit").repro({
  spec = {
    { "folke/which-key.nvim", opts = {} },
    -- add any other plugins here
  },
})

Can you at least provide a spec or add of what you want to remap and what exactly fails?
Pretty low effort issue...


Implement vanilla-svg

You should use only vanilla javascript
Only SVG tags are allowed in rendering

H

implemented in #58


Wrong setup script?

I unzipped archive with addon to /root then
# ./install.sh -d  /var/lib/one
cp: cannot stat ‘/root/LVM_addon/src/datastore/lvm’: No such file or directory
cp: cannot stat ‘/root/LVM_addon/src/tm/lvm’: No such file or directory

+1

https://github.com/OpenNebula/addon-lvm/blob/master/install.sh#L20
This comment indicates that it's actually the script from the Xen plugin - Maybe it's not finished yet?


Permission resolution question

Description

I have UltimateClaims and trying to allow to the default group to run any action except of anything under ultimateclaims.toggle
I have this permission check for ultimateclaims.toggle.hostilemobspawning like this:
23:01:53.262
[CHAT] [LP] Permission information for ultimateclaims.toggle.hostilemobspawning:
23:01:53.262
[CHAT] [LP] - default does not have ultimateclaims.toggle.hostilemobspawning set.
23:01:53.262
[CHAT] [LP] - default does not inherit ultimateclaims.toggle.hostilemobspawning.
23:01:53.262
[CHAT] [LP] - default has ultimateclaims.toggle.* set to false in context global.
23:01:53.262
[CHAT] [LP] - default has ultimateclaims.* set to true in context global.
23:01:53.262
[CHAT] [LP]
23:01:53.267
[CHAT] [LP] Permission check for ultimateclaims.toggle.hostilemobspawning:
23:01:53.267
[CHAT] [LP]     Result: true
23:01:53.267
[CHAT] [LP]     Processor: bukkit.ChildProcessor
23:01:53.267
[CHAT] [LP]     Cause: parent: ultimateclaims.*
23:01:53.267
[CHAT] [LP]     Context: None

I was thinking the result must be FALSE since ultimateclaims.toggle.* has priority over ultimateclaims.*, isn't it?
Reproduction steps

Issue these commands on server
/lp group default permission set ultimateclaims.* true
/lp group default permission set ultimateclaims.toggle.* false

Expected behaviour

ultimateclaims.toggle.hostilemobspawning must be set to FALSE
Environment details

Server type/version: Spigot running version 1.17.1 build 2021-07-06T11:59:45+00:00
LuckPerms version: v5.3.47

Any other relevant details

This is intended behavior.
The author of UltimateClaims has configured within their plugin that anyone with the ultimateclaims.* permission should also be given ultimateclaims.toggle.hostilemobspawning (LuckPerms calls this "Bukkit Child permissions")
This takes priority over wildcards assigned within your permissions setup.


Add Android Bottom Navigation Bar

In place of our mobile web UI buttons and our current top navbar, we want a more native-like bottom navigation bar with buttons to jump to different sections of freeCodeCamp (/learn, /forum, /news, /settings, /search).

[ ] Design a logical bottom navbar that is easy to navigate
[ ] Design a drawer that holds certain subjects such as news
[ ] When visiting one of the subjects in the drawer, the bottom navbar should change accordingly. For example, the news subject has the bottom navigation icons, Articles, Bookmarks, and Search.

In place of our mobile web UI buttons and our current top navbar, we want a more native-like bottom navigation bar with buttons to jump to different sections of freeCodeCamp (/learn, /forum, /news, /settings, /search).

Currently, other than the web navbar users can switch through different sections with the help of the drawer in the app. If you want the user's ease with some native feature, it's already present in the form of the drawer, but if you really want a bottom navbar, we do that too.

https://www.figma.com/file/9L4ehIT1aWCcJeWjlNBNDl/navbar?node-id=0%3A1

Closing this as we have implemented navigation, I might open a new issue in the future for improvement on the current navigation.


Buttons and labels are not shown in its user friendly alias

We've installed dblocalization provider for episerver in our network. Everything works fine so far except that all labels and button texts are originating from their identifier and not from the user friendly alias. This happens in integration as well as in production environment. See screenshot below. Translations in the hidden ressource keys for german and english exists.
Is there any file or configuration that is missing?
thanks,
Markus

could this be related to #24?

closing due to inactivity..


The GLSL findMSB function does not seem to work after translation to Metal Shading Language

Dear SPIRV-Cross team,
I started testing our Vulkan app with MoltenVK in MacOS, and found that the Metal translation of findMSB didn't work.
Here is a GLSL example code:
uint edgelen;
myarray[0]=0x1234;
edgelen=20;
myarray[1]=edgelen;
myarray[2]=findMSB(edgelen);
myarray[3]=findMSB(uint(20));
myarray[4]=uint(log2(20.0));
myarray[5]=0x5678;
Running this in Linux and reading back the result gives me these expected bytes:
00001234 00000014 00000004 00000004 00000004 00005678
In MacOS 10.14 with Geforce GT 750M and MoltenVK from the latest SDK (vulkansdk-macos-<IP_ADDRESS>.dmg from June 11, which includes SPIRV-Cross with GitHub hash d385bf096f5dabbc4cdaeb6872b0f64be1a63ad0) I get
00001234 00000014 00000000 00000000 00000004 00005678
Note that findMSB returns 0 instead of 4.
I compiled and ran SPIRV-Cross to look at the Metal shader code, which is:
myarray[0] = 4660u;
myarray[1] = 20u;
uint _267 = uint(int(spvFindUMSB(20u)));
myarray[2] = _267;
myarray[3] = _267;
myarray[4] = 4u;
myarray[5] = 22136u;
So something seems wrong with spvFindUMSB. I tried to help by looking into SPIRV-Cross doing a
git clone https://github.com/KhronosGroup/SPIRV-Cross.git SPIRV-Cross
cd SPIRV-Cross
git checkout d385bf096f5dabbc4cdaeb6872b0f64be1a63ad0
(this was the SPIRV-Version I found I the latest MoltenVK source).
But "unfortunately" the SPIRV-Code looks OK to me:
/ Implementation of the unsigned GLSL findMSB() function
template
inline T spvFindUMSB(T x)
{
return select(clz(T(0)) - (clz(x) + T(1)), T(-1), x == T(0));
}
It also looks like there is a testsuite in SPIRV-Cross which checks this function, so I fear someone with more inside knowledge is needed at this point to figure out why this goes wrong.
To workaround the problem on my side, I'm using this slower replacement now, then my shader works:
#define findMSB(VAL) uint(log2(float(VAL)))
(this wouldn't work if VAL was 0, but I don't have this case ;-)
I keep fingers crossed that this report helps you trace the problem. I already reported it to MoltenVK, who sent me here.
Best regards,
Elmar

Very curious ... Could this be a driver bug? I can't see anything obviously wrong with the UMSB implementation. Wonder if this has something to do with clz(T(0)). MSL spec defines what happens here FWIW.
@cdavis5e @billhollings any ideas?

Hmmm...
I just tested the following Metal shader, hacked from a basic Apple compute sample project:
#include <metal_stdlib>
using namespace metal;

// Implementation of the unsigned GLSL findMSB() function
template<typename T>
inline T spvFindUMSB(T x)
{
	return select(clz(T(0)) - (clz(x) + T(1)), T(-1), x == T(0));
}

/// This is a Metal Shading Language (MSL) function equivalent to the add_arrays() C function, used to perform the calculation on a GPU.
kernel void add_arrays(device const float* inA,
                       device const float* inB,
                       device float* result,
                       uint index [[thread_position_in_grid]])
{
    // the for-loop is replaced with a collection of threads, each of which
    // calls this function.
//	result[index] = inA[index] + inB[index];
//	result[index] = spvFindUMSB(uint(20));
	result[index] = uint(int(spvFindUMSB(20u)));
}

I get the correct answer of 4. And changing the constant to 33 or 66 also gives the correct values of 5 and 6. It also doesn't seem to be affected by changing how things are passed (as in the line above the active line).
I'm running MacBook Pro 2017, Catalina 10.15.5, and I get the same results on both AMD Radeon Pro 560 and IntelHD Graphics 630. I haven't tried on iOS yet. So...it might be a localized driver bug...but if so it is very localized.
@elmar-k What does the rest of your shader look like, and what is the contextual environment under which you are running your shader? Is it parallel compute, how are you reading the results, what type of device memory, how are you syncing GPU/CPU, etc. I'm just trying to remove possible sync issues, or overwrite issues like we were seeing on the other shader write/read issue you reported.

Hi Bill,
many thanks for trying. In the mean time, my Vulkan port made progress and I can now select the GPU I want.
Previously, I reported that findMSB does not work in MacOS 10.14 with Geforce GT 750M.
On the same MacBook Pro, switching to Intel Iris Pro, the same code with findMSB works fine. Since this is the same notebook with the same MoltenVK etc., this seems to be a low level bug in the 'clz' function in Apple's nVIDIA drivers.
The next step would be to send the test case you kindly made to someone with MacOS 10.15 and an nVIDIA GPU to see if it has been fixed in the latest MacOS, and then either close the bug or forward to Apple..  Unfortunately I cannot get hold of such a system myself.
Best regards,
Elmar

Closing this as not-a-bug.


Rename column information_schema.table_partitions.schema_name to table_schema

to table_schema to align with information_schema.tables
Summary of the changes / Why this improves CrateDB
Checklist

[x] User relevant changes are recorded in CHANGES.txt
[x] Touched code is covered by tests
[x] Documentation has been updated if necessary
[x] CLA is signed

retest this please


Error in setting up container

Please provide us with the following information:

This issue is for a: (mark with an x)
- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Simply fork and clone the solution with the latest VSCode and remote container extension. VSCode recognizes a devcontainer exists and attempts to launch the container as expected. This fails.
Any log messages given by the failure
#0 7.919 /tmp/library-scripts/docker-in-docker-debian.sh: line 30: `    for CURR
'NT_USER in ${POSSIBLE_USERS[@]}; do
ERROR: failed to solve: executor failed running [/bin/sh -c apt-get update     &
& apt-get install python3-pip -y     && /bin/bash /tmp/library-scripts/docker-in
-docker-debian.sh "${ENABLE_NONROOT_DOCKER}" "${USERNAME}" "${USE_MOBY}" "${DOCK
ER_VERSION}"]: exit code: 2
[14641 ms] Error: Command failed: docker buildx build --load --build-arg BUILDKIT_INLINE_CACHE=1 -f C:\Users\BRENDA~1.CAR\AppData\Local\Temp\devcontainercli\container-features\0.25.2-1671545349879\Dockerfile-with-features -t vsc-container-apps-store-api-microservice-67bbad297964f83c0094e4ae069498d5 --target dev_containers_target_stage --build-arg _DEV_CONTAINERS_BASE_IMAGE=dev_container_auto_added_stage_label c:\temp\container-apps-store-api-microservice.devcontainer
[14641 ms]     at Doe (c:\Users\brendan.carroll.vscode\extensions\ms-vscode-remote.remote-containers-0.266.1\dist\spec-node\devContainersSpecCLI.js:1894:1669)
[14641 ms]     at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
[14641 ms]     at async EF (c:\Users\brendan.carroll.vscode\extensions\ms-vscode-remote.remote-containers-0.266.1\dist\spec-node\devContainersSpecCLI.js:1893:1978)
[14642 ms]     at async uT (c:\Users\brendan.carroll.vscode\extensions\ms-vscode-remote.remote-containers-0.266.1\dist\spec-node\devContainersSpecCLI.js:1893:901)
[14642 ms]     at async Poe (c:\Users\brendan.carroll.vscode\extensions\ms-vscode-remote.remote-containers-0.266.1\dist\spec-node\devContainersSpecCLI.js:1899:2128)
[14642 ms]     at async Zf (c:\Users\brendan.carroll.vscode\extensions\ms-vscode-remote.remote-containers-0.266.1\dist\spec-node\devContainersSpecCLI.js:1899:3278)
[14642 ms]     at async aue (c:\Users\brendan.carroll.vscode\extensions\ms-vscode-remote.remote-containers-0.266.1\dist\spec-node\devContainersSpecCLI.js:2020:15276)
[14642 ms]     at async oue (c:\Users\brendan.carroll.vscode\extensions\ms-vscode-remote.remote-containers-0.266.1\dist\spec-node\devContainersSpecCLI.js:2020:15030)
[14653 ms] Exit code 1
[14657 ms] Command failed: C:\Users\brendan.carroll\AppData\Local\Programs\Microsoft VS Code\Code.exe --ms-enable-electron-run-as-node c:\Users\brendan.carroll.vscode\extensions\ms-vscode-remote.remote-containers-0.266.1\dist\spec-node\devContainersSpecCLI.js up --user-data-folder c:\Users\brendan.carroll\AppData\Roaming\Code\User\globalStorage\ms-vscode-remote.remote-containers\data --workspace-folder c:\temp\container-apps-store-api-microservice --workspace-mount-consistency cached --id-label devcontainer.local_folder=c:\temp\container-apps-store-api-microservice --log-level debug --log-format json --config c:\temp\container-apps-store-api-microservice.devcontainer\devcontainer.json --default-user-env-probe loginInteractiveShell --mount type=volume,source=vscode,target=/vscode,external=true --skip-post-create --update-remote-user-uid-default on --mount-workspace-git-root true
[14657 ms] Exit code 1

Expected/desired behavior
Open as expected

OS and Version?

Windows 10.

Versions
Version: 1.74.1 (user setup)
Commit: 1ad8d514439d5077d2b0b7ee64d2ce82a9308e5a
Date: 2022-12-14T10:30:51.966Z
Electron: 19.1.8
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19044
Sandboxed: No

Mention any other details that might be useful

Thanks! We'll be in touch soon.

This issue seems like a UNIX EOF setting in the scripts which I would assume only impacts Windows users.


SNANDer - Serial Nor/nAND/Eeprom programmeR (based on CH341A)

Just found another open source ch341a programmer: https://github.com/McMCCRU/SNANDer

We have added your contribution. Please review and open this issue if you have more feedback.


Kannav

Hey @ezeoleaf I have added the documentation file regarding the publishers and providers , if you want me to make changes to it or maybe link it to the readme file just drop me a message
Thanks :)

Hey @ezeoleaf , I have added the documentation file and corrected the README file to show the correct relative link for the documentation file , If you require any other changes , just leave a message
Thanks :)


fix: Fix missing rows with test plus more fixes and watermarks

Added here for logging:
https://github.com/googleapis/nodejs-bigtable/compare/main...danieljbruce:fix-missing-rows-with-test-plus-more-fixes-and-watermarks?expand=1 plus watermarks removed.

closing in favor of #1444


Conflicting embedded_hal crate

Hi,
I2C works perfectly but when I want to use SPI, eg:
 let spi = Spi::<_, _, 8>::new(pac.SPI0).init(
        &mut pac.RESETS,
        clocks.peripheral_clock.freq(),
        2_500_000u32.Hz(),
        &embedded_hal::spi::MODE_0,
    );

I have a error saying that I've two different versions of embedded_hal::spi::Mode:
error[E0308]: mismatched types
   --> src/periph_init.rs:94:9
    |
90  |     let spi = Spi::<_, _, 8>::new(pac.SPI0).init(
    |                                             ---- arguments to this function are incorrect
...
94  |         &embedded_hal::spi::MODE_0,
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `embedded_hal::spi::Mode`, found struct `Mode`
    |
    = note: struct `Mode` and struct `embedded_hal::spi::Mode` have similar names, but are actually distinct types
note: struct `Mode` is defined in crate `embedded_hal`
   --> /home/olivier/.cargo/git/checkouts/embedded-hal-2c6e880c6b254bb0/a55595c/embedded-hal/src/spi.rs:192:1
    |
192 | pub struct Mode {
    | ^^^^^^^^^^^^^^^
note: struct `embedded_hal::spi::Mode` is defined in crate `embedded_hal`
   --> /home/olivier/.cargo/registry/src/github.com-1ecc6299db9ec823/embedded-hal-0.2.7/src/spi.rs:49:1
    |
49  | pub struct Mode {
    | ^^^^^^^^^^^^^^^
    = note: perhaps two different versions of crate `embedded_hal` are being used?
note: associated function defined here
   --> /home/olivier/.cargo/git/checkouts/rp-hal-820e3cfbda2f7607/6a040a8/rp2040-hal/src/spi.rs:150:12
    |
150 |     pub fn init<F: Into<HertzU32>, B: Into<HertzU32>>(
    |            ^^^^

Some errors have detailed explanations: E0308, E0425.

Here is my cargo.toml:
[package]
name = "test_interrupts"
version = "0.1.0"
edition = "2021"

[dependencies]
# intercom_libs =  { path ="../intercom_libs" }
rp2040-hal = { version = "0.6.0", features = ["eh1_0_alpha"] }
embedded-hal = { version = "=1.0.0-alpha.9" }
embedded-hal-async = "0.1.0-alpha.2"
fugit = "0.3.6"
defmt = "0.3.2"
defmt-rtt = "0.3.2"
panic-probe = { version = "0.3.0", features = ["print-defmt"] }
nostd_async = { version = "0.6.0", features = ["cortex_m"] }
cortex-m-rt = "0.7.1"
cortex-m = "0.7.6"
rp-pico = { version = "0.5.0", features = ["rt"] }
rp2040-async-i2c = { git = "https://github.com/ithinuel/rp2040-async-i2c" }
nb = "1.0.0"

[patch.crates-io]
embedded-hal = { git = "https://github.com/rust-embedded/embedded-hal" }
embedded-hal-async = { git = "https://github.com/rust-embedded/embedded-hal" }
rp2040-hal = { git = "https://github.com/ithinuel/rp-hal", branch = "develop" }
rp-pico = { git = "https://github.com/ithinuel/rp-hal", branch = "develop" }

Can you help me with this error, it's the first time I use a patch like [patch.crates-io]
Thank you

Ok, fixed like this:
embedded-hal = "0.2.7"
embedded-hal-alpha9 = { version = "=1.0.0-alpha.9", package = "embedded-hal" }

and using proper use:
use embedded-hal-alpha9::xxx
use embedded-hal::yyy


Decision concerning configuration splits

I tried to sketch something regarding splitting configuration when encountering new constraints on variables from configuration.
Please demolish it, either here, or on slack, and please suggest improvements.
I would like to get approval on this from at least one of @grosu @hreada @bmmoore before I merge it.
That is, of course, after we converge to a solution we don't disagree upon.
Reviewer checklist

[ ] Test coverage: stack test --coverage
[ ] Public API documentation: stack haddock
[ ] Style conformance: stylish-haskell

I think it got better now (also including Virgil's design doc on And-simplification).  @bmmoore @virgil-serbanuta please re-review.


ThisBuild / useSuperShell doesn't work

steps
sbt version: 1.3.0-RC2

Define a minimal project (just project/build.properties with sbt.version=1.3.0-RC2 & build.sbt)
Set ThisBuild / useSuperShell := false in build.sbt
Start sbt

problem
Supershell is active
expectation
Supershell is not active
notes

Ran into the the issue and want to add that it works fine with -Dsbt.supershell=false (didn't get to test --supershell=false)

I've been meaning to take a look at this one.


profanity formula depends on 'libcurl'

Installing 'profanity' fails because of a missing dependency on 'libcurl'.
$ brew info profanity
profanity: stable 0.4.7, HEAD
Console based XMPP client
http://www.profanity.im/
Not installed
From: https://github.com/Homebrew/linuxbrew/blob/master/Library/Formula/profanity.rb
==> Dependencies
Build: autoconf ✔, automake ✔, pkg-config ✔
Required: ossp-uuid ✔, libstrophe ✔, readline ✔, glib ✔, openssl ✔, gnutls ✔
Recommended: libotr ✔
Optional: terminal-notifier ✘

From a completely bare linuxbrew, running brew install profanity fails at the configuring profanity stage: https://gist.github.com/benjaminfjones/4c731692e0a01e6059d8#file-configure-log-L57
(actually, brew install profanity fails before this because of the libgcrypt issue #470 , but I worked around that)

Update - if I install curl manually, the profanity configure scripts gets further, but fails saying configure: error: libuuid is required for profanity. Now it seems that a dependency 'ossp-uuid' has already been installed and is incompatible with 'libuuid' which looks like it provides the right symbol.

Resolved the libcurl issue. Can you open a new issue for the libuuid problem with some logs on that if still reproducing? Thanks.

Opened #674 for the libuuid problem.


Roll Engine from d34c9912eb4a to e682f2aba3c7 (2 revisions)

https://github.com/flutter/engine/compare/d34c9912eb4a...e682f2aba3c7
2021-01-05<EMAIL_ADDRESS>fixes android deeplink to push the path only (flutter/engine#23255)
2021-01-05<EMAIL_ADDRESS>Roll Skia from 1efa14d9f4f5 to 0bfbfe5d30c0 (4 revisions) (flutter/engine#23426)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Commit queue failed; closing this roll.

Commit queue failed; closing this roll.


Add the possibility to test if VM CDROM are connected to 'ISO datastore' or 'Host Devices'

This PR add the possibility to allow or not to have CDROM connected to ISO or Host Devices. If remediation is set to True, CDROM will be set to Client Device.
A new Pester test named  Disconnect-CDROM.Tests.ps1 has been created.
A new parameter has been added to config.ps1:
$global:config.vm = @{
    snapretention       = 9999
    allowconnectedcdrom = $false
}

:+1:  :shipit:

:tada: :beers:
I've some other tests quiet ready, are you interested ?

Go for it :)


'eventsTarged' not working properly

This is a (multiple allowed):

[x] bug
[ ] enhancement
[ ] feature-discussion (RFC)

The 'eventsTarged' property does not seem to work. A few people on here mentioned how it should be 'target' but neither the API page or the raw .js file suggest this is the case.
 mousewheel: {
    eventsTarged: "c-home"
  },

I wish to use the div c-home (which wraps around the entire container) to trigger mouse wheel events, but no luck. Doesn't look like anyone else has this issue either.

I think it should say
 mousewheel: {     eventsTarget: "c-home"   },

I have exactly the same issue, created an element to use as trigger and it seems swiper doesnt detect.


saving dialog to mysql

guy‘s ,what if i want to save dialog to mysql, not the trackerStore.

Please ask usage questions in our forum.
Currently there is no implementation for a mysql tracker store. However, you can implement one: https://rasa.com/docs/core/tracker_stores/#custom-tracker-store


Discussion: Strategies for handling null deltas when updating an existing record

I was doing some testing on an API recently with Paper Trail enabled, and found that submitting the same PATCH request multiple times increments the revision number and updatedAt fields on the record on the entity table, but does not create additional entries in the Revisions table.
This feels somewhat inconsistent to me, and I was thinking perhaps it would be good to have an option that allows us to decide whether to discard Revisions entirely (essentially abort the update operation) if the delta is null, or to write a new Revision record even in the case of a null delta. The current behaviour is somewhere in between the two, and this may cause some confusion for anyone looking for the "missing" revisions in the Revisions table.
This seems to be due to the fact that beforeHook in index.js unconditionally increments the revision number of the instance being updated...
instance.set(options.revisionAttribute, (currentRevisionId || 0) + 1);
    if (delta && delta.length > 0) {
      if (!instance.context) {
        instance.context = {};
      }
      instance.context.delta = delta;
    }
    if (debug) {
      log('end of beforeHook');
    }

...but afterHook does not build and save the Revision change record if the delta is null...
if (instance.context && instance.context.delta && instance.context.delta.length > 0) {
      var Revision = sequelize.model(options.revisionModel);
      if (options.enableRevisionChangeModel) {
        var RevisionChange = sequelize.model(options.revisionChangeModel);
      }
      var delta = instance.context.delta;

      ...

      // Build revision
      var revision = Revision.build({
        model: this.name,
        documentId: instance.id,
        document: JSON.stringify(currentVersion),
        userId: ns.get(options.continuationKey) || opt[options.continuationKey]
      });
}

If we have agreement in principle on this, I'm happy to have a crack at it and submit a pull request when done. Let me know your thoughts.
Kind regards,
Rory

Interesting point, had not thought about this as much as you (I have been using PATCH but had not realized the effect). It definitely makes sense and is a good idea to correct this behavior to be consistent across the hooks and I also agree that this makes it easier to understand and it simplifies the behavior and expectations.
PRs are definitely welcome and I'd be happy to have a look at a PR and test the new behavior!


Add package for Gazebo simulation of robot and grippers

Skip the first two files, I do not know where they came from (_config.yml - index.md)

Please generate the appropriate documentation on the Project Wiki.


The compressed file cannot be decompressed by lzma command on Mac OS

I'm using LZMA-JS on nodejs, my code is as below
var my_lzma = require("lzma");
var fs = require('fs');

var result = my_lzma.compress('123456789qwertyuiop');
fs.writeFileSync('b.txt', new Buffer(result, 'ascii'), null, 'b');

then, I renamed "b.txt" to "b.txt.lzma" and tried to use lzma command to decompress it.  but I only get the error message

lzma: b2.txt.lzma: Compressed data is corrupt

LZMA-JS and lzma command both are based on the same algorithm, from my understanding, lzma can decompress the file that is compressed by LZMA-JS, am I right?  So could you please help me to find out   the problem that why the file get decompressed failed? Thanks

I can reproduce this on Linux with all versions published to npm, including 1.0.0, so yeah, I think this is a bug here

I’d prefer not to do anything without @nmrugg’s input but I think LZMA-JS is wrongly writing the end-of-payload marker to the compressed stream even though the compressed size is known. That should not be allowed according to the docs (ref), and commenting out the call to $WriteEndMarker seems to solve this problem.

Good call on $WriteEndMarker. I had originally tested against LZMA SDK 4.43, which doesn't mind unnecessary $WriteEndMarker.
Right now, we don't actually stream, so we always know the length, so we can't use $WriteEndMarker, right?

Yep, until there’s stream support, it’s probably best to comment it out. And when that’s coming, it needs to be enabled depending on some kind of flag that indicates whether the length has been written or not.

So has this issue been solved? I'm running in the exact same problem here, can't decompress something in the mac command line.

I'm late to the party but you can do this:
const lzmajs = require('lzma');
lzmajs.LZMA().disableEndMark = true;
// ... do your stuff

Thank you @jeanbmar !
I spent several hours on being unable to decompress LZMA data from LZMA-JS on Python:
json=lzma.decompress(data=data, format=lzma.FORMAT_ALONE)
But as soon as the disableEndMark to true it worked!


AIP-7796 Embed zillow-kfp compiler into WFSDK

This PR embeds the KFP client to compile Flows into Argo Workflows.
16 transitive dependency removals!!

The following are the first-level transitive dependencies we were able to remove and simplify from zillow-kfp https://github.com/zillow/pipelines/blob/6e2d7b24e3cbeb97cd1329733635151da3115c34/sdk/python/setup.py#L25-L59
❯ doit poetry add<EMAIL_ADDRESS>
Writing lock file

Package operations: 0 installs, 2 updates, 16 removals

  • Removing cloudpickle (2.2.1)
  • Removing google-api-core (2.10.2)
  • Removing google-api-python-client (1.12.11)
  • Removing google-auth-httplib2 (0.1.0)
  • Removing google-cloud-core (2.3.2)
  • Removing google-cloud-storage (1.44.0)
  • Removing google-crc32c (1.5.0)
  • Removing google-resumable-media (2.4.1)
  • Removing httplib2 (0.21.0)
  • Removing pydantic (1.10.6)
  • Removing pyparsing (3.0.9)
  • Removing strip-hints (0.1.10)
  • Removing tabulate (0.9.0)
  • Removing typer (0.7.0)
  • Removing wheel (0.40.0)
  • Removing zillow-kfp (1.0.81+1.8.10)
  • Updating pyyaml (5.4.1 -> 6.0.1)
  • Updating zillow-metaflow (2.0.2416.dev2416+2.5.4 -> 2.0.2417.dev2417+2.5.4)

31,33d27
<         "click>=7.1.2,<9",
<         "cloudpickle>=2.0.0,<3",
<         'dataclasses;python_version<"3.7"',
37,39c31
<         "google-api-python-client>=1.7.8,<2",
<         "google-auth>=1.6.1,<2",
<         "google-cloud-storage>=1.20.0,<2",
---
>         "googleapis-common-protos>=1.6.0,<2",
45,46c37
<         "pydantic>=1.8.2,<2",
<         "PyYAML>=5.3,<6",
---
>         "pyyaml>=6.0.1,<7",
48,51d38
<         "strip-hints>=0.1.8,<1",
<         "tabulate>=0.8.6,<1",
<         "typer>=0.3.2,<1.0",
<         'typing-extensions>=3.7.4,<4;python_version<"3.9"',

Generally looks good, is this working because the existing aip plugin imports from kfp? Or is it not actually hooked up yet and requires some more PRs to actually utilize that code and potentially in the future slim it down to just what we're actively using?

Generally looks good, is this working because the existing aip plugin imports from kfp? Or is it not actually hooked up yet and requires some more PRs to actually utilize that code and potentially in the future slim it down to just what we're actively using?

it's done and works because kfp is installed as a top level py_modules on pip install!
see related PR https://gitlab.zgtools.net/analytics/artificial-intelligence/ai-platform/aip-infrastructure/dockerfiles/aip-py/-/merge_requests/186#6a5ddfa118ee33f1381cfd1f4ff5751ac4f1b81f

it's done and works because kfp is installed as a top level py_modules on pip install! see related PR https://gitlab.zgtools.net/analytics/artificial-intelligence/ai-platform/aip-infrastructure/dockerfiles/aip-py/-/merge_requests/186#6a5ddfa118ee33f1381cfd1f4ff5751ac4f1b81f

Oh I think I get it, sorry your link confused me 😅 I think you maybe meant to sent this line. I see kfp in the py_modules in setup.py for zillow-metaflow and therefore when the aip plugin does import kfp it'll immediately go to this local reference which is super nice!
Firstly, this is a great leap forward, thanks for making this change but I wonder if we can think about next steps here:

Can we slim down the kfp module as is to just the bits we need?
Can we replace kfp compiler with the native Metaflow Argo Workflows one?

I do think as well having a discussion about what it'd take (likely via an RFC) to move zillow-metaflow to be a Metaflow plugin instead of a fork too. Unclear to me if that's a fully supported pattern in Metaflow but I'm guessing we're starting to fall seriously behind the Metaflow main branch in terms of versioning now?

@alexlatchford , thank you!
Created this task and onto my backlog to ensure I do this soon: AIP-7832 RFC on WFSDK kfp->argo next steps


Not recognizing state of scene when WLED Entity is used in scene

HI
First at all, this is a great tool. Thanks a lot for it.
Unfortunately I am unsing several WLED LED Stripes. As soon as one of them in part of a scene the scene will not be recognized as active, even if it is.
Best regards Harald

Hi Harald,
I do not have WLED entities myself so could you please give me some more information to help me understand the issue. I assume the WLED strips are exposed as regular lights in HA, is this correct? If so, what states do they assume when on and off? Do you configure any other attributes?
BW,
Hugo

Thanks for the code!  Cool idea.
I'm seeing a similar behavior with some LED strips - but I think it's really anything that has more than an RGB color/on-off/brightness.  My scenes have Hue, Lifx, and Leviton lighting entities.  The scenes come on when you turn the switch on, but the state of the switch never stays on.
I think I understand your code for comparing attributes, and it looks like you do only compare the subset...so I'm confused as to why it is failing....I'm going to turn on debugging and see more.  Because I can't imagine what wouldn't work.....

Hi again @Haraldbbag ,
I think I have some idea of the issue - my observation is that the code checks for the scene equality BEFORE all the lights have changed state.  In my case, a Hue lamp takes a few seconds to fully turn off, but the scene equality is checked before that.
What's the trigger to re-evaluate the state after the switch is turned 'on'?  Perhaps there needs to be a slight delay, as for some integrations there may be a gap between sending the command and the state coming back into the light entity itself.
I can't think of an event to catch for an arbitrary scene to know when everything is done.  I have ZWave landscape lights that could take 3-5 seconds after you tell them "on" to actually look like they are turned on in their entity state.
Hope this makes sense.

Hi,
That may be the cause of the problems. I can add a periodic update (say 5 seconds after an entity has changed) such that those entities are checked again.

I think if you added a "post-event-delay" configuration item, value in seconds, with a value of zero being the same behavior as now, that would be a good compromise.  thanks!  I'm happy to test pre-release if that is useful.


Irritating issue with redux-form.com

Please add css property white-space: nowrap; to  a element containting 'Redux-form' header/title in the left Navbar.

This is fixed.


unmount during drag

Description
Unmount the react component during drag
Fixes #612
Fixes #993
Type of change

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
manual
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

@hetunandu haven't added a test case since I saw in the code comments, drag-drop cases with cypress don't seem to be stable, let me know if I should still try that?


Refactor: enhance the dockerfile

Changes proposed in this pull request:

replace ADD with wget, Dockerfile should be reproducible, people don't know how and where to retrieve the tar file . even if copy a local file we should use CPY  instead of ADD, ADD is not recommend
add ENV in Dockerfile, just change the CURRENT_VERSION if PMC wanna release a new image
not sure when release the 4.0.0-RC1, since it is so, 3.0.0 should be the up to date Dockerfile , change the CURRENT_VERSION if new version proxy released.

Pull Request Test Coverage Report for Build 7308

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 53.313%

Totals

Change from base Build 7305:
0.0%

Covered Lines:
8359

Relevant Lines:
15679

💛  - Coveralls

This is a good idea.
For apache release, the distribution file is in https://dist.apache.org/repos/dist/dev/incubator/shardingsphere/${CURRENT_VERSION}/apache-shardingsphere-incubating-${CURRENT_VERSION}-sharding-proxy.tar.gz temporary, and will move to https://dist.apache.org/repos/dist/release/incubator/shardingsphere/${CURRENT_VERSION}/apache-shardingsphere-incubating-${CURRENT_VERSION}-sharding-proxy.tar.gz
So I suggest wget this file to instead of https://raw.githubusercontent.com/apache/incubator-shardingsphere-doc/master/dist/${CURRENT_VERSION}.tar.gz.
Another suggest, ${CURRENT_VERSION}.tar.gz is a file, use rm -f is better than rm -rf


ApiResponse interface

What's the rationale behind? IMO the ApiClient/Resource knows the Model to use, doesn't it? In that case an extra interface does not really add anything, does it?

It does for the Deserializers.https://github.com/api-php/boilerplate/blob/master/src/Deserializer/ModelDeserializer.php#L39

Ah, missed that. Well, it looks a bit strange from a domain point of view. Wonder if we could get around this with duck typing.
In any case: call it Model?

Yes, Rename the namespace Resource\Api to Model\Api.
What do you mean with "duck typing"?

Duck typing: check if there is a create method and it accepts an array instead of checking with an interface. Less elegant, but does not interfere with the domain. But it doesn't really matter after all. Any reason why it should be Model\Api instead of just Model?

Using duck typing is not type safe. We do not have the contract that is provided with the interface that makes sure that the create function accepts an array as first argument.

Any reason why it should be Model\Api instead of just Model?

What if we have other models in our client? But hm... what other models should that be?
No, no real reason.


FUSETOOLS2-1858 - copy list before asserting on it

to avoid potential ConcurrentModificationException
Signed-off-by: Aurélien Pupier<EMAIL_ADDRESS>

previously it was like 1 failure out of 35 runs, it didn't fail again after 50 runs


Reference to ReleasePool can be broken

Please see https://github.com/PyO3/pyo3/issues/159#issuecomment-437898689 for detail.
Currently, register_owned/borrowed/pointer methods returns a reference to an element in Vec, like
pub unsafe fn register_owned(_py: Python, obj: *mut ffi::PyObject) -> &PyObjectRef {
    let pool: &'static mut ReleasePool = &mut *POOL;
    pool.owned.push(obj);
    &*(&pool.owned[pool.owned.len() - 1] as *const *mut ffi::PyObject as *const PyObjectRef)
}

.
But, since Vec's inner address can be changed by realloc, this reference can be invalid one, and causes segfault like #158.
There can be some solutions for this.
1. Wrap by box
Current definition of release pool
struct ReleasePool {
    owned: Vec<*mut ffi::PyObject>,
    borrowed: Vec<*mut ffi::PyObject>,
    pointers: *mut Vec<*mut ffi::PyObject>,
    obj: Vec<Box<any::Any>>,
    p: spin::Mutex<*mut Vec<*mut ffi::PyObject>>,
}

to
struct ReleasePool {
    owned: Vec<PinBox<*mut ffi::PyObject>>,
    borrowed: Vec<PinBox<*mut ffi::PyObject>>,
    pointers: *mut Vec<PinBox<*mut ffi::PyObject>>,
    obj: Vec<PinBox<any::Any>>,
    p: spin::Mutex<*mut Vec<*mut ffi::PyObject>>,
}

so that each objects have a consistent address.
Then we can get a consistent reference by
&*(&*pool.owned[pool.owned.len() - 1] as *const *mut ffi::PyObject as *const PyObjectRef)

advantage
Easy
disadvantage
Allocation overhead
2. Remove ReleasePool
Remove release pool and rewrite all PyObject wrapper like PyDict and PyList to have a lifetime'py.
E.g.
#[repr(transparent)]
pub struct PyDict<'py>(PyObject, Python<'py>);

And also rewrite all constructors  to return owned type instead of returning &'py.
E.g.
impl<'py> PyDict<'py> {
    /// Creates a new empty dictionary.
    pub fn new(py: Python<'py>) -> PyDict<'py> {
        unsafe {
            let obj = crate::PyObject::from_owned_ptr(py, ffi::PyDict_New());
            PyDict(obj, py)
        }
    }
}

advantages
Ergonomics improves
No overhead
disadvantage
Really big breaking change

Regarding Option 2: Would this still support wrapping object pub struct Py<T>(NonNull<ffi::PyObject>, std::marker::PhantomData<T>) to store them without owning the GIL?
Also Option 3: LinkedList. This is similar to option 1, but interesting regarding performance. (You could make a science out of this an try linked fixed size slices, but for now it's definitely safety and simplicity over performance)

Would this still support wrapping object pub struct Py

I don't imagine any problem around that...
But, anyway it's a very breaking change so there's many points to be considered.

Also Option 3: LinkedList.

Sounds good to me, though it's slower than Vec.
I'm going to try and bench it.

Option 3 can be amortized with a linked-list of preallocated buffers using the indexed crate

Would this still support wrapping object pub struct Py

I can't imagine any problem around that...

Py<T> must be given a T. If we have a PyDict<'p>, we'd need to save a Py<PyDict<'p>>, therefore Py<T> could outlive the gil.

Ah I understand, thanks.

This seems to be a case of a use-after-free, which is an exploitable security vulnerability. Please add this issue to the Rust security advisory database so people could check if they're running a vulnerable version and upgrade.
I see you've fixed a bunch of segfaults lately, so you might want to just specify the range of affected versions and declare that those shouldn't be used instead of filing each and every one as a separate vulnerability.


Fixes for the latest pandas.

Close https://github.com/dmlc/xgboost/issues/10180 .

@hcho3 The used API was there https://pandas.pydata.org/pandas-docs/version/1.5/reference/api/pandas.Index.map.html , but I haven't tested it. Do we need to support this particular version of pandas?

I think a best effort support for past version should be sufficient


Fix tracing_datadog_golden.json for datadog tracer

Fix tracing_datadog_golden.json, from recently merged PR.
Other changes since the PR was opened meant the golden file had become stale.
Fixes #13078
CC @howardjohn @rshriram

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: cgilmour
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: geeknoid
If they are not already assigned, you can assign the PR to them by writing /assign @geeknoid in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pkg/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Hi @cgilmour. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

/ok-to-test

/lgtm
Thanks for the fix

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: cgilmour, howardjohn
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: geeknoid
If they are not already assigned, you can assign the PR to them by writing /assign @geeknoid in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pkg/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@cgilmour: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-simpleTests.sh
b86f896dfcae5637654d9a3bddbe2fe647f3479f
link
/test e2e-simpleTests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@cgilmour: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-k8s-tests.sh
b86f896dfcae5637654d9a3bddbe2fe647f3479f
link
/test istio-integ-k8s-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@cgilmour: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-k8s-tests.sh
b86f896dfcae5637654d9a3bddbe2fe647f3479f
link
/test istio-integ-k8s-tests

prow/istio-pilot-multicluster-e2e.sh
b86f896dfcae5637654d9a3bddbe2fe647f3479f
link
/test istio-pilot-multicluster-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: cgilmour, howardjohn, nmittler
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pkg/OWNERS [nmittler]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

I think codecov is failing because the previous tests fail, so the failure should be overriden

This is ready to merge @duderino @rshriram
This is blocking all other changes until merged
Codecov is failing because the previous tests fail, not these, so the failure should be overridden

Will be in 1.1.3 with an ETA of 4/15


MissingMethodException in GenerateHelp with new version of FSharp.Compiler.Service

I am getting MissingMethodException in GenerateHelp target using build.cmd on clean project. I was able to track it down to FSharp.Compiler.Service library. It looks like version <IP_ADDRESS> broke something. If I downgrade by adding line
nuget FSharp.Compiler.Service <= <IP_ADDRESS>
to Build group in paket.dependencies, it works.

Yes. That's unfortunate.
/cc @tpetricek, @dsyme
On Mar 31, 2016 10:52 PM, "ikarni"<EMAIL_ADDRESS>wrote:

I am getting MissingMethodException in GenerateHelp target using build.cmd
on clean project. I was able to track it down to FSharp.Compiler.Service
library. It looks like version <IP_ADDRESS> broke something. If I downgrade by
adding line
nuget FSharp.Compiler.Service <= <IP_ADDRESS>
to Build group in paket.dependencies, it works.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/fsprojects/ProjectScaffold/issues/242

fixed


Implement sync frequencies

Implement frequent background tasks for example from settings.

Data will update but ui not refresh use solution:
http://stackoverflow.com/questions/14695537/android-update-activity-ui-from-service

UI does not have to refresh via background. This behaviour would result in unexpected changes on the UI.


Decide between cpy.Machine and cpy.Copier

cpy.Machine avoids repetition and sounds like a photocopier.
cpy.Copier is fairly conventional Go naming.
One last chance to pick between the two before 1.0.

Let's just go with cpy.Copier:

It's more idiomatic. I was probably being too cute when I named it Machine
The naming is fairly inconsequential. You almost always construct it with cpy.New and rarely reference the type by name.


Remove __cxa_demangle usage from Umpire core

Symbols are demangled in the replay too using the Abseil library.

@mcfadden8 - this is ready for review.


Review Docker Images& Services for S6 inclusion

From the April 23 weekly call, @nigelgbanks raised the idea of discussing potentially using s6-overlay for

@dbernstein seconded this for usage pushing log data in fcrepo to a logging service like Cloudtrail.
@g7morris pointed out that the ISLE 7 project uses this service extensively

https://github.com/Islandora-Collaboration-Group/isle-apache/blob/master/Dockerfile#L41

The task should be to identify which images and services could benefit from utilizing s6-overlay to help with process management especially child processes handling as well as piping logs to stdout (as needed)
Also reference this issue: Logging to stderr / stdout for all images / containers / services #45

I'm looking over the stack right now and seeing blank spots in config files in the pre-built images.  We're envsubsting in the build process, and args aren't getting set right.  But that stuff probably shouldn't be in the build process anyway and we should use confd to template it out in the entrypoint.
If I'm gonna go as far as to do that, we should consider the whole s6/confd combo as an under-layer.  Off the top of my head, it'd be applicable to

Houdini
Hypercube
Homarus
Fcrepo
Milliner
Gemini
CrayFits
Recast
Alpaca

And probably more, but that's the containers I'm familiar with.
I'm comfortable enough to attempt installing confd and trying my hand at that, but s6 I would just be blindly flailing about. Help with that would be appreciated.

Sorry for dropping off the radar and not posting sooner, when I went to do some cleanup on what I had locally over the weekend I ended up just spending the whole weekend on it. It's close to be done, but in the process of trying to tidy what I had I broke it. The general idea and layout is there but there are lots of bugs and things that need doing to make it work fully, I think about 2-3 days of work to get it in a good place.
https://github.com/nigelgbanks/docker-experiment

Oh snap you've got everything.  Yeah i'm sure it'll need to get looked over thoroughly as it gets wired up.  That's where our current implementation is at.
I'll take a deeper look :eyes: Thanks for dropping it off.

As agreed on the weekly tech call, @nigelgbanks to give working demo for May 14th call for team review. Thanks @nigelgbanks for doing this. :+1:

This work is now being done here https://github.com/Islandora-Devops/isle-buildkit. Closing ticket.


Office365 - Outlook opens in some kind of lightweight mode (like webmail in 1990)

Describe the bug
Outlook opens in some kind of lightweight mode. Light version is not enabled in the settings
To Reproduce
Steps to reproduce the behavior:

Start Franz
Click Office 365 - Outlook
Login
See old version of webmail

Expected behavior
Would expect the normal version. If I open it in a normal (Google Chrome) browser it looks like the normal version.
Screenshots

Desktop (please complete the following information):

OS: Windows 7

After reinstalling Franz it's gone....

Anders after a few restarts it's back... :(

I have this issue aswell. Tried removing Outlook and it was fine for a while, but the next day it reverted back to 1990's mode. I'm running the latest version of Franz on the latest version of OSX.

This happens on several of mine workstations. The only real solution is apparently to delete the correct folder from: "%AppData%\Roaming\Franz\Partitions". But it's very annoying.

I have the same problem.

Same issue here too - started today for some reason :(


Support for Composite fields

How do we sync composite fields on PG to nested fields on CH?

I would say that you're doing something wrong, composite fields should be defined as tuples in clickhouse, not nested fields (because they're more like tuples of arrays).


Replace quickfixj-messages-all with specific quickfixj-messages version and made them optional

…

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

Project coverage is 92.96%. Comparing base (7378667) to head (25eaf80).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff            @@
##               main     #133   +/-   ##
=========================================
  Coverage     92.96%   92.96%
  Complexity      211      211
=========================================
  Files            39       39
  Lines           753      753
  Branches         46       46
=========================================
  Hits            700      700
  Misses           34       34
  Partials         19       19

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


Info: what is necessary to save in pd_notify_keyset to allow secure connection after a power on?

I think it is the data field of struct osdp_cmd_keyset but is it enough?
And at power on have I to pass it to osdp_pd_setup?
Thank you.
Paolo

Yes when type == 1, the contents of data (16 bytes), must be stored in a persistent memory and passed to osdp_pd_setup() at boot as the SCBK parameter.

After I have connected my device with secure protocol if I restart control panel (an access control system) it will reconnect in secure mode but if I restart my device it will go to unsecure. In this condition I can see CMD_CHLNG message from control panel but not CMD_SCRYPT. Is there something that is not initialized after reset? Your library I'm using is not the last version but this is the only problem I have and, at the moment, is not so simple to upgrade it for my device.
Many thanks.

From what you describe, I suspect the struct osdp_pd_id members are not initialized properly. When you call osdp_pd_setup at each boot on the PD side, the same osdp_pd_info_t must be passed. This along with the SCBK are used to setup the secure channel.
Alos, it's highly recommended that you use the latest version 1.3.0 which has lots of bug fixes and new feature additions. If you had to modify LibOSDP to fit your needs, please open issues for such problems you faced and describe how you solved it. This way I can fix them upstream  (or provide workarounds) so you can uptake newer versions easily.


fix: set map entries/key to non-nullable

Fixes #106.

Codecov Report

Merging #107 (889b82f) into main (5771e5e) will increase coverage by 0.03%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #107      +/-   ##
==========================================
+ Coverage   92.88%   92.91%   +0.03%
==========================================
  Files           7        7
  Lines        1644     1652       +8
  Branches       52       52
==========================================
+ Hits         1527     1535       +8
  Misses         84       84
  Partials       33       33

Impacted Files
Coverage Δ

src/nanoarrow/schema.c
93.70% <100.00%> (+0.05%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Hmm, seems na_map in R does trip the new validation

Not sure if this is the right way to fix the R issue - maybe we should copy the key type and set it to non-nullable in na_map?


Update NaiveBayes.php

As we discussed with itcraftsmanpl in e-mails, NaiveBayes.php should be updated in order to be full concordance with the Naive Bayes theory. I propose these changes that make the NaiveBayes classifier capable of handling both continuos and categorical data while in my opinion it reflects the theory better.
I have tested it with some dataset from UCI repository to see how it performs. According to my observations, its performance is dramatically increased.

Hi,
I generally do not follow the coding standarts, PSR-1 or PSR-2 (Maybe I should !). However, upon your request, I have just fixed the code by using a tool that can be downloaded from http://cs.sensiolabs.org/.
I hope it is now compatible with PSR2. Please check the latest version I committed.

After the checks had failed, I noticed the predictSample method should be able to handle multiple samples given as a parameter. I have just updated the file in this regard.

Hey @mustafakarabulut, thanks for PR.
Your implementation returns different results for the test data. Pleas check tests/Phpml/Classification/NaiveBayesTest.php. In testPredictArrayOfSamples test results are different.

Hi @itcraftsmanpl ,
Apperantly, NaiveBayes fails in the test cases for some 'hard' samples. But, the out of the box KNearestNeighbor implementation in the PHP-ML library also fails, too. You should check it out.
I wondered if NaiveBayes implementation in the scikit-learn (Python) also fails and observed that it did not. Therefore, I have some way to go before the implementation I committed reaches the production quality. However, it performs better than the previous version, so it should be considered as a step forward.
I will keep you posted as I have some improvements.

Hi again,
Finally I've fixed the issue. Just needed to check scikit-learn source code to see how they handle Gaussian NB. As I could see, a simple trick of taking logarithm during the PDF calculation helped avoid too small or zero values which improved the classification performance in some cases.
As a side note, there is still room for improvements in the NaiveBayes.php. I would look into it as long as I can take time.
Greetings from Turkey.

@mustafakarabulut thanks, next time you can apply coding style standards by running php-cs-fixer. Awesome work :+1:


[GCI] Add group management system tests

Describe the changes you have made in this pr -
Added system tests for group management system
Tests creating group and adding members
GCI task

Coverage increased (+0.1%) to 83.361% when pulling 9af5102c52018e7ded366470b030d264be79890a on junron:groups_system_test into 0aa029c82ff2aab877689c27fbbd2c0872dc1a43 on CircuitVerse:master.

The error that fails the test seems to be unrelated. Also the tests worm on circle ci for some reason.
Please have a look @tachyons

App veyor is windows CI, so environment can vary, we need to get this work on both platforms

@tachyons is it ok if I just do the adding group test? the adding member part seems problematic due to the morals.

@tachyons Seems like it's more complicated than I thought, could the task be extended til Sunday?

@tachyons @Ananthavijay Copying the file solved the issue, but it also caused a lot of duplication. Maybe another PR could solve the underlying issue of the file not being served properly, then I'll update my PR accordingly.

Only group creation is included in this PR so far, Need group managing group feature as well, like editing, deleting, adding members etc

@tachyons @ankitkataria All done!

@alanjsph Please have a look


Error while trying to create new azure function

Repro steps:1.2.Action: azureFunctions.createFunctionAppError type: 403Error Message: Failed with code 403.Version: 0.16.0OS: win32VS Code Version: 1.32.3Call Stack```module.exports.o.pipeline (dist/extension.bundle.js:277:500927)s (dist/extension.bundle.js:277:110820)s (dist/extension.bundle.js:165:25754)dist/extension.bundle.js:165:26994o (dist/extension.bundle.js:223:7055)dist/extension.bundle.js:165:24675$.module.exports.t.requestLibrarySink.t.headersOnly.t.streamedResponse.t.body.function.t.body.pipe.a [as _callback] (dist/extension.bundle.js:1:579051)$.module.exports.$.init.t._callback.t.callback.t.callback (dist/extension.bundle.js:253:5461)$.emit (events.js:182:13)$. (dist/extension.bundle.js:253:18274)$.emit (events.js:187:15)IncomingMessage. (dist/extension.bundle.js:253:17116)Object.onceWrapper (events.js:273:13)IncomingMessage.emit (events.js:187:15)endReadableNT (_stream_readable.js:1090:12)process._tickCallback (internal/process/next_tick.js:63:19)```

@IonutCristianBistriceanu please post repro steps for your issue

@EricJizbaMSFT
Repro steps:

1.2.Action: azureFunctions.deployError type: 403Error Message: Failed with code 403.Version: 0.16.0OS: win32VS Code Version: 1.32.3Call Stackmodule.exports.o.pipeline (dist/extension.bundle.js:277:500927)s (dist/extension.bundle.js:277:110820)s (dist/extension.bundle.js:165:25754)dist/extension.bundle.js:165:26994o (dist/extension.bundle.js:223:7055)dist/extension.bundle.js:165:24675$.module.exports.t.requestLibrarySink.t.headersOnly.t.streamedResponse.t.body.function.t.body.pipe.a [as _callback] (dist/extension.bundle.js:1:579051)$.module.exports.$.init.t._callback.t.callback.t.callback [as callback] (dist/extension.bundle.js:253:5461)$.emit (events.js:182:13)$.<anonymous> (dist/extension.bundle.js:253:18274)$.emit (events.js:187:15)IncomingMessage.<anonymous> (dist/extension.bundle.js:253:17116)Object.onceWrapper (events.js:273:13)IncomingMessage.emit (events.js:187:15)endReadableNT (_stream_readable.js:1090:12)process._tickCallback (internal/process/next_tick.js:63:19)

Thanks for the info - can you try setting azureFunctions.advancedCreation to true in your VS Code settings and trying again? That will prompt you for more values and it might help me figure out exactly which step is failing

I have changed the azureFunctions.advancedCreation setting to true and tried again. I got asked for the additional info like OS, storage and resource group I think. I also managed to deploy the application and checked it in portal.azure.com.It is working fine now. Let me know if you need me to do anything more.
@EricJizbaMSFT

Can you let me know what OS, runtime and region you selected when creating the function app? And what language your local project is? Could be our defaults aren't working in your case.

OS: Windows
Runtime: .NET
Region: West Europe

Interesting... can you do me a favor and try deploying to the West US region? That's our default and I'm wondering if you don't have access to that region for some reason (or if that region has an outage or something).

Unfortunately I can't create a new resource group since I don't have permission.(Company owned account).

Ah that would explain it - so you must've selected an existing resource group when you used advanced creation?

Yes, I selected an existing resource group.

Closing as duplicate of https://github.com/microsoft/vscode-azurefunctions/issues/1317


BBC iPlayer - 'Content not working'

Firstly, great work with this project :-)
I've got a strange one to report, and hope that someone in the community can help with. I have a proxy setup with Kamatera UK. Essentially a sandbox. Setup using the scripts and instructions on the main page.
Works fine for Netflix UK & iPlayer (for 99% of content), however, I've noticed an error( "content doesn't appear to be working - Try again") on some of the recent feeds from Glastonbury. What's even stranger is that with these feeds, they error on one day, and then work fine the following day. It seems that perhaps they error on the day that they're still considered to be a 'stream', and then they are moved to VOD, and work fine.
I've traced the DNS through Chrome while trying to access the streams that error, and noticed a couple of new addresses which I've added to the zones.overrride (see below).
zone "vod-rtmp-uk-live.edgesuite.net." {
type master;
file "/data/conf/db.override";
};
zone "bbcfmt.fcod.llnwd.net." {
type master;
file "/data/conf/db.override";
};
Even though when I retry, I can see that these then become directed to the Proxy, the same error persists (until I try and access the same stream the following day).
Just to further confuse things, I've run another test with a VPN. I've configured a DO UK VPN box to point at the same proxy (Kamatera UK). When I connect to this box by VPN, and try and access the content that is failing, it plays fine. Go figure ???
An example of the content that is failing is here:
http://www.bbc.co.uk/programmes/p03zhqnz
This one's stumped me, so I'm hoping it makes sense to someone in this community. I'm based in Australia BTW.

Sounds suspiciously like browser caching... Have you tried doing all of this in Chrome Incognito mode?

Yes. Different browsers and devices and incognito.
Sent from my iPhone

On 26 Jun 2016, at 10:26 PM, Anton Belodedenko<EMAIL_ADDRESS>wrote:
Sounds suspiciously like browser caching... Have you tried doing all of this in Chrome Incognito mode?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

This only other thing I can think of is that fcod is Limelight's Flash Media Server endpoint and rtmp is probably the same for Akamai as opposed to HLS and HDS, which are Smooth Streaming/HLS/DASH endpoints. Maybe clear the Flash player caches as well?

From my recent testing, it appears BBC iPlayer doesn't always use DNS to resolve media hosts. So just replying on DNS fudging isn't going to work, because the media IPs are shipped to the player in a proprietary payload, with the player then making direct to IP requests. I believe Netflix also uses this approach in some of their apps (e.g. iOS).
Unfortunately, a DNS/proxy solution won't work here and to get around this, interesting traffic must be re-routed. There is extensive discussion and example (OpenWRT) implementation in thread https://github.com/ab77/netflix-proxy/issues/180 on how to get around this.
-- ab1


Make MinimumStakingCoinValue configurable

In order to solve https://github.com/stratisproject/StratisBitcoinFullNode/issues/1180, a constant
public const long MinimumStakingCoinValue = 10 * Money.CENT; has been introduced.
It would be nicer to have this configurable rather than a constant
This line can currently be seen in PosMinting.cs
Acceptance; this is solved when

nodesetting or commandLine can be used to change the default (and currently hardcoded) value of  10 * Money.CENT

Closed with https://github.com/stratisproject/StratisBitcoinFullNode/issues/1743


Modify docs to warn against common git pitfalls

Issue #743

Sorry, didn't see this. Looks like the comment I made on the #764 applies here instead.

closing this; I'm just going to submit both issues in the other PR instead of creating a PR dependency


[ALLUXIO-2863] Rename file DuCommandTest.java

https://alluxio.atlassian.net/browse/ALLUXIO-2863

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/15909/
Test PASSed.


Removing Unnecessary math operation

I scoured through the code when came across this math operation, and it kind off bugged me because it wasn't necessary (to my knowledge).
To my math knowledge the last part / size * size cancels itself out, but if there is any reason why this was added to the end, I would like to be educated on why so.
Thanks for making this lib. A simple way of reading a byte buffer was exactly what I was looking for.

Oops. You're correct. I did some work in 2017 and that's some leftover for byte alignment. It's not implemented correctly at all.
Since this library was made for parsing binary easily, It's quick implementation for it.
As I'm not working with binary on Rust as it's quite heavy for a small one (so I moved to python when that time), this was left behind. I think it needs to remove the whole function. As it's not working as intended at all.
I'm closing this PR. Thank you for investigating.


IPv6 Address/Port needs brackets around address portion in binary Source Address and Port section

A popular convention (and suggested in various RFCs) is to surround an IPv6 address with square brackets "[]" when a port or other information is appended to the address. Example: [2001::1]:80.
Adding this to the strings in the "User IPv6 Source Address and Port" binary display section might help identify the strings as a single address, instead of two separate lines.

Added brackets around IPv6 address in "User IPv6 Source Address and Port." I the display is easier to understand now.


Cannot print EUI as stated in know issues in README.md

I've imported the mbed-os-example-mesh-minimal (June 21) in the mbed compiler, then  changed the mesh-type to MESH_THREAD in the mbed_app.json.
Then I added these lines to print the eui value:
uint8_t eui64[8] = {0,0,0,0,0,0,0,0};
mesh.device_eui64_get(eui64);
printf("EUI64 address = %02x:%02x:%02x:%02x:%02x:%02x:%02x:%02x\n", eui64[0], eui64[1], eui64[2], eui64[3], eui64[4], eui64[5], eui64[6], eui64[7]);
However, when compiling the program I'm getting the following error:
Error: Class "ThreadInterface" has no member "device_eui64_get" in "main.cpp", Line: 100, Col: 10
Do I need to add or change something else? I want to print the EUI.

ARM Internal Ref: ONME-3739

I'm sorry about the inaccurate documentation in the application.
The API for device_eui64_get was made in PR https://github.com/ARMmbed/mbed-os/pull/7158 and it was supposed to be released in Mbed OS 5.9.1 but unfortunately the fix was delayed to Mbed OS 5.9.2. The fix is already available in the Mbed OS master branch.
Would you please try to cherry-pick the PR to your mbed-os repo or use the master branch?

I tried importing the application again from scratch,  the last commit that it has is the "Updating mbed-os to mbed-os-5.9.2 ... " commit. It still complaining when building that the ThreadInterface has no member device_eui64_get.

device_eui64_get  is defined only for ThreadInterface . Therefore you need to use Thread configuration when building the application: mbed compile -t GCC_ARM -m K64F --app-config ./configs/mesh_thread.json.

I'm compiling using the online Mbed IDE (for a K64F + MCR20). I'm attaching the mbed_app.json file that I used which is based on /config/mesh_thread.json.  It still does not recognize the device_eui64_get method.
mbed_app.json.log

Mbed OS 5.9.2 is not yet released and therefore online IDE is using Mbed OS 5.9.1 that does not have the required PR. Mbed OS 5.9.2 will be released soon and it will solve the problem with online IDE.
Another option would be to try with your personal workarea. Then you can be sure that correct version of Mbed OS is used.

Mbed OS 5.9.2 just released today. I tried with the online IDE again, imported the mbed-os-example-mesh-minimal project again, modify the mbed_app.json to be like /config/mesh_thread.json. When I compile it shows the following error:

Any suggestions?

That issue also reported here: https://github.com/ARMmbed/mbed-os/issues/7422

https://github.com/ARMmbed/mbed-os/issues/7422#issuecomment-402716689 contains workaround for the problem: add macro _RTE_ to the online IDE menu "Compile->Compile Macros" and recompile. For me it generated binary that prints correct EUI64.
I'm really sorry about this hassle, hopefully you can get the EUI64 now.

Thanks for all your help Arto, I successfully printed the EUI value.
I tried then to follow the instructions of https://os.mbed.com/docs/latest/reference/mesh-tech.html#thread-commissioning, there it says that you need to first create and run the firmware image with the thread-use-static-link-config=false in the mbed_app.json and add the code to print the EUI after the "printf("connected. IP = %s\n", mesh.get_ip_address());" line.
I did that and the FRD K64F+ MCR20 printed the EUI, then compile the same code but with thread-use-static-link-config=false and setting mbed-mesh-api.thread-pskd to some value ("J01NU5"). Tried commisioning the node with the oficial commissioning app by typing the EUI that I got and the pskd that I set, but its failing seems like those values are incorrect.
I return to the image with thread-use-static-link-config=true to double check the printed EUI and I noticed that it was different.  I reset the board and again the printed EUI is different, every time I reset the node it prints a slightly different EUI value.
I also tried to move the lines to print the EUI before the mesh.connect() so that it may print the EUI in the
thread-use-static-link-config=false image, but I'm getting a runtime error when calling the get_eui method.
I reset the board 10 times and these are the EUI that I obtained:
00:02:fc:5d:51:00:f0:09
00:02:fc:5c:51:00:f0:09
00:02:fc:5b:51:00:f0:09
00:02:fc:5f:51:00:f0:09
00:02:fc:5b:51:00:f0:09
00:02:fc:4c:51:00:f0:09
00:02:fc:5d:51:00:f0:09
00:02:fc:58:51:00:f0:09
00:02:fc:58:51:00:f0:09
00:02:fc:58:51:00:f0:09

Is there any way to avoid generating a different EUI every time the node resets, or set your own? I was under the assumption that the EUI is a unique value of the hardware and it's always the same.

EUI64 should be constant. I tested with Atmel RF by restarting device more than 20 times: EUI64 is always constant.
mbed-mesh-api contains method device_eui64_set in https://github.com/ARMmbed/mbed-os/blob/mbed-os-5.9.2/features/nanostack/mbed-mesh-api/mbed-mesh-api/ThreadInterface.h that can be used to set EUI64. However, this method is suffering about the runtime error you already noticed. The runtime error will be handled by issue: https://github.com/ARMmbed/mbed-os/issues/7391
I also tested with K64F+ MCR20 and see exactly the same problem as you did, EUI64 is not constant.

Please check https://github.com/ARMmbed/mcr20a-rf-driver/pull/20 for a proposed fix.

Hello @artokin. Sure I will try it out today and put my result here. Thanks for keeping an eye on the issue.

@artokin I imported the mbed-os-example-mesh-minimal project from scratch using the mbed online compiler, then modified the config file to create a network and print the EUI after the print the ip line, then I reseted the board multiples times to check the printed EUI value.
I can happily say that the issue is fixed, however, I had to manually update the mcr20a-rf-driver library in the mbed online compiler to get the fix, the issue was still there in the version of the library that the mbed-os-example-mesh-minimal project gets when importing it.

@artokin Just tried commissioning the MCR20 node using the app and to a nanostack-border-router. It working great!!.

Thank you @ubx-caloca .  For some reason I missed the MCR20 driver update in my previous commit but it is fixed now in the https://github.com/ARMmbed/mbed-os-example-mesh-minimal/pull/211.
Closing this issue. All the fixes are available in the Mbed OS master branch and later on they will be available in the Mbed OS 5.10.


Add Event Calendar for QGIS Agenda (from QGIS.org, User Group, etc)

In the QGIS Contributor Meeting in Bratislava, there is an idea to add a calendar in QGIS website to show the agenda around QGIS. It can be the one from QGIS.org/PSC, the User Groups, and others. It was intended to share what user group do, and perhaps can inspire other user group.
Examples frm Python Community

PyCon events: https://www.python.org/events/python-events/
Python User Groups: https://www.python.org/events/python-user-group/
The map of the events: https://lmorillas.github.io/python_events/

Hi @ismailsunni
A link to the events page is shown at https://qgis.org/community/organisation/meetings/. It points to https://github.com/qgis/QGIS/wiki.
However, I also think having these event calendars on the Website would be great.
What do you think about harvesting the wiki page to the "Meeting" page?
Cc @timlinux @anitagraser

I think that's enough for now. I was thinking to have a calendar for the events from all the user groups, but may be that's too much to maintain.

Imho user groups should be encouraged to share their events in the feed so users can see them when they launch QGIS. This would reach more users more effectively rather than an event page hidden somewhere in the website


About desktop

I have styled the buttons and added the cursor though not functional and yet to find the bug in the image of the contact @mercymugambi

Hi @cate339
Please fix all the bugs before you can merge this branch. Merging the branch with the bug will have issues on production. 😉
Cheers and happy coding


[Bug]: Superspecies Edit Taxon Name Page - Can not drag in the Subsequent Combination panel

Steps to reproduce the bug
Superspecies can not drag in subsequent combination.

Screenshot
No response
Expected behavior
No response
Additional Screenshots
No response
Environment
Production
Sandbox Used
No response
Version
No response
Browser Used
chrome

I don't think the drag is live yet.

When the drag would be live, will I be able to Create it? Because that button does not turn available yet neither.


S3

I'm having trouble configuring S3 caching.   Can you confirm I am using the correct syntax ?   I have verified my S3 permissions and connected from this instance using the AWS SDK.   My access key and security key are setup via aws configure.
Start Command
imageproxy/bin/imageproxy -cache s3://s3.amazonaws.com/zone-dropbox/output/cm/image-cache/ -addr <IP_ADDRESS>:8080
Error
2016/04/11 22:00:46 s3util.Create failed: unwanted http status 403: "\nInvalidAccessKeyIdThe AWS Access Key Id you provided does not exist in our records.AEAC7AA329BBE037tEBB1ELYxnC8PD5lT1JHhO02so4ZWyB3Vw+tIfQl2GPbs0398kR+S+7VFhoJy7Wzc5azjN/I0N0=

You either need to use an instance profile (when you're actually running on EC2), or the AWS_ACCESS_KEY_ID and AWS_SECRET_KEY environment variables.
aws configure populates a ~/.aws/credentials file which is specific for the aws CLI.  imageproxy doesn't read from that file.

Thanks.  I did try exporting/setting the environment variables as well and that didn't work either.    Still getting a 403.  I have verified the permissions outside of imageproxy and everything seems fine.

On Apr 11, 2016, at 10:00 PM, Will Norris<EMAIL_ADDRESS>wrote:
You either need to use an instance profile (when you're actually running on EC2), or the AWS_ACCESS_KEY_ID and AWS_SECRET_KEY environment variables.
aws configure populates a ~/.aws/credentials file which is specific for the aws CLI. imageproxy doesn't read from that file.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub

Can you try without any folder?  Check my run configuration here:  https://github.com/trybrick/imageproxy/blob/master/scripts/run.sh
Use:
-cache s3://s3.amazonaws.com/zone-dropbox

Reason:  When I look at the s3 cache module, it look like the code is using the entire bucket.  It doesn't seem to work with bucket subfolder.  Therefore, you should reserve a bucket for the cache.
If you think about it, it makes a lot of sense why they did it this way for performance.  This is because s3 partition (storage location) by the first n (usually 3) characters.  S3 cache module use guid to represent the URL it is caching and for storage performance.

Thanks.. this is solved.


How to get defaults from schema instead of from v-model on mount

Reproduction
https://formkit.link/29132d186d3cd07dbfa5c2daa6d44a10
Describe the bug
I would like to ignore the v-model values on mount and use the schema values instead.
<FormKit type="group" v-model="data" @input="$emit('input', $event)"> <FormKitSchema v-if="schema" :schema="schema" /> </FormKit>
The reason is that I am populating the schema based on the v-model with a scheme function and I would prefer to only use 1 model for it for simplicity.
For example I am pushing a number and options like this
v-model
{
age: 41,
error-behaviour: 'blur || submit || live' // SELECT
parameters: HSP=60Hz OFFD=50mm // LIST
i_Command: 0=Auto 1=CW 2=CCW 3=Pauze 4=Resume 5=Reset // TOGGLEBUTTONS
options: 'abc=>a;b;c || de=>d;e || f' // TREE
options: 'First || Second t-taglist' // TAGLIST
iObject: {world: 'Sander t-keys'} // KEYS
validation: 'javascript || typescript t-autocomplete' // AUTOCOMPLETE
state: 'design || review || produce || test t-stepper' // STEPPER
command: StartStop // TOGGLEBUTTONS
}

schema
// age: 41
case "number":
  var min=iSettings[item]?.min || unit.min || 100
  var max=iSettings[item]?.max || unit.max || 0
  var middle=(max-min)/2
  result.push({
    $formkit: "slider",
    name: item,
    label: unit.unit ? `${iLabel} (${unit.unit})` : iLabel,
    min: iSettings[item]?.min || unit.min,
    max: iSettings[item]?.max || unit.max,
    value: iTable[item],
    tooltip: true,
    marks:[
      { at: min, label: `${min}${unit.unit}` },
      { at: middle, label: `${middle}${unit.unit}` },
      { at: max, label: `${max}${unit.unit}` },
    ],
    help: "-", // WORKAROUND: Otherwise the label is not fully shown
  })
  // error-behaviour: 'blur || submit || live' => SELECT
  // parameters: HSP=60Hz OFFD=50mm => LIST
  // i_Command: 0=Auto 1=CW 2=CCW 3=Pauze 4=Resume 5=Reset => TOGGLEBUTTONS
  // options: 'abc=>a;b;c || de=>d;e || f' => TREE
  // options: 'First || Second t-taglist' => TAGLIST
  // iObject: {world: 'Sander t-keys'} => KEYS
  // validation: 'javascript || typescript t-autocomplete' => AUTOCOMPLETE
  // state: 'design || review || produce || test t-stepper' => STEPPER
  // command: StartStop => TOGGLEBUTTONS
  else {
    const props = {
      $formkit: options.type,
      name: item,
      label: item == "state" || options.type == "prompt" ? undefined : iLabel,
      value: options.default || options.value,
      options: options.default ? options.value : undefined,
      multiple: isMultiple || isBoolean ? true : false,
      // TODO https://github.com/formkit/formkit/issues/1395
    }

    if (options.type == "keys" || options.type == "stepper") {
      result.push({
        $cmp: options.type,
        props: props.deletex("$formkit"),
      })
    } else {
      result.push(props)
    }
  }

It's still a work in progress but I can of course share when it's ready. The idea is to translate actual data into a form directly.
Something like
---
ID: 1
I_Enable: auto-default || cw-default || ccw || pauze || resume || slow || fast is-boolean
I_Command: 0=Auto 1=CW 2=CCW 3=Pauze 4=Resume 5=Reset
IBS: {
    DIGITAL: AO || SWS || CFOE || SOP, # Digital inputs
    SI: 1000hours, # Service interval
    FDBD: 0s, # Feedback delay
    STAD: 0s, # Start delay
    STOD: 0s, # Stop delay
    OFFD: 0s, # Off delay
    SPD0: 50rpm, # Acive speed
    SPD1: 500rpm △0.5s, # Slowdown/Normal speed
    SPD2: 1500rpm △1s, # Normal speed
    SPD3: 1800rpm △1s, # High speed
  }
MotorData: {
    ETA: 25, # Status
    LCR: 25.0, # Motor current
    OTR: 25.0, # Motor torque
    OPR: 25.0, # Motor power
    LFT: 25, # Last fault
    RFRD: 25, # Output velocity
  }
ChainIn:
  { Command: 0=Off 1=Start 2=Stop 3=Pauze 4=Resume 5=Reset, State: 0=Idle-default 1=Running 10=Holding 11=Held 12=Restarting 20=Pausing 21=Paused }
---

Environment
------------------------------
- Operating System: Windows_NT
- Node Version:     v20.14.0
- Nuxt Version:     3.12.2
- CLI Version:      3.12.0
- Nitro Version:    2.9.6
- Package Manager<EMAIL_ADDRESS>- Builder:          -
- User Config:      telemetry, modules, experimental, icon, build, routeRules, components, content, formkit, imports, css, devtools
- Runtime Modules<EMAIL_ADDRESS>normalizedModule<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>- Build Modules:    -
------------------------------

Don't use v-model, use :value for initial state only.
You could just make form a part of the schema itself and not use v-model.

But I also want the actual values of the form. But on mount it should get the values from the scheme instead of the v-model. This because I am also using the v-model for providing the scheme.

You get the values of the form on submitting, onSubmit first parameter is the values of the form, no need to keep track yourself.
You shouldn't provide the schema a v-model, you should pass data and inside of it a initial state that you can pass to a form that is inside the schema. ( if you're not using the first case that is form outside of schema, still use :value tho )

@justin-schroeder Any thoughts?

This is not how it works, v-model is reactive meaning it will overwrite any value you pass to the value of a schema, as it has priority.
If you want a default value just don't pass that key to the v-model, so it will be added later to it as the form will recognize that there is a new key and inject into the v-model with the value it is provided by the input.

For me it makes much more sense that the scheme has priority over the v-model. Why not support both?
Now the scheme defaults are pointless when using a v-model which is not empty
Why not support both?
Something like
priority=vmodel | schema // Priority used for mounting

Because priority wise it is not the default value that is priority, it is the value you set manually, just like a variable, if it had a default value it will be set if it is empty, but if you set the value manually it won't be the default value but the manually set one.
v-model sets the values for all keys that it has, it takes priority because it is the value you told the form to set it to.


Switch to varbit chunk encoding to improve compression

Will need to:

[x] add a header to the chunk (and fix #7)
[x] switch to bigger buckets, as longer chunks will mean too many index entries (see #180)
[x] include the encoding in said header, assume chunks without said header are doubledelta.

Keeping open until this is deployed to prod.

https://github.com/weaveworks/service-conf/commit/00e89abcfaa419582619f9e986907621f7bdac7e

Gone out to prod in https://github.com/weaveworks/service-conf/pull/827


Disable Recall

Hello!
Great script! Just wanted to let you know in the latest windows builds, there is a new invasive AI feature called Recall that should be disabled.
Through command prompt it's as easy as DISM /Online /Disable-Feature /FeatureName:"Recall," but I'm not sure exactly where the registry value is so it can be disabled through ps.
Thanks for taking the time to read my request.

resolved