resampled=True and with_length did not work for "exact epoch" when using shuffle

As explained the document, I tried the resampled option for "exact epoch".
This is the sample code. I executed this on single node.
import webdataset as wds

dataset = (
    wds.WebDataset("./000.tar", resampled=True)
    .shuffle(4096)
    .decode()
    .with_epoch(4096)
)

keys = []
for i, x in enumerate(dataset):
    k = x["__key__"]
    keys.append(k)
print(len(set(keys)))

000.tar includes 4096 samples. So, I expected the length of keys is 4096, but it was smaller, such as 3723. When I removed .shuffle, the length was 4096.
Do I misunderstand the function?

This may be a bug; let me see whether I can reproduce it.
The combination of resampled/with_epoch should always give rise to an epoch of the exact length.
Could you append your 000.tar file, please (just in case it makes a difference)?

Thank you for your response. I attached the 000.tar.
000.tar.zip
I generate it as the following.
sink = wds.TarWriter("000.tar")
for i in range(4096):
    sink.write(
        {
            "__key__": f"{i:04d}",
            "data.pyd": i,
        }
    )
sink.close()

I didn't explain well enough, but the length of keys I said in the first comment is len(set(keys)). So, I mean there are some overlaps of keys in a epoch. len(keys) itself is 4096.

I'm experiencing something similar. In my case with resampling and exact epochs the number of batches generated is more than what it should be. Am I calculating epoch_size wrong ?
epoch_size = train_size // self.batch_size

dataset = wds.DataPipeline(
    wds.ResampledShards(self.train_pattern),
    wds.tarfile_to_samples(),
    wds.decode('torch'),
    wds.to_tuple('input.np', 'labels.npy'),
    wds.map(self._preprocess),
    wds.batchedIself.batch_size)
).with_epoch(epoch_size).with_length(epoch_size)


Record type annotation for a function with type parameters

(int, T) f<T>() {}

A few errors are reported
    ParserErrorCode.EXPECTED_EXECUTABLE [0, 1, "Expected a method, getter, setter or operator declaration.", "This appears to be incomplete code. Try removing it or completing it."]
    ParserErrorCode.MISSING_CONST_FINAL_VAR_OR_TYPE [1, 3, "Variables must be declared using the keywords 'const', 'final', 'var' or a type name.", "Try adding the name of the type of the variable or the keyword 'var'."]
    ParserErrorCode.EXPECTED_TOKEN [6, 1, "Expected to find ';'.", null]
    ParserErrorCode.EXPECTED_EXECUTABLE [7, 1, "Expected a method, getter, setter or operator declaration.", "This appears to be incomplete code. Try removing it or completing it."]

@jensjoha


Create bug_template.md

PR Checklist

Please check if your PR fulfills the following requirements:

