Block access to DDS outside of handles

in preparation for eventual garbage collection of DDS we should consider blocking access to them outside of handles, such that all used DDS already have an existing handle. The sooner we do this the better.

We currently don't have GC at DDS level - there is no requirement of storing a DDSs handle in another DDS. So, we cannot detect when DDSs are referenced between summaries. We could add this capability, but it will make the code complex and won't add much value because we don't collect DDSs. This will be added when we do GC at DDS level.

How can we ensure we do not forget about it? I.e. is there a test we can construct that would fail if we started to collect DDSs but did not do this work?

I added a test where a new DDS is created between summaries but its reference is not added. Today the test passes but when we do have GC at DDS level, the test should start failing. Also mentioned the issue about GC at DDS level to the test comments.
Originally posted by @agarwal-navin in https://github.com/microsoft/FluidFramework/issues/8542#issuecomment-997048744

Does this constitute making DDS live to storing its handle in another referenced DDS. Basically, removing bindToContext API from ISharedObject? Or is this tracking more work than that?

I have not idea. just saw your PR and comment, and thought if the only way to get a DDS was via a stored handle somewhere, then we could pretty safely assume we could garbage collect any DDS that doesn't have a handle to it somehere

Ah okay. This is a good starting point but there is more work to be done before we can collect DDSs. Like, we allow creation of DDS with names and don't distinguish them from non-named DDSs. We will have to introduce the concept to root and non-root DDS similar to data stores so that within a data store GC can building the reference graph starting from root DDSs.
I will add this to the GC epic.

for sure. but the sooner we can enforce handles the better. i think it would have also improved the data store GC story if we could have required handles sooner

Agreed. I will plan to do this as soon as the sweep work is done. Scheduled this for February for now.

Tracked by AB#400


[Release 0.6.1] Linux x86_64 binaries missing?

Hello, it looks to me that x86_64 linux binaries are missing from the release archive.
Can you confirm?
Thank you

Thank you!


Unable to find appropriate src/main.rs if it's in src/bin/main.rs

According to https://github.com/rust-lang/rust/issues/40185, the following test case should pass:
#[test]
fn run_proper_binary_main_rs() {
    let p = project("foo")
        .file("Cargo.toml", r#"
            [package]
            name = "foo"
            authors = []
            version = "0.0.0"
            [[bin]]
            name = "foo"
        "#)
        .file("src/lib.rs", "")
        .file("src/bin/main.rs", r#"
            fn main() {
            }
        "#);

    assert_that(p.cargo_process("run").arg("--bin").arg("foo"),
                execs().with_status(0));
}

The problem appears to be that cargo should look for src/bin/main.rs as well as src/main.rs for defaults when named binaries are not found in src/bin/<name>.rs. This was introduced in e3edc064761b75a0d9a8dfcd4ce46e9294e43f06.

@jmatraszek, do you have bandwidth to take a look at this? Thanks

@ehiggs Yes, investigating.

Proposed fix in #3818.

Thanks for the quick fix @jmatraszek!

is done ?


Add nbdime to requirements

Should be tested on binder to see if it integrates to jupyterlab
Closes: #22

Can @wikfeldt or @johanhellsvik please test? If not, I can test also.

I am trying to build on binder, but the whole image build takes a very, very long time.  (so long, it may not even be practical to use?)

Actually, it just finished now.  It appears to work in jupyterlab (last two icons, right?):

It would be great to test to also look at an actual diff whether it shows it nicely.

Looking at it now


Error npm registry

I have this issue using this plugin on Ionic development:
Failed to restore plugin "com.hutchind.cordova.plugins.streamingmedia" from conf
ig.xml. You might need to try adding it again. Error: Failed to fetch plugin com
<EMAIL_ADDRESS>via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
Error: cmd: Command failed with exit code 1 Error output:
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\
node_modules\npm\bin\npm-cli.js" "install" "com.hutchind.cordova.plugins.stre
<EMAIL_ADDRESS>npm ERR! node v6.11.1
npm ERR! npm  v3.10.10
npm ERR! code E404
npm ERR! 404 Registry returned 404 for GET on https://registry.npmjs.org/com.hut
chind.cordova.plugins.streamingmedia
npm ERR! 404
npm ERR! 404  'com.hutchind.cordova.plugins.streamingmedia' is not in the npm re
gistry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
Can someone help me?

Which npm version are you using? I had this and downgraded back to 5.3.0 which seemed to solve the problem.

@valderind4 I also have this issue when wanting to remove other plugin..
@nchutchind is there any issue in npmjs?

Any workaround to fix this? I can remove wrong entry from config.xml/package.json, but they are added again when I rebuild.

Hi,
I have the same issue - any command that changes plugin/platform causes this error to appear and the command to fail.
For example:

cordova build - it is not able to restore the plugin with this 404 error (I pasted it again below in qouted test format because it is easier to read)
After installing this plugin + additional one, trying to cordova plugin rm cordova-plugin-other results in this error and the plugin not removed.
When trying to remove the plugin, if I use cordova-plugin-streaming-media then I get the error, it will only be removed if using the 'old' name (com.hutchind.cordova.plugins.streamingmedia)

Error: cmd: Command failed with exit code 1 Error output:
npm ERR! code E404
npm ERR! 404 Not Found<EMAIL_ADDRESS>npm ERR!      C:\Users\yourusername\AppData\Roaming\npm-cache_logs\2017-11-18T13_14_19_729Z-debug.log

Note that I installed the plugin using cordova plugin add cordova-plugin-streaming-media. I believe that this issue, as well as #102 are caused by some discrepancy between the plugin name and the id (com.abc.edf vs cordova-plugin-edf)
I am not that familiar with writing plugins but if I can somehow help with this - I'd be happy to.

Hi,
I fixed it in the follwing way as temporary solve:
package.json
"com.hutchind.cordova.plugins.streamingmedia": "git+https://github.com/nchutchind/cordova-plugin-streaming-media.git"

@atayahmet that solve doesn't get overwritten?

@atayahmet - in what package.json do you mean to make the change in? Also, a best course would be that the library is updated (but not really sure what/where to change it)

@atayahmet Woow ! thank you Ahmet :) işe yaradı ve çok işimi gördü teşekkür ederim

@CharanRoot This worked for me!

@Jule- cordova is let to itself, move on different technologies (as ReactNative or Flutter)

I am still maintaining the repo, for now but yes Cordova does look slightly at risk, sadly.

@shamilovtim at least can you publish a new npm version reflecting last changes? I mean if you are still maintaining the repo this is the right thing to do. If not you should advise devs in the readme.
Thanks for the others.

we'll generate a new NPM version soon


Bump spectral, octokit, io-ts.

This PR

bumps spectral & octokit
upgrade yargs-parser

close and reopen for CI


Rewrite update.rb to Python

Reasons were:

one language make it easier for maintenance,
workflow simplification,
not stopping when a script fails anymore (it's better to have a partial update than nothing),
use GITHUB_OUTPUT instead of the deprecated set-output command,
display a workflow summary with statistics about scripts and information about updated products.

The commit message is not as good as it used to be, but it makes the diff process agnostic from the file format (will be needed soon when it will change), and it handles versions updates / removal, which was not supported by the previous script.

Works as expected, example of a commit message:
🤖: alibaba-dragonwell, amazon-cdk, jekyll, laravel, log4j, nutanix-prism, rocket-chat

alibaba-dragonwell:
Item root['8.17.18'] added to dictionary.
Item root['<IP_ADDRESS>'] added to dictionary.

amazon-cdk:
Item root['2.117.0'] added to dictionary.

jekyll:
Item root['4.3.3'] added to dictionary.

laravel:
Item root['10.39.0'] added to dictionary.

log4j:
Item root['2.22.1'] added to dictionary.

nutanix-prism:
Item root['pc.2023.4'] added to dictionary.

rocket-chat:
Item root['6.5.1'] added to dictionary.

Did various tests, LGTM. Merging.


Preventing generated color schemes to appear

Preventing generated color schemes to appear in Sublime's color scheme menu.
This is a trick that sublime itself uses to hide some color schemes and syntaxes

Neat trick!


peering.json is overwritten with settings from config.json

Somehow the automatic update of the peering.json adds values from the config.json.

Fixed in #650


A few more edits--please see comments too...

Thx so much!

Hi Samuel,
What comments are you talking about?

Comments to the commit, like here.  Do these show up on your side?

No I don't see these comments on my side... I don't know how to see all of them

Could you put them as issues? Or in the comment section below the post?
Thx so much for your help!


'Submit' a job 后，似乎写日志文件出错了，一直不能结束，点击‘Stop'后，任务结束，可以看到result

部分日志
INFO: focuspanelTimer 5  CBAA152C414F00270F374EC7290A5BFD.cache.html:4224:29303
Fri Dec 01 10:24:53 GMT+800 2017 eml.studio.client.controller.DiagramController
INFO: focuspanelTimer 6  CBAA152C414F00270F374EC7290A5BFD.cache.html:4224:29303
Fri Dec 01 10:24:53 GMT+800 2017 eml.studio.client.controller.DiagramController
INFO: focuspanelTimer 7  CBAA152C414F00270F374EC7290A5BFD.cache.html:4224:29303
Fri Dec 01 10:24:53 GMT+800 2017 eml.studio.client.controller.DiagramController
INFO: focuspanelTimer 8  CBAA152C414F00270F374EC7290A5BFD.cache.html:4224:29303
Fri Dec 01 10:24:53 GMT+800 2017 eml.studio.client.controller.DiagramController
INFO: focuspanelTimer 9  CBAA152C414F00270F374EC7290A5BFD.cache.html:4224:29303
Fri Dec 01 10:25:06 GMT+800 2017 com.google.gwt.logging.client.LogConfiguration
SEVERE: Exception caught: (TypeError) : this.b.d.j is null
com.google.gwt.event.shared.UmbrellaException: Exception caught: (TypeError) : this.b.d.j is null
at Unknown.yl(Unknown Source)
at Unknown.Az(Unknown Source)
at Unknown.Ez(Unknown Source)
at Unknown.bz(Unknown Source)
at Unknown.Sab(Unknown Source)
at Unknown.kv(Unknown Source)
at Unknown.Uab(Unknown Source)
at Unknown.dbb(Unknown Source)
at Unknown.ihb(Unknown Source)
at Unknown.Bib/uib<(Unknown Source)
at Unknown.dm(Unknown Source)
at Unknown.gm(Unknown Source)
at Unknown.fm/<(Unknown Source)
at Unknown.anonymous(Unknown Source)
Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError) : this.b.d.j is null
at Unknown.x_b(Unknown Source)
at Unknown.Hv(Unknown Source)
at Unknown.mz(Unknown Source)
at Unknown.bz(Unknown Source)
at Unknown.Sab(Unknown Source)
at Unknown.kv(Unknown Source)
at Unknown.Uab(Unknown Source)
at Unknown.dbb(Unknown Source)
at Unknown.ihb(Unknown Source)
at Unknown.Bib/uib<(Unknown Source)
at Unknown.dm(Unknown Source)
at Unknown.gm(Unknown Source)
at Unknown.fm/<(Unknown Source)
at Unknown.anonymous(Unknown Source)  CBAA152C414F00270F374EC7290A5BFD.cache.html:4224:29303

在你们的平台http://<IP_ADDRESS>:18080/dev 上  Create a job后，也无法Submit, 日志：
Fri Dec 01 10:36:49 GMT+800 2017 bda.studio.client.graph.OozieGraphBuilder
INFO: add node LibSVM2LabeledPoint-1600feea4a0-0662 add node LibSVM2LabeledPoint  C5C951B7F1108616EC5F2B70B4B8AF61.cache.html:4548:14143
Fri Dec 01 10:36:49 GMT+800 2017 bda.studio.client.graph.OozieGraphBuilder
INFO: add node X 1313 add node Y 362  C5C951B7F1108616EC5F2B70B4B8AF61.cache.html:4548:14143
Fri Dec 01 10:36:49 GMT+800 2017 bda.studio.client.graph.OozieGraphBuilder
INFO: !!! load end   C5C951B7F1108616EC5F2B70B4B8AF61.cache.html:4548:14143
Fri Dec 01 10:36:49 GMT+800 2017 com.google.gwt.logging.client.LogConfiguration
SEVERE: Exception caught: (TypeError) : a.d.j is null
com.google.gwt.event.shared.UmbrellaException: Exception caught: (TypeError) : a.d.j is null
at Unknown.sg(Unknown Source)
at Unknown.GAb(Unknown Source)
at Unknown.KAb(Unknown Source)
at Unknown.hAb(Unknown Source)
at Unknown.ax(Unknown Source)
at Unknown.pwb(Unknown Source)
at Unknown.cx(Unknown Source)
at Unknown.nx(Unknown Source)
at Unknown.Zic(Unknown Source)
at Unknown.skc/lkc<(Unknown Source)
at Unknown.pnb(Unknown Source)
at Unknown.snb(Unknown Source)
at Unknown.rnb/<(Unknown Source)
at Unknown.anonymous(Unknown Source)
Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError) : a.d.j is null
at Unknown.$r(Unknown Source)
at Unknown.cu(Unknown Source)
at Unknown.Mwb(Unknown Source)
at Unknown.sAb(Unknown Source)
at Unknown.hAb(Unknown Source)
at Unknown.ax(Unknown Source)
at Unknown.pwb(Unknown Source)
at Unknown.cx(Unknown Source)
at Unknown.nx(Unknown Source)
at Unknown.Zic(Unknown Source)
at Unknown.skc/lkc<(Unknown Source)
at Unknown.pnb(Unknown Source)
at Unknown.snb(Unknown Source)
at Unknown.rnb/<(Unknown Source)
at Unknown.anonymous(Unknown Source)  C5C951B7F1108616EC5F2B70B4B8AF61.cache.html:4548:14143

