Inference bug?

While librosa.core.load() returns float array, these is no need to norm by MAX_WAV_VALUE?

Very nice catch, thank you! We've updated the repo.


feat(ui): add mobile navigation menu (sidebar)

not a fan of the implementation, but it works, and we can iterate on it

#6  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @lewxdev and the rest of your teammates on  Graphite


When the root directory is not a Git repository, it shows up misaligned

Mine are misaligned when the root is a git repo as well:

Atom 1.6.0, File type icons 1.0.1

Are you using Nuclide?

Nope

Same issue here:

Same issue here, not using Nuclide, on MacOS 10.11.4, tested with Atom 1.6.1 & 1.7.0-beta3 with multiple UI Themes.

same issue, atom 1.6.1 windows 7

:beers:


Add test framework

This adds some basic tests to the ringpop-admin command output.

lgtm. merge at will

Also, how about a pre-commit hook that runs the suite?

@jwolski done, added pre-commit hook. Merging.

@dansimau  u r a boss


fix(operator): Total count metrics exported as async gauge

Signed-off-by: odubajDT<EMAIL_ADDRESS>Fixes: #415

@odubajDT: Why do we change this metrics to gauges? They are typical counters …

@odubajDT: Why do we change this metrics to gauges? They are typical counters …

@thschue I could not find a logical explanation for the assigned bug, so trying out things...


test contents splice_ad_bbb_* is missing

I don't see the test contents for splice_ad_bbb_* from the current content pool.
Can anyone generate them please?

Is this related to #19 somehow?

They may be the same thing but #19 isn't specific about which content is actually needed and I'm not sure if all of the splice_ad_bbb_* are needed.

Sorry @rbouqueau didnt know already created.
Can I closed this issue becuase this is duplicated now?

Yes sure, you are the reporter :)
I haven't investigated the subject yet but both issues were opened in a closed time frame so I suspected they might be duplicates.

Duplicated to #19 closing it now.


ID-1125 ECM Migrates Data from Bond

Jira: https://broadworkbench.atlassian.net/browse/ID-1125
We want to retire Bond and put its functionality into ECM. This presents a problem for users, since if they link an account in Bond, and then we cut over to ECM, they're linked account will go away! To resolve this, we can make ECM read from Bond's Datastore and dynamically update its own database if it finds any info.
This is temporary logic that will exist for a maximum of 30 days, at which point all fence account links will have expired.

Yesss I got coverage!


Display IP address

It would be helpful (ping, traceroute) to display the host IP in the line Hosted by ...

I'm not currently interested in this functionality.


Fix compilation with Intel compiler on Windows

Some changes to make it compile with Intel compiler.

we already supported some of the new and old versions of intel compilers (ci-tested), what version are you using ?
the declspec macros should only appear in declaration, never in definition so I doubt this is correct

we already supported some of the new and old versions of intel compilers what version are you using, maybe its something we do not support yet ?

It is mainly about the VS generator. Things are all fine with ninja. For VS, mixing source files is not supported. So have to split into two object libraries.
add_library(primac_f OBJECT cintrf.f90 cobyla_c.f90 lincoa_c.f90 bobyqa_c.f90 newuoa_c.f90 uobyqa_c.f90)
add_library(primac_c OBJECT prima.c)

Then need to define the macro add_compile_definitions(PRIMAC_EXPORTS).
Also, the .mod files are not placed directly under fortran/mod but fortran/mod/${CMAKE_CFG_INTDIR} for VS generator, so need to include this folder otherwise .mod cannot be found.

the declspec macros should only appear in declaration, never in definition so I doubt this is correct

Indeed, it is not correct. They have been reverted.

so you should modify the macro in prima.h to use primac_c_EXPORTS, not define another one
this should be added to be tested in the github workflow cmake.yml

primac_c_EXPORTS is also not defined since now primac_c is an object library not a shared one. I think target_EXPORTS is only defined for shared libraries.

this should be added to be tested in the github workflow cmake.yml

Depending on how you want it to be, there are multiple options, like,

add a parallel step  - name: Build
    if: ${{ matrix.os == 'windows-latest' }}
    run: |
      cmake --version
      cmake -G "Visual Studio 17 2022" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=. -LAH -DCMAKE_C_FLAGS="${{ matrix.toolchain.cflags }}" -DCMAKE_Fortran_FLAGS="${{ matrix.toolchain.fflags }}" .

add matrix.generator = ninja and specialise later in matrix.include.

The simpler the better

Thank you @TLCFEM for proposing this. Excuse me for the late response. Is there an agreement on this? Thanks.


MXNet attach gradient while trying to run inference

Description
In DJL 0.6.0, MXNet got the following issues while trying to run with MXNet 1.6.0.
java.lang.IllegalArgumentException: Unknown operator: _npi_full_like
	at ai.djl.mxnet.jna.JnaUtils.op(JnaUtils.java:121) ~[mxnet-engine-0.6.0.jar:?]
	at ai.djl.mxnet.engine.MxNDManager.invoke(MxNDManager.java:305) ~[mxnet-engine-0.6.0.jar:?]
	at ai.djl.mxnet.engine.MxNDManager.invoke(MxNDManager.java:323) ~[mxnet-engine-0.6.0.jar:?]
	at ai.djl.mxnet.engine.MxNDArray.zerosLike(MxNDArray.java:410) ~[mxnet-engine-0.6.0.jar:?]
	at ai.djl.mxnet.engine.MxNDArray.createGradient(MxNDArray.java:255) ~[mxnet-engine-0.6.0.jar:?]
	at ai.djl.mxnet.engine.MxNDArray.attachGradient(MxNDArray.java:243) ~[mxnet-engine-0.6.0.jar:?]
	at ai.djl.mxnet.engine.MxNDArray.attachGradient(MxNDArray.java:237) ~[mxnet-engine-0.6.0.jar:?]
	at ai.djl.training.ParameterStore.getValue(ParameterStore.java:139) ~[api-0.6.0.jar:?]
	at ai.djl.mxnet.engine.CachedOp.forward(CachedOp.java:99) ~[mxnet-engine-0.6.0.jar:?]
	at ai.djl.mxnet.engine.MxSymbolBlock.forward(MxSymbolBlock.java:145) ~[mxnet-engine-0.6.0.jar:?]
	at ai.djl.nn.Block.forward(Block.java:116) ~[api-0.6.0.jar:?]
	at ai.djl.inference.Predictor.predict(Predictor.java:117) ~[api-0.6.0.jar:?]
	at ai.djl.inference.Predictor.batchPredict(Predictor.java:144) ~[api-0.6.0.jar:?]
	at ai.djl.inference.Predictor.predict(Predictor.java:112) ~[api-0.6.0.jar:?]
	at

Although the issues are caused by missing operators (1.7.0 operators), still it should not fall into this problems since user are trying to run inference with it. It can be reproduced if you try to load DJL 0.6.0 + MXNet 1.6.0.

A fix has been applied https://github.com/awslabs/djl/commit/9421d875333b088259b0440dc7a7aa49be3f72e3


[will not merge] Get device info for SSO ext. Operation

UT to be added.

close this as another PR with same changes created.


gron output fails on keys containing "."

See example:
$ restish --version
restish version 0.18.0