[ ] All new classes have class-level documentation comments, if there are any at all
[ ] Tests for the changes have been added (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[x] Documentation update
[ ] Other... Please describe:

What is the current behaviour?

What is the new behaviour?

Resolves #

Other information

Basic template for bug reports going, add fields if you feel that we require more information to fix. (Do we log to somewhere or bannerlord logs which might be useful?)

This will likely be moved to https://github.com/Bannerlord-Coop-Team/Bannerlord-Coop-Issues


Add support for optional local backend

Add support for and document running against a local GitHub proxy server instead of against the live branch on GitHub.com.
This is a beta feature of Netlify CMS:
https://www.netlifycms.org/docs/beta-features/#working-with-a-local-git-repository
I've pushed this commit to master on my fork, and you can see that my fork's GH pages edit buttons still try to authenticate to GitHub.com; but if you run this branch locally, it will use the local proxy server, but only if is running. If you're not running a local proxy server, local development still falls back to the GitHub backend.
Per the netlify-cms code, the CMS only looks for the local proxy if running on localhost.
I don't love the recommendation of npx to run random code from npm. Is there a better way to do this?

@contolini thanks, that's a great improvement! It runs locally for me using just yarn start, very nicely (although required me upgrading my local Node to the latest 10.x, 10.10.1). Would you mind giving another quick look at how I've merged your changes?

Yeeeee :shipit:


fix for issue 420:  UART ZEPHYR Transport will (most likely) stop to work after a few transactions when using USB-CDC

fixes issue 420.
fixes: https://github.com/EmbeddedRPC/erpc/issues/420
Pull request
Choose Correct

[x ] bug
[ ] feature

Describe the pull request

To Reproduce
see  https://github.com/EmbeddedRPC/erpc/issues/420
Expected behavior
see https://github.com/EmbeddedRPC/erpc/issues/420
Screenshots
N/A
Desktop (please complete the following information):
see https://github.com/EmbeddedRPC/erpc/issues/420
Steps you didn't forgot to do

[ x] I checked if other PR isn't solving this issue.
[ x] I read Contribution details and did appropriate actions.
[ x] PR code is tested.
But only on my HW setup ...
[ x] PR code is formatted.
[ ] Allow edits from maintainers pull request option is set (recommended).
Can't set this option - I think because the fork is owned by my org, not me as individual

Additional context
N/a

Hello @rene-becker-setec , thank for preparing this PR, it looks good ... could you format the code as per results of https://github.com/EmbeddedRPC/erpc/actions/runs/8588230594/job/23746634738?pr=421  or to allow the editing for me to do so? Thank you
Michal

Hello @rene-becker-setec , thank for preparing this PR, it looks good ... could you format the code as per results of https://github.com/EmbeddedRPC/erpc/actions/runs/8588230594/job/23746634738?pr=421  or to allow the editing for me to do so? Thank you
Michal

Hi @MichalPrincNXP ,
Done.
Would give you editing access if I could figure out how to.
Cheers,
Rene

Hello @rene-becker-setec , thank for preparing this PR, it looks good ... could you format the code as per results of https://github.com/EmbeddedRPC/erpc/actions/runs/8588230594/job/23746634738?pr=421  or to allow the editing for me to do so? Thank you
Michal

Hi @MichalPrincNXP , Done. Would give you editing access if I could figure out how to. Cheers, Rene

I am still not able to edit, please use this formatted version:
erpc_uart_zephyr_transport.zip

Hello @rene-becker-setec , thank for preparing this PR, it looks good ... could you format the code as per results of https://github.com/EmbeddedRPC/erpc/actions/runs/8588230594/job/23746634738?pr=421  or to allow the editing for me to do so? Thank you
Michal

Hi @MichalPrincNXP , Done. Would give you editing access if I could figure out how to. Cheers, Rene

I am still not able to edit, please use this formatted version: erpc_uart_zephyr_transport.zip

OK, updated file with the one you supplied.
Reading GitHub documentation it looks like I am not able to 'allow editing' as my fork is organization owned, not individually. Will have to use a different method next time.

Thank you.


fixedOverflowWidgets=true makes suggestion widget shows at a wrong location when monaco-editor is hosted inside fluent Callout control

https://codesandbox.io/s/affectionate-satoshi-ywlnk?file=/src/App.js
The Monaco-editor is placed inside a fluent Callout control (https://developer.microsoft.com/en-us/fluentui#/controls/web/callout)
fixedOverflowWidgets=true - suggestion widget shows at a wrong location (left is correct, top is incorrect)

fixedOverflowWidgets=false - suggestion widget shows at the right position, but it doesn't show complete...

My workaround is to change the Callout style to overflow: 'visible', and set monaco-editor options fixedOverflowWidgets: false
                    <Callout
                      styles={{
                        root: {
                          width: 400,
                          padding: 20
                        },
                        calloutMain: {
                          // NOTE: This is a workaround to show formula bar inside Callout
                          overflow: 'visible'
                        }
                      }}

We're noticing the same issue when using the fluent Panel.
sandbox
Notice that when the Editor is inside the Panel, the read-only widget appears in the wrong place:

But when outside, the widget is correctly placed:

After some investigation I found out that the animation on the callout/panel is causing the issue.
As a workaround you could set the animationName to 'none' on the Panel or Callout styles to get rid of the
animation which fixes the problem.

transform: translate(0px) set on any editor parent element also triggers this bug.

Thanks for reporting this! I'm not sure, but this actually might be a duplicate.
In case it is not, please create an new issue and provide a reproducible example in the monaco editor. Thanks!

There are two reproducible examples in this issue. They could be more minimal but do showcase the issue.


add mugshot to xfce

you might want to add a recommends to the xfce subpkg and bump the release

sure, will do tomorrow

thought i did oops

no idea

wdym, it's BuildArch: noarch

wdym, it's BuildArch: noarch

I mean in anda.hcl


scandir and md5 for adlsgen2setup.py

see https://github.com/Azure-Samples/azure-search-openai-demo/issues/2065

@pamelafox @mattgotteiner  still wishes for this PR?


Accessing AppSync in Lambda

Which Category is your question related to?
AppSync, Lambda, Auth
Amplify CLI Version
4.13.1
What AWS Services are you utilizing?
AppSync, Lambda, Auth
Provide additional details e.g. code snippets
I set up a graphql AppSync API using amplify and I need to be able to query it in a lambda function. How can I do that? I am using Cognito User Pools for authentication on the graphql API and I am not sure how to configure a request in order to query the API in a lambda function. I have read the documentation on building a lambda client that seems to achieve what I want, but I am confused about the proper auth mode I should be using as the docs mention both Cognito User Pools and IAM as possiblities. In the context of my app, the lambda function is called when a user wants to send an email to another user. I basically want to query the graphql API, and then shoot an email off.

@yuth Hey so I copied the code from the docs and tried to run a query and I get the following error: "No operation matches the provided operation name ". But when I look at my graphql api,  is there, and I can in fact query it via the console. What might this mean? I made to to give crud rights to my lambda function on the graphql api


Allow to specify admission webhooks CA from Bundle

When creating ValidatingWebhookConfiguration or MutatingWebhookConfiguration, we can specify the CA bundle to use in the ClientConfig : https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#webhookclientconfig-v1-admissionregistration-k8s-io
However, those ressources doesn't allow to specify the CA bundle from a Secret or Configmap (only inline).
cert-manager tackles this problem by injecting the CA bundle on resources annotated with cert-manager.io/inject-ca-from: <namespace>/<certificate>.
So in order to provide the same functionality as cert-manager, it would be nice to introduce a trust-manager-ca-injector that would be responsible to inject the CA bundle on resources annotated with trust.cert-manager.io/inject-ca-from: <namespace>/<bundle>.

When looking into the cert-manager-ca-injector documentation, I found this :
https://cert-manager.io/docs/concepts/ca-injector/#injecting-ca-data-from-a-secret-resource
Thus allowing us to inject the CA bundle from a secret that would have been created by trust-manager.
Sorry for the inconvenience 🙏

In the end, the use of the annotation cert-manager.io/inject-ca-from-secret allows us to specify a secret to define the CA for admissions webhooks.
But the only thing missing for this feature to be achievable is to be able to add custom annotations on the secret created by the Bundle. For now, only the key can be specified : https://cert-manager.io/docs/trust/trust-manager/api-reference/#bundlespectargetsecret
It would be nice to be able to add the cert-manager.io/allow-direct-injection: "true" annotation on the created secret.

It could make sense to add a feature similar to cert-manager secretTemplate. That should make the feature address more use cases, and not just this one specifically. It should also cover target configmaps if implemented.


Minecraft docker image stop prematurely

Discussed in https://github.com/itzg/docker-minecraft-server/discussions/1038

Originally posted by jedo-tm September 11, 2021
Hi,
Recently my docker images stops prematurely. I have tried to investigate different causes but is unsuccessful. I am running it on a kubuntu 20.04 LTS.

It happens with both vanilla and forge servers
It happens with and without autopause enabled.
I have tried to increase memory (    -e MEMORY=10G )
I have tried to remove and re-create  container.
I have deleted and re-downloaded image.

In the most recent  crash :

I had started the docker container
attached to the docker and left.
After 5 idle hours I tried to connect minecraft client but was not successfull
I looked at terminal where I had run $docker attach mcimage
I could exit with ctrl p ctrl q, but could not stop or start the container again

[Autopause loop] No client reconnected - stopping
[12:17:21] [RCON Listener #1/INFO] [minecraft/MinecraftServer]: Rcon connection from: /<IP_ADDRESS>
[12:17:21] [RCON Client #6/INFO] [minecraft/DedicatedServer]: [Rcon: Saved the world]
[2021-09-11T12:17:21+0200] [Autopause] Pausing Java process
read escape sequence
$ docker attach mcimage

You cannot attach to a stopped container, start it first

$docker start mcimage; docker attach mcimage

Error response from daemon: driver failed programming external connectivity on endpoint mcimage (c8d56783d606cde4af32ee08a442f901f24e2aa2b838c927bafccf90720b267d): Error starting userland proxy: listen tcp <IP_ADDRESS>:3555: bind: address already in use
Error: failed to start containers: mcimage
You cannot attach to a stopped container, start it first_
$docker stop mcimage
mcimage
$docker start mcimage; docker attach mcimage
_Error response from daemon: driver failed programming external connectivity on endpoint mcimage (c8b3104c686f18b41f6b33be39bd7dee43b7fc2578426f1e641f67e5d788900f): Error starting userland proxy: listen tcp <IP_ADDRESS>:3555: bind: address already in use
Error: failed to start containers: mcimage
You cannot attach to a stopped container, start it first

If  I log into a different docker image, I can see that the processes running are a mixture of root and minecraft user processes running and this "picture" is general for all my containers
 $ docker exec -it mcimage2

root@fa21d4b2d7f3:/data# ps aux
USER         PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND\n
minecra+       1  0.1  0.0 705272  3488 pts/0    Ssl+ 17:22   0:00 mc-server-runner --stop-duration 60s java -Xms4G -Xmx4G -jar minecraft_server.1.17.1.jar
minecra+      36  0.0  0.0   7328  3784 pts/0    S+   17:22   0:00 /bin/bash /autopause/autopause-daemon.sh
minecra+      66  408 10.4 10258468 3423352 pts/0 Sl+ 17:22   2:59 java -Xms4G -Xmx4G -jar minecraft_server.1.17.1.jar
root          94  0.0  0.0   4884  2220 ?        Ss   17:22   0:00 /usr/sbin/knockd -c /tmp/knockd-config.cfg -d -i eth0
root         215  0.1  0.0   7460  4068 pts/1    Ss   17:22   0:00 bash
minecra+     234  0.0  0.0   5476   520 pts/0    S+   17:22   0:00 sleep 10
root         235  0.0  0.0   9116  3476 pts/1    R+   17:23   0:00 ps aux*root@fa21d4b2d7f3:/data#**

Does anyone have ideas how to solve this or further troubleshoot the problem?

@jedo-tm you opened a discussion and an issue. Can you pick one to avoid the noise and confusion?

Hi @itzg
I realized that an issue might be more appropriate when looking at how people have used issues and discussions - I cant figure out how to close the discussion - I think it might be something that only the moderator can do?? Sorry I am not that used to posting in github forum. By the way thank you so much for bringing this docker image, I think it is fantastic.

Oh yeah, I can't see how to close the discussion either. Ok, we'll continue here in the issue 😀
@Oekn5w do you have any suggestions to debug?

@jedo-tm  The port seems to be used by something else, although 3555 is not near the range used in the image (I know you can rebind it to whatever). Are you using that port for the container?
Searching for the error ( for example here ) suggests to check the running containers (docker ps), clearing up docker stuff (docker prune), restarting the docker service and checking what is binding the port (ss -tulpn).
From the description above, I kind of doubt, that this is something specifically tied to the image.
Despite that, can you provide the docker-compose file or docker run command?

@Oekn5w @itzg
I think I now can confirm that it has nothing to do with the docker image . I had the same problem on multiple constainers with the same image ( well the java version used was different for some of the images). The container which has been run for the longest time (~ 3month) is tied to a port which had not been used by other programs as far as i know. This container started to crash .
A few days ago, I suspected that my docker installation was the real issue. The docker installation was a snap installed from the linux distributions (kubuntu) software center 'discover'. I completely deleted that installation and instead added Dockers own ubuntu APT source as descibed [here] (https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-20-04). and for the last four days I have had no restarts The plot below shows the number of log files per day for one of the containers. Log files could of course also be due to other issues but it sort of gives an indication of when the problem start, which seems to 27th of august

When running
journalctl -u snapd|grep docker
I see many entries like the ones below. I don't know what they mean, but there seems to be a change around ~ 27th of august which coincide with my problem . So far my conclusion is that the snap for docker in ubuntu caused the problem  - maybe an update was pushed? My problem seems to have been resolved by using Dockers APT source.
Aug 25 21:47:49 asus snapd[1244537]: storehelpers.go:551: cannot refresh: snap has no updates available: "core18", "docker", "snapd"
Aug 26 01:17:49 asus snapd[1244537]: storehelpers.go:551: cannot refresh: snap has no updates available: "core18", "docker", "snapd"
Aug 26 07:02:49 asus snapd[1244537]: storehelpers.go:551: cannot refresh: snap has no updates available: "core18", "docker", "snapd"
Aug 26 14:57:49 asus snapd[1244537]: storehelpers.go:551: cannot refresh: snap has no updates available: "core18", "docker", "snapd"Aug 26 19:02:49 asus snapd[1244537]: storehelpers.go:551: cannot refresh: snap has no updates available: "core18", "docker", "snapd"
Aug 27 02:12:49 asus snapd[1244537]: storehelpers.go:551: cannot refresh: snap has no updates available: "core18", "docker", "snapd"
Aug 27 08:17:49 asus snapd[1244537]: storehelpers.go:551: cannot refresh: snap has no updates available: "core18", "docker", "snapd"
Aug 27 15:08:13 asus snapd[1244537]: taskrunner.go:271: [change 11 "Setup snap \"docker\" (1125) security profiles" task] failed: cannot update mount namespace of snap "docker": cannot update preserved namespace of snap "docker": cannot update snap namespace: cannot create symlink in "/etc/docker": existing file in the way
Aug 27 15:08:15 asus snapd[1244537]: handlers.go:511: Reported install problem for "docker" as d718d3d8-0737-11ec-a5d4-fa163e102db1 OOPSID
Aug 27 22:47:58 asus snapd[1003]: taskrunner.go:271: [change 12 "Run post-refresh hook of \"docker\" snap if present" task] failed: run hook "post-refresh":
Aug 27 22:47:58 asus snapd[1003]: cannot update snap namespace: cannot create symlink in "/etc/docker": existing file in the way
Aug 27 22:48:01 asus snapd[1003]: handlers.go:511: Reported install problem for "docker" as 116ecebc-0778-11ec-a5f9-fa163e102db1 OOPSID
Aug 28 03:12:59 asus snapd[1003]: taskrunner.go:271: [change 13 "Setup snap \"docker\" (1125) security profiles" task] failed: cannot update mount namespace of snap "docker": cannot update preserved namespace of snap "docker": cannot update snap namespace: cannot create symlink in "/etc/docker": existing file in the way
Aug 28 03:13:00 asus snapd[1003]: handlers.go:511: Reported install problem for "docker" as already-reported
Aug 28 06:58:02 asus snapd[1003]: taskrunner.go:271: [change 14 "Setup snap \"docker\" (1125) security profiles" task] failed: cannot update mount namespace of snap "docker": cannot update preserved namespace of snap "docker": cannot update snap namespace: cannot create symlink in "/etc/docker": existing file in the way
Aug 28 06:58:03 asus snapd[1003]: handlers.go:511: Reported install problem for "docker" as already-reported
Aug 28 13:42:59 asus snapd[1003]: taskrunner.go:271: [change 15 "Setup snap \"docker\" (1125) security profiles" task] failed: cannot update mount namespace of snap "docker": cannot update preserved namespace of snap "docker": cannot update snap namespace: cannot create

I appreciate your interest in trying to solve the problem
For what it is worth  - here is my docker run file:
docker run -d \
    -v /path:/data \
    -e TZ=Europe/Copenhagen \
    -it -p 3555:25565 \
    -e EULA=TRUE \
    -e MEMORY=4G \
    -e AUTOPAUSE_TIMEOUT_EST=60 \
    -e AUTOPAUSE_TIMEOUT_INIT=60 \
    -e ENABLE_AUTOPAUSE=TRUE \
    -e DEBUG=TRUE \
    -e DEBUG_EXEC=TRUE \
    -e DEBUG_MEMORY=TRUE \
    --restart always -it \
    --name nameofserver  itzg/minecraft-server

And the "code" for making the plot data file which counts the number of logfiles in the minecraft server
ls logs| grep -o '[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]' | xargs -n1 | sort | uniq -c | awk '{print $2,$1}'  > data.text

And from GNUplot
gnuplot> set datafile separator " "
gnuplot> set xdata time
gnuplot> set format x "%Y-%m-%d"
gnuplot> set timefmt "%Y-%m-%d"
gnuplot> set ylabel "#logfiles"
gnuplot> plot 'dat.txt' u 1:2 w l

Thanks for the follow up information.
Good to close the issue?

Ok  :)


[SPARK-13755] Escape quotes in SQL plan visualization node labels

When generating Graphviz DOT files in the SQL query visualization we need to escape double-quotes inside node labels. This is a followup to #11309, which fixed a similar graph in Spark Core's DAG visualization.

Test build #52688 has started for PR 11587 at commit 531adb7.

Test build #52690 has started for PR 11587 at commit 8bf1ba2.

/cc @zsxwing for review

LGTM

Test build #52688 has finished for PR 11587 at commit 531adb7.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

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/SparkPullRequestBuilder/52688/
Test PASSed.

Test build #52690 has finished for PR 11587 at commit 8bf1ba2.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

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/SparkPullRequestBuilder/52690/
Test PASSed.

Merging into master and 1.6


[Drivers] Make drivers version configurable

@wangcan0329 Done

shall we add a document to explain how to change driver version?

@fanyangCS
Add some notification in the cluster configuration https://github.com/Microsoft/pai/blob/3d03ce34be82b5a8009228cf6c07bdcc58bbf1b0/examples/cluster-configuration/services-configuration.yaml#L103
I prefer to write more concrete document after the developing of cluster object model

@fanyangCS   The document is added in another PR. https://github.com/Microsoft/pai/pull/1632


When will ability to control the inverter become available?

This is a feature request. The project is meant to be able to both read and control the inverter via modbus, and so I wonder when will the ability to control it become available? Any plans, dates, thoughts?
I think that they have a similar system already implemented in home assistant but nothing for domoticz, and so this would definitely be unique/valuable :-). Thanks.

Wonderful to hear!
Regarding documentation, yes I'm sure the vendors wouldn't help much/share such information, but as mentioned before, others have probably already done some (if not all) of the work of reverse engineering the process. I've found the following webpages:

Solax Hybrid X1/X3 Inverter RealTime Data and control locally
Modbus Power Control (remotecontrol power)

I can't really tell if they are relevant or not :-), but am happy to search more as needed.

I have just uploaded new version which is capable to control the inverter. The documentation will be updated in the near future as well.
Martin

Fantastic. What version of python/pymodbus/domoticz are you using? I've updated to the latest versions but had errors even to read the values from the inverter, let alone writing them. Thanks.

The current version of the plugin was tested with Domoticz version 2024.4, python 3.11.2, libpython 3.11 and pymodbus 3.6.8.

Ahh, it works, thanks very much! FYI, if one uses the latest version of pymodbus 3.7.0 it won't work. I suspect it has to do with some change of the ModbusTcpClient function.


Update issue templates to fit Github's data model

Our current issue templates are not being picked up by Github, this PR updates the templates to fit the accepted data model in addition to some style tweaks for the templates themselves.

Small comments to address, then ready to merge!

can you include in the description what "spec" you are following?

Sorry, @gabbifish I'm not seeing your comments?

Comments addressed!


gpxsee: 10.3 -> 10.4

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/gpxsee/versions.
meta.description for gpxsee is: "GPS log file viewer and analyzer"
meta.homepage for gpxsee is: "https://www.gpxsee.org/"
meta.changelog for gpxsee is: "https://build.opensuse.org/package/view_file/home:tumic:GPXSee/gpxsee/gpxsee.changes"
Updates performed

Version update

To inspect upstream changes

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
Warning: no invocation of /nix/store/1a2h5zg9s5v97kj5ilfbz3g72hff6mb4-gpxsee-10.4/bin/gpxsee had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/1a2h5zg9s5v97kj5ilfbz3g72hff6mb4-gpxsee-10.4/bin/.gpxsee-wrapped had a zero exit code or showed the expected version
0 of 2 passed binary check by having a zero exit code.
0 of 2 passed binary check by having the new version present in output.
found 10.4 with grep in /nix/store/1a2h5zg9s5v97kj5ilfbz3g72hff6mb4-gpxsee-10.4
found 10.4 in filename of file in /nix/store/1a2h5zg9s5v97kj5ilfbz3g72hff6mb4-gpxsee-10.4

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
gpxsee

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/1a2h5zg9s5v97kj5ilfbz3g72hff6mb4-gpxsee-10.4 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A gpxsee https://github.com/r-ryantm/nixpkgs/archive/94b52f0c2d68fbf2f630b90a2e0aab5d50c3e99a.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/1a2h5zg9s5v97kj5ilfbz3g72hff6mb4-gpxsee-10.4
ls -la /nix/store/1a2h5zg9s5v97kj5ilfbz3g72hff6mb4-gpxsee-10.4/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

gpxsee

Maintainer pings
cc @womfoo @sikmir for testing.

@ofborg eval


Document and describe regional failover process

The solution deploys code to two regions but does not have a failover event/trigger to migrate traffic and data to the second region.
We need to document the approach for migrating from one region to the second region detailing the responsibilities and the processes which would be manually performed. We should be able to leverage some of the same approaches and features used for java RWA.

migrated to 1852450

Hi @KSchlobohm, Could you please describe what does it mean "migrated to 1852450"? I'm looking for a solution to have data replication between two regions. As I understand, we need to enable SQL Geo Replica and the Storage account type should be GRS.

Hi @GlibMartynenko the "migrated to" pertains to one of our backlog grooming activities.
As for the content, it sounds like this reference in the Java RWA implementation may be helpful as a starting point for the topics you're considering: https://github.com/Azure/reliable-web-app-pattern-java/blob/main/plan.md
You may also be interested in: https://learn.microsoft.com/en-us/azure/azure-sql/database/active-geo-replication-overview?view=azuresql-db


features and fixes

RateLimiter from dev tree
Fixed QuerySM "0" status according to SMPP 5.0 specs (props to @blind-oracle)
Use BindInterval delay (if given) for retry in Bind() instead of exponential growth (props to @blind-oracle)
Implemented EnquireLinkResp as time of the last response in enquireLink function:

if we don't get the response from server within the time window, unbind and close the connection (according to specs, enquirelink serves as "confidence-check of the communication path between an ESME and an SMSC", so if there's no response, we can't be confident that our connection is alive)

Added src TON/NPI to QuerySM (props to @blind-oracle)
Added EnquireLinkTimeout (props to @blind-oracle)
Renamed conn to cl as it holds the client, not the connection
Added sending of DeliverSMResp to receiver (props to @blind-oracle)

this fixes the problem when we're not responding to the receiver gate and it stops the connection from the server side

Merged pull request https://github.com/fiorix/go-smpp/pull/28

seems that build fails because of the "context" lib which is a part of the mainstream as of Go 1.7:
https://golang.org/pkg/context/
to fix the error either use 1.7 in Travis or change context to the old one

This is looking good except for the nits above. A minor typo in the RateLimiter documentation and the questions about why change conn to cl in the transmitter and receiver. I believe conn reads better.
As for the context package, that is a mess since they added it to the stdlib but everything else still uses the x/ one. If we can, it's better to use the one from stdlib and drop support for versions < 1.7 that didn't have it.

We have two structs - client in client.go and conn in conn.go
When we started to dive into the code the 'conn' element in Transmitter/Receiver/... structs seemed misleading, because it was pointing to the client struct, but not conn.

Fair enough. So the only outstanding item here is the context package. I'm happy to drop support for older Go versions if that is possible - assuming whatever packages we depend on does not import the old context package.

as far as we can see nothing prevents us from switching to it.

btw https://github.com/codegangsta/cli is now https://github.com/urfave/cli, so we should change that too

Cool. Let's also change this:
https://github.com/fiorix/go-smpp/blob/master/.travis.yml#L2
And replace 1.5 with 1.7 and tip.

Build is failing because package github.com/golang/time/rate is missing.

I don't get it. Should we force Travis to "go get" it?..

Yes, we do. In .travis.yaml there's an install section for that.

So they actually use old golang.org/x/net/context...brilliant.

Yeah, not surprised. Like I said this has been a mess since they added context to the stdlib. There's even a proposal to alias packages because of this.
If we're going back to using the old context package, it should be possible to build with Go 1.5 and newer.

rolling back the changes then and moving to the old context.

should be good to go.

Almost. I want to make sure this will actually build with 1.5, 1.6, 1.7 and tip. Can you add those back to the travis file?
I suspect that at some point the context package will conflict with something so better to catch it in travis beforehand.

Also feel free to add yourself to the CONTRIBUTORS file.

passed OK on everything.

Great job, this is really good stuff.


ASC-1042 Enable multiple system actions (#3318)

This commit modifies the match for the 'system' gating action. Any
action that begins with the string 'system' will be matched. This is
done to allow multiple variants of the system action to be defined in CI
in order to segment jobs.
(cherry picked from commit 065a7c350a27ca51ccaf0807a9e34ea5cddec11e)
The following conflict was resolved while committing this cherry pick:
41 <<<<<<< HEAD
42 if [[ $RE_JOB_ACTION == "system" ]]; then
43 =======
44
45 if [[ $RE_JOB_ACTION == system* ]]; then
46 >>>>>>> 065a7c35... ASC-1042 Enable multiple system actions (#3318)

Issue: ASC-1042

Thank you for submitting a pull request to this project!
Once all check jobs have passed and the pull request has received a
sufficient number of reviews, the repository's gate jobs can be triggered by
adding a comment of :shipit: to this pull request.
When the gate jobs have completed successfully, this pull request will get
merged automatically.

recheck_xenial_swift_deploy
recheck_trusty_swift_deploy

The previous build issues should be solved by https://github.com/rcbops/rpc-openstack/pull/3323. If the recheck does not work, then this PR may need rebasing.

recheck_trusty_swift_deploy
recheck_xenial_swift_deploy


Fix for mistakenly renamed method calls identified in #2511

Description
This pull request addresses the problems described at issue #2511
To Do

[x] update CHANGELOG.md
[?] wait for checks to pass (except github/pages, which is stuck)
[x] request a review

Signed…

thanks a lot!


🐛 Update IPAM dependency to bugfix release v0.0.3

What this PR does / why we need it:
This PR updates the IPAM dependency

/test-v1a4-integration

/cc @kashifest
/cc @fmuyassarov
/cc @furkatgofurov7
/cc @jan-est


setup: add repo URL

The project page on PyPI lacks a backref to Github due to this.
(Most images in the README do not render there, too.)

(Most images in the README do not render there, too.)

should be fixed by 2nd commit

Also, I wonder whether you'd want to mention https://github.com/maxbachmann/RapidFuzz as another fast (C++ based) versatile string alignment library for Python?

Not looked into details, but https://github.com/maxbachmann/RapidFuzz looks more like a string distance computation without any alignments.

Not looked into details, but https://github.com/maxbachmann/RapidFuzz looks more like a string distance computation without any alignments.

It implement its own fast Needleman-Wunsch alignment (based on Hyyrö algorithm or Wagner-Fischer) in C++: https://github.com/maxbachmann/RapidFuzz/tree/main/src/rapidfuzz/distance, which then uses https://github.com/maxbachmann/rapidfuzz-cpp. (You can get the alignment result itself via .editops or .opcodes. But only the first-best.) Supports a fixed set of distance/similarity metrics. Includes semiglobal (prefix/postfix). No Smith-Waterman, though. And no custom weights.
No idea how it fits into your schema (how it scales time and memory wise, how well it utilises computing resources etc.) Just thought you might want to mention it in your elect list of other libraries.


Audiokit MIDIListener crashes when sending a certain midi message

macOS Version(s) Used to Build
macOS 13 Ventura
Xcode Version(s)
Xcode 14
Description
When sending a particular midi message at least 261 bytes long, the function "sendMessage(_data: time: endpointsUID: virtualOutputPorts:)" crashes reliably at the line "packetListPointer.deallocate()"
Lastly, I'll add that although this message seems pretty long and arbitrary, it is something I encountered in an actual use case, as it is one of the messages Pro Tools sends to a HUI interface.
Crash Logs, Screenshots or Other Attachments (if applicable)
No response

#https://github.com/StripeyStripes/AudioKit-Crash-Demo

Here is a demonstration project. It crashes reliably on the two computers I tested it on.

V6 resolves these kind of MIDI issues with V5, but as V6 is still in development, someone might want to patch up V5 for these edge cases.

When sending a particular midi message at least 261 bytes long, the function "sendMessage(_data: time: endpointsUID: virtualOutputPorts:)" crashes reliably at the line "packetListPointer.deallocate()"

I wrote that line. Will take a look and get back to you tomorrow

Thanks! Please let me know if there's anything else that would be helpful to send of course.

@StripeyStripes Found the issue. Your fix resolves it.  Thank you for finding this. Please try running your app again when #2891 is merged and close this issue if it works. We can re-open if it comes up again.

Thanks so much for looking at this (as well as your and your collaborators’ amazing work with AudioKit generally!) What you found out about the underlying mechanism is super interesting. I’ll keep an eye out for the fix and will retest. And thanks for your suggestion about contributing directly, I’ll certainly look into that in the future.
Thanks again!
Stripey


Syn 128 add accepting state window

Describe your changes

Add a simulation tab on the right
Add a general settings tab on the right
Add a petri-net specific interface for adding acceptance expressions
Add a type in the simulator for returning the reason for accepting a state
Update tests to match new interface
Update simulator to use the global instead of local expressions

Checklist before requesting a review

[x] I have performed a self-review of my code

Pressing the 'General' tab, makes application go white / crashes?
https://user-images.githubusercontent.com/79922317/228831888-60dcd9f0-a4d2-4261-bbb3-930262dd20a3.mp4


Fix CI

stable failures are happening on tests marked with skip(['omniscidb']). But since this is on ibis' repository, there is not much to do. Nothing to fix on their repo as well since they removed all references in the code to OmniSci.
IMO it does not make sense trying to make this green since the dev pipeline is not fixable easily due to the new version. I would leave this to the refactoring for v3.


Update access application documentation

Having a negative session duration doesn't make sense even though it's technically considered a valid value. Better to remove that example and avoid the confusion altogether.

👍

👍


Optimize checkpointing when using for not read-only replications

I'm using this as a "fast start" for my cordova app.
The thing i would love to make faster is the "replicate.to(...)" step.
As pointed on the using instructions, after doing load(..), it must be passed to normal "replicate.from(...)". As i'm doing a two way replication (not read-only), i need to do "replicate.to(...) AND replicate.from(...)"...
I've found that in that scenario, i must wait a LOT for the upload part. See this:
Dump files: 10 txt files, taking 6.1 MB in size
Time spent on the db.load(...) for those 10 files: 15 secs.
Time spent on the db.replicate.to(...): 1.48 mins.
Time spent on the db.replicate.from(...): 38.41 secs.
So my intent is to make that 1.48 mins. MUCH lower.
@nolanlawson  Hope this can be possible?

Are you using the proxy option? The times for both db.replicate.to() and db.replicate.from() seem much, much too high.
Also, when you say to, I assume you mean local.to(remote)?
A live example would be very helpful to illustrate what's going on here.

Yes to all. I'll try to put a live sample shortly.

@nolanlawson There you have the full example to test locally
https://github.com/jacargentina/pouchdb-load-testing

Hi ! We are trying to use the proxy function and a lot of network request such as _changes are made after the bulk load and first pull replication !
I thought that once imported we would be completly synchronised.
Is this normal ?
Thanks

any update on this?

any update on this?


Proposing an approach for adding Repository specific metadata requirements via configuration

Given existing documents and previous discussions around the configurable metadata framework, propose an approach for how such framework might be implemented.

We went with the proposed approached


Allow NewTracer to return error.

Hi :wave:
Any particular reason why there is no proper error handling for NewTracer constructor?
I would vote for extending return arg and add err (:
https://github.com/lightstep/lightstep-tracer-go/blob/HEAD/tracer.go#L88

This will require a major version bump.  We could rename the existing method MustNewTracer() and panic instead of error. I'd prefer to just add a new method like NewTracerChecked(), given that we're putting a lot of effort into the OTel libraries, at this point.

Oh yea, it definitely can be a separate constructor. Happy to contribute.

We would be glad to accept a pull request for this. Thanks!


Would you rename ChangeLog to CHANGELOG.md?

I think rendering on GitHub is pretty good. What do you think?
https://github.com/fluent/fluentd/blob/master/ChangeLog

Does CHANGELOG.md rendering have format spec?

Yes. It's markdown format.
You can write CHANGELOG.md freely using the markdown form.

Thanks!


[Jupyter] Adding binder link in order to execute the notebooks

Nice job BTW.
Best regards,
Vicente Mataix Ferrándiz

@rambasnet

Hello!

Thank you for the feedback and pull request. I've not had a chance to verify your suggested update...

I closed due to inactivity, let me one sec

These are the changes:

You can try it out with: https://mybinder.org/v2/gh/rambasnet/CPP-Fundamentals/HEAD?filepath=Ch00-TableOfContents.ipynb
But I think until you don't merge will not work, because the environment.yml is not defined

You are welcome


Crop disease detection

I want to work on this issue under Hacktoberfeast 2021. Please assign this issue to me.

Sure @Rishita11 Go Ahead!!


Use batch assignment in ledger transfer

Iterating over get_or_create_account_exn is significantly slower that batch_set_accounts for large ledgers. This PR switches over, and removes a sort that we no longer need.
Checklist:

[ ] Document code purpose, how to use it

Mention expected invariants, implicit constraints

[ ] Tests were added for the new behavior

Document test purpose, significance of failures
Test names should reflect their purpose

[ ] All tests pass (CI will check this if you didn't)
[ ] Serialized types are in stable-versioned modules
[ ] Does this close issues? List them:

@mrmr1993 What if the destination ledger uses addresses beyond those in the source ledger? Those addresses won't be overwritten by the transfer, and the Merkle roots won't match.

What if the destination ledger uses addresses beyond those in the source ledger?

I had a look, it seems that calls only come through from here and a few unit tests. The database is removed and re-initialised before it gets called, so it should be okay to leave as is.


Getting profile image in GroupChat

Not possible yet

Not only can you get it, you can set it too. (Not officially supported by the Skype for Web client so don't be surprised if it disappears)


addListener has a @NonNull notation, but takes @Nullable listeners from constructor

The addListener method says it takes a @NonNull, but handles the Null case. This makes it very hard to override this method when extending FlexibleAdapter.

Hi, you need check nullable too:
public FlexibleAdapter(@Nullable List items, @Nullable Object listeners, boolean stableIds) {
super(stableIds);
// Copy of the original list
if (items == null) mItems = new ArrayList<>();
else mItems = new ArrayList<>(items);
// Initialize internal lists
mScrollableHeaders = new ArrayList<>();
mScrollableFooters = new ArrayList<>();
mRestoreList = new ArrayList<>();
mUndoPositions = new ArrayList<>();
    // Create listeners instances
    if (listeners != null) addListener(listeners);

    // Get notified when items are inserted or removed (it adjusts selected positions)
    registerAdapterDataObserver(new AdapterDataObserver());

}


fixed: npm test now runs linter and example tests

Note I also removed the npm run check script because it is now redundant.

Thanks for the PR, but actually I would prefer to keep check as lint+test. I prefer explicit naming and it has always felt weird to put linting inside a test task as those are separate activities in my opinion.

@Andarist ok I reverted the removal of the check script now.

Thanks :)


Improve ability to expose form fields from the API & add documentation

Adding information about how to retrieve form fields from the API.

Please check the following:

[x] Do the tests still pass?[^1]
[x] Does the code comply with the style guide?

[x] Run make lint from the Wagtail root.

[x] For Python changes: Have you added tests to cover the new/fixed behaviour?
[x] For front-end changes: Did you test on all of Wagtail’s supported environments?[^2]

[x] Please list the exact browser and operating system versions you tested:
[x] Please list which assistive technologies [^3] you tested:

[x] For new features: Has the documentation been updated accordingly?

Please describe additional details for testing this change.
[^1]: Development Testing
[^2]: Browser and device support
[^3]: Accessibility Target

Note: I might be able to get this patched together from the WIP PR with tests
https://github.com/wagtail/wagtail/pull/8782/files
I will flag myself as a reviewer and try to get this sorted.

I will need to take a look at the failing tests - looks like the data is getting duplicated in the tests.


Design System > Elements > Grid > minor issues

Design System > Elements > Grid > minor issues
1.Add Filter functionality to column (for all column or column wise)
with-all- [Verified pass on staging]
One observation : Sorting not working on column name click
2.Add Pagination for grid Issue added

3.Export functionality : this functionality is not available

For custom filter

For custom search

Fixed on stage.
Refresh is working.
For custom filter is working.
Hand curser is display.
https://github.com/user-attachments/assets/091ef805-e0e6-4254-973f-684680b7343d


#71 Simplify accelerators config

Add a cloud value that accepts gce or azure and will create the corresponding ConfigMap
Add a custom-config.yaml file at the chart's root allowing users to specify a custom config. If cloud is not passed, custom-config.yaml will be used instead.
Update README to document this

Remarks:

I didn't add a config-file flag, because in order to import a file in a Helm template, this file has to be at the root of the chart. Not doing so will result in a silent error (ConfigMap will just not be created).
Since this provides a bad user experience, I chose to instead direct users to modify custom-config.yaml that will be already present at the the root of the cart.
I updated the README to be as clear as I could, but if you feel I removed to much info let me know.

I signed it!

/ok-to-test


Extension doesn't recognize new entries

I have been using KeePass and the Chrome extension for a long time. Until recently, everything was great. Now the extension is ignoring any new entries to the KeePass database file. I have reinstalled repeatedly, still the problem remains. Any ideas?

Re-add your Google/Dropbox whatever account if you use one. Also Try going onto their websites and searching for the DB name.
On Google Drive, I've found there are situations where there's a local filename and a remote filename named something like 'myfile (1)'. I think this is the result of a file update conflict (just to be clear, I don't think CKP causes this issue, as it's read only).

I had this issue. Try the steps I listed at the end of #125 and see if that helps. It helped me.


Account dropdown menu items are invisible in "auth/unconfirmed" page

Font color and background color are both white, so we cannot see it.

Going to be redone in https://github.com/levlaz/braindump/issues/44

@Frederick-S Thanks for letting us know, as @iamgroot42 mentioned this will be fixed soon!


Where to store assets

We need a host to which all the build systems can upload.
We could also store files on github if we go for creating releases with assets. Any experience on this?

Three different approaches and examples:

nteract - built application is manually dragged over during release note crafting

zeromq.js - prebuilt binaries are uploaded in automation by Travis and AppVeyor via prebuild (a node specific tool)

gh-release - I've used gh-release for shipping go binaries in automation for carina and dvm

Based on how we'd likely use this, I'd use gh-release.

Experience with https://docs.travis-ci.com/user/deployment/releases/?

Not yet, feel free to experiment!

@betatim You may find this doc from lektor helpful re: travis deployments https://www.getlektor.com/docs/deployment/travisci/

It seems like the next thing we need is a choice on the namespaces for our builds. My vote, to match our other prebuilds is:
snakestagram-v1.0.0-darwin-x64.tar.gz
snakestagram-v1.0.0-linux-x64.tar.gz
snakestagram-v1.0.0-win32-ia32.tar.gz
snakestagram-v1.0.0-win32-x64.tar.gz

Trying out "upload to github" option in #8

#8 works well


mat-datepicker - unable to set date display format as dd-mmm-yyyy

if I am entered 29/05/1995 mat-datepicker field  displayed 29/JAN/2019 instead of  29/MAY/2019
export const DateFormats = {
parse: {
dateInput: 'DD/MMM/YYYY',
},
display: {
dateInput: 'DD/MMM/YYYY',
monthYearLabel: 'MMM YYYY',
dateA11yLabel: 'DD/MMM/YYYY',
monthYearA11yLabel: 'MMM YYYY',
},
};

This issue is missing info such as the date adapter used, the value the datepicker reports, and a minimal reproduction using a StackBlitz. Please follow the issue templates. This is why you haven't received an answer yet. Another reason is that this is a question more suitable for Stack Overflow.
These things put aside, your problem probably is that your parse format is incorrect. Your current parse format, parse.dateInput, is DD/MMM/YYYY which takes inputs such as 15/May/1995. Change it to DD/MM/YYYY.


2) it will be better if you add feature for corrupted file that if kill app or cancel downlaoding then delete corrupted file.

Can you provide a sample to recreate this issue?

@LathiyaVinal This may be related to #419 . I am currently planning for a new version this week with the fixes.

New version of Fetch has been released. See readme for new version number.

Hi, this issue is still present for me in 3.0.11. I noticed a few things:

When you kill the app while it's downloading and then restart the app, it adds the amount of bytes that have been downloaded up to that point to the file. So for example with Big Bunny, the initial file size is 151 MB. If it has downloaded 50 MB and you kill and restart the app, the file size will be set to 201 MB.

This breaks the values returned in OnProgress in FetchListener, because it now calculates the progress based on the 201 MB file size, but still correctly downloads only 151 MB.

This in turn causes OnComplete to never be called. If you kill and restart the app again at that point, the downloader attempts to download the file again, but this results in a "Request is Unsuccessful" error, probably because it did actually download the amount of bytes it should have downloaded.

In the case of the Big Bunny video, playback of the video after 151 MB has been downloaded goes fine, despite the wrong file size. This might be specific to video files.

I think a similar issue occurs when pausing & resuming, but I have not tested that enough to confirm it yet.

I can send you my project and an APK for testing if you need it, but I implemented it in a Unity project so I'm not sure if it will be of any particular help. Let me know if you need it and I'll send it ASAP.


Feat/french doc translation

Description
This PR provide the French translation for the readme, contributing page and the developper guide page.
Contribution Checklist:

[x] The pull request only addresses one issue or adds one feature.
[x] The pull request does not introduce any breaking changes
[x] I have added screenshots or gifs to help explain the change if applicable.
[x] I have read the contribution guidelines.
[x] Create an issue and link to the pull request.: fixes #781

Thanks @arnaduga !!
Bruno 💛 France 🇫🇷


Debugging produced PTX?

I'm trying to figure out how to produce a debuggable binary from the PTX file that I can debug with the NVIDIA tools. It's looking like I'm going to need a non-release-mode version of the PTX file. Could you could expose whether to pass the --release option to xargo or not? Is this even the right thing to do for trying to debug a CUDA kernel produced with this tool?

I've found that I can get the kernel to pause on an exception and then I can attach cuda-gdb to it, but I still need a PTX file with debug symbols to be able to debug.

Actually, this is pretty easy. I can make a PR.

Could you please tell more about your CUDA debugging experience? I'm curious because I never tried this before even with C++ CUDA.

From playing round a bit, in both release and debug mode, I get linker errors saying it cannot select things like fpow and fcos, which wasn't happening with llvm 5.0. How do I use these math functions in PTX code?

Also, with a very simple kernel that does compile and link in debug mode, when I try to load it the driver gives me CUDA_ERROR_INVALID_PTX. It still works in release mode though. So, to summarize where I'm at right now:

Kernel with math functions, debug mode: :x: linker errors
Kernel with math functions, release mode: :x: linker errors
Kernel without math functions, debug mode: :x: CUDA_ERROR_INVALID_PTX
Kernel without math functions, release mode: :heavy_check_mark:

I think it worth trying external libm implementation for math functions. fpow issue is kind of expected because there is no pow PTX instruction. A little more details can be found in the tutorial.
About CUDA_ERROR_INVALID_PTX issue, it likely can be solved with ptx-linker. We already make "corrections" to produced LLVM IR, like for example replacing . with _ in globals (because variable named const.3 is not valid for PTX). We need to figure out, what parts of debug assembly cause the issue.

My plan is to finish rust-crate-compile-test first and then we will be able to test ptx-linker more reliably. The linker is the core of Rust's CUDA stack and unfortunately, it currently lacks proper testing.
I'm afraid I need to make debug mode optional for now :(

Thanks, I'll look into using a library to provide the math functions.
Would it help if I provided the full PTX causing CUDA_ERROR_INVALID_PTX?

I think it would be nice if that's possible.
I suspect that even PTX of very small crates can also cause CUDA_ERROR_INVALID_PTX. I've seen this even when compiled a tutorial crate in debug mode.

I think files are okay, .file is a PTX directive. The syntax should be fine:
.file N "path"

What is actually weird, it's:
.visible .func  (.param .b32 func_retval0) _ZN76_$LT$core..marker..PhantomData$LT$T$GT$$u20$as$u20$core..cmp..PartialOrd$GT$11partial_cmp17h0fb7853047282263E
(
	.param .b64 _ZN76_$LT$core..marker..PhantomData$LT$T$GT$$u20$as$u20$core..cmp..PartialOrd$GT$11partial_cmp17h0fb7853047282263E_param_0,
	.param .b64 _ZN76_$LT$core..marker..PhantomData$LT$T$GT$$u20$as$u20$core..cmp..PartialOrd$GT$11partial_cmp17h0fb7853047282263E_param_1
)

You are right, . in the function name and params aren't okay. I'll try to make a minimal reproducible example and fix this on ptx-linker side.

Could you please try with<EMAIL_ADDRESS>and<EMAIL_ADDRESS>At least function names should be okay.
There is a good chance that the PTX won't cause CUDA_ERROR_INVALID_PTX anymore :)

Ah, never mind, I see that I just have to set it to run in debug mode. I will try that out.

Okay, confirming that my PTX built in debug mode does not cause CUDA_ERROR_INVALID_PTX anymore. However, when I try to debug using cuda-gdb, it keeps telling me "No symbol table info available." Could be that I'm using the debugger wrong, but I was expecting to be able to see a more readable stack trace and values of local variables.

I've started a repo with a similar layout to my main application I've been working on. I will add some steps to the README on how to introduce a bug to the code and then debug it.

Thanks for sharing, looks impressive! Glad to see that the whole Rust - CUDA thing (at least partially) works not only for me :)
About debugging... I was able to setup and hit a breakpoint at the kernel.
cuda-gdb --args target/debug/cuda-debugging-tutorial 20 ~/rust-inline-cuda-tutorial/fixtures/input-1024.png output-1024.png

(cuda-gdb) b blur
Function "blur" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y

(cuda-gdb) r
...

Thread 1 "cuda-debugging-" hit Breakpoint 1, 0x00007ffff5cf2008 in blur<<<(32,32,1),(32,32,1)>>> ()

(cuda-gdb) info cuda kernels
  Kernel Parent Dev Grid Status   SMs Mask   GridDim  BlockDim Invocation
*      0      -   0    1 Active 0x000fffff (32,32,1) (32,32,1) blur()

(cuda-gdb) info cuda devices
  Dev PCI Bus/Dev ID             Name Description SM Type SMs Warps/SM Lanes/Warp Max Regs/Lane                    Active SMs Mask
*   0        01:00.0 GeForce GTX 1080     GP104-A   sm_61  20       64         32           256 0x000000000000000000000000000ffff

So at least in theory debugging is possible :) Unfortunately it's far from being usable because somehow cuda-gdb doesn't care about source code locations defined in the debug PTX...
(cuda-gdb) list
1       <cuda-builtins>: No such file or directory.

(cuda-gdb) bt
#0  0x00007ffff5cf2008 in blur<<<(32,32,1),(32,32,1)>>> ()

(cuda-gdb) display/10i $pc
2: x/10i $pc
=> 0x7ffff5cf2008 <blur+8>:     MOV R1, c[0x0][0x20]
   0x7ffff5cf2010 <blur+16>:    {         IADD32I R1, R1, -0xc0
   0x7ffff5cf2018 <blur+24>:    S2R R0, SR_CTAID.X
   0x7ffff5cf2020 <blur+32>:
   0x7ffff5cf2028 <blur+40>:    {         XMAD R5, R0.reuse, c[0x0] [0x8], RZ
   0x7ffff5cf2030 <blur+48>:    PBK 0x258
   0x7ffff5cf2038 <blur+56>:    {         XMAD R2, R0.reuse, c[0x0] [0x8], RZ
   0x7ffff5cf2040 <blur+64>:    Cannot disassemble instruction
   0x7ffff5cf2044 <blur+68>:    Cannot disassemble instruction
   0x7ffff5cf2048 <blur+72>:    SSY 0x230

(cuda-gdb) s
Single stepping until exit from function blur,
which has no line number information.

I think we could try to create a small app with CUDA in Clang. Then we can compare Rust and Clang PTX assemblies for debugging-related things.

Caveat: Minimally tested and super hacky.
I did some experiments on this issue and managed and got source code locations working.
Debugging support for NVPTX was added in LLVM just after LLVM 8.0 (on which rust is currently based) was branched off.
I managed to backport the feature this commit and some others by the same author
and create a custom version of llvm, rustc (added required interface and compile options), ptx-linker, and ptx-builder.
What is working:

Source Code Line Locations and single stepping for cuda-gdb (for the minimal examples I tested)
still runnable

What is not working:

Variables and their type during debugging which is possibly related to...
..building ptx without optimizations (crashes llvm). When calling rustc directly -O is required

I did this mainly as a quick experiment so do not expect any production ready code quality ;)

https://github.com/Vespasian/llvm-project
https://github.com/Vespasian/rust
https://github.com/Vespasian/rust-ptx-linker
https://github.com/Vespasian/rust-ptx-builder

@Vespasian these are good findings, thanks!
Am I right, is it only 2 LLVM commits you had to backport?
https://github.com/llvm/llvm-project/commit/897129dc3fe79137e00c5dccc30e11221dbd6d7f
https://github.com/llvm/llvm-project/commit/f3a9150324c4fe88b7f9e28be18e0f989dff8af7
I think the ptx-linker and ptx-builder changes can safely be upstreamed, I'd be glad to review the PRs :)


Add iOS 16 to CI builds

As @pwesten called out in #117, seeing a bunch of instances of activation point crosshairs showing up now where they weren't previously.


rate_limit: Fix logging string when rate limiting email gateway.

realm.name is not the right "name" to log, we should use realm.subdomain
like everywhere else.

Merged, thanks @mateuszmandera!


Newer AMD Adrenalin 2019 Edition drivers gives black screen

Unknown bug.
Until Adrenalin 2019 Edition 19.4.3 driver updates, rendering works fine.
After that i tried all newer driver updates and it gives a black screen (sometimes flickering) in the target rendering area.
After blitting the working image to swapchain image for scaling purpose successfully, the GUI renderpass loads the swapchain image unsuccessfully.
Any help or sugestions are welcome.

Fixed,
19.4.3 and previous driver versions didnt care if AccessFlagBits were not present in pipeline barriers for image transition layouts, newer ones needs to be more specific.
I have a commit with these fixes.


Incorrect comment URLs copied from copy link options dropdown in comment page

Fixed in https://github.com/MintterHypermedia/mintter/commit/e5bd94cdc604af81bf1e0c18a6f68008091be1c7


torchvision://resnet101 is not a checkpoint file

how to solve this problem：torchvision://resnet101 is not a checkpoint file

You need to upgrade mmcv to the latest version.

You need to upgrade mmcv to the latest version.

thank you very much!

help! I have the same problem, and I have upgraded mmcv-full to the latest version,but it still can't run.


RemoveExistingViews - not working with august release

<pnp:Views RemoveExistingViews="true"> fails
<pnp:Views RemoveExistingViews="false"> Works
OfficeDevPnpCore15 (1.4.815.1)
In the packages the version is: 1.5.915.0 (I don't understand why ?)
ngh.Console.vshost.exe Information: 0 : 2015-08-21 13:53:27 [[PnP Provisioning]] Lists
ERROR:  Microsoft.SharePoint.Client.CollectionNotInitializedException: The collection has not been initialized. It has not been requested or the request has not
been executed. It may need to be explicitly requested.
at Microsoft.SharePoint.Client.ClientObjectCollection.ThrowIfCollectionNotInited()
at Microsoft.SharePoint.Client.ClientObjectCollection1.<GetEnumerator>d__0.MoveNext()    at System.Linq.Enumerable.Any[TSource](IEnumerable1 source)
at lambda_method(Closure )
at System.Linq.EnumerableExecutor1.Execute()    at System.Linq.EnumerableQuery1.System.Linq.IQueryProvider.Execute[S](Expression expression)
at System.Linq.Queryable.Any[TSource](IQueryable1 source)    at lambda_method(Closure )    at Microsoft.SharePoint.Client.ClientQueryProvider.ExecuteExpression[TResult](Expression expression)    at Microsoft.SharePoint.Client.ClientQueryProvider.System.Linq.IQueryProvider.Execute[TResult](Expression expression)    at System.Linq.Queryable.Any[TSource](IQueryable1 source)
at OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.ObjectListInstance.ProvisionObjects(Web web, ProvisioningTemplate template, ProvisioningTemplateAp
plyingInformation applyingInformation)
at OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.SiteToTemplateConversion.ApplyRemoteTemplate(Web web, ProvisioningTemplate template, ProvisioningT
emplateApplyingInformation provisioningInfo)
at Microsoft.SharePoint.Client.WebExtensions.ApplyProvisioningTemplate(Web web, ProvisioningTemplate template, ProvisioningTemplateApplyingInformation applyi
ngInformation)
--snip

<Including @jansenbe >
the version number differences are due to an emergency release we did earlier this month. We didn't upgrade the version numbers correctly. That will be fixed in the new release.
I'll look into the removeexistingviews parameter.

I just tested a template with RemoveExistingViews="true" and I received no error... Is your template XML based? If so, can you include it here so I can try your specific scenario?

Using dotpeek and debugging, it's crashing on this line:
siteList.Views[0].DeleteObject(); Marked with <<<<<<<<< in the text below.
foreach (ObjectListInstance.ListInfo listInfo in list2)
{
ListInstance templateList = listInfo.TemplateList;
List siteList = listInfo.SiteList;
if (Enumerable.Any<OfficeDevPnP.Core.Framework.Provisioning.Model.View>((IEnumerable<OfficeDevPnP.Core.Framework.Provisioning.Model.View>) templateList.Views) && templateList.RemoveExistingViews)
{
while (Queryable.Any<Microsoft.SharePoint.Client.View>((IQueryable<Microsoft.SharePoint.Client.View>) siteList.Views))
siteList.Views[0].DeleteObject();  <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<Exception
ClientContextExtensions.ExecuteQueryRetry(web.Context, 10, 500);
}
ViewCollection views = siteList.Views;
web.Context.Load(views, (Expression<Func<ViewCollection, object>>) (vs => ClientObjectQueryableExtension.Include<Microsoft.SharePoint.Client.View>(vs, new Expression<Func<Microsoft.SharePoint.Client.View, object>>[]
{
(Expression<Func<Microsoft.SharePoint.Client.View, object>>) (v => v.Title),
(Expression<Func<Microsoft.SharePoint.Client.View, object>>) (v => (object) v.Id)
})));
ClientContextExtensions.ExecuteQueryRetry(web.Context, 10, 500);
foreach (OfficeDevPnP.Core.Framework.Provisioning.Model.View view in templateList.Views)
this.CreateView(web, view, views, siteList);
if (templateList.OnQuickLaunch && templateList.RemoveExistingViews && templateList.Views.Count > 0)
{
siteList.RefreshLoad();
ClientContextExtensions.ExecuteQueryRetry(web.Context, 10, 500);
siteList.OnQuickLaunch = templateList.OnQuickLaunch;
siteList.Update();
ClientContextExtensions.ExecuteQueryRetry(web.Context, 10, 500);
}
}
Provisioning Xml:
pnp:Lists
<pnp:ListInstance Title="Dokumenttyper" Description="" DocumentTemplate="" TemplateType="100" Url="Lists/Dokumenttyper"
RemoveExistingContentTypes="true">
pnp:ContentTypeBindings

<pnp:ContentTypeBinding ContentTypeID="{ctguid}" Default="true" />
</pnp:ContentTypeBindings>
<pnp:Views RemoveExistingViews="true">

</pnp:Views>
</pnp:ListInstance>
</pnp:Lists>
This works with version: 1.3.615.0
Thanks!

unfortunately your xml didn't come over correctly. You can include it if you start your reply with 3 backticks, then paste the xml, and end with 3 backticks. See http://markdotto.com/2013/04/23/formatting-code-on-github/
In the latest release we included support for delta handling (=updating existing artifacts), which is different from the build you used where it worked. I'm a bit puzzled though why it would crash on the DeleteObject call. Do you have full manage rights to the web where you want to apply the template?

Yes, full controll. It's in my dev environment.
It looks like the Views property isn't loaded..
New try:
<pnp:Lists>
    <pnp:ListInstance Title="Dokumenttyper" Description="" DocumentTemplate="" TemplateType="100" Url="Lists/Dokumenttyper"
                      RemoveExistingContentTypes="true">
      <pnp:ContentTypeBindings>
        <!--Dokumenttype-->
        <pnp:ContentTypeBinding ContentTypeID="{ctguid}" Default="true" />
      </pnp:ContentTypeBindings>
      <pnp:Views RemoveExistingViews="true">
        <View Name="{viewguid}" DefaultView="TRUE" MobileView="TRUE" MobileDefaultView="TRUE" Type="HTML" DisplayName="Alle elementer" Url="/Lists/Dokumenttyper/AllItems.aspx" Level="1" BaseViewID="1" ContentTypeID="0x" ImageUrl="/_layouts/15/images/generic.png?rev=23">
          <Query>
            <OrderBy>
              <FieldRef Name="ID" />
            </OrderBy>
          </Query>
          <ViewFields>
            <FieldRef Name="Edit" />
            <FieldRef Name="Myfield1" />
            <FieldRef Name="Myfield2" />
            <FieldRef Name="Myfield3" />
            <FieldRef Name="Myfield4" />
          </ViewFields>
        </View>
      </pnp:Views>
    </pnp:ListInstance>
  </pnp:Lists>

Hej!
I think I found it. The list "Dokumenttyper", it's there already, correct? Before you apply the template I mean. Indeed, there is an issue with us not loading the Views collection at a certain case, which will affect you when you're specifying the 'RemoveExistingViews' attribute. I will fix it in the dev branch.

It has been fixed in the new repo for Core with pull request 17: https://github.com/OfficeDev/PnP-Sites-Core/pull/17

Perfect! Thanks!
Yep, it already exists :)

Closing the issue since should be now properly fixed. Thx for your input.


On NMenu, you cannot override the "trigger" prop for DropdownProps, as it gets overridden with "hover" anyways.

TuSimple/naive-ui version (版本)
2.34.2
Vue version (Vue 版本)
3.2.45
Browser and its version (浏览器及其版本)
Firefox 107.0.1
System and its version (系统及其版本)
Ubuntu 22.10
Node version (Node 版本)
Reappearance link (重现链接)
https://codesandbox.io/s/dreamy-ace-lkszqg
Reappearance steps (重现步骤)
Use NMenu. Try to override :dropdown-props="{ trigger: 'click' }". The dropdown still opens on hover.
Expected results (期望的结果)
The dropdown opens only on click.
Actual results (实际的结果)
The dropdown opens on hover.
Remarks (补充说明)

Wow, thanks for the quick response and merge!


Jolokia GET can fails on some complex request

I'm trying to call a remote method that is defined as:
public String prepare(String name, Map<String, String> specifics, List<?> args) throws RemoteException, InvocationTargetException;

when called with specifics={} and args=["/"], a GET request is send as:
http://localhost:2002/jolokia/exec/jrds:type=agent/prepare/jrds.agent.DiskUsage/%7B%7D/!/

And that fails as the second argument is a single "/", not an ["/"], and the error message is not helpfull:
curl -RLv 'http://localhost:2002/jolokia/exec/jrds:type=agent/prepare/jrds.agent.DiskUsage/%7B%7D/!/'
....
"error":"java.lang.IllegalArgumentException : Cannot parse JSON \/: Unexpected character (\/) at position 0."

With a POST, it works:
$ curl -RLv http://localhost:2002/jolokia/ -d '{"mbean":"jrds:type=agent","arguments":["jrds.agent.DiskUsage",{},["/"]],"type":"EXEC","operation":"prepare"}' | jq

{
  "request": {
    "mbean": "jrds:type=agent",
    "arguments": [
      "jrds.agent.DiskUsage",
      {},
      [
        "/"
      ]
    ],
    "type": "exec",
    "operation": "prepare"
  },
  "value": "du_",
  "timestamp":<PHONE_NUMBER>,
  "status": 200
}

If it works with POST, that's great.
As the documentation says:

[…] the recommended approach is to use POST requests if possible. If GET has to be used and escaping may be confusing with the server you used, use p query parameter. For GET requests with path segments, be careful about the escaping rules.


Allow overlapping tiles

Add delta_{x,y} (distance between two consecutive tiles) args to calc_features. Falls back to non-overlapping tiles if delta_x == w and delta_y == h.

"Overlapping" is actually a misnomer, since it also makes sense to set delta_x > w and / or delta_y > h

Feature added in #27


update version of bl

the old version of "bl" causes a warning on npm install about a peer dependency on "stream-browserify", which has since been removed. "bl" should be updated to "^1.0.0" in order to prevent this warning.

Closed by #7


Sending multiple transactions in the same block

In case I've a service that provisions on the behalf of users using a single account, the current flow is the requests are being queued up one by one to deploy, is it possible to have multiple of these transactions in the same block?

Multiple transactions can be sent in a block, if it's from the same account, the sender needs to increment the nonce himself.


Fix logo / branding files

SVG was busted in the branding folder. Files were partly corrupt.
This takes back the original logo, and offers a with-Apache and
without-Apache option. SVG renders nicely. The pngs are also bigger.

Codecov Report

Merging #7105 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #7105      +/-   ##
==========================================
+ Coverage   64.59%   64.59%   +<.01%
==========================================
  Files         422      422
  Lines       20583    20587       +4
  Branches     2251     2251
==========================================
+ Hits        13295    13298       +3
- Misses       7166     7167       +1
  Partials      122      122

Impacted Files
Coverage Δ

superset/models/core.py
83.56% <0%> (-0.06%)
:arrow_down:

superset/viz.py
71.53% <0%> (ø)
:arrow_up:

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 23e823f...d95a546. Read the comment docs.

If it helps @mistercrunch here's the PR from when I uploaded the assets last year.
https://github.com/apache/incubator-superset/pull/5776


Logger placeholder in the format.

Hi,
I have a big project with logback and slf4j and as a first step of converting it to tinylog I didn't want to use the static logger. Using the sfl4j-facade you provided makes it seem like a drop in replacement. The only issue/question I have is when I'm specifying a custom format I need access to the placeholder variable for the "logger":
tinylog.format = [{{level}|min-size=7}] [{date:MMMM dd, YYYY HH:mm:ss.SSS z}] [{thread}] [{logger}] {message}\n

In case of the static logger I could just go for class, method etc, but it's not a static one, so if I were to use class.method I'd get sth like (I'm using scala btw, but it wasn't an issue with logback etc):
net.liftweb.common.Logger$class.warn()

To be clear the class you see in there is not mine :)
So is there a way to get to the logger instance? like {logger} or {source} or {src}...
Cheers

Hi Vladyslav,
If I understand aright, you need the fully-qualified logger class to make sure which logger has created the log entry?

Yep :)

The use case is understandable, but unfortunately too specific for a lightweight framework as tinylog is. Therefor it will be not part of tinylog 2.0.


GatewayBase uses circular buffer for storing storage roots.

decided to move this optimization to the next version.  closing PR


Update get-started-raw-media-access.md

@gaobob-msft : Thanks for your contribution! The author(s) have been notified to review your proposed change.


fix(app): fix color bug in dark theme in MONTH field, when accepting pioneer petition #3150

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] Any dependent changes have been merged and published in downstream modules

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


Azure account list - OSX - Returns JSON

On my machine when I execute 'az account list' the result will be returned as JSON but not as list of accounts.
Python (Darwin) 2.7.10 (default, Jul 30 2016, 19:40:32)
[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34)]

I tried some other options to and always get JSON.

Manage to change it to table but shouldn't it be set to table by default?

The default output format of the CLI is JSON. You can change it with az configure. There is no per-command default output format for commands within the CLI.

@tjprescott Found it but haven't expected to see JSON Format as default output format. I expected more the table format or a list.

@StfBauer the default output format applies uniformly to all commands within the CLI. The default output format is set at the user level. There is no concept of per-command default output format (either user or dev configured) in the CLI at this time.

Cleaning u old issues, reopen if this is still active.


[FEATURE] Support to describe engine and de-register engine with command in current session

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Search before asking

[X] I have searched in the issues and found no similar issues.

Describe the feature
Support to describe the engine info of current session and de-register the engine.
For example:
KYUUBI DESC ENGINE;
KYUUBI DEREGISTER ENGINE;

Motivation
Extensions for kyuubi sql commands.
Describe the solution
Refer: https://github.com/apache/kyuubi/issues/3926
Additional context
No response
Are you willing to submit PR?

[ ] Yes. I would be willing to submit a PR with guidance from the Kyuubi community to improve.
[ ] No. I cannot submit a PR at this time.

some trouble in KYUUBI DEREGISTER ENGINE;, still working on it.

In what scenarios do we need to register/de-register the engine of current session?

In what scenarios do we need to register/de-register the engine of current session?

For USER share level, the static spark parameters(likes memory) can not take affects if the engine already existing with different static parameters.
The user might want to de-register the old one and register a new one.

For USER share level, the static spark parameters(likes memory) can not take affects if the engine already existing with different static parameters.

For this case, do we need a restart command instead of executing deregister and then register?
If we only execute deregister engine, can we continue to submit subsequent operation?

For USER share level, the static spark parameters(likes memory) can not take affects if the engine already existing with different static parameters.

For this case, do we need a restart command instead of executing deregister and then register?
If we only execute deregister engine, can we continue to submit subsequent operation?

restart SGTM

For USER share level, the static spark parameters(likes memory) can not take affects if the engine already existing with different static parameters.

For this case, do we need a restart command instead of executing deregister and then register?
If we only execute deregister engine, can we continue to submit subsequent operation?

restart SGTM

OK, i will use restart  command instead of deregister/register.

issue name better change to Support to describe engine and restart engine with command in current session.
@turboFei

@Kwafoor I narrow the scope of this ticket to "describe engine", please open a new ticket for "de-register engine"

@Kwafoor I narrow the scope of this ticket to "describe engine", please open a new ticket for "de-register engine"

OK


Deleting account returns error, after receiving status code 204

Deleting account returns error, after receiving status code 204 from BMC Simulator.
intel@ubuntu:functional_test$ ./dm deleteaccount <IP_ADDRESS>:8888:admin:admin_1 Failed to delete device account admin_1, status code 204
According to code, receiving status codes other than 200 returns error.

It needs to change the way to match the ID by the redfish API first and then delete the account. This test case needs to change in this way to do it.

The HTTP status code 204 means "No Content". Did you make sure you created an account before you delete it? Otherwise, you will see the 204 status code returned.

In this case, after deleting an account, BMC simulator returns 204 No Content (according to Redfish Specification the status coded 204 should be accepted for deletion). DeviceMgr accepts only code 200 for the deletion (as in the following code from accountService.go):
func (s *Server) removeDeviceAccount(deviceIPAddress string, authStr string, removeUser string) (statusNum int, err error) {
	var statusCode int
	userAuthData := s.getUserAuthData(deviceIPAddress, authStr)
	if (userAuthData == userAuth{}) {
		logrus.Errorf(ErrUserAuthNotFound.String())
		return http.StatusBadRequest, errors.New(ErrUserAuthNotFound.String())
	}
	id, status, _, _ := s.getUserLoginID(deviceIPAddress, authStr, removeUser)
	if status == true {
		_, statusCode, _ = deleteHTTPDataByRfAPI(deviceIPAddress, RfSessionServiceSessions, userAuthData, id)
		if statusCode != http.StatusOK {
			logrus.Errorf(ErrDeleteLoginFailed.String(id, strconv.Itoa(statusCode)))
			return statusCode, errors.New(ErrDeleteLoginFailed.String(id, strconv.Itoa(statusCode)))
		}
	}
	id, status = s.getAccountDataByLabel(deviceIPAddress, authStr, removeUser, "Id")
	if status == true {
		_, statusCode, _ = deleteHTTPDataByRfAPI(deviceIPAddress, RfAccountsServiceAccounts, userAuthData, id)
		if statusCode != http.StatusOK {
			logrus.Errorf(ErrDeleteUserAccount.String(removeUser, strconv.Itoa(statusCode)))
			return http.StatusNotFound, errors.New(ErrDeleteUserAccount.String(removeUser, strconv.Itoa(statusCode)))
		}
	}
...

@cleung5549 Yes, you could add those conditions of the HTTP status code (202 and 204) to this function.

@jcleung5549 Yes, you could add those conditions of the HTTP status code (202 and 204) to this function.

@ehaligow Yes, you could add those conditions of the HTTP status code (202 and 204) to this function.


[Snyk] Fix for 8 vulnerable dependencies

Description
This PR fixes one or more vulnerable packages in the maven dependencies of this project.
See the Snyk test report for more details.
Snyk Project: christianmurphy/portlet-utils:portlet-security-util/pom.xml
Snyk Organization: ChristianMurphy
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

pom.xml

Vulnerabilities that will be fixed
With an upgrade:

pom.xml

<EMAIL_ADDRESS>><EMAIL_ADDRESS>
Directory Traversal
Time of Check Time of Use (TOCTOU)
XML External Entity (XXE) Injection
Cross-site Scripting (XSS)
XML External Entity (XXE) Injection
XML External Entity (XXE) Injection
Cross-site Request Forgery (CSRF)
XML External Entity (XXE) Injection

<EMAIL_ADDRESS>><EMAIL_ADDRESS>
Directory Traversal

You can read more about Snyk's upgrade and patch logic in Snyk's documentation.
Check the changes in this PR to ensure they won't cause issues with your project.
Stay secure,
The Snyk team

forwarded from https://github.com/ChristianMurphy/portlet-utils/pull/3


Show the migration acknowledgement to the user

User Story
As an Automate User,
I want to sync Chef Server with Automate whenever there is a change in the server.
The sync would require users to upload knife ec backup zip file. Once uploaded, the UI needs to show an acknowledgement.
Acceptance Criteria

The button should be available only to the Admin of chef automate
The acknowledgement would be based on the response from backend

Implementation Details
UI Design
Definition of Done

All things specified in User Story Acceptance Criteria should be fulfilled.
UI should exactly match UX design.
Cypress Coverage for new Feature.
All Exceptions are Handled Properly
Ensure logs have no unnecessary data.
Test coverage for new feature is done to at-least 70%.
Docs changes PR is Raised.
Swagger Documentation updated.
Smoke Test done.
Ensure Build and Integration Pipelines are Green.
PR has 2 approvers.
All Code Review Comments are Resolved.
Screen shot of the feature developed is provided in the issue.
Ensure compatibility with all supporting browser.
Demo the feature to UX.
Link to the UX wireframe/Requirement Document.

@chaitali-mane @vinay033 Please update the implementation details and screenshots


Remove hidden cursor mode

This can be achieved using glfwSetCursor. No need for a separate cursor mode.

May I ask what changed?

Always, and sorry, I should have written it without you needing to ask.
The disabled cursor mode requires us to have an invisible cursor or the ability to hide it anyway, so offering it as hidden cursor mode is a nice convenience.


minor land related code cleanup (coeffsib)

Code cleanup for unused statements of coeffsib.

@gmao-rreichle all agcm standard 1day testing was zero diff and intel GEOSldas Nightly Tests were zero diff as well. So FPP was indeed doing nothing.

@mathomp4: Here, my first approval didn't take for the Land team.  I then changed the from "Draft" to "Ready for Review", reapproved, and - voila - my 2nd approval now took for the Land team.  Perhaps it's the difference between "Draft" and "Ready for Review" status that impacts the team-specific approval process?

@mathomp4: Here, my first approval didn't take for the Land team.  I then changed the from "Draft" to "Ready for Review", reapproved, and - voila - my 2nd approval now took for the Land team.  Perhaps it's the difference between "Draft" and "Ready for Review" status that impacts the team-specific approval process?

Maybe? It's so weird. Maybe drafts do odd things with code owners. I think drafts came to GitHub after code owners so maybe that is a bug


Table <IP_ADDRESS>.2.2-1: Model Attributes has broken HL7 links

All the links in the first column point to http://hl7.org/v3ballot2007may which no longer exists.  All links will need to be removed as the content is now only available in downloadable PDFs.

This has been reported, but there is no alternative available to point at. HL7 does not publish v3 anymore.

see #120

closing this one as the work will continue in #120


Fix Codecov badge in README

Switch codecov badge from master to dev branch (correct version of #487)

Hey @treyhunner — thanks for this PR. I was thinking about this.
Question: When people land on the GitHub page should they see dev — the latest there is — or master — the last release?

@carltongibson I had assumed the README on GitHub should convey the status of the default branch (the in-development code).  Most projects seem to use their master branch, but master is the in-development code on most projects.
Related: I see that the Travis badge isn't pinned to a branch.  I'm not sure what unpinned Travis badges show (master, default branch, last commit on any branch?).

Yeah. Fine. From the next release there won't be much in it anyway.


Allow specification of firebase

Would be great if we could specifiy types for a given property.
https://firebase.google.com/docs/firestore/manage-data/data-types
This would be especially useful for reference which are currently being saved as strings.

Refi App already support those type, you can right-click on a call and choose to convert the value


Simplify some code using default arguments

Was interested in how ImageCache worked, and started poking around the source. Noticed two instances where code could be simplified by using default arguments. I'm not sure if this was intentionally left this way, but it appears to me that there is no compelling reason to have two separate method signatures for these aspects of ImageCache. Let me know either way!

[Current coverage][cc-pull] is 79.53%

Merging [#299][cc-pull] into [master][cc-base-branch] will increase coverage by -2.90%

@@           master       #299   diff @@
========================================
  Files          13         47     +34
  Lines        1412       3976   +2564
  Methods         0          0
  Branches        0          0
========================================
+ Hits         1164       3162   +1998
- Misses        248        814    +566
  Partials        0          0

12 files (not in diff) in Sources were modified. more

Misses +42
Hits +220

9 files (not in diff) in ...ests/KingfisherTests were created. more
2 files (not in diff) in ...ocilla/Nocilla/Stubs were created. more
7 files (not in diff) in ...lla/Nocilla/Matchers were created. more
4 files (not in diff) in ...a/Hooks/NSURLRequest were created. more
3 files (not in diff) in ...Hooks/ASIHTTPRequest were created. more
2 files (not in diff) in ...ocilla/Nocilla/Hooks were created. more
3 files (not in diff) in .../Nocilla/Nocilla/DSL were created. more
2 files (not in diff) in ...a/Nocilla/Categories were created. more
2 files (not in diff) in Pods/Nocilla/Nocilla were created. more

[][cc-pull]

Powered by Codecov. Last updated by 9a32c01
[cc-base-branch]: https://codecov.io/gh/onevcat/Kingfisher/branch/master?src=pr
[cc-pull]: https://codecov.io/gh/onevcat/Kingfisher/pull/299?src=pr

It was a workaround for the lack of autocompletion for methods with default parameters in Swift 1.x and Xcode 6.x. Now in Swift 2 this part works better so there is no reason to keep them!
Thanks for it. 👍


Tools: Propagating project tool settings into existing assets

Is your feature request related to a problem? Please describe.
When adding a new Tool default to a project existing assets are left unaltered. With many assets it can be intensive to propagate a new tool or updated tool into the project because of this.
There are two problems:

It's unclear that adding a Tool to the project doesn't directly influence existing assets
It would be nice if the Project Manager or settings would have functionality to easily "propagate an update"

Additional context

Tools don't work for existing assets came up on Discord

[cuID:OP-3194]

We've now shifted the focus onto the web based project manager for v4 release, where we're counting on this functionality, so in the current PM, we probably won't be adding this.

AYON inherits by hierarchy automatically unless overrides are set, so this is solved there.


Refresh Spaces docs

As discussed in #443, this PR reorganizes the Spaces docs from a question-answer format to something with more structure and narrative. Some things to note:

The link to the RAG app is broken. Do we want to include a link to the Facebook (or Meta? 🥸) RAG blog post instead?
Still need to find a home for the Changelog. Maybe we can include them as release notes as Datasets does?

can you please tag @cbensimon the lead engineer for Spaces?
Personally I'm not a huge fan of this rewrite (and i think we still need the changelog – this is not a library so GitHub release notes are not really an option)

Thanks for the feedback! :) Is there some aspect of the rewrite you aren't a fan of?
Maybe we can create a new Changelog section on the side for the Hub as a whole? 🤔  This way we can also document changes to other aspects of the Hub.

Is there some aspect of the rewrite you aren't a fan of?

a bit swamped right now but I'll give it a go soon
I would just keep the changelog where it is for now

rebased on master + tweaks

LGTM, merging now :)


Focus isn't cleared when closing dropdown

This causes the keyboard on iPad (and I suppose iPhone too) to remain open.

This should be fixed in 4.0, the focus is managed more or less the same way as a standard select.
If it is not fixed, please add a :+1: to the ticket to bring it to our attention. Please also include an example that we can test to verify that it is not actually working.


SPM Support

Hi
Is there any ETA on supporting SPM Main and SPM Relay devices?
Thanks!

I am also waiting for this. Happy to help troubleshoot.

It is not supported yet, and we will arrange the support plan according to the number of devices in the future version.
If you have any more questions, please reopen this issues. Thank you for your reply.


Credentials not set - 'appid' is no longer present in the authenticated user's claims

Hi
v3.5.32 of the Emulator no longer sets the appid claim for the authenticated user causing my .NET bot to fail.  This works fine in v3.5.31 of the Emulator,  This problem only shows itself when using your own CredentialProvider.  It works fine if you have the bot credentials stored in the web.config.
My bot is multi-tenant based on the example here: https://github.com/Microsoft/BotBuilder/issues/2258.  The authenticated user's password is from claims set but their username is always null.
Is there a way to prevent the Emulator from auto-updating until this issue is solved?
Cheers
Stu

We have a PR out to the BotBuilder project to fix the issue: https://github.com/Microsoft/BotBuilder/pull/3681
In the meantime, you can prevent the emulator from updating by passing the --no-update command line argument. The emulator's handling of command line args has its own bug you'll have to work around: The first argument is ignored, so send a placeholder for it, like "Bot Framework Emulator.exe" --foo --no-update.
Related: https://github.com/Microsoft/BotFramework-Emulator/issues/321

OK thanks.

Another update: We will be releasing a new emulator later this week with a workaround to re-enable auth v1.0 tokens.

An updated emulator has been released (v3.5.33) with a new option on the App Settings dialog to force v1.0 tokens. An updated C# SDK with a proper bugfix is in the release pipeline.

Using v1.0 tokens in v3.5.33 works for me, thanks.


Store the raw poses

Currently we are storing the bone rotations as seen in the local puppet. But they might differ from the actual tracking data since they need to be transformed (depending on the model).
Store the raw skeleton data (or infer it from the controller if not using hand-tracking)

On it! Seems to be working fine on tests, but grips need to be alligned


Zigbee2Mqtt with token

Can u please add an example, on how to add the auth token to the url:
https://github.com/zigbee2mqtt/hassio-zigbee2mqtt/issues/411
https://github.com/zigbee2mqtt/hassio-zigbee2mqtt/commit/9feeab620bc5e99152423a3a0c91c9172fc32b37#diff-b64416271dd0ef426fd84e150e12fb02ae878a126497e3ea95e692971f4b2283R55

Not support, please don't set token, or add it with nginx.
Browser -> HA Ingress -> Nginx -> Zigbee2Mqtt
configuration.yaml:
ingress:
  zigbee2mqtt:
    title: Zigbee2MQTT
    icon: mdi:zigbee
    url: <IP_ADDRESS>:80
    headers:
      host: zigbee2mqtt

nginx.conf:
server {
  listen <IP_ADDRESS>:80;
  server_name zigbee2mqtt;
  location / {
    set $upstream zigbee2mqtt:8080;
    set $args $args&token=xxxx;
    proxy_set_header Host $http_x_forwarded_host;
    proxy_pass http://$upstream;
  }
}

Not so nice. Opens again a non protected port, also when only localhost. But okay, it is an option.
Thank you for pointing it out.


Adopt "matchPath" from "react-router"?

I suggest to consider adopting matchPath utility from react-router.
Why:
It's a tested function from one of the most used routing solution. It will most likely handle all the necessary routing scenarios, which are crucial for API mocking as well.
Cons:

Much heavier than a single matching function
Creates an extra dependency

Merged under #14. Will be released in the next patch release 0.2.2.


Upstream changes

let me refactor if needed and ill just merge w/ main (w/ some testing too!)

nvm


Add doki-theme-hyper to list of themes.

Checklist for submitting a resource to awesome-hyper:

[X] Title: The title for the addition uses its npm title (hyper-example) or the resource's title.
[X] Link: The link for the addition uses the npmjs.com link (https://www.npmjs.com/package/hyper-example) or the resource's full URI.
[X] Repository: The package.json file of the resource contains repository information.
[X] Visual: There is a visual representation of what the addition does in its source repository.
[X] Location: The awesome addition is in the correct category or sub-category.

If it's a plugin or resource, put your awesome item at the BOTTOM of the correct section.
If it's a theme, insert it according to the ALPHABETICAL order.

[X] Description: I've written a short (one sentence) description for the addition in the README.md.
[X] Downloads: I've added a download stats badge in the second column ([![npm](https://img.shields.io/npm/dm/hyper-example.svg?label=DL)]())

Regards to the failed check, I think some other plugin is broken right?
Issues :-(
> Links
  1. [L001]  https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg SSL_connect returned=1 errno=0 state=error: certificate verify failed
  2. [L250] 301 http://simurai.com/projects/2016/01/01/duotone-themes  → https://simurai.com/projects/2016/01/01/duotone-themes
  3. [L250] 301 http://simurai.com/  → https://simurai.com/


Support for running offline locally

Could you bundle the JS-libraries and CSS with the app so it can be used offline when built locally?

Hey thanks for opening the issue. We'll do that.

I ran into this issue yesterday where https://medv.io/codejar/codejar.js was being blocked by our corp firewall (...sigh...) and I wasn't able to run this from the docker container either.


Update versions to 0.6.0 and add whatsnew.

Carving out a new release.

lgtm, just had the one comment