@lilyturf2017 您好，之前平台上进行版本更新之后有一个BUG，目前已经修复，您可以再尝试下~


added a new user release permission for fortify on demand plugin

Link to GitHub repository

https://github.com/jenkinsci/fortify-on-demand-uploader-plugin
When modifying release permission
List the GitHub usernames of the users who should have commit permissions below:

@ankit2995

This is needed in order to cut releases of the plugin or component.
If you are modifying the release permission of your plugin or component, fill out the following checklist:

### Release permission checklist (for submitters)
- [x] The usernames of the users added to the "developers" section in the .yml file are the same the users use to log in to [accounts.jenkins.io](https://accounts.jenkins.io/).
- [x] All users added have logged in to [Artifactory](https://repo.jenkins-ci.org/) and [Jira](https://issues.jenkins.io/) once.
- [x] I have mentioned an [existing team member](https://github.com/orgs/jenkinsci/teams) of the plugin or component team to approve this request.

@c0d3m0nky Please approve my permission for release of fortify on demand uploader plugin.
When enabling automated releases (cd: true)
Follow the documentation to ensure, your pull request is set up properly. Don't merge it yet.
In case of changes requested by the hosting team, an open PR facilitates future reviews, without derailing work across multiple PRs.
Link to the PR enabling CD in your plugin

### CD checklist (for submitters)
- [ ] I have provided a link to the pull request in my plugin, which enables CD according to the documentation.

### Reviewer checklist
- [ ] Check that the `$pluginId Developers` team has `Admin` permissions while granting the access.
- [ ] In the case of plugin adoption, ensure that the Jenkins Jira default assignee is either removed or changed to the new maintainer.
- [ ] If security contacts are changed (this includes add/remove), ping the security officer (currently `@Wadeck`) in this pull request. If an email contact is changed, wait for approval from the security officer.

There are IRC Bot commands for it.

I have logged in to Jira and artifactory,yet the checks are failing.


Adjust SVG attributes irrespective of their namespace

Hi!
I am using tyxml and ran into the same issue as https://github.com/ocsigen/tyxml/issues/307, but with the attribute viewBox  instead. It only occurs with the ppx so I looked into the html_parser as suggested by @mooreryan in the issue (thanks!).
As far as I can tell, this is what happens:

Html parser sees <svg> tag and parses it in the SVG namespace here.
This is supposed to trigger the case corrections for attributes in here.
The correction function itself only corrects attributes that have the SVG namespace prefix here.

I don't know enough about namespaces and the use cases of this library, but from my POV there are two fixes:

Add the SVG namespace to all attributes behind the scenes, similar to how the SVG namespace is added to the svg element implicitly.
Ignore the namespace in adjust_svg_attributes because the decision to adjust attribute names is already made by the caller.

This PR adds a test with my own use case and passes it by choosing option 2. I also built and tested the tyxml repository against this PR which works fine.

Thank you! This was indeed a bug, and was contrary to the behavior in the spec.


Can't instantiate abstract class AerQiskitDevice with abstract methods expectations

Describe the bug
Can't instantiate abstract class AerQiskitDevice with abstract methods expectations
To Reproduce
import pennylane as qml
dev = qml.device('qiskit.aer', wires=2)
Expected behavior
Initializes device
Screenshots
Traceback (most recent call last):
File "/home/amwilso4/projects/qaoa_pipeline/qaoa/penny_run.py", line 16, in
dev = qml.device('qiskit.aer', wires=2)
File "/home/amwilso4/projects/qaoa_pipeline/src/pennylane/pennylane/init.py", line 202, in device
return plugin_device_class(*args, **options)
TypeError: Can't instantiate abstract class AerQiskitDevice with abstract methods expectations
Desktop (please complete the following information):

OS: ubuntu 18
Browser chomium
Version 42

Additional context
There's clearly something going on with my environment, hoping someone has seen this bug before.

import pennylane_qiskit as pq
qiskit.version
'0.8.1'
qml.version
'0.4.0-dev0'
pq.version
'0.0.8'

Can you tell us the qiskit version? And also the pennylane and qiskit
plugin versions? We recently had some breaking changes to pennylane and
just updated the plugins to work on the latest versions of pennylane (0.4)
and qiskit (0.10)
On Thu, 4 Jul 2019 at 00:11, maxiwelian<EMAIL_ADDRESS>wrote:

Describe the bug
Can't instantiate abstract class AerQiskitDevice with abstract methods
expectations
To Reproduce
import pennylane as qml
dev = qml.device('qiskit.aer', wires=2)
Expected behavior
Initializes device
Screenshots
Traceback (most recent call last):
File "/home/amwilso4/projects/qaoa_pipeline/qaoa/penny_run.py", line 16,
in
dev = qml.device('qiskit.aer', wires=2)
File "/home/amwilso4/projects/qaoa_pipeline/src/pennylane/pennylane/init.py",
line 202, in device
return plugin_device_class(*args, **options)
TypeError: Can't instantiate abstract class AerQiskitDevice with abstract
methods expectations
Desktop (please complete the following information):

OS: ubuntu 18
Browser chomium
Version 42

Additional context
There's clearly something going on with my environment, hoping someone has
seen this bug before.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/XanaduAI/pennylane-qiskit/issues/37?email_source=notifications&email_token=ABVFIBF7WC3MVIU5NRCO65TP5UPYJA5CNFSM4H5MK3E2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G5HWF4Q,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABVFIBEESIP3PWY37M4TDGLP5UPYJANCNFSM4H5MK3EQ
.

In the 'additional context' section.
Here for reference
import pennylane_qiskit as pq
qiskit.version
'0.8.1'
qml.version
'0.4.0-dev0'
pq.version
'0.0.8'

Hi @maxiwelian, can you try upgrading your installed versions of both PennyLane and PennyLane-Qiskit:
pip install pennylane pennlane-qiskit --upgrade

It looks like you are using an older development version of PennyLane, last week, we released the final 0.4 release of PennyLane.

Note -- there was a misprint "pennlane-qiskit" should have been "pennylane-qiskit" 😉 for anyone who was just quickly copy-pasting the pip install line.
Furthermore, I had the same (original) problem and what finally worked for me was:
python -m pip install pennylane pennylane-qiskit --upgrade
I hope that helps.  😃

Thanks for the catch @MBrandt-NASA! I'll fix that up now.

Closing now that all PyPI releases are up to date (and in sync)


.obj colors look like points

Hi.
Been using the extension for a while for the 3D inpainted mesh option, I used to import the resulting .ply into blender and colors looked ok. Did an update today and now it exports to .obj and I can't seem to be able to display the colors correctly. Probably missing something simple but a) the .obj is loading in another orientation, b) when I create a shader for it, it looks like pointillism.
Am using the wavefront importer, not the legacy one.
Can't figure out what I am missing exactly. Any help is much appreciated.
Here's an example of what I am getting.

OBJ import works fine for me in blender 3.3 .. you can enable additional PLY generation like discussed in the other thread :  https://github.com/thygate/stable-diffusion-webui-depthmap-script/discussions/210

OBJ import works fine for me in blender 3.3 .. you can enable additional PLY generation like discussed in the other thread : #210 and go back to importing the PLY file like before..

Thanks @thygate, just for reference case anyone happens to find what is off.
Am using blender 3.3.4, I enable the ply generation and it works.
Didn't use the legacy importer.
The mesh renders correctly using the generate videos option.
Enabled the additional PLY and it loads ok in blender 3.3.4, damn shame the .obj loads way faster but not getting the color info to display straight, it looks sorta ok around the edges but borks out in the middle. It's like some weird UV thing going through a dishwasher wormhole.

Strangest part is I use the binary format for the PLY file, while Wavefront OBJ is ASCII. So the PLY is like 1/3 the size of the OBJ, and the read values can be copied straight into memory, yet it takes longer to load ..
The official Wavefront OBJ spec also doesn't include the option to store vertex colors, so the OBJ format the extension is outputting was based on how blender re-exports the PLY file ...
But the information stored in both files is the same, a list of vertices with color, and a list of faces indexing those vertices..
I'm still on blender 3.3.1, I should probably upgrade ..

Same Issue in 3.5.1

Solved it also by using PLY files. Just for everyone who is new to this (like me):
In your web ui go to Settings > Depthmap Extension > Save additional PLY file with 3D inpainted mesh. and tick the box. Don't forget to hit Apply Settings. After that you will get your PLY files, which work :)

Both  .ply and .obj  don't have colors,  only mesh in my blender,  tried whole night,  no result,

Oh,   I got it OK,  spend about 3 hours finding whats wrong,   Just in case someone is not familiar with blender,
you have to set viewport lightning Flat,  and Color---Attribute,  so you can see the scene, and  make a animation.

@LanceGao97 Thanks for this, you saved me hours of time I'm sure.
If anyone comes along after this, if you are using the side by side photos instead of the .ply file, then you select Texture instead of attribute.

@thygate How can the OBJ possibly work? I looked at the ASCII file and only Vertices and Faces are defined as best I can see.  There is no color data in the file.

@jwvanderbeck  I know it's not part of the wavefront standard, but it is how blender exports vertex colors in obj too..


Different benchmark with vot-toolkit and pysot-toolkit?

The final benchmark results generated by the vot-toolkit(MATLAB) and this pysot-toolkit with the same  .txt files are different?

Are you sure you are in the right repo?


[Request]

Link to the package upstream website/repository
asdsad
Utility this package has for you
asdsad
Do you consider the package(s) to be useful for every Chaotic-Nyx user?
YES!
Do you consider the package to be useful for feature testing/preview?

[X] Yes

Are you sure the package isn't available upstream already?

[X] Yes

Does the package's license allow redistributing it?
YES!
Have you searched the issues to ensure this request is unique?

[X] YES!

Have you read the README to ensure this package is not banned?

[X] YES!

More information
asdasd

Mistake! Apologies.


mpvScripts.mpv-image-viewer: init at 0-unstable-2023-03-03

packages mpv-image-viewer. these are all independent, managed under one umbrella project. example usage:
$ nix-shell -E 'mpv.override { scripts = [ mpvScripts.mpv-image-viewer.image-positioning ]; }'
[nix-shell]$ echo 'CTRL+MBTN_LEFT script-binding drag-to-pan' | mpv --input-conf=/dev/stdin --pause 'https://github.com/NixOS/nixos-artwork/blob/master/wallpapers/NixOS-Gradient-grey.png?raw=true'

# zoom the image with default mpv controls (control + mouse wheel)
# and observe that holding control + left mouse button now allows to pan when zoomed in,
# whereas stock `mpv` does not implement any panning function

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

You can do that, or just rebase after that one is merged. It will not delay this PR much either way

removed the scope, copied descriptions from upstream's readme (equalizer has no description): https://github.com/occivink/mpv-image-viewer/blob/master/README.md#scripts
feel free to suggest alternate descriptions if that's important to you. they're slightly long for typical nixpkgs descriptions, but not enough that it bothered me personally.

squashed the commits


Add time_index() and splice() methods to AnalogSignal

The former gives the array index corresponding to a given time, the latter replaces part of a signal with another (generally smaller) signal. It is intended to be used for removing transients and other artefacts.

Coverage increased (+0.1%) to 49.903% when pulling 71a506426b9e79691042d8090d882e97d42d52a2 on apdavison:splice-signal into 1e8ddf9f9705cb655a093645827105e2e86f0a91 on NeuralEnsemble:master.

Coverage increased (+0.1%) to 49.908% when pulling 54ef329ff8a5da605f1d7c239fc9440bd5519f8f on apdavison:splice-signal into 1e8ddf9f9705cb655a093645827105e2e86f0a91 on NeuralEnsemble:master.


Fix returned error code when already owned

Fixes #236
Changes Proposed in this pull request:

Removes a check that occurs too early and prevents all the other checks from happening
Fixes the error code returned when already owned

@NGumby nice one. This would make it so much easier for me to restore purchases.


Visual Studio won't load the extension

Visual Studio won't load the extension.
I have a solution which contains some .NET projects and a Python project. The lambdas are built from the .NET projects, the python projects contain cmd line build utilities.
When I open the solution it throws an error something along the lines of 'an extension did the wrong thing'.
I have other solutions which don't contain python projects which are able to load fine
When I look at the extension logs I find:
2024-07-04 08:54:29,829 [7] ERROR AwsToolkit.VsSdk.Common.LambdaTester.LambdaTesterInstaller - Error configuring Lambda tester for DeployTools.pyproj System.IO.FileNotFoundException: Could not find file 'C:\Projects\AWS\dd-lambda-functions\DeployTools.pyproj'. File name: 'C:\Projects\AWS\dd-lambda-functions\DeployTools.pyproj'    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)    at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)    at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)    at System.IO.File.InternalReadAllText(String path, Encoding encoding, Boolean checkHost)    at AwsToolkit.VsSdk.Common.LambdaTester.Project..ctor(String filename) in C:\codebuild\tmp\output\src2272085480\src\github.com\aws\aws-toolkit-visual-studio-staging\vspackages\shared\AwsToolkit.VsSdk.Common.Shared\LambdaTester\Project.cs:line 18    at AwsToolkit.VsSdk.Common.LambdaTester.LambdaTesterInstaller.<InstallAsync>d__7.MoveNext() in C:\codebuild\tmp\output\src2272085480\src\github.com\aws\aws-toolkit-visual-studio-staging\vspackages\shared\AwsToolkit.VsSdk.Common.Shared\LambdaTester\LambdaTesterInstaller.cs:line 66 2024-07-04 08:54:29,833 [15] DEBUG Amazon.AWSToolkit.VisualStudio.Lambda.LambdaTesterUtilities - Finished configuring Solution with Lambda Tester 2024-07-04 08:56:19,499 [1] ERROR Amazon.AWSToolkit.VisualStudio.Lambda.LambdaTesterUtilities - Error configuring Lambda Tester on project. FileName: , FullName: , UniqueName: <MiscFiles> System.Exception: Unable to determine project FileName    at Amazon.AWSToolkit.VisualStudio.Lambda.LambdaTesterUtilities.<EnsureLambdaTesterConfiguredAsync>d__2.MoveNext() 2024-07-04 08:56:28,337 [9] ERROR AwsToolkit.VsSdk.Common.LambdaTester.LambdaTesterInstaller - Error configuring Lambda tester for DeployTools.pyproj System.IO.FileNotFoundException: Could not find file 'C:\Projects\AWS\dd-lambda-functions\DeployTools.pyproj'. File name: 'C:\Projects\AWS\dd-lambda-functions\DeployTools.pyproj'    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)    at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)    at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)    at System.IO.File.InternalReadAllText(String path, Encoding encoding, Boolean checkHost)    at AwsToolkit.VsSdk.Common.LambdaTester.Project..ctor(String filename) in C:\codebuild\tmp\output\src2272085480\src\github.com\aws\aws-toolkit-visual-studio-staging\vspackages\shared\AwsToolkit.VsSdk.Common.Shared\LambdaTester\Project.cs:line 18    at AwsToolkit.VsSdk.Common.LambdaTester.LambdaTesterInstaller.<InstallAsync>d__7.MoveNext() in C:\codebuild\tmp\output\src2272085480\src\github.com\aws\aws-toolkit-visual-studio-staging\vspackages\shared\AwsToolkit.VsSdk.Common.Shared\LambdaTester\LambdaTesterInstaller.cs:line 66 2024-07-04 08:56:50,360 [1] INFO  Amazon.AWSToolkit.VisualStudio.AWSToolkitPackage - AWSToolkitPackage InitializeAsync started 2024-07-04 08:56:50,361 [1] DEBUG Amazon.AWSToolkit.Telemetry.TelemetryService - Telemetry service enabled 2024-07-04 08:56:50,361 [83] DEBUG Amazon.AWSToolkit.VisualStudio.Telemetry.TelemetryManager - Initializing Telemetry Service 2024-07-04 08:56:50,362 [84] INFO  Amazon.AWSToolkit.ResourceFetchers.FileResourceFetcher - Loading resource: C:\Users\iainm\AppData\Local/AWSToolkit\downloadedfiles\endpoints.json 2024-07-04 08:56:50,362 [83] DEBUG Amazon.AWSToolkit.Telemetry.Internal.TelemetryPublisher - TelemetryPublisher Timer started 2024-07-04 08:56:50,362 [83] DEBUG Amazon.AWSToolkit.VisualStudio.Telemetry.TelemetryManager - Telemetry Service Initialized 2024-07-04 08:56:50,362 [84] DEBUG Amazon.AWSToolkit.Telemetry.Internal.TelemetryPublisher - Starting Telemetry Publisher loop. 2024-07-04 08:56:50,367 [1] DEBUG Amazon.AWSToolkit.VisualStudio.AWSToolkitPackage - Creating SAWSToolkitShellProvider service 2024-07-04 08:56:50,395 [89] INFO  Amazon.AWSToolkit.ResourceFetchers.FileResourceFetcher - Loading resource: C:\Users\iainm\AppData\Local/AWSToolkit\downloadedfiles\endpoints.json 2024-07-04 08:56:50,421 [1] DEBUG Amazon.AWSToolkit.VisualStudio.AWSToolkitPackage - Setting up Publish to AWS functionality 2024-07-04 08:56:50,421 [1] ERROR Amazon.AWSToolkit.VisualStudio.AWSToolkitPackage - Failed to properly set up Publish to AWS functionality System.Exception: Already initialized    at Amazon.AWSToolkit.Publish.Package.InitializePublishToAwsPackage.InitializePackageAsync(ToolkitContext toolkitContext, IAWSToolkitShellProvider shellProvider)    at Amazon.AWSToolkit.VisualStudio.AWSToolkitPackage.<InitializePublishToAwsAsync>d__91.MoveNext() 2024-07-04 08:56:50,422 [1] INFO  Amazon.AWSToolkit.VisualStudio.AWSToolkitPackage - AWSToolkitPackage InitializeAsync complete 2024-07-04 08:56:50,423 [83] DEBUG Amazon.AWSToolkit.Telemetry.Internal.TelemetryPublisher - Telemetry Publisher loop has stopped. 2024-07-04 08:56:50,476 [89] INFO  Amazon.AWSToolkit.ResourceFetchers.HttpResourceFetcher - Loading resource: https://idetoolkits.amazonwebservices.com/endpoints.json
Which is correct.
C:\Projects\AWS\dd-lambda-functions\DeployTools.pyproj does NOT exist.
However, C:\Projects\AWS\dd-lambda-functions\DeployTools\DeployTools.pyproj DOES and this is the file that is referred to in the solution:
Project("{888888A0-9F3D-457C-B088-3A5042F75D52}") = "DeployTools", "DeployTools\DeployTools.pyproj", "{42A43949-CCA2-4869-B2CA-022AEB16F094}"
log_2024-07-04_08-58-35_14912.txt
This leaves me unable to open the extension or deploy my solution from visual studio.
Development System (please complete the following information):

Windows Version:  Microsoft Windows 11 Pro
Visual Studio Version: Microsoft Visual Studio Community 2022 (64-bit) - Current Version 17.10.3
AWS Toolkit for Visual Studio Version: <IP_ADDRESS>

Temporarily removing the python project from the solution does NOT fix the issue. The exception is no longer thrown, but the extension still won't load.

Hi @ifmason2 , can you confirm that you are running <IP_ADDRESS> or <IP_ADDRESS>? We just published version <IP_ADDRESS> a few minutes ago, but we aren't seeing our updated logging changes in your logs. It appears you are seeing the same issue reported in #441, so if you are able to install the latest version (<IP_ADDRESS>) and try again, we're interested in knowing if this addresses the issue for you.

Hi @awschristou. Initially I did check to see if there were updates and it told me I had the latest version. But checking again now the update has installed and things are working as expected, with the python project in the solution.
Thanks for the prompt response.

Working as expected

Glad to hear it, thank you for letting us know it is working for you.


Low level security vulnerability in one of dependencies

Hi,
I'm using ng-apimock in one of my projects as a mock server in e2e tests.
I recently noticed that one of ng-apimock dependencies has low level security vulnerability.
When I ran npm audit command I found that lodash package in versions lower than 4.17.5 has vulnerability called "Prototype Pollution". Currently, ng-apimock uses lodash in version 4.17.4
For more informations, check link below:
https://snyk.io/vuln/npm:lodash:20180130
I would be very grateful for updating this package, which removes the message about security vulnerabilities.

@SkrzypMajster I just release a version 1.4.8


Misleading VelocityData values

While testing out the newly implemented VelocityData, I found something odd: while at rest, the player's (entity's) velocity is: (0.0, -0.0784000015258789, 0.0). Obviously, the player should not have a downward velocity while at rest. When I jumped, I got the following output:
(0.0, -0.0784000015258789, 0.0)
(0.0, 0.41999998688697815, 0.0)
(0.0, 0.24813599859094576, 0.0)
(0.0, 0.16477328182606651, 0.0)
(0.0, 0.16477328182606651, 0.0)
(0.0, 0.08307781780646721, 0.0)
(0.0, 0.0030162615090425808, 0.0)
(0.0, -0.0784000015258789, 0.0)
(0.0, -0.230527368912964, 0.0)
(0.0, -0.230527368912964, 0.0)
(0.0, -0.30431682745754424, 0.0)
(0.0, -0.0784000015258789, 0.0)

And while these values make sense, the issue still persisted. Additionally, while just moving around in general, the x and z components of the velocity vector never deviated from 0.
I used this plugin to test this. Is there something I'm missing, or...?

I think the y value would be due to gravity?

But the entity is not moving down, so the velocity should not be anything but 0. I see what you're saying, but it doesn't make sense logically.

@RobertHerhold Have you tested this with non-player entities as well?

I think someone mistook gravity for velocity...

@ST-DDT I just tested it with a minecart, and it's velocity is (0.0, -0.0, 0.0) when it is at rest

In that case, blame the movement packet. Sponge could do some custom calculations server-side though.

I'm just going to go ahead and point out that you don't experience that behaviour in Vanilla or Bukkit, so it is definitely Sponge.

Is this still broken?

@gabizou Yes. I updated the gist to the latest version of the API.

From testing the value is always -0.0784000015258789 at rest.
I have done some investigation and found out how this value came to be.
This snippet is in EntityLivingBase.moveEntityWithHeading, towards the end of the method

                if (this.worldObj.isRemote && (!this.worldObj.isBlockLoaded(new BlockPos((int)this.posX, 0, (int)this.posZ)) || !this.worldObj.getChunkFromBlockCoords(new BlockPos((int)this.posX, 0, (int)this.posZ)).isLoaded()))
                {
                    if (this.posY > 0.0D)
                    {
                        this.motionY = -0.1D;
                    }
                    else
                    {
                        this.motionY = 0.0D;
                    }
                }
                else
                {
                    this.motionY -= 0.08D;
                }

                this.motionY *= 0.9800000190734863D;
                this.motionX *= (double)f2;
                this.motionZ *= (double)f2;

motionY is 0 , then it subtracts 0.08 and multiplies by 0.98
-0.08 * 0.9800000190734863 = -0.0784000015258789
moveEntityWithHeading gets called as part of onLivingUpdate so this will happen for all living entities.
So either we leave this as-is directly from vanilla, change the method so that it's 0 at rest or check for this magic value in the velocity data processor and report velocity y as 0

@nickrobson
Maybe not Bukkit but Vanilla has this issue as @simon816 points out above :P.
@simon816
Changing this in Vanilla isn't happening so I guess we can report this as "0".

I get wanting to correct this, but this only fixes it for the rest state right? so wouldn't anything not at rest still be incorrect? or is it only because it's always colliding that the velocity is incorrect?
This seems like a nextVelocity value more then a velocity value.

@ryantheleach Data always gives you the now so this is the velocity  now.

Non-rest states would be correct as the velocity does accurately represent the change in position. It is only once at rest that the velocity is not displaying as what it should be at rest (0, 0, 0).
Someone should double check that walking into a wall does not show a velocity into the wall though as this would not surprise me...(and our lives will get a lot more complicated if this is the case)

@Deamon5550 I tested it, and here are my results:

When the player moves on the ground, the X and Z velocities remain at 0, even when moving upwards via slabs/stairs.
When the player jumps or falls, the velocity works properly (X, Y, and Z).
When the player climbs a ladder, the Y velocity behaves as if the player was jumping (immediately jumps to a positive value, then decreases to -0.2254).
When the player climbs a ladder while sneaking, the Y velocity remains at 0.
When the player flies, the velocity initially works properly, but it soon approaches 0.
When the player is riding a vehicle, the velocity remains at 0, and (in the case of a minecart) the vehicle moves at a constant speed.

Code:
package jbyoshi.sponge.test;

import org.spongepowered.api.data.key.Keys;
import org.spongepowered.api.event.Listener;
import org.spongepowered.api.event.game.state.GameStartingServerEvent;
import org.spongepowered.api.event.game.state.GameStoppingServerEvent;
import org.spongepowered.api.plugin.Plugin;
import org.spongepowered.api.service.scheduler.Task;
import org.spongepowered.api.text.Texts;
import org.spongepowered.api.text.chat.ChatTypes;

import javax.inject.Inject;

@Plugin(id = "jbyoshi.sponge.test", name="JBYoshi Sponge Test")
public final class SpongeTestPlugin {
    private Task task;

    @Listener
    public void stateChanged(GameStartingServerEvent event) {
        this.task = event.getGame().getScheduler().createTaskBuilder().intervalTicks(1).execute(() -> {
            event.getGame().getServer().getOnlinePlayers().forEach(p -> {
                p.sendMessage(ChatTypes.ACTION_BAR, Texts.of(p.get(Keys.VELOCITY).get()));
            });
        }).submit(this);
    }

    @Listener
    public void stateChanged(GameStoppingServerEvent event) {
        this.task.cancel();
    }
}


GPIO input setting lost after calling picamera function

I am not sure whether this would be a question, a feature request, or a bug.  In summary, I was setting up a passive infrared (motion) sensor to activate my camera.  I used GPIO.setmode(GPIO.BOARD) in my sensor routine, then called another routine to set the camera parameters and capture a still image.  This was set in a simple loop as motion was detected, or not detected.  The first time through the loop a photo would be taken.  However, the second time through would produce the error RuntimeError: You must setup() the GPIO channel first.  A complete description of my issue is posted at http://www.raspberrypi.org/forums/viewtopic.php?f=32&t=96927.  The problem is that the picamera is using GPIO.setmode(GPIO.BCM) to do something with the LED (see def _init_led(self): in source code).  This has the effect of clearing the GPIO if it has previously been set with GPIO.BOARD.  It took a lot of searching and headscratching for me to figure this out.  Since the camera is not plugged into any of the GPIO pins, it is not apparent that there would be any reason it would use setmode for the GPIO pins.
I am not sure why the camera needs to interact with the GPIO pins if it doesn't connect to them, but is there a way to change this section of code so that it would not conflict with someone using GPIO.BOARD mode, or either mode?  Thanks.
Jeff

Unfortunately the camera's LED is only controllable when the GPIO library is in BCM mode (there's no mapping for pin 5 in BOARD mode). Hence, I've no choice but to switch the library into BCM mode when the led property is used. Ideally I'd like to have queried which mode the GPIO library was in and thrown an error if the led property is accessed when the library is in BOARD mode; unfortunately, the GPIO library provides no facility for querying which mode it's in so the best I can do is to arbitrarily switch it to BCM mode and hope things are fine.
That said, I have written the code tolerably conservatively: note that _init_led (which is what sets RPi.GPIO to BCM mode) isn't called until the first attempt to set the camera's led property. In other words, if the user is using the GPIO library in BOARD mode, and never touches the camera's led property then everything will be fine. The problem only arises if the user uses GPIO in BOARD mode and then attempts to set the camera's led property. It looks like your code (from the linked forum post) is attempting to set the led in the SinglePhoto function so I'm afraid your only solutions in this case are to either avoid setting camera.led or to use BCM mode instead.

I should add that there's a note about this in the LED recipe in the docs, but admittedly not in the LED API reference - I should probably add one there.

Thanks for the explanation.  I did fix my problem by switching my routine to use BCM mode.  It looks like the only long term solution to this would be to ask for a feature request for the GPIO library to include a way to query what mode it is in (if that is even possible).  I think what added to my frustration in trying to track this down, was that I didn't know that it was the led property in the first place that was causing the issue.  It took someone much smarter than I to speculate that it might have been some other routine using the pins (hence trying different pins first), then read the code and find that the led property was using BMC mode, and hypothesize that might be my problem.  So while I had read that section of the docs about using the led, it didn't jump out to me that it would be my problem.  Probably because I didn't make the connection that the led is using a pin, when there is no physical connection of the camera to the pins.  I still don't have a complete understanding of how that works, but it is time to move on to other things.


Domain CRD to v2

This change updates the Domain CRD to version "v2".
Given that we are moving to v2 and not supporting (even as deprecated) v1, this change removes support for the pre-existing V1 schema and code paths.
All tests and samples are updated to use v2.
I noticed and corrected some schema mismatches between our proposed v2 schema wiki and the Java code, such as that DomainSpec.clusters and .managedServers should have been maps.
There are other inconsistencies, but this change only modified those required to full move to v2 schema.

I am working on making the java tests pass with V2 domain changes. Do you want to cover them in this PR?
src/scripts/scaling/scalingAction.sh needs to be changed to replace clusterStartup with clusters to make WLDF scaling work.


Move app into subfolder to prep for mono repo

I couldn't get husky install to work on my windows pc.
So will need someone to add that please.

Move to WSL bro 😏


.nuxtignore under nuxt.config.ts

Clear and concise description of the problem
.nuxtignore is rarely needed and for this reason adding it under nuxt.config.ts will be nice to have.
Suggested solution
Can we add .nuxtignore under nuxt.config.ts ? :)
Alternative
No response
Additional context
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Sure. PR welcome :)


Crash report

Version
3.2.1 (0770993)
Seed
R730-2FB6-XXHC2HM5Z9YX002JRZXZQZZ7ZZZZZZZZZZZZZZZZZZZZZZZZZ
Scenario
RE 3 (Jill)
Player Character
Jill R3R
What happened?
Seed has crashed 3 times at the point of getting to cable car and walking into next room within the car where carlos hands jill the side pack, screen goes black then crashes.

Sorry, I was unable to reproduce this issue.
I will have to mark it as a duplicate of #352.


Failed to Install

When trying to install the plugin, I keep getting the same error message and unable to install the plug-in, what could be some solutions to this issue? Would it be something within textools I would need to fix? It's giving me limited information and I'm not sure how to fix the problem

Repair your client from TexTools corruption.


Filter configuration support in config files

It would be nice if one could define the filter environment variable values inside either the YAML or Python config files instead. It shouldn't be difficult to have the Environment's config to store the extra vars, but unfortunately all the keys are currently lower()'ed.
There needs to be symmetry among the 2 loaders as well. Not sure what's the best way to implement this.

The Environment.config values are actually case-insensitive, using upper-case values is only by convention, so that should not be a problem. However, the YAML loader currently does not read any custom options.

Oh man it's late here.
I just took a look at the master branch again and you are right. I was looking both at 0.6 and 0.7 and totally missed the parse_options() and get_config() changes. I thought the option key were to passed to the Filter super class to search from env.config directly. Nevermind what I said 2 commends above. Sorry for the confusion.
Yes the YAML format is exactly what I had in mind. Thank you for answering my questions :)

Oh nice I was going to fork and submit a pull request. Thanks a bunch! Can't wait for the next release!


Added Alerts Docs to Bootstrap in English

[X] I have read freeCodeCamp's contribution guidelines.
[X] My pull request has a descriptive title (not a vague title like Update index.md)
[X] My pull request targets the master branch of freeCodeCamp.
[X] None of my changes are plagiarized from another source without proper attribution.
[X] My article does not contain shortened URLs or affiliate links.

Added Alerts Docs in a simplified manner from the Bootstrap Alerts Docs.

Looks good @Parth-Agarwal, congratulations on your first contribution to freeCodeCamp! Thanks, we welcome future any future PR's!


兼容php7

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

你这么改不是兼容php7，是只兼容php7

@SyuTingSong 你说的是哦

已更新 https://github.com/aliyun/aliyun-oss-php-sdk/commit/16b47c626493bbd503402685b65fb5812583d2b5


Refactor/pages and endpoint

Summary of change:

Refactor all existing pages take take in  component
Added API Client, respective dummy end-point, loading screen for
(1) Merchandise List
(2) Merchandise Detail
(3) Cart
(4) Checkout
(5) Order Summary
(6) Order History
Removed stuff that wont be used anymore, e.g. Sorting merchandise by date.

Things needed from BE:

Endpoints for Voucher validation, Order Detail, Order History.

Things to confirm:

UI for Hitpay process
Authentication for Cart, Order Detail, Order History page (Ashwin please help)

This PR has been merged as part of #38. (Commit fa9a0d4)


Add Slovak translation

Coverage remained the same at 100.0% when pulling 30c90824a7599851f75a8c5b95d226dd1f7cce49 on jose1711:sk_translation into 8a26b21ad885268078410e6aab064ca81c83e347 on regseb:master.


Markers for 4.0.0

Made changes to version for the build and the README file.

Not sure what you mean by confusion, it is my understanding that as long as you rebase the branch, you can continue to deliver changes through it, so please explain what you think is hosed...

Not sure what you mean by confusion, it is my understanding that as long as you rebase the branch, you can continue to deliver changes through it, so please explain what you think is hosed...

Look at the changeset. It has changes to build-support/scripts/up, which were already merged. It does not make sense for these to appear in your PR.
PRs are associated with the branch that they were used to deliver the change. You should not use the same branch over and over.


Issue with DKIM records when using Full Zone Setup

Before turning on Cloudflare, my domain has a custom TXT DKIM record, entered through the cPanel Zone Editor and functioning correctly. The DKIM record is a 2048-bit RSA key generated through Google (as we use Google G Suite as the email provider).
The value of the record is:

v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAibT8LGvNQ+6+tSRterbmI8bOfEDN0jX3qbZajCcOpZnieXcGwlxshEl9TV4KZlnseAnowIDYeSeRkNfp9DDW0deXnOi0j9vqNJwfnlfvKmUqup86DC3g+/3lMZ/hpqnjj6FsYp9xcbfCm832MOFcATxCg3aevZS5/it+CpSuRWSuCNZKwuaIwONQOxBRdkbq+JXS87ttTKJDB4a8Uu/uGbrPdx3B510ZPyJhkJKgX7jgxIPbnqywFB1wimdNPI0jLX4+8+L8vJaqXYLtao3Y4gHRn5GM/+/MkCi4jXhkgyi9tw5cST+t9ptkBSl0iY0RZBhB0oQlrNted+gVXhhGmwIDAQAB

When I use the Cloudflare cPanel plugin to do a Full Zone Setup, all the DNS records are uploaded to Cloudflare. However, the TXT DKIM record becomes the following:

v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAibT8LGvNQ+6+tSRterbmI8bOfEDN0jX3qbZajCcOpZnieXcGwlxshEl9TV4KZlnseAnowIDYeSeRkNfp9DDW0deXnOi0j9vqNJwfnlfvKmUqup86DC3g+/3lMZ/hpqnjj6FsYp9xcbfCm832MOFcATxCg3aevZS5/it+CpSuRWSuCNZKwuaIwONQOxBRdkbq+" "JXS87ttTKJDB4a8Uu/uGbrPdx3B510ZPyJhkJKgX7jgxIPbnqywFB1wimdNPI0jLX4+8+L8vJaqXYLtao3Y4gHRn5GM/+/MkCi4jXhkgyi9tw5cST+t9ptkBSl0iY0RZBhB0oQlrNted+gVXhhGmwIDAQAB

Do you see it? There is a " " inserted in the middle of the TXT record value. Note, both TXT records here are one-line text strings.
This makes the RSA key invalid, and so it breaks our DKIM authentication, which is how I found this.
Upon further investigation, it looks like the " " break comes after the first 255 characters of the record string. I am unaware if this comes from the way cPanel stores the record value internally, or in the way the Cloudflare plugin handles it.
If I go to the Cloudflare dashboard and fix the record there manually - all works perfectly!
Our shared hosting provider is SuperHosting.BG, using cPanel version 86.0 (build 21). The Cloudflare plugin is v7.0.1.

This plugin is no longer supported by Cloudflare:
https://github.com/cloudflare/Cloudflare-CPanel/issues/185


DropwizardSupport with customised jackson support

I've stumbled across a problem that is extremely difficult to reproduce in simple code.
Quite simply, if a dropwizard server is bootstrapped for a unit test via DropwizardSupport, no matter what modules are registered in client or server code, java.time.Instant is not serialized properly.  Instead of printing either epoch time, or ISO date format, jackson/jersey are serializing   like this:
      "featureTime": {
            "epochSecond":<PHONE_NUMBER>,
            "nano": 202000000
        }

This does not get read properly then by a client using the same bean definition.
THe same code works perfectly when running as a standalone server.  Something about running in DropwizardSupport is messing up customised serialization.
Dropwizard 2.0.13
Jackson 2.10.5
Java 8

if a dropwizard server is bootstrapped for a unit test via DropwizardSupport

Do you mean DropwizardTestSupport?

Apologies....I do indeed mean DropwizardTestSupport.
Further attempts to investigate suggest that jackson, while still doing the serialisation, no longer finds registered modules, and so falls back to the least common denominator.

Quite simply, if a dropwizard server is bootstrapped for a unit test via DropwizardSupport

@nheitz Could you please elaborate on what you're doing exactly? Maybe share your test code.

I'm going to have to close this.  I can't reproduce on a a simpler application setup, so I must deduce that it is some kind of dependency collision.


[ENH] where to run the jobs

When implementing running on different clusters, add "where to run the jobs", e.g., cubic tmpdir, comp_space, etc.
Can add it in the config yaml file (e.g., section job_compute_space)

e.g.,
compute_job_working_dir: "${CBICA_TMPDIR}"    # PennMed CUBIC cluster tmp space

or:
compute_job_working_dir: "/cbica/comp_space/$(basename $HOME)"   # PennMed CUBIC cluster compute space

Note: please use the up-to-date example container configuration yaml file, or add section 'job_compute_space' in the yaml file. Otherwise there will be error when babs-init!


Is the Average Recall lower then CenterNet because the small values( nealy 0) on the attention map weaken some keypoint?

I think the attention map make the value of some of the predicted keypoints  lower , which means the detection is more strict than CenterNet.
Will the  Average Recall  become lower?
I do not well understand the difference between  coco AP and AR ? Would you mind sharing your explaination?
Many thanks!

multi-task learning by itself (SpotNet No Attention) helps to be more precise, but does not help to
detect more objects, i.e. to reach improved values of recall.
On the other hand, the attention mechanism does both, it
helps to be even more precise for the same values of recall
(fewer false positives), and it also allows the model to detect
more and reach significantly higher values of recall.
Since the network is looking for keypoints on the whole
image, it is natural that concentrating the search on learned foreground pixels will increase the probability that the key points found belong to the objects of interest, thus reducing the rate of false positives. Furthermore, the experiments
show that this increases recall because the network can concentrate on useful information.

I think concentrating on useful information will improve the precision, but if the segmentation map predicted by the segmentation head is not so good as the ground truth and the segmentation map make the value of some of the predicted keypoints lower,  for example, the value of every pixel of the segmentation map is 0, then detection is bad.

I think we can say that for very high values of recall on the curve, the precision becomes bad. The idea is that with the attention map, this "bad" precision still hits more true positive than without it, due to the model being able to concentrate on better areas. This is mainly for detections with a very low confidence score. In our paper, the datasets we use do not use coco AP and coco AR, but rather the precision over recall curve.


[LX-2281] Adds BlockstoreService for when openedx is not available

This PR allows these XBlocks to be run outside of Open edX by adding an optional "blockstore" service, which knows how to interact with the Blockstore/Content Libraries APIs to access the data that Open edX access directly.
The BlockstoreService itself is in the LabXchange code, but can be upstreamed if it's found to be broadly useful. (So far, no one else but LabXchange are using these XBlocks.)
Testing instructions
This branch is installed as part of labxchange-dev#1632, so part of this change can be tested as part of that.
Additionally, please test that this branch works fine in the LMS/Studio by:

Installing this branch in the lms and studio virtualenvs.
Viewing audio and video XBlocks in LabXchange, and ensuring you can: watch the videos, read the transcripts, edit the metadata and OLX, and see the changes made.

Automated testing:

Install this branch on devstack.
Follow instructions to run tests

Author notes & concerns

Currently, 7 tests are failing on the master branch of this repo.
These tests are still failing in this branch; I can remedy them if required.

Oops, I meant to close https://github.com/open-craft/xblock-runtime-lib/pull/1, not this one.. 😬

This changes breaks lx_image, lx_document, and lx_narrative blocks because they rely on submit_studio_edits for saving changes, which comes from StudioEditableXBlockMixin.

Ach, good catch @giovannicimolin !  See https://github.com/open-craft/labxchange-xblocks/pull/31/commits/2029fb85f417810b4c52afe1dc8a0c593043eb41 -- I've maintained this dependency for when labxchange_xblocks is installed on the platform, since that's where the studio endpoints are called.  We'll need to rethink how to handle these field changes as part of our migration away from Open edX.
CC @symbolist


SyntaxError: await is only valid in async function

Hi,
I have seen another person who created an issue for the same error recently, but despite everything I tried, I continue to receive this error:
node v12.16.2
npm 6.14.5
any idea??

I get the same issue as @JBX028
node v12.18.2
npm 6.14.5
thanks in advance

I think npm install question-answering@latest doesn't install the full package for some reasons. I am having an other issue by trying to install a french model:
npx question-answering download flaubert/flaubert_large_cased
Cannot find module '../dist/utils'
Require stack:

async function start() {
  await someAyncFunc();
}

start();

Cannot find module '../dist/utils'

This has something to do with 2.x to 3.x migration. The filenames changed I believe. It still works in 2.x

@EddieOne Thanks

Instead of this:
const qaClient = await QAClient.fromOptions(); const answer = await qaClient.predict(question, text); console.log(answer); // { text: 'Denver Broncos', score: 0.3 }
Try this:
QAClient.fromOptions().then(function(qaClient){   qaClient.predict(question, text).then(function(answer){     console.log(answer); // { text: 'Denver Broncos' score: 0.3 }   }); });


Fix doc typo

:man_facepalming: requested against the wrong repo… they fixed it in the meanwhile… duh.


Add undo command

Allow users to undo commands previously inputted by users which are not the command 'undo'


Failed to compile - Using with NextJS

I copied given example but it's not working with NextJS, any idea?
// ** MUI Imports
import { Card, CardContent, CardHeader } from '@mui/material'

import VisGraph, {
    GraphData,
    GraphEvents,
    Network,
    Options,
  } from 'react-vis-graph-wrapper';

interface props {
    query: any
}

const DependencyGraph = (props: props) => {
    const { query } = props
    const graph: GraphData = {
        nodes: [
          { id: 1, label: 'Node 1', title: 'node 1 tootip text' },
          { id: 2, label: 'Node 2', title: 'node 2 tootip text' },
          { id: 3, label: 'Node 3', title: 'node 3 tootip text' },
          { id: 4, label: 'Node 4', title: 'node 4 tootip text' },
          { id: 5, label: 'Node 5', title: 'node 5 tootip text' },
        ],
        edges: [
          { from: 1, to: 2 },
          { from: 1, to: 3 },
          { from: 2, to: 4 },
          { from: 2, to: 5 },
        ],
      };

      const options: Options = {
        layout: {
          hierarchical: true,
        },
        edges: {
          color: '#000000',
        },
        height: '500px',
      };

      const events: GraphEvents = {
        select: (event: any) => {
          const { nodes, edges } = event;
          console.log(nodes, edges);
        },
      };
    return (
        <Card>
            <CardHeader title="Dependency Graph" />
            <CardContent>
                <VisGraph
                    graph={graph}
                    options={options}
                    events={events}
                    ref={(network: Network) => {
                        //  if you want access to vis.js network api you can set the state in a parent component using this property
                        console.log(network);
                    }}
                    />
            </CardContent>
        </Card>
    );
}

export default DependencyGraph;

Fixing this would either be a major version change or we'd need to add a separate entry file for nextjs to workaround that.
In the meantime, you can use the patch package package. Find where we import the css file (I'm on my phone, without my computer anywhere close to me) and remove that line. Then import the css file directly yourself in your code, and that should work. If you are using esmodules with typescript's node next (node 16) resolution, you might need to modify the package.json file to add exports and the css file to that exports config.
And then run patch package with the --exclude 'nothing' option, which allows it to patch the package.json file successfully.
Hope this helps!

You need to use Next.js with the src/app directory which allows you to import css in external npm packages. This solved it for my case:
CSS files can now be imported inside any layout or page, including styles from external npm packages.
See this thread with the resolution on the last comment: https://github.com/vercel/next.js/discussions/27953#discussioncomment-3978605


[Error in login with email]| Despite connecting my email to my wallet account, the 'Connect Email' modal reappears again

I've already connected my email into my wallet account
if I login again by tapping on vote I see connect email modal again

@Meriem-BM

Can you test this @maryjaf

Thanks @Meriem-BM It has been fixed


Add support for ExtensionProperty parseValue option (Open API v2)

Hi.
I am trying to add a custom key:value option to the annotations of my models. I have used the Extension properties option to add custom key:values it but the types are restricted to String. I want to add "x-nullable": true but because the type is restricted to String, it renders the value option as a string: "x-nullable": "true". which causes a lot of problems for us.
What is currently rendered:
    "Release" : {
      "type" : "object",
      "properties" : {
        "delay" : {
          "x-nullable" : "true"  // Note - boolean is actually a string
        }
      },
    },

What we need:
    "Release" : {
      "type" : "object",
      "properties" : {
        "delay" : {
          "x-nullable" : true // Is actual Boolean
        }
      },
    },

I see in issue https://github.com/swagger-api/swagger-core/issues/2723 , support for a parseValue option (on custom extension properties) was added for the openApi 3 library. We are using the openApi2 library so would it possible to have this change added to Swagger Core 1.5.X version?
Thank you 🙏

I tried to submit a PR myself but I do not have the rights :/
ERROR: Permission to swagger-api/swagger-core.git denied to donaltuohy.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists

@donaltuohy it looks like you tried pushing directly to repository, which would not work. You need to fork the repo, make the changes, and then submit a PR. See https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request-from-a-fork.

Hey @webron thanks a mill for sharing that. I created the PR here: https://github.com/swagger-api/swagger-core/pull/3377

Thanks for reporting and for the PR! implemented in #3377


Support TLS

This patchset adds TLS connection support for nats-python. I hope you like it.

Hi! Thank you for the contribution, please check review comments and make CI happy.

Note: CI needs TLS-enabled nats-server listening port 4224.

Sorry for the delay, I will review your PR this weekend. Overall everything looks good, I just need some time to improve CI.


Allow mapping of Java source files.

@advayDev1 whar is this good for compared with translateSourcepaths.

I'm currently using it for the following:
I have a third-party library which almost meets my needs (and comes with a source jar).
I need to however alter some native implementations substantially.  I map just those 3 files to brand new Java files.
translateSourcepaths works only if I was using this library in exactly one other project AND i was willing to use --build-closure.  Instead I chose to build this third-party library using the new j2objcTranslation feature I added in #431.  I've gotten rid of all --build-closure in all of my projects using the new dependency features and it speeds up my build by a factor about 5 when I change a single file (in the past build-closure meant everything had to be rebuilt)

LGTM
Yet another example of why cycleFinder and translate should have a shared base class ;-)


Jvenstad/dont revalidate application name

@bjorncs please review NTokens.
@andreer FYI.

🕺

👯
... is this really an archetype of a dancing woman?


Server-client Architectural flaw

Issue description
Unfortunatelly, escape pod itself, and this extensions for escape pod, has been designed incorrectly with an architectural flaw.
Instead of escapepod being client to to the escapepod-extension server, it should be vice-versa, to allow multiple extensions to be used with the escapepod. Currently, it is possible to have only one extension, to which the escapepod binary connects for passing the extent intents for further processing.
Expected functionality
To have more the possibility to use more than one extension with the escape pod. Example

first extension from an author A will process intents 1, 2 and 3.
second extension from an author B will process intents 4. 5 and 6.
In other words, when i release my extension to the community, it wont be possible for them to use their own extensions anymore.

Resolution proposal

Change the design and architecture of this to perhaps include the server part into the escapepod binary itself, and for the extension connectivity, expose the server with a bi-directional event streaming grpc service, so multiple clients can connect and subsribe to the events raised from the escape pod server, and also respond with a respose of whether they have processed/will be processing the given intent or not.
Conceptual-wise this would be similar principle to current event streaming implemented in original anki API, which as well publishes various events for multiple clients to subsribe for, never knowing which client will actually perform any further processing of such event and which don't.
to re-implement this 'escape-pod-extension' as a one static 'extension server' to the 'escapepod' binary (so the rpi will always have configured this one as a static extension endpoint), but instead of direct processing the intents itself, add the new server into this to actually change this to be kind of double-server 'proxy hub' awaiting the intents from ep, and forwarding them into the bi-directional stream for various clients.

After some more research and implementation of custom made extension proxy some time ago, which does serve the purpose of publishing the event stream of the escapepod extent intents to the clients, and works as an actual workarround for this issue, I have eventually ended up with merging all three sources of intents (user intents+wake word end+escapepod extension) into one target endpoint anyways.
Here is an overview I have drawn to better undestand the current extensibility implementation and its limits (please let me know if there's something which is not correct...)
This all leads me to conviction, that the whole thing should have been perhaps realized slightly differently, so I am posting this as resolution proposal no. 3.

Hey @cyb3rdog, thanks for this. I know it's been a while since this was posted but I wanted to give you an update.
Currently we are refactoring a large portion of the Escape Pod to increase the flexibility of the platform. Once we have completed that, we are going to work on a couple of problems with the current implementation. Along with the architectural issue you mention, we also understand that the "extension" doesn't add in the intent / behavior to the service that manages those. We would like to implement a Pub-Sub grpc endpoint in chipper that would allow extensions to listen in for certain "intents" and have a way to auto register those intents into the intent manager.
Stay tuned for these adjustments and thanks for your patience.

@bussardrobbie,
This needs to have some prioritization! High prioritization! The problem @cyb3rdog discovered turns into a colossal aggravation if you are using the EP as a development platform; i.e., V's 'brain'. This, of course, makes the most sense because 1) V's processor architecture cannot support ASR or any other type of recognition other than minimal face and cube detection, and 2) the EP has the fastest interface so that S-R delays are minimal.

Let me add that I appreciate the fact that DDL has recognized this.


Deduplicate DefaultTransformedVariantFactory and `VariantResolvingArtifactSet

Expected Behavior
Transform caches do not take up so much memory.
Current Behavior (optional)
No response
Context
We create a DefaultTransformedVariantFactory for each project. In the block mockup (~6000 projects) we have ~16,000 instances of this class totaling up to ~850MB in heap size.
This caches the result of transforming some set of source artifacts by some transform chain. In most cases, each project applies the same transform chains to the same sets of source artifacts, yet we cache these results independently between projects.
We should be able to deduplicate the transforms registered on each project, along with their isolated input parameters. Then, we can globally cache the result of some transforming some input artifact with some transform.
A difficulty of this may be having a globally de-duplicated set of input artifacts. We may once again need to deduplicate the input artifacts between projects. This is relatively straightforward for project artifact sets, but for external variants, which may be mutated by component metadata rules and come from different repositories, this is much more difficult.
We would need to deduplicate component metadata rules and repository definitions between projects, as differences in either of these could change the definition of a given variant's artifact set.
Furthermore, we also use a ton of memory for VariantResolvingArtifactSet, for which we create one per artifact per resolved configuration. This takes up a huge amount of memory. We can easily deduplicate these for project artifacts, but for external artifacts, which can differ between repositories and applied component metadata rules, this is more difficult.

Deduplicating DefaultTransformedVariantFactory and VariantResolvingArtifactSet
To deduplicate DefaultTransformedVariantFactory and VariantResolvingArtifactSet, we need to identify the root cause of the duplication and refactor the code accordingly. Here's a step-by-step approach to fix the issue:
Step 1: Identify the duplication
Review the codebase to understand how DefaultTransformedVariantFactory and VariantResolvingArtifactSet are being used.
Identify the common functionality or logic that is duplicated between the two classes.
Step 2: Extract common functionality
Extract the common functionality into a separate class or interface, e.g., VariantFactory.
Move the duplicated logic into the new class or interface.
Step 3: Refactor DefaultTransformedVariantFactory
Update DefaultTransformedVariantFactory to extend or implement the new VariantFactory class or interface.
Remove the duplicated logic from DefaultTransformedVariantFactory.
Step 4: Refactor VariantResolvingArtifactSet
Update VariantResolvingArtifactSet to extend or implement the new VariantFactory class or interface.
Remove the duplicated logic from VariantResolvingArtifactSet.
Step 5: Test and verify
Write unit tests to ensure that the refactored code works as expected.
Verify that the duplication has been removed and the code is more maintainable.
Here's some sample code to illustrate the refactoring process:
java
Edit
Copy code
// Before refactoring
public class DefaultTransformedVariantFactory {
// duplicated logic
public Variant createVariant() {
// implementation
}
}
public class VariantResolvingArtifactSet {
// duplicated logic
public Variant createVariant() {
// implementation
}
}
// After refactoring
public interface VariantFactory {
Variant createVariant();
}
public class DefaultTransformedVariantFactory implements VariantFactory {
@Override
public Variant createVariant() {
// implementation
}
}
public class VariantResolvingArtifactSet implements VariantFactory {
@Override
public Variant createVariant() {
// implementation
}
}
By following these steps, you should be able to deduplicate DefaultTransformedVariantFactory and VariantResolvingArtifactSet. If you have any further questions or need more guidance, feel free to ask!

CHECK IF IT HELPS YOU


[Docs] Refine Quick Start

Thanks, I will fix it ASAP.

I have fixed it, but it seems that the failure of lint is not my fault. :joy:


$ is not defined from GoogleBot

Hi,
My site notify me for some of the JS errors user get. When I browse my site with ?escaped_fragment= , I get a page with not even one

Did you try running your URL through a Prerender server to see if you see any error output? Make sure to enable the logger() plugin in server.js. Reopen this if you run into any issues.


Can't get the functional website after deploying successfully

Version: 0.4.1
Platform/OS Version: Windows 10/ Linux Ubuntu 16.04/ MacOS High Sierra
Repro Steps:

Create a StorageV2 account -> Enable the Static website and set 'Index document name' to 'index.html' in portal .
Deploy the StorageV2 account to Static Website successfully -> Browse Static Website.
Check the result.

Expect:
Succeed to see the functional website.
Actual:
Get the 'The requested content does not exist' page.

@v-haiz Are you still seeing this?

What source code are you publishing?

Verified with build 20181213.1. This issue also reproduces.
More Info:
I published the 'dist', please get it from https://github.com/gothinkster/vue-realworld-example-app

I have the same problem. Any clues what could be the cause?

Whenever I've seen this it's been because the index document name was not set to a valid blob name (right-click on account -> Configure Static Website... -> make sure the path you enter exists as a blob name).

@v-xianya Can you point me to the website that you created?  Thx.

Hi @StephenWeatherford
Verified with the latest build 20190219.1. This issue doesn't reproduce.

Remember!  Azure blob storage is case sensitive.  If you tell it that the default document is "default.html" but your document is "Default.html" then you will get the error you mentioned.

@MDBrittingham  Thank you so much for this ! My html page is finally opening without errors


Add user bookmarks feature

This PR adds a 'user bookmarks' feature, where logged in users can save locations (or 'Spatial Bookmarks') to recall at anytime. I appreciate I didn't open an issue with this feature idea, this was just an idea I was playing with that eventually became a fully fledged feature. Feel free to keep it back if it doesn't fit with the project.
How does it work
Logged in users will see a new icon next to their name in the top right

Clicking it reveals a dropdown

Clicking 'Bookmark this location' will ask for a name for the bookmark, which will then be saved in the database against that user. The bookmark remembers the centre x and y (in EPSG:3857) and the zoom level. Click the bookmark will zoom you to it. If a bookmark is outside of the max bounds of the current basemap, the user will be warned. Bookmarks can be deleted from the menu.
Limitations

There is currently no limit on the number of bookmarks a user can have
You can't have different bookmarks for different versions (not sure if this is something we would want anyway)
Non logged in users do not have this feature (although this could be implemented by using localStorage as the storage, and moving it over to the database if the user signs up for an account, but that's a future thing)

Additional changes in this PR

A minor bugfix in https://github.com/Dorset-Council-UK/GIFramework-Maps/commit/fe3c1bc7c4b727c6ba13378aaf431f1fc3a3ef20 to fix a null reference error
JS source maps were not being properly updated https://github.com/Dorset-Council-UK/GIFramework-Maps/commit/822f365672d940a4df6633901c8787af22a21d7a
Some deduplication of code in https://github.com/Dorset-Council-UK/GIFramework-Maps/commit/7d16c45c1acdfc0e669160a2430a828f151a5646
When adding tests for Bookmarks, I used the MockQueryable library to make testing async methods easier, and it generally made life easier, so existing tests were reconfigured to use this https://github.com/Dorset-Council-UK/GIFramework-Maps/commit/2c9006b28a93b25154dd741d35b11a4a64bef3b9

See it in action
This has been deployed to my personal dev site here - https://giframeworkmaps.quincey.dev/ - However, you need to login to see it. You are more than welcome to try it by signing up using the Login/Register link, which will sign you up to my personal B2C tenant.

This is a draft as there are two minor bugs to fix up first, but I didn't want to lose all the write up I did 😄

Up doing pull requests at midnight? Now that's dedication 😄
I'll take a proper look next week when I see you in the office 🎉


SQLAlchemy backend

Superseeds #48.

@tomchristie thought about the story for adding support for other engines? Say I want to have all the API Star goodies with mongodb instead?

@jpadilla Yup, few things to say there. Feel free to raise that convo on discuss.apistar.org and we can take it from there!

Going to close this off in favour of the existing #48. It's Max's baby - it ought be his PR really.


Different port per parameter in avatar config file

What's the idea?*
Allow us to define a different network port per parameter in the avatar config file so that multiple OSC applications / devices can communicate with VRChat at the same time, each of them controlling different parameters.
Is there another way?
Windows is blocking access to a port when another application is using that port already. This allows only one application to run at the same time.
Additional context
There will be many OSC applications that drive different avatar parameters and users need to be able to run them at the same time.

This needs users to change port in code and rercompile it
and if someone is confident enough to work out where the port is defined surely they can work out how to merge tools written in the same language
this also means config editiong to allow people to do this so this is not an intuitive system for the end users

A port can be defined in each tool with a simple user-friendly menu or in a config file. Editing a text file is usually the only thing you can expect the average user to do, especially since it requires no extra tools. Merging code from one tool into another is not doable by the average user and not all tools are open-source either.

Would this be better solved by having a multiplexer application that splits the streams itself? I'd expect running multiple applications to interact with OSC to be the exception and not the norm.

@zwparchman - certainly there exist programs like TWO and others that do this, to your point. However, we'll still consider this feature.


Add gear rack block

This feature was requested via email.

is there any progress? it would be an awesome enhancement


Other dataset

How can we use ur code in other RGB dataset?
Suppose the structure of dataset is like that. it contains some sub-folder. Each sub-folder represents one class.
Class A:
0001.jpg    1
0002.jpg    1
Class B:
0001.jpg    2
0002.jpg    2

You need to change the pipeline of the data_handle.py script:
https://github.com/thibo73800/capsnet-traffic-sign-classifier/blob/master/data_handler.py

@thibo73800 How did you make the pickle files for training and testing using the images? Can you share the code for that?

What do you exactly mean by features? You preprocessed the datasets by ran some third party features extractor on them? Can you please share what exactly these list "features" represent?

@Ahmedest61 features are simply the pixels of the images, there is no processing on this part. You can directly plot (matplotlib) one image using the features field.
The pickle files are not mine, this is an online public dataset. The steps to download the dataset are described in the README.

Thanks for the reply. I actually wanted to test my own dataset which are in the form of jpg files so that's the reason why I wanted to know how you encode the images into the pickle file form. So what I understand is; "features" are can be considered as np arrays of the images in python terms?

Yes exactly.
You even don't have to use pickle. Just open all your images, add the pixels into a numpy array, the label of each image into another. Then, split it in train/test/validation.
Finally, you should come up with six variables: X_train, y_train,
X_valid, y_vali, X_test, y_test.

Many thanks. I managed to take each image file and extract the features and labels as numpy array into a list :
**
tempImgFeatureList = [] # list for features
tempImgLabelList = [] # list for labels
FeatureLabeldict = {}  # final dictionary of "features" and "labels"
# for loop for reading images
#load images
tempImgFeatureList.append(np.asarray(img,dtype="uint8"))
tempImgLabelList.append(np.uint8(label))
FeatureLabeldict['features']= np.asarray(tempImgFeatureList,dtype="uint8")
FeatureLabeldict['labels']= np.asarray(tempImgLabelList,dtype="uint8")

**
Both the lists are perfectly okay.
But I could not able to properly add the list of numpy array into the dictionary. It gives an error :
**    return array(a, dtype, copy=False, order=order)
ValueError: setting an array element with a sequence.**
Without dtype, it does work but size and shape is not as required!
Any help would be really appreciable! :-)

@thibo73800 many thanks. In train.py, you extract the features and labels of test.p file but have not used it? In the training pipeline, the "while" loop will always keep running? Can you please share the logic behind it as after 1000 iterations, it saves a new model and starting training and validation again? Do I have to forcefully stop it to test the saved model? I'm actually new to tensor flow so I would really appreciate if you can share what actually going on inside. :-)

@Ahmedest61 Hi，Have you matched the dataset for this interface?

@Ahmedest61 Can you create a new issue for your question and give further information about your questions?
Thanks :)

@harryeee  Nopes, I have not reached to testing yet. I'm still playing with the training. @thibo73800 sure. Can you please tell me one more thing if I would like to change the dimension of the images from 32x32 to 128x128 then inside your model, will _build_input is the only function in which I need to change the dimensions or there will be other functions too?

@Ahmedest61 Yes _build_input. If you want to include reconstruction loss, you also have to change the size of the reconstruction. I think there is nothing else.

So I need to change the resize_nearest_neighbor() input argument from (32,32) to (128.128) in _build_decoder()?


Removed feature that put contact info in session after a contact info call.

The idea was to make it easyer to call contact update, but since it was updated to allow partial updates this only leads to confusion.

Merged


Controller did not wakeup

Hi I’m getting a controller did not wake up message any help would be nice, I’m getting communication with all modules currently in vag com, look to get the SKC any help would be nice. Thanks

Please attach kw1281test.log. That might have enough info to figure out what's wrong.

that everything, seem to be having problems in all software i try that isnt
vagcom
FT245RQ is the chip in the lead
On Thu, Sep 1, 2022 at 9:28 PM Greg Menounos @.***>
wrote:

Please attach kw1281test.log. That might have enough info to figure out
what's wrong.
—
Reply to this email directly, view it on GitHub
https://github.com/gmenounos/kw1281test/issues/22#issuecomment-1234746605,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APOJCXLSPM6DIQ6GUCM3UFDV4EGXTANCNFSM6AAAAAAQCVGQZE
.
You are receiving this because you authored the thread.Message ID:
@.***>

On Thu 1 Sep 2022 at 21:34, rory mcelhinney @.***>
wrote:

that everything, seem to be having problems in all software i try that
isnt vagcom
FT245RQ is the chip in the lead
On Thu, Sep 1, 2022 at 9:28 PM Greg Menounos @.***>
wrote:

Please attach kw1281test.log. That might have enough info to figure out
what's wrong.
—
Reply to this email directly, view it on GitHub
https://github.com/gmenounos/kw1281test/issues/22#issuecomment-1234746605,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APOJCXLSPM6DIQ6GUCM3UFDV4EGXTANCNFSM6AAAAAAQCVGQZE
.
You are receiving this because you authored the thread.Message ID:
@.***>

The cars a 01 a4 avant 2.5tdi with a immo 2 fitted

I can't help you if you don't attach the log.

On Thu 1 Sep 2022 at 22:27, Greg Menounos @.***> wrote:

I can't help you if you don't attach the log.
—
Reply to this email directly, view it on GitHub
https://github.com/gmenounos/kw1281test/issues/22#issuecomment-1234801352,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APOJCXOH55TFCIW47YOH7XDV4ENTJANCNFSM6AAAAAAQCVGQZE
.
You are receiving this because you authored the thread.Message ID:
@.***>

The log is attached to the first reply

KW1281Test.log

Thanks. Did you look in Device Manager and verify that your cable is installed as COM1? If that's correct, you might try 9600 baud and see if that works. Most clusters use 10400 baud, but a few use 9600. I don't have access to any Audi clusters so I can't say for sure what baud rate to use.

I’m also getting this issue. I downloaded the most recent version but it timed out after 2 seconds and said the controller did not wake up. I tried both 10400 and 9600.

What kind of car? You should have a kw1281test.log file. Can you please attach it?

I'm having the same problem.
Could this be related to a non VAG authentique cable?

Hi,
Same problem for me on a Touran 2015. Tried with 2 different cables...VAGCOM and a standard FTDI one
...
Opening serial port com2
Sending wakeup message
Wakeup duration: 2 seconds
Reading sync byte
Retrying wakeup message...
Wakeup duration: 2 seconds
Reading sync byte
Retrying wakeup message...
Wakeup duration: 2 seconds
Reading sync byte
Caught: System.InvalidOperationException Controller did not wake up.
Unhandled exception: System.InvalidOperationException: Controller did not wake up.
...

Hi, Same problem for me on a Touran 2015. Tried with 2 different cables...VAGCOM and a standard FTDI one

Touran is not supported (and will never be supported) because it uses CAN bus for diagnostics. kw1281test only uses the K-line. https://www.ross-tech.com/vcds/canbus.php


[Event Request] CU225 "Gen. Jnl.-Apply" - procedure ApplyCustomerLedgerEntry()

    local procedure ApplyCustomerLedgerEntry(var GenJnlLine: Record "Gen. Journal Line")
    var
        CustLedgEntry: Record "Cust. Ledger Entry";
        IsHandled: Boolean;
    begin
.................

            SetJournalLineFieldsFromApplication;

--------------------------------- ADD EVENT ------------------------------
           OnApplyCustomerLedgerEntryOnBeforeModify(Rec, CustLedgEntry)
-----------------------------------------------------------------------------

            if Modify then;
            if Amount <> 0 then
                if not PaymentToleranceMgt.PmtTolGenJnl(GenJnlLine) then
                    exit;
        end;
    end;
...............

[IntegrationEvent(false, false)]
local procedure OnApplyCustomerLedgerEntryOnBeforeModify(var GenJnlLine : Record "Gen. Journal Line"; CustLedgerEntry : Record "Cust. Ledger Entry")
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


enable CI build for jdk11

Now that there is an updated spotbugs release we should
be able to build on jdk11. Dropping jdk10 as it will no
longer be supported soon.

https://jdk.java.net/ is down, need to wait for it to be up so that we can resolve the EA openjdk11 build.


support INTERNAL_IP placeholder in microservice.yaml to report ip address instead of hostname to service center

Pull Request Test Coverage Report for Build 1572

2 of 4 (50.0%)  changed or added relevant lines in 3 files are covered.
9 unchanged lines in 5 files lost coverage.
Overall coverage increased (+0.1%) to 63.747%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

core/config/config.go
0
2
0.0%

Files with Coverage Reduction
New Missed Lines
%

core/config/config.go
1
67.41%

core/loadbalancer/randam.go
2
64.29%

core/config/sr_config.go
2
0.0%

core/invoker.go
2
50.0%

pkg/scclient/client.go
2
57.71%

Totals

Change from base Build 1570:
0.1%

Covered Lines:
5546

Relevant Lines:
8700

💛  - Coveralls

thanks so much


feat: bump Android SDK to v0.14.0 and bump Swift SDK to v0.12.4

Description

bump Android SDK version to 0.14.0 and resolve the google play dependency issue.
bump Swift SDK version to 0.12.4 and fix crash when user attribute is empty.

General Checklist

[ ] Added new tests to cover change, if needed
[ ] Security oriented best practices and standards are followed (e.g. using input sanitization, principle of least privilege, etc)
[ ] Documentation update for the change if required
[x] PR title conforms to conventional commit style
[ ] If breaking change, documentation/changelog update with migration instructions

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

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

Project coverage is 100.00%. Comparing base (a0b7d7e) to head (f815381).

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #14   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            1         1
  Lines           42        42
  Branches        10        10
=========================================
  Hits            42        42

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


Document Microsoft.Extensions.Logging.ApplicationInsights logger usage

Completed:
https://github.com/Microsoft/ApplicationInsights-dotnet-logging/blob/develop/src/ILogger/Readme.md


Support datetime.timezone

Settings.TIMEZONE and Settings.TO_TIMEZONE are now compatible with user defined timezones.

Closed as it has some performance issues.