$ echo '{"a.b":["x"],"c.d":["y"]}'|restish https://api.rest.sh/ -o gron|grep parsed
body.parsed = {};
body.parsed["a.b"] = [];
body.parsed["a.b"][0] = "x";
body.parsed["a["c.d"] = [];
body.parsed["a["c.d"][0] = "y";
body.parsed["a.path = "/";
body.parsed["a.url = "https://api.rest.sh/";

A quick look tells me this is likely the PathBuffer().Pop() returning too early because it doesn't know that the a.b is one path component. Shouldn't be too hard to fix but it'll need some way to push escaped keys and pop off the whole key, not just part of it.

Yes. The same problem is caused by a [ bracket in the key and while a " quote in the key is popped correctly, it is unquoted in output, giving eg. body.parsed["a"b"] = "x";.


[RFC] Swapping out all compression libraries for libcramjam

Greetings and happy holidays.
I fully expect this to be closed and not taken further. I'm parking it here in case anyone expresses interest now or later.
This was an experiment to swap out all compression libraries with libcramjam which has been used for some years now in the Python compression library cramjam with ~5M downloads a month without any significant issues reported.
Mostly because I wanted to develop a C API for libcramjam and thought arrow was a great project to develop this against. Turns out it was, and it passes all but 6 pyarrow tests, 2 of which are related to enabling one-shot for Bzip2 which wasn't previously available (could also add snappy frame de/compressors pretty easily I think). Other failures almost surely due to my general ineptitude in C++ during refactoring...
To that point, the build is garbage, I didn't bother to remove all the cmake related logic to including those libs, only removing their headers from compression_x.cc files and including cramjam with a global CXX flag, and hacking together the other build scripts. :sweat_smile:
Some rough benchmarks appearing to be on par for performance, with the biggest being ~10% improvement to snappy raw format when reading a test 128MiB parquet file.
A few linux test wheels available here: https://pypi.org/project/pyarrow-cramjam/ (pip install pyarrow-cramjam)

Could you start a discussion for this on<EMAIL_ADDRESS>https://arrow.apache.org/community/#mailing-lists
Could you include at least the followings in your e-mail?

Pros of this approach. (Why should we use libcramjam? Performance? If so, could you also provide detailed benchmark results for discussion.)
Cons of this approach.

I close this for now because we don't merge this.


Add yurt-manager controller framework

What type of PR is this?
/kind feature
What this PR does / why we need it:
Which issue(s) this PR fixes:

ref #1067
Special notes for your reviewer:

Does this PR introduce a user-facing change?

add yurt-manager framework

other Note

/hold

/unhold


Add onrr.gov to the blog footer

Since we no longer just work on NRRD.

I picked this up, since I was making other edits to the blog.


[Package Request]: Keepsolid VPN

Package Requested

[X] I would like someone else to build the manifest.
[ ] I would like help so I can submit the manifest.
[ ] I have performed a search and couldn't find this package.
[ ] I have checked that the installer for this package is not a standalone or portable executable or a .zip file
[ ] I think there is a new version available and I have provided the URL.

Please provide the following information
Publisher: Keepsolid
Publisher Url: https://www.vpnunlimited.com/downloads/windows
Package Name: Keepsolid VPN
Description: a cheap VPN
Package Version: 8.5.7
Installer URL: https://www.vpnunlimited.com/api/keepsolid/vpn-download?platform=windows
Current Package Identifier (for new versions): 7.0

@denelon - would you mind tagging as Interactive Only Install for the PR and Issue?
https://github.com/microsoft/winget-pkgs/pull/65555#issuecomment-1179611893


add artifact hash

It should be possible to also send the digest instead of the artifact itself.

@lukehinds I would like to check this issue, but I'm a bit lost about where this change should be made, can you point or give a clarification? thanks!

sure, currently what we do is reference the file --artifact  and it hashes the blob and signs that hash, this instead would allow you to just pass the hash directly.
rekor-cli does something similar: https://github.com/sigstore/rekor/blob/dbbbff597bc250b276467892d3d05d6179dc5ace/cmd/rekor-cli/app/pflags.go#L54
While I think about it, handling urls might be useful as well (download and hash)
@dlorenc / @bobcallaway any thoughts?

@lukehinds given that we've removed the CLI from s/s, is this issue moot?

It is yes!


Allow initialization to fail if the program gets stuck in the postServiceCheck while-loop

Fix for #21. Adds a retry counter and allows the initialization of the library to fail. On Windows systems the smart card resource manager may be unresponsive or not running in case not readers are attached to the system. In that case the initialization will get stuck.

Just wanted to leave a note - this took me a day and a half to resolve why my compiled electron app wouldn't work on other peoples' machines.  Finally stumbled across this PR, and using this branch I'm able to try/catch the new NFC() call and deal with it appropriately.  I'd appreciate the merge (as I'm sure others would as well), as well as an update of nfc-pcsc so I don't have to refer to this fork directly in my node dependencies :)

I just wanted to add my vote as well.  This is causing me issues for development.

is there a reason why this was closed?


this.where is not a function

let data = knex('transactions')
    .orderBy('createdAt', 'desc')
    .limit(request.query.pageSize)
    .offset(request.query.pageSize * (request.query.page - 1))
    .join('users', 'users.id', 'transactions.user_id')
    .where(() => {
      this.where(knex.raw('user_id = ?', request.auth.credentials.id))
          .orWhere(knex.raw('users.agent_no_array @> ARRAY[?]', request.auth.credentials.account_no))
    })

above code will generate following errors:
(node:76177) TypeError: this.where is not a function

@TangMonk Yes, that is to be expected. Using this in an arrow function has a reference to the closure closest outside of that function. That's how arrow functions work.. What you should be doing is
.where((queryBuilder) => {
    queryBuilder.where(knex.raw('user_id = ?', request.auth.credentials.id))
          .orWhere(knex.raw('users.agent_no_array @> ARRAY[?]', request.auth.credentials.account_no))
})


synchronize schema spec

What
APM agent json schema automatic sync
Why
Changeset

https://github.com/elastic/apm-server/commit/1438888d7 model/modeldecoder/v2: add span links (https://github.com/elastic/apm-server/pull/7553)

:green_heart: Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Start Time: 2022-03-18T01:33:17.393+0000

Duration: 55 min 34 sec

Test stats :test_tube:

Test
Results

Failed
0

Passed
2745

Skipped
20

Total
2765

:green_heart: Flaky test report
Tests succeeded.
:robot: GitHub comments
To re-run your PR in the CI, just comment with:

/test : Re-trigger the build.

run benchmark tests : Run the benchmark tests.

run jdk compatibility tests : Run the JDK Compatibility tests.

run integration tests : Run the Agent Integration tests.

run end-to-end tests : Run the APM-ITs.

run windows tests : Build & tests on windows.

run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)


Cameras update

Dashboard for the camera-related updates planned.
New interfaces:

[ ] #17 ,
[ ] #20 ,
[ ] #21 (polish/debugging),
[x] #25 , #67
[ ] #51 ,
[ ] #56 ,
[x] Dark current and readout noise in simulated cameras #52 .

Polished abstract functionality:

[ ] #33 (though this could maybe be split into a separate update),
[x] #55 ,
[x] Multi-exposure high dynamic range imaging,
[x] Revamp to how get_image() works with new interfaces: instead new cameras will write _get_image_hw() (in the same manner as write()  and _write_hw() for SLMs),
[ ] Polishing the trigger and grab formalism in get_image() and forcing this functionality to be abstract.

Potentially:

[ ] Live pyglet viewer of the camera (alongside #7 ),
[ ] More careful pipelining of the data to GPU.

Hi ichristen,
I have several MindVision cameras, but it is difficult for me. If you have any interest in this camera, please try to develop it.
Thank you very much.
SDK: https://www.mindvision.com.cn/category/software/
python_demo.zip

Thanks @coldkevin1991 for your suggestion! I opened up #71.


Update Tensorflow configuration for IBM Power Linux Server support

Hello Maintainer,
Find Tensorflow cannot be used as plugin on IBM Power Linux Server (ppc64le). So create a PR for supporting it. Please review the changes and accept if needed. Thanks very much!
BR
-Feng

This documentation update looks good to me.  I'll go ahead and merge.  Thanks!


[UI] Make sure form validation displays non-valid fields as red in all forms

What type of PR is this:
/area Web-UI
What does this PR do / why we need it:
This makes sure invalid fields are highlighted as red in all forms.

Add an Exec Command

Add an Image Command

Add an Apply Command

Add a Composite Command

Add a new container

Add a new image

Add a new resource

Add a new volume

Which issue(s) this PR fixes:
Fixes #7054
PR acceptance criteria:

[ ] Unit test

[ ] Integration test

[ ] Documentation

How to test changes / Special notes to the reviewer:

  [FAILED] in [It] - /go/odo_1/tests/helper/helper_cmd_wrapper.go:120 @ 09/05/23 12:54:55.574
  Running kubectl with args [kubectl get namespace cmd-devfile-deploy-test695stb -o jsonpath={.metadata.name}] and odo env: []
  [kubectl] cmd-devfile-deploy-test695stbDeleting project: cmd-devfile-deploy-test695stb
  Running kubectl with args [kubectl delete namespaces cmd-devfile-deploy-test695stb --wait=false] and odo env: []
  [kubectl] namespace "cmd-devfile-deploy-test695stb" deleted
  Setting current dir to: /go/odo_1/tests/integration
  Deleting dir: /tmp/3472070801
  Deleting dir: /tmp/2108200904
  << Timeline

  [FAILED] Timed out after 600.000s.
  Expected process to exit.  It did not.
  In [It] at: /go/odo_1/tests/helper/helper_cmd_wrapper.go:120 @ 09/05/23 12:54:55.574
...
Summarizing 1 Failure:
  [FAIL] odo devfile deploy command tests deploying devfile with long-running exec when Automount volumes are present in the namespace [It] should mount the volumes
  /go/odo_1/tests/helper/helper_cmd_wrapper.go:120

Ran 409 of 954 Specs in 1327.923 seconds
FAIL! -- 408 Passed | 1 Failed | 0 Pending | 545 Skipped

UI-only PR, so not related to the failures here.
/override Kubernetes-Integration-Tests/Kubernetes-Integration-Tests

       âš   0/3 nodes are available: 3 pod has unbound immediate PersistentVolumeClaims. preemption: 0/3 nodes are available: 3 Preemption is not helpful for scheduling.
       âš   Pod is Pending
       âš   0/3 nodes are available: 3 pod has unbound immediate PersistentVolumeClaims. preemption: 0/3 nodes are available: 3 Preemption is not helpful for scheduling.
       âš   AttachVolume.Attach failed for volume "pvc-1606fb7f-4869-4b2a-b0d5-9fd061018b19" : timed out waiting for external-attacher of vpc.block.csi.ibm.io CSI driver to attach volume r010-ead57323-f582-4fee-a68b-c7fcbd5c5092
       âš   AttachVolume.Attach failed for volume "pvc-8521c60b-5aa0-433d-86dc-8bc09d2ba498" : timed out waiting for external-attacher of vpc.block.csi.ibm.io CSI driver to attach volume r010-cafd8507-9798-4a46-8a0f-440ba39d1c04
       âš   Unable to attach or mount volumes: unmounted volumes=[firstvol-jwjpal-app-vol secondvol-jwjpal-app-vol], unattached volumes=[odo-shared-data firstvol-jwjpal-app-vol secondvol-jwjpal-app-vol kube-api-access-xtxx6 odo-projects]: timed out waiting for the condition

...
Summarizing 3 Failures:
  [FAIL] odo devfile deploy command tests deploying devfile with long-running exec when Automount volumes are present in the namespace [It] should mount the volumes
  /go/odo_1/tests/helper/helper_cmd_wrapper.go:120
  [FAIL] odo dev command tests when running odo dev with devfile containing volume-component - without metadata.name [BeforeEach] should successfully use the volume components in container components
  /go/odo_1/tests/helper/helper_run.go:54
  [FAIL] odo dev command tests when running odo dev with devfile containing volume-component - with metadata.name [BeforeEach] should successfully use the volume components in container components
  /go/odo_1/tests/helper/helper_run.go:54

Ran 404 of 954 Specs in 1598.498 seconds
FAIL! -- 401 Passed | 3 Failed | 0 Pending | 550 Skipped

Looks like there are some issues with volumes. Let's keep an eye out for those failures to see if they happen again.
Overriding because this is a UI-only PR, so not related to the failures here.
/override OpenShift-Integration-tests/OpenShift-Integration-tests

  [FAILED] Timed out after 420.012s.
  Expected
      <string>:   __
       /  \__     Developing using the "wmrbzj" Devfile
       \__/  \    Namespace: cmd-dev-test577yhx
       /  \__/    odo version: v3.14.0
       \__/

      - Running on the cluster in Dev mode
       -  Waiting for Kubernetes resources  ...
       !  Pod is Pending
       !  0/3 nodes are available: 3 pod has unbound immediate PersistentVolumeClaims. preemption: 0/3 nodes are available: 3 Preemption is not helpful for scheduling.
       !  0/3 nodes are available: 3 pod has unbound immediate PersistentVolumeClaims. preemption: 0/3 nodes are available: 3 Preemption is not helpful for scheduling.
       !  AttachVolume.Attach failed for volume "pvc-0e9d83df-b6c5-479c-b131-bbe589324d8a" : timed out waiting for external-attacher of vpc.block.csi.ibm.io CSI driver to attach volume r010-75cd0332-23ad-484f-b11d-7c4827c29cf6
       !  Unable to attach or mount volumes: unmounted volumes=[odo-projects], unattached volumes=[odo-projects odo-shared-data kube-api-access-mphwf]: timed out waiting for the condition

  to contain substring
      <string>: [Ctrl+c] - Exit
  In [BeforeEach] at: C:/Users/Administrator.ANSIBLE-TEST-VS/4557/tests/helper/helper_run.go:54 @ 09/05/23 07:54:40.296
[...]

Summarizing 5 Failures:
  [FAIL] odo dev command tests when a component is bootstrapped when odo dev is executed and Ephemeral is set to false [BeforeEach] should have created resources
  C:/Users/Administrator.ANSIBLE-TEST-VS/4557/tests/helper/helper_run.go:54
  [FAIL] odo dev command tests when a component is bootstrapped when odo dev is executed and Ephemeral is set to false [BeforeEach] when stopping odo dev normally should have deleted all resources before returning
  C:/Users/Administrator.ANSIBLE-TEST-VS/4557/tests/helper/helper_run.go:54
  [FAIL] odo dev command tests when a component is bootstrapped when odo dev is executed and Ephemeral is set to false [BeforeEach] when killing odo dev and running odo delete component --wait should have deleted all resources before returning
  C:/Users/Administrator.ANSIBLE-TEST-VS/4557/tests/helper/helper_run.go:54
  [FAIL] odo dev command tests when running odo dev with devfile containing volume-component - with metadata.name [BeforeEach] should successfully use the volume components in container components
  C:/Users/Administrator.ANSIBLE-TEST-VS/4557/tests/helper/helper_run.go:54
  [FAIL] odo dev command tests when running odo dev with devfile containing volume-component - without metadata.name [BeforeEach] should successfully use the volume components in container components
  C:/Users/Administrator.ANSIBLE-TEST-VS/4557/tests/helper/helper_run.go:54

Ran 388 of 954 Specs in 1476.036 seconds
FAIL! -- 383 Passed | 5 Failed | 0 Pending | 566 Skipped

Looks like there are some issues with volumes. Let's keep an eye out for those failures to see if they happen again.
Overriding because this is a UI-only PR, so not related to the failures here.
/override windows-integration-test/Windows-test


Template cant handle multiple affiliations

The IEEE template has a hard time handling quarto author affiliation input.
Also, do not handle flags such as corresponding or equal-contributor.
For example:
author:
  - name: Author One
    affiliations:
      - name: Harvard University
        id: a
        department: Department of Government
        city: Cambridge
        state: MA
        postal-code: 02138
      - name: Harvard University
        id: c
        department: Department of Statistics
        city: Cambridge
        state: MA
        postal-code: 02138
    attributes:
      equal-contributor: true
  - name: Author Two
    affiliations:
      - name: Yale University
        id: b
        department: Department of Political Science
        city: New Haven
        state: CT
        postal-code: 06511
    email<EMAIL_ADDRESS>    attributes:
      equal-contributor: true
      corresponding: true

Disclaimer; not a solution
Untill this feature is implemented - which would be very useful - I ‘hacked’ it:
 poster-authors: "Sally A.M. Hogenboom¹³ , Katrin Schulz¹, Leendert van Maanen²"
 departments: "¹ Institute for Logic, Language and Computation, *University of Amsterdam*, The Netherlands; ² Department of Experimental Psychology, *Utrecht University*, The Netherlands; ³ Faculty of Psychology, Theory, Methods, & Statistics, *Open Universiteit Nederland*, The Netherlands”

I copied the superscript numbers from https://www.copyandpastesymbols.net/. I guess you could do the same by using a little envelope or something to signal the corresponding author. Not ideal I know, but for my sufficient for now.

wow... cool hack! thanks @SHogenboom


problem with upgrading the python version

When I try to update in an exiting mss env the python version from 3.9.2 to 3.9.4 it want to downgrade mss
conda install python=3.9.4
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: done

## Package Plan ##

  environment location: /home/icg105/miniconda3/envs/mssenv

  added / updated specs:
    - python=3.9.4

The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    mss-2.0.1                  |   py39hf3d152e_0         2.6 MB  conda-forge
    ------------------------------------------------------------
                                           Total:         2.6 MB

The following packages will be UPDATED:

  ca-certificates    pkgs/main::ca-certificates-2021.4.13-~ --> conda-forge::ca-certificates-2021.5.30-ha878542_0
  certifi                          2020.12.5-py39hf3d152e_1 --> 2021.5.30-py39hf3d152e_0
  python                           3.9.2-hffdb5ce_0_cpython --> 3.9.4-hffdb5ce_0_cpython
  sqlite                pkgs/main::sqlite-3.35.0-hdfb4753_0 --> conda-forge::sqlite-3.35.5-h74cdb3f_0

The following packages will be DOWNGRADED:

  mss                                  4.0.0-py39hf3d152e_0 --> 2.0.1-py39hf3d152e_0

This happens as long as we have the fixation for sqlite to:
sqlite  <3.35.1

With Python 3.9.4 it needs to install sqlite 3.35.5.
This forces the downgrade of MSS to a version without this dependency.

Trying it locally, I don't run into errors anymore without the fixation.

sqlalchemy is packaged for different python versions https://anaconda.org/conda-forge/sqlalchemy/files while sqlite isn't https://anaconda.org/conda-forge/sqlite/files
The conda install tries always the newest. We likly have to skip the versions which don't work. Could you try to find out automated which are broken starting from old limitation to recent?

[ ] sqlite=3.35.1
[ ] sqlite=3.35.2
[ ] sqlite=3.35.3
[ ] sqlite=3.35.4
[ ] sqlite=3.35.5

lets look on sqlalchemy

[ ] sqlalchemy    1.4.0 build 1
[ ]  sqlalchemy    1.4.0
[ ]  sqlalchemy    1.4.0
[ ]  sqlalchemy    1.4.0
[ ]  sqlalchemy    1.4.0
[ ]  sqlalchemy    1.4.0
[ ]  sqlalchemy    1.4.0
[ ]  sqlalchemy    1.4.0
[ ]  sqlalchemy    1.4.0
[ ]  sqlalchemy    1.4.0
[ ]  sqlalchemy    1.4.0
[ ]  sqlalchemy    1.4.0
[ ]  sqlalchemy    1.4.0
[ ]  sqlalchemy    1.4.0
[ ]  sqlalchemy    1.4.0


Display which people have not voted yet

To encourage voting.
Put people on the big display, that have not voted yet.
This would of course only include people that registered into the system in the first place.

and/or show how many people voted already, and who voted already.
most people might not register to enter topics, but should register to vote.


Singa 255 Compile mandatory depedent libaries together with SINGA code

If it is configured with option "BUILD_SHARED_LIBS=OFF", singa will find static libs when possible.
I moved all submodules/dependent libs into external cmake projects. Hence, lib folder is gone.


Reorganize component props to introduce prop types earlier, fixes #1644

@BlitZz96 brought up a good point in this issue about users lacking the necessary background knowledge to fully understand Passing Static and Dynamic Props, at least as it relates to booleans and potentially other types in the future. To fix this, I added a new Prop Types section right before it.

@BlitZz96 I can't tag you for review, but I'd love to hear your thoughts.

Glad to hear it! Thanks again for pointing out the problem. 🙂 Now one more review from a core team member and I'll merge this.


{AKS} Vendor new SDK and bump API version to 2024-07-02-preview

This checklist is used to make sure that common guidelines for a pull request are followed.
{AKS} Vendor new SDK and bump API version to 2024-07-02-preview
Related command

General Guidelines

[x] Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
[x] Have you run python scripts/ci/test_index.py -q locally? (pip install wheel==0.30.0 required)
[x] My extension version conforms to the Extension version schema

For new extensions:

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

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

AKS


Remove reverseDuration from implicitly animated widgets, since it's ignored.

Description
When I added reverseDuration to animation controllers in #32730, I also added it to the implicit animations that Flutter has.  However, as @efortuna pointed out to me, it doesn't actually do anything there, since all of the intrinsic animations run forwards, not in the reverse direction, and there's no way to reverse them.
So, this PR removes the reverseDuration argument from the implicit animations to avoid confusion.
Related Issues
https://github.com/flutter/flutter/issues/35769
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[X] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[X] I signed the CLA.
[X] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[X] I updated/added relevant documentation (doc comments with ///).
[X] All existing and new tests are passing.
[X] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[X] I am willing to follow-up on review comments in a timely manner.
[X] I checked all the boxes.

Breaking Change
Does your PR require Flutter developers to manually update their apps to accommodate your change?

[X] Yes, this is a breaking change (Please read Handling breaking changes). If you used the reverseDuration parameter on an implicit animation, then this PR will break your code.  It won't affect the functionality, since that parameter was always being ignored. It can safely just be removed. breaking change email

OK, will commit this tomorrow to give the breaking change notification time to soak in.


when overriding a file on the export nazca function, it shows success even if it failed.

it actually should override it, but maybe it could not override because the file was open in visual studio code...
anyway it should have given an error message instead of a success msg.

thank you for the fix @Cx3n1 !


Location of keys different beween documentation and install-centos.sh

Not sure this is intended or not. If it is, my apologies.
In the install-centos.sh the location of the keys directory is
/etc/encrypted-dns/keys
However, in the documentation this directory is located in
/etc/dnscrypt-server/keys
It was a little confusing for me when I wanted to change the parameters of my docker server, because when I used the documentation it looked to me the keys were not there (it instructs to look in this directory (ls -l /etc/dnscrypt-server/keys) and also it points to this directory when (re)starting the container with the new config.

Thanks!
I've never used that script or CentOS. Does that script still work at all once the paths are changed?

Tested and working. Thank you.
On a sidenote: In managed to destroy the wrong instance so I wil be emailing with an updated server address.

No worries. That kind of thing happens to humans :)


Move evaluation parameters to a separate file

Codecov Report
Patch coverage: 100.00% and no project coverage change.

Comparison is base (652ce67) 96.83% compared to head (421938b) 96.84%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #162   +/-   ##
=======================================
  Coverage   96.83%   96.84%
=======================================
  Files          73       74    +1
  Lines       11663    11663
=======================================
+ Hits        11294    11295    +1
+ Misses        369      368    -1

Impacted Files
Coverage Δ

eval/src/lib.rs
100.00% <ø> (ø)

eval/src/complex.rs
95.74% <100.00%> (-1.02%)
:arrow_down:

eval/src/params.rs
100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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


OSMemCreateAssumes 32bit pointers

In the call to OSMemCreate(), if arg checking is enabled, the pointer to the start of the partition is cast to an integer in order to verify its aligned to store pointers.
When I compile this on a 64bit system I get compiler warnings about the cast to a smaller type. uC-CPU defines an OS_ADDR type, which would be ideal to use here, but uC-OS2 isn't required to use it. My workaround so far has been to add a similar typedef in os_cpu.h (along with the others like INT32U currently used in the cast).
To reproduce; compile os_mem.c on Ubuntu 18.04 (64bit) using gcc 7.5.0.
https://github.com/weston-embedded/uC-OS2/blob/28c58eb58eacf7bfcefca6a5ef866ea04e6a7e29/Source/os_mem.c#L106

Thank you for reporting this.
Unfortunately, there is no easy way for us to resolve it.
We are reluctant to include a dependency on uC-CPU for legacy support reasons.
Neither can we use INT64U because it is only defined for a couple of ports.
Because this is an edge-case, the best approach in our opinion is to document it as an errata with a workaround for those who encounter it.

Errata for uCOS-III can be found here.

@forg0ne Just for my understanding, why would adding a typedef <...> OS_ADDR line in os_cpu.h (per port) not be an easy way to resolve it?
Then OSMemCreate() can use that type internally rather than assuming 32b.


Fix for apps with spaces in path

When the filename had a space in the path, it would not be able to find the correct folder in the DerivedData folder and it would also not find the right crash reports. This merge request should fix that.

Thank you!


Remove unused extra_fields field from SectionEdition

Although this field was removed from the SectionEdition model class in this commit, many/all of the documents in the manual_section_editions collection in MongoDB still had this field set to an empty Hash.
The presence of this field seems to have started causing exceptions in production recently (exception 1, exception 2) when a SectionEdition is updated. My suspicion is that this is related to the recent upgrade to Mongoid v4, however, I haven't yet investigated that, because I wanted to get a fix into production as soon as possible.
I have reproduced both the production exceptions locally using a recent copy of production data. When I run the migration in this commit, the exceptions no longer occur. Thus I'm confident that this is a sensible fix.

Just to be clear, I'm pretty sure the extra_fields value was being copied from the previous edition when a new draft of a section is created: https://github.com/alphagov/manuals-publisher/blob/bc758a8f15443ba0d03b596be32afe5d9fd918a4/app/models/section.rb#L225.

Rebased and force-pushed in preparation for merging.

Just to be clear, I'm pretty sure the extra_fields value was being copied from the previous edition when a new draft of a section is created: https://github.com/alphagov/manuals-publisher/blob/bc758a8f15443ba0d03b596be32afe5d9fd918a4/app/models/section.rb#L225.

That sounds correct to me. I'm hoping that the refactoring I'm doing to Section will reduce the chance of these sort of problems in future.


Log to working / current directory

Hi,
I cannot believe I'm the first who has this question/problem. How to configure NLog to write log files to working (current) directory, please?
Each time, when I call MyApp.exe (located in C:\Apps folder) from C:\Data\Dec folder, log files are created in C:\Apps folder. It does not matter if I use ${basedir} or not.
C:\Data\Dec> C:\Apps\MyApp.exe
NLog version: 4.4.12
Platform: .Net 4.6.1
Current NLog config & code
<?xml version="1.0" encoding="utf-8" ?>
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
 <targets>
  <target name="logfileA" xsi:type="File" fileName="fileA.txt" />
  <target name="logfileB" xsi:type="File" fileName="${basedir}/fileB.txt" />
  <target name="logfileC" xsi:type="File" fileName="${basedir}\fileC.txt" />
 </targets>
 <rules>
  <logger name="*" minlevel="Info" writeTo="logfileA" />
  <logger name="*" minlevel="Info" writeTo="logfileB" />
  <logger name="*" minlevel="Info" writeTo="logfileC" />
 </rules>
</nlog>

class Program
{
    private static NLog.Logger log = NLog.LogManager.GetCurrentClassLogger();

    static void Main(string[] args)
    {
        log.Debug("debug message");
    }
}

All the times, all three files are created in C:\Apps folder.

The basedir is where your .exe lives, so this is expected.
I think your are looking for the "processDir" option,
e.g.
 ${basedir:processDir=true}

See https://github.com/NLog/NLog/wiki/Basedir-Layout-Renderer

Thank you for your reply.
No. I do not want to have log files stored in MyApp.exe folder (app domain), but relatively in my current/working folder(C:\Docs\dec).
I understand the meaning of ${basedir}. It is described here: https://github.com/nlog/nlog/wiki/Logging-troubleshooting. Especially chapter Troubleshooting steps, paragraph 6.

If you don't use a fully qualified name of the file (such as c:\logs\log.txt, or ${basedir}\log.txt your logs may be written to the working directory, which is not necessarily the same directory as where the application resides.

I have not path to fileA fully qualified, but nevertheless it appears in MyApp.exe folder instead of C:\Data\dec).
I'm pretty sure, my working directory is C:\Docs\dec. The log file appears in C:\Apps :(
C:\Data\Dec> C:\Apps\MyApp.exe
using of ${basedir:processDir=true} has the same behavior. It does not make sense. I do want to base logger to process dir.
Thanks a lot!

@frunta You can register your own custom layout renderer that returns current directory:
https://github.com/NLog/NLog/wiki/How-to-write-a-custom-layout-renderer
string startupDirectory = System.IO.Directory.GetCurrentDirectory();
LayoutRenderer.Register("currentdir", (logEvent) => startupDirectory);

Then use it like this:
<target name="logfileC" xsi:type="File" fileName="${currentdir}\fileC.txt" />


recursive make calls should happen with $(MAKE)

https://www.gnu.org/software/make/manual/html_node/MAKE-Variable.html#MAKE-Variable

Top 👌


Soda common

Sample issue
** sample issue generation**
** nil just a sample to check if its working**
Other Notes /  Environment Information: (Please give the env information, log link or any useful information for this issue)

@skdwriting   sample  issue generation


Paraview collection

This adds a .pvd function to produce paraview collection from saved VTK files. This is especially helpful if you save vtk files but do not save it to a pvd directly or if you stop the simulation before the defined end time. The default file extension here is .vtm (multi-block) which is used in the convection scripts of JustRelax.
    make_paraview_collection(; dir=pwd(), pvd_name=nothing, files=nothing, file_extension = ".vtm", time = nothing)

In case one has a list of `*.vtk` files, this routine creates a `*.pvd` file that can be opened in Paraview.
This is useful if you previously saved vtk files but didnt save it as a collection in the code itself.

Optional options
===
- `dir`:    directory where the `*.vtk` are stored.
- `pvd_name`:  filename of the resulting `*.pvd` file without extension; if not specified, `full_simulation` is used.
- `files`:  Vector of the `*.vtk` files without extension; if not specified, all `*.vtk` files in the directory are used.
- `file_extension`:  file extension of the vtk files. Default is `.vtm` but all `vt*` work.
- `time`:  Vector of the timesteps; if not specified, pseudo time steps are assigned.

Instead of having those dummy files for testing, would it be possible to generate them on the test file (so that we also test file generation), and remove them at the end? This way we don't pollute the repo with unnecessary files
This is already done in the testing. As we normally store .vtm files I wanted to include one we actually generate, but I guess the .vtm can also be generated.

actually, this was merged yesterday inGeophysicalModelGenerator. Why do duplicate this here, or is this not a duplication?

yes it is precisely the same as far as I understand. If you don't want GMG as dependency, it can be made as optional dependency.


Panther --help throws error due to environment issue on Ubuntu

cabox@box-codeanywhere:~/workspace$  panther --help
Traceback (most recent call last):  File "/usr/local/bin/panther", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 722, in __call__    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 676, in main
    _verify_python3_env()  File "/usr/local/lib/python3.6/dist-packages/click/_unicodefun.py", line 118, in _verify_python3_env
    'for mitigation steps.' + extra)
RuntimeError: Click will abort further execution because Python 3 was configured to use ASCII as encoding for the environment.  Consult http://click.pocoo.org/python3/for mitigation steps.
This system supports the C.UTF-8 locale which is recommended.You might be able to resolve your issue by exporting thefollowing environment variables:
    export LC_ALL=C.UTF-8
    export LANG=C.UTF-8

cabox@box-codeanywhere:~/workspace$ locale
LANG=
LANGUAGE=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=

Fix
cabox@box-codeanywhere:~/workspace$ export LC_ALL=C.UTF-8
cabox@box-codeanywhere:~/workspace$ export LANG=C.UTF-8

cabox@box-codeanywhere:~/workspace$ locale
LANG=C.UTF-8
LANGUAGE=
LC_CTYPE="C.UTF-8"
LC_NUMERIC="C.UTF-8"
LC_TIME="C.UTF-8"
LC_COLLATE="C.UTF-8"
LC_MONETARY="C.UTF-8"
LC_MESSAGES="C.UTF-8"
LC_PAPER="C.UTF-8"
LC_NAME="C.UTF-8"
LC_ADDRESS="C.UTF-8"
LC_TELEPHONE="C.UTF-8"
LC_MEASUREMENT="C.UTF-8"
LC_IDENTIFICATION="C.UTF-8"
LC_ALL=C.UTF-8

Now
cabox@box-codeanywhere:~/workspace$  panther --help
Usage: panther [OPTIONS] COMMAND [ARGS]...

Options:
  --version  Show the version and exit.
  --help     Show this message and exit.

 Seems this is from click library.
Correct me if I'm wrong
On Fri, Aug 31, 2018, 1:12 AM Wisdom Anthony<EMAIL_ADDRESS>wrote:

cabox@box-codeanywhere:~/workspace$  panther --help
Traceback (most recent call last):  File "/usr/local/bin/panther", line 11, in
sys.exit(main())
File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 722, in call    return self.main(*args, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 676, in main
_verify_python3_env()  File "/usr/local/lib/python3.6/dist-packages/click/_unicodefun.py", line 118, in _verify_python3_env
'for mitigation steps.' + extra)
RuntimeError: Click will abort further execution because Python 3 was configured to use ASCII as encoding for the environment.  Consult http://click.pocoo.org/python3/for mitigation steps.
This system supports the C.UTF-8 locale which is recommended.You might be able to resolve your issue by exporting thefollowing environment variables:
export LC_ALL=C.UTF-8
export LANG=C.UTF-8
cabox@box-codeanywhere:~/workspace$ locale
LANG=
LANGUAGE=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
Fix
cabox@box-codeanywhere:~/workspace$ export LC_ALL=C.UTF-8
cabox@box-codeanywhere:~/workspace$ export LANG=C.UTF-8
cabox@box-codeanywhere:~/workspace$ locale
LANG=C.UTF-8
LANGUAGE=
LC_CTYPE="C.UTF-8"
LC_NUMERIC="C.UTF-8"
LC_TIME="C.UTF-8"
LC_COLLATE="C.UTF-8"
LC_MONETARY="C.UTF-8"
LC_MESSAGES="C.UTF-8"
LC_PAPER="C.UTF-8"
LC_NAME="C.UTF-8"
LC_ADDRESS="C.UTF-8"
LC_TELEPHONE="C.UTF-8"
LC_MEASUREMENT="C.UTF-8"
LC_IDENTIFICATION="C.UTF-8"
LC_ALL=C.UTF-8
Now
cabox@box-codeanywhere:~/workspace$  panther --help
Usage: panther [OPTIONS] COMMAND [ARGS]...
Options:
--version  Show the version and exit.
--help     Show this message and exit.
Commands:
create:controller   Creates a Controller File
create:middleware   Creates a Middleware
create:migration    Create a migration file
create:model        Create Model File
create:view         Create a View File
generate:key        Generate the APP KEY
migration:reset     Reset Migration
migration:rollback  Roll Back last Migration
migration:run       Run Migration
new                 Create a new Bast Project
run                 Run your Bast Server
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/moluwole/Bast/issues/14, or mute the thread
https://github.com/notifications/unsubscribe-auth/AWWoZ2qgbwX15b20D6EyDEoiG498pRf1ks5uWH-FgaJpZM4WUaHm
.

I think there is a need for a more robust and better way to handle CLI commands


Universal platform and IIS ASP.Net samples

Hi, I've also read about this technology on xamarin site. I think I'd give a try to experiment on this. Can you please give additional samples for UWP and ASP.Net platform on how to load site and catch the "hybrid:" requests. I'd like to see some template similar to the cross platform Xamarin template with shared project for models and etc. I think those app were later on easy to port to PWA (progressing web application). Nice document!

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 95a22de7-13a8-13b4-a64e-8409fe7ffe13
Version Independent ID: 43e8f786-c53e-beb4-15bb-1e23d50cf8c5
Content: Building HTML views using Razor Templates - Xamarin
Content Source: docs/cross-platform/platform/razor-html-templates/index.md
Product: xamarin
GitHub Login: @asb3993
Microsoft Alias: amburns

Hi @Scherlac, I'm glad you found this doc to be helpful. It sounds to me like you're looking for help specifically with ASP.Net or Progressive Web Apps. Since these docs are Xamarin-specific, the best thing to do would be to leave a comment in the docs for one of those other areas. In particular, take a look at the Introduction to Razor Pages in ASP.NET Core and Progressive web apps on Windows docs.


Add this repo to deepsourcelabs/good-first-issues

keptn/keptn has already been added, but this repo keptn/keptn-lifecycle-toolkit needs to be added.
https://github.com/deepsourcelabs/good-first-issue/blob/8f9644b7c502789d1cfc9e9a06ebf38a3cc3e190/data/repositories.toml#L349C3-L349C28
Instructions are here.
This is a one-line change / PR to that project so I'm marking as a good first issue.

Hi agardnerIT,
this is my PR for this issue, please check it out

Hi @agardnerIT,
I left  a message on my PR.
But, I got no follow up from any of project's owners.
Please let me know if there is something else need to do to merge my PR.

Sorry, I have to close my PR, and unassigned myself
because no action from deepsourcelabs side

@agardnerIT maybe you can take over?

Is the issue still open ?


How to survey next Android OS issues

Overview
I investigated how Android 12 and Target SDK 31 affect my flutter app by looking through the related issues one by one. As far as I know,  issues related next Android OS are not summarized like [iOS Platform - next major OS review] project and [☂ Support Xcode 12 #60133] issue.  ( [Mobile - Android next adoption review] project collects the next Android OS issues, but the project looks not maintained because the last update date was 2020-11. ) So, flutter app engineers have to survey the next Android OS effect individually. It is inefficient for the flutter community. That is why I create this issue. I would like to know the issue summarizing the next Android OS problems if you know. Otherwise,  I propose summarizing the next Android OS issues in the future.

@SShayashi
Although I don't see a project specific to Android OS issues, but take a look at the Flutter's roadmap for this year and see if it helps to give you an idea https://github.com/flutter/flutter/wiki/Roadmap#2022

@darshankawar
Thank you for your response, but unfortunately, the Flutter's roadmap seems not helpful for this issue.
The Android OS issues I refer to are like degradation issues when updating the Android OS version, not like what the flutter team describes in the roadmap and actively copes with. For example,

#82906
#86187

I was wondering why only iOS related issues are summarized like #61047. It might be a good idea to summarize Android OS issues like #61047 for flutter communities.

Thanks for the update and feedback. I am keeping this issue open and labeling for further insights from the team.
/cc @Hixie

Typically, we update the master channel to use the latest APIs shortly after public release.
As a point of reference, we typically do not find any glaring incompatibilities or breakages, but of course, smaller and more nuanced issues do appear over time.
When a new version is released, you should file an issue to upgrade and tag me if the issue does not exist yet.


Edge 120+ can't be started with selenium outside the typical installation location

When starting edge webtests with selenium, edge does not respond to the selenium webdriver. This only occurs when edge is started from outside the typical installation directory in .../ProgramFiles/.... When edge is started from the typical installation directory, everything runs fine.
Tested with edge v121 as well as 120 at one point, suggesting a break at v120.
Reproduction: https://github.com/Frazerus/TestIt/tree/bugreport_edge_v121

Incorrect repository. Sorry!


Specialized DOCTYPE not reproduced in output

Hi,
I've successfully run the transformation that comes with DITA-OT 3.0.1 after integrating our own specialization. However, the specialized DOCTYPE's public identifier is not reproduced in the output so
<!DOCTYPE datasheet PUBLIC "-//MY//DTD Datasheet//EN" "datasheet.dtd">  becomes
<!DOCTYPE datasheet PUBLIC "-//OASIS//DTD DITA Datasheet//EN" "datasheet.dtd">.
Is this the desired behavior or a bug?
Best regards,
Frank

Sounds like something in preprocessing, maybe map merge, is stripping the <?doctype-public>` PIs.


Fix possible unintended definition of BasicResponse.create

Pull Request
Related issue
Fixes #642
What does this PR do?

Fixes a minor issue with BasicResponse.create, allowing the second argument to declare the type parameter of the returned HttpResponse

PR checklist
Please check if your PR fulfills the following requirements:

[x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
[x] Have you read the contributing guidelines?
[x] Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to Meilisearch!

Can you take a look at his findings @alallema? (the issue as well)

bors merge


Consolidate skill declaration logic (1/?)

In my PCT in the Shell writeup, one of the major pain points in implementing a new job I described was the number of locations across which skill/job gauge processing logic must be split.
This PR begins the work of consolidating this logic by making the following changes:

SkillInfo:

Use named and optional fields at declaration to improve readability
Automatically populate skillInfosMap when helper constructor function is called

DisplayedSkills:

Mostly automate hotbar generation based on applied level sync

ResourceState and CooldownState:

Eliminate redundant resource key (this always matched to the ResourceType field of the passed object)

GameState:

Begin splitting BLM-specific logic into the BLMState class

Remaining work:

src/Components/Skills.js: move custom render logic for trait + para/retrace button replacements
src/Game/GameState.ts: split out more BLM-specific state logic (still not 100% sure what the best way to represent this within the type system is)
src/Game/Skills.ts (also somewhat GameState): move effects on application + varying mana costs + varying cast time logic to skill declaration site
src/Game/Controller.ts and frontend files: clean up job-specific state passing, and make frontend state declarations less verbose

Just to make sure, currently the duplicate parts in GameState and BLMState is because changes are still WIP yes? Aka we're not planning to have both GameState and BLMState maintain a list of resources, CDs, RNGs etc. right?

Yeah, it's still WIP. The fields of BLMState are just references to the fields of parent corresponding GameState to make it a little less verbose, but I'll probably end up changing it so BLMState extends GameState instead.


where is the carol roll flp

are you blind

ok i guess you wont find the carol roll flp then

so basically its somewhere in this repository

here https://github.com/bbpanzu/bb-fnf-mods/blob/main/FL Studio thingies/Carol Roll.flp

like close the issue


4099_ES6 refactor lib/MultiCompiler.js

What kind of change does this PR introduce?
Refactoring 'lib/MultiCompiler.js' to use ES6 syntax
Did you add tests for your changes?
Tests were already written for MultiCompiler. Changes added with no breaking tests.
Summary
As per issue:
https://github.com/webpack/webpack/issues/4099
I refactored the MultiCompiler module to use ES6 syntax while following the linter and style guide.

Thanks

Thank you :)


Send Request Error

Current Behavior

Expected Behavior
It should Download the scripts and language data
Suggested Fix
Please update the links in installer they are not downloading the script and language data
tesseract -v
version 5.3.3 64 bit windows installer
Operating System
Windows 11
Other Operating System
No response
uname -a
No response
Compiler
No response
CPU
i5-83005
Virtualization / Containers
No response
Other Information
When I selected the download script and language data every time I'm getting send reqeust error as mentioned in the image

I even tried by turning off all the firewalls and disabling the antivirus software, still getting same error

The script downloads the selected models from GitHub. Some locations don't allow direct access to GitHub. If you still have problems, I suggest to download and install the models separately.


The last of the getTimeFieldSpec calls

Removing the last of the getTimeFieldSpec calls.

SegmentGeneratorConfig now uses the new getSpecForTimeColumn() call, which returns a DateTimeFieldSpec. Time column is expected in table config if it is to be considered when creating segment. (this also sets the stage for allowing a DateTimeFieldSpec to be a primary time column)
Removing TimeFieldSpec special handling from RealtimeSegmentConverter.getUpdatedSchema. There is no need to remove the incoming time spec. Neither the recordReader nor the dataSource require the updated schema. Plus, the record transformer is a pass through.
Removing special casing for TimeFieldSpec in Schema.isBackwardCompatible() method. The for loop for all specs includes time

Not related to this PR, but inside the Schema can we do the TimeFieldSpec to DateTimeFieldSpec conversion on the setter side instead of the getter side?
The problem of conversion on the getter side is that the schema still stores the deprecated TimeFieldSpec, and getFieldSpecMap() and getFieldSpecFor() will still return the TimeFieldSpec instead of DateTimeFieldSpec. This can easily cause bugs inside the code.

That was exactly the initial plan - to modify the setter to save it as a DateTimeFieldspec. But now we changed the plan. We are not going to do any changes to ser/deser. Reason mainly being external integrations (presto, superset etc) which still need TimeFieldSpec, and also upgrades. I've updated the design doc: https://docs.google.com/document/d/1SU1jCjfsIDSA960fD5YWQbD72p8UdGF0c7CroFNt9Ho/edit#heading=h.6gaudq1t6ys8 (Step C and also put the previous approach in Discarded section)
New plan is to make sure Pinot can treat TIME or DATE_TIME either of them as the primary time column.


Emit custom values based on other AddEntries

Hi, it's fairly easy to write a new independent provider by implementing AddCustomEntries, but I'd like to be able to take values emitted by other builders such that I could take those values and manipulate them in the build script and then emit my own custom environment variables.
The use case I have in mind is building a version string at build time rather that concatenating them at runtime in my crate.

Agreed, it seems a little weird that there doesn't seem to be an API to ask vergen what, say, the commit hash is without scraping stdout after the fact.


Failed to install the app for the user

Everytime i send a new messages some users throws the following excpetion:
Failed to install the app for the user: 2bf8d4ec-####-####-####-08d0dbfa2cf8. Exception: Code: Forbidden Message: App is blocked by app permission policy. TenantId: 2f75752d-####-####-####-2fa29227f529, UserObjectId: 2bf8d4ec-####-####-####-08d0dbfa2cf8, AppId: bb29fe1f-####-####-####-dd9960ed7c86, AppType: Private Inner error: Code: AccessDenied Message: App is blocked by app permission policy. TenantId: 2f75752d-####-####-####-2fa29227f529, UserObjectId: 2bf8d4ec-####-####-####-08d0dbfa2cf8, AppId: bb29fe1f-####-####-####-dd9960ed7c86, AppType: Private AdditionalData: date: 2024-08-19T03:50:04 request-id: f2ce25d8-####-####-####-83af28956584 client-request-id: f2ce25d8-####-####-####-83af28956584 ClientRequestId: f2ce25d8-####-####-####-83af28956584
How can i get the logs of the function that executes this operation?

Hi @CaioCPSilva ,
Could you please review the app setup and the app permission policy assigned to the users who aren't getting the messages delivered in Teams Admin Center. We believe the policy might be different for the app and the users which is causing this issue.

Hi @CaioCPSilva
Could you please update us on the status of the issue?

@CaioCPSilva
Could you please update us on the status of the issue? if issue is resolved please feel free to mark ticket as complete

Hi @peddivyshnavi !
Sorry for the delay.
I'm not applying any permission policy for users, the apps are available for everyone.
Also i have de setup policy pinning and installing the app for the users.

Hi @peddivyshnavi ! Sorry for the delay.
I'm not applying any permission policy for users, the apps are available for everyone. Also i have de setup policy pinning and installing the app for the users.

Hi @CaioCPSilva
Could you please verify Set-up Authentication and Graph app Permission from deployment guide are correctly verified or not

Hi @CaioCPSilva
We suspect there are restriction from organization level could you please check with your organization regarding restriction.

@CaioCPSilva
Could you please update us on the status of the issue?

@CaioCPSilva
Could you please update us on the status of the issue?

@CaioCPSilva
Please let us know if you are still facing this issue and require assistance and we will be happy to discuss. If no further action is needed at the moment and no response is received, we will close out the issue in 2 business days.

marking this ticket as closed , as we didnt received any response.


Fix #3333 floppy drive is read only

Fixed by checking if the drive interface is "floppy"; if so the media type is set correctly to "disk" instead of "cdrom".

CI is failing due to #3308

Please rebase to fix failing CI

Please rebase to fix failing CI

Done


feat(tls): Use rustls_pki_types::CertificateDer to describe DER encoded certificate

Motivation
Although Certificate is for PEM encoded certificate, it is used by Request::peer_certs's return type, which is DER encoded certificate.
Solution
Adds CertificateDer type and changes Request::peer_certs to use it.
This is a breaking change.

So I'm guessing the name is inspired by rustls_pki_types::CertificateDer<'_>. Given that rustls-pki-types is intended to have a long-term stable API, I would like to suggest that we adopt usage of types like CertificateDer<'_> in the tonic API directly instead of copying them here. This would ensure improved type safety and clarity across crates, and should cause no public API churn due to the stability promise.

So I'm guessing the name is inspired by rustls_pki_types::CertificateDer<'_>.

Yes. introduced CertificateDer is a type for not exposing rustls-pki-types crate. I think both exposing rustls-pki-types and hiding it are reasonable, so I will follow the maintainer's decision.

So I'm guessing the name is inspired by rustls_pki_types::CertificateDer<'_>.

Yes. introduced CertificateDer is a type for not exposing rustls-pki-types crate. I think both exposing rustls-pki-types and hiding it are reasonable, so I am not sure which is more appropriate.

Added a commit to show how the implementation would be when using rustls_pki_types::CertificateDer directly.

LGTM. I think the same reasoning as in #1710 should apply here: rustls-pki-types is expected to have a more stable API than tonic so it should be okay to use rustls-pki-types API in the public tonic API.

Updated this pull request title to reflect the latest status.


Equilibrium solutions disagree with documentation

Configuration/Environment
Currently Loaded Modulefiles:

gmp-6.2.0
mpfr-4.1.0
mpc-1.1.0
isl-0.22.1
gcc-10.2.0/gcc-10.2.0
python-3.9.5

Operating System: Ubuntu 18.04.5 LTS
Kernel: Linux 4.15.0-112-generic
DESC version 0.4.3, using JAX backend, jax version=0.2.10, jaxlib version=0.1.62, dtype=float64
Using device: CPU, with 113.99 GB available memory
Steps to reproduce the issue
Following the "Using DESC interactively" section of the documentation exactly, I tried to reproduce the same plot for "eq1". As per the steps in the given example, first, an equilibrium was obtained with elliptical boundary surface and zero pressure. Then it was perturbed to include a quadratic pressure profile. This script includes all the commands I gave:
perturb_example1.txt
The flux surfaces I get are different than what is given in the documentation:

To confirm whether this was a valid equilibrium solution, I plotted the force balance error:

It seems that perturbing the vacuum solution did not yield an equilibrium solution. However, I am not sure if a low error should be expected after perturbation.
I tried to solve this perturbed equilibrium 'eq1' using eq1.solve(verbose=2, ftol=1e-4);. A low error is obtained, but the flux surfaces are not the same as those in the documentation:

Next, I tested the high beta D-shaped tokamak example given in the cited paper. This also did not give the same equilibrium solution. I started with a vacuum solution and perturbed the pressure profile as per the profile given in the paper.
Here is my script:
high_beta_D.txt
The perturbed flux surfaces are different that the ones in the paper. The force balance error for the perturbed equilibrium is, once again, too large:

I also tried to solve for the perturbed equilibrium explicitly with eq1.solve(verbose=2, ftol=1e-4);,. The resulting flux surfaces do not match the ones in the paper (although the force balance error is low):

I solved the same equilibrium using the command line interface and the input file provided in the repository (I changed only the maximum pressure to match the paper). I used python3.9 -m desc -o output.out -pp -v ../DESC/examples/DESC/DSHAPE. The input file, the flux surface plot and the force balance error plot are attached. These do not match the paper either:
DSHAPE.txt

Note: Since the solution in the paper matches the VMEC solution but the one obtained with the current DESC version does not, I thought it best to report this issue. Perhaps it is because of the recent modifications to the code since the example in documentation seems to be using "DESC version 0.3.22+40.g14b6afa.dirty". If so, and the developers are aware of it, I apologize for the inconvenience.

Hi, thanks for raising the issue!
For your first point on perturbing the flux surfaces, the slight difference you see between the documentation and your local execution is something I am able to reproduce as well, so I believe that is just a product of changes made to the code slightly changing the outcome of that particular perturbation. Thanks for letting us know, we can update the docs with a more recent run of that notebook.
When you use eq.perturb, we do not expect the force balance to be zero after the perturbation, so that is expected behavior. What is being done is we are expanding the equilibrium force balance equation f(x,c)=0 in a taylor series with respect to changes in x (the state vector of flux surface positions R,Z, represented in DESC as the coefficients of the Fourier-Zernike basis) and changes in c (the other parameters needed to solve a fixed-boundary equilibrium, so pressure, iota, boundary shape, etc). We then set f(x + dx, c + dc) = 0, and find the dx needed to satisfy this equation to the specified order for the given dc (which can be a change in pressure or change from 2D to 3D boundary). Since it is basically a taylor series approximation, the perturbed equilibrium is not expected to be in perfect force balance, but it is often a good initial guess for the final equilibrium solution ( as you can see looking at the perturbed DSHAPE equilibrium you have versus the final solved equilibrium).
As for the differences in the DSHAPE equilibrium, the input file and the equilibrium in the paper were solved assuming stellarator
up-down symmetry (in input files this is the line that reads sym = 1), which can be set by adding "sym": True  to your input dictionary in your high_beta_D.txt file (this is set to False by default currently when a new Equilibrium object is created. If you do so, you can see that the resulting solution after perturbing and then solving is similar to the VMEC solution using the below code:
from desc.vmec import VMECIO # needed to load VMEC .nc files
import netCDF4 # needed for VMECIO
vmec_file = 'examples/VMEC/wout_DSHAPE.nc' # path to the VMEC DSHAPE solution
VMECIO.plot_vmec_comparison(eq1,vmec_file)

You can see that the two solutions have identical flux surfaces, with only slight differences in the theta contours.

I hope this helps, if anything else comes up don't hesitate to ask! and @f0uriest feel free to add if I missed anything

Dario covered most of it. In some cases, things will still be in equilibrium after a perturbation, but it obviously depends on the magnitude of the perturbation. The D shape example goes from beta=0 to beta=3% which is probably a bit too big to keep things in equilibrium but still should give reasonable flux surfaces by eye. I've found that in many cases stepping beta in increments of 1% produces reasonably well converged solutions with just the perturbation.
As for the symmetry issue, in theory you should get the same answer if you don't enforce symmetry explicitly (its just using more modes than necessary). We've done most of our testing with symmetry enforced, and it's possible that some recent changes to the pattern of collocation nodes don't work correctly when symmetry is not enforced. I'll look into it after the holiday.
Also as a general note, the plots in Dan's original paper were made using a very old version of the code in matlab that was mainly just a proof of concept. We've made a number of upgrades and improvements since then so we generally wouldn't expect to exactly reproduce the plots from that paper with the current version of the code (eg, note that the force error in the D shape example from the current version of the code is 1-2 orders of magnitude lower than that shown in the paper).

So one possible reason for the asymmetry you're seeing is that the full concentric grids are not up/down symmetric:

When symmetry is explicitly enforced, we only use the nodes from the top half (0<theta<pi) but for nonsymmetric cases we use the full grid.
Not sure if this is "wrong" per say, as generally if the solution is symmetric it should be imposed explicitly, though I could see an argument that the grid used for non-symmetric cases should still be symmetric. Not sure the best way to do that though, the concentric grids are a bit tricky.
@ddudt thoughts?

I agree the grid is a likely source of this problem.  The concentric grid used to be up/down symmetric, with some nodes at theta=0.  However, when stellarator symmetry is enforced, that grid resulted in some of the force balance equations being linearly dependent.  To avoid that issue we introduced a phase shift in the theta coordinate, giving the grid pictured above which is not up/down symmetric.
If I remember correctly, this change to the grid was made after the original example in the documentation.  That would help explain why the latest version of the code no longer reproduces that example exactly.
The linear independence of the force balance equations is only an issue with stellarator symmetry (in general the force error should not have any symmetric structure).  Therefore the "full" (non-symmetric) concentric grid does not need the phase shift in the theta coordinates.  @f0uriest we should probably only add the phase shift for symmetric grids.

OK, making that change seems to help somewhat but doesn't eliminate the asymmetry entirely. I think another possible source is the SVD of the jacobian that's done in the newton method. If the true solution is symmetric but not enforced, and the grid is symmetric, then half the equations will be linearly dependent, so they get removed by the truncated SVD. However, which ones get removed is non-deterministic, and would likely vary each iteration, so there's no guarantee that it will always use the top half or bottom half or some mix of linearly independent equations, so effectively its using a non-symmetric grid.
Closing this for now, because I think the "correct" solution is just to explicitly enforce symmetry when its desired, but feel free to reopen if its still an issue


Doesn't work on sub menu Bootsrap 5 and clearer explanation about initializing plugins

Hi,
A truly wonderful script! Noticed that  pjax automatic doesn't function on Bootstrap 5 submenu's it even doesn't see the css. Could you please elaborate how to make a plugin working like for example the Bootstrap 5  carousel or any other plugin with a clear example for non nerd people like me?
Regards & Thanks,
David

@Allmedialab thank you very much for your interest.
Let me see if I understand, apparently hidden items are not updated by clicking on a menu item or a carousel item? Or are you failing to update the menu items and carousel?
Could you provide an example of the problem?

Hi,
Made a quick test site: https://www.yourweblab.nl/pjax/index.html
The main js is in the app.js file in the js folder. Just need to know how to initialize the stuff in my website. For example on the Home page you have a Bootstrap 5 carousel with Greensock Animation that you can see when you refresh the page.
The issue with the submenu is when you click on the submenu Projecten > Vrijwilligers you can see that pjax doesn't detect the submenu page.
Regards & Thanks,
David

@Allmedialab you can configure the events (https://github.com/brcontainer/pjax.js#pjax-events) and load your compl function as you see fit.
Like this:
Pjax.start();
Pjax.on("then", function (url, stateData) {
    compl();
});

And depending on the situation it is good to check with the history event if your scripts are configured, of course:
Pjax.start();

// Execute on
Pjax.on("then", function (url, stateData) {
    compl();
});

// Execute on back or forward navigation
Pjax.on("history", function (url, stateData) {
    compl();
});

In the case of back or forward it is good to check the state of your javascripts in the elements. ;)

https://www.yourweblab.nl/pjax/index.html
Hi @brcontainer,
Could you be so kind to give a hands on example? On my home page this is initializing the carousel with text animation:
document.getElementById('carousel').addEventListener('slide.bs.carousel', function (e, a) {
let slides = e.target.querySelectorAll('.carousel-item');
   let from_slide = slides[e.from];
  let to_slide = slides[e.to];
  pgia.play(from_slide, 'Hide');
  pgia.play(to_slide, 'Show');
  });
   onReady(() => {
   let slides = document.querySelectorAll('#carousel .carousel-item');
   let first_slide = slides[0];
   pgia.play(first_slide, 'Show');
   });
   var myCarousel = document.querySelector('#carousel')
   var carousel = new bootstrap.Carousel(myCarousel, {
   interval: 5000
  })
Regards & Thanks,
David

Found the solution! Excellent script